input
stringlengths
16
454k
output
stringlengths
13
350k
function_name
stringlengths
1
100
repo_name
stringlengths
6
43
category
stringclasses
76 values
sample_id
stringlengths
22
88
decompiler
stringclasses
1 value
opt_level
stringclasses
1 value
int series_to_lexvals(DATASET *dset, int v, int *targ) { int n_strs; int i; int t; int ct; series_table *st; char **strs; lexval *lexvals; unsigned long v12; v12 = __readfsqword(0x28u); st = series_get_string_table(dset, v); strs = series_table_get_strings(st, &n_strs); lexvals = (lexval *)call...
static int series_to_lexvals(DATASET *dset, int v, int *targ) { int i, t, ct, n_strs; series_table *st = series_get_string_table(dset, v); char **strs = series_table_get_strings(st, &n_strs); lexval *lexvals; lexvals = calloc(n_strs, sizeof *lexvals); if (lexvals == NULL) { return E_ALLOC; } for (...
series_to_lexvals
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
gretl_matrix *series_to_matrix(const double *x, parser *p) { int v2; double *v3; int v4; double *val; int v6; int t1; int t2; int t; int n; int contiguous; int i; int skip_na; gretl_matrix *v; unsigned long v17; v17 = __readfsqword(0x28u); if (p->dset) v2 = p->dset->t2 - p->dset->t1...
static gretl_matrix *series_to_matrix(const double *x, parser *p) { int t, n = sample_size(p->dset); int t1 = p->dset->t1; int t2 = p->dset->t2; int skip_na, contiguous = 1; gretl_matrix *v; skip_na = libset_get_bool(SKIP_MISSING); if (skip_na) { int err = series_adjust_sample(x, &t1, &t2); if ...
series_to_matrix
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void series_unset_flag(DATASET *dset, int i, VarFlags flag) { if (i > 0 && i < dset->v) dset->varinfo[i]->flags &= ~flag; }
void series_unset_flag(DATASET *dset, int i, VarFlags flag) { if (i > 0 && i < dset->v) { dset->varinfo[i]->flags &= ~flag; } }
series_unset_flag
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void series_unset_orig_pd(const DATASET *dset, int i) { if (i > 0 && i < dset->v) dset->varinfo[i]->orig_pd = 0; }
void series_unset_orig_pd(const DATASET *dset, int i) { if (i > 0 && i < dset->v) { dset->varinfo[i]->orig_pd = 0; } }
series_unset_orig_pd
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void series_zero_flags(DATASET *dset, int i) { if (i >= 0 && i < dset->v) dset->varinfo[i]->flags = 0; }
void series_zero_flags(DATASET *dset, int i) { if (i >= 0 && i < dset->v) { dset->varinfo[i]->flags = 0; } }
series_zero_flags
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void session_time(PRN *prn) { char *v1; PRN *prna; PRN *myprn; char timestr[56]; unsigned long v5; prna = prn; v5 = __readfsqword(0x28u); myprn = 0; if (!prn) { myprn = gretl_print_new(GRETL_PRINT_STDOUT, 0); prna = myprn; } print_time(timestr); v1 = gettext("Current session"); pprint...
void session_time(PRN *prn) { char timestr[48]; PRN *myprn = NULL; if (prn == NULL) { myprn = gretl_print_new(GRETL_PRINT_STDOUT, NULL); prn = myprn; } print_time(timestr); pprintf(prn, "%s: %s\n", _("Current session"), timestr); if (myprn != NULL) { gretl_print_destroy(myprn); } }
session_time
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_VAR_model_stats(GRETL_VAR *var, int i) { double v2; int t; double SSR; double TSS; MODEL *pmod; double *y; double u; pmod = var->models[i]; SSR = 0.0; TSS = 0.0; y = &var->Y->val[i * var->T]; pmod->ybar = j_gretl_mean(0, var->T - 1, y); pmod->sdy = j_gretl_stddev(0, var->T - 1, y); ...
int set_VAR_model_stats(GRETL_VAR *var, int i) { MODEL *pmod = var->models[i]; const double *y; double u, x, SSR = 0, TSS = 0; int t; y = var->Y->val + i * var->T; pmod->ybar = gretl_mean(0, var->T - 1, y); pmod->sdy = gretl_stddev(0, var->T - 1, y); for (t = 0; t < var->T; t++) { u = gretl_matri...
set_VAR_model_stats
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_alt_each_loop(LOOPSET *loop, DATASET *dset, const char *ivar, int len) { loop->type = 2; loop->init.val = 1.0; loop->final.val = (double)len; return loop_attach_index_var(loop, ivar, dset); }
static int set_alt_each_loop(LOOPSET *loop, DATASET *dset, const char *ivar, int len) { loop->type = INDEX_LOOP; loop->init.val = 1; loop->final.val = len; return loop_attach_index_var(loop, ivar, dset); }
set_alt_each_loop
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_analytic_mode(nlspec *s) { s->flags |= 1u; }
static void set_analytic_mode(nlspec *s) { s->flags |= NL_ANALYTICAL; }
set_analytic_mode
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_array(gretl_array *A, int i, gretl_array *a, int copy) { void **v4; int err; unsigned long v7; v7 = __readfsqword(0x28u); err = 0; if (copy) { v4 = &A->data[i]; *v4 = gretl_array_copy(a, &err); } else { A->data[i] = a; } return err; }
static int set_array(gretl_array *A, int i, gretl_array *a, int copy) { int err = 0; if (copy) { A->data[i] = gretl_array_copy(a, &err); } else { A->data[i] = a; } return err; }
set_array
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_array_value(NODE *lhs, NODE *rhs, parser *p) { int length; char *v5; _BOOL4 v6; _BOOL4 v7; _BOOL4 v8; _BOOL4 v9; int err; GretlType ltype; GretlType type; int idx; int donate; GretlType atype; GretlType targ; void *ptr; NODE *lh1; NODE *lh2; gretl_array *array; void *lp; un...
static int set_array_value(NODE *lhs, NODE *rhs, parser *p) { NODE *lh1 = lhs->L; NODE *lh2 = lhs->R; GretlType atype = 0; GretlType type = 0; GretlType targ = 0; gretl_array *array = NULL; void *ptr = NULL; int idx = 0; int donate = 0; int err = 0; if (lh1->t != ARRAY) { return E_TYPES; } ...
set_array_value
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_as_last_model(void *ptr, GretlObjType type) { if (ptr != last_model.ptr && last_model.ptr) gretl_object_unref(last_model.ptr, (GretlObjType)last_model.type); if (ptr != last_model.ptr || last_model.type != type) { last_model.ptr = ptr; last_model.type = type; if (ptr) gretl_object_ref...
void set_as_last_model(void *ptr, GretlObjType type) { #if ODEBUG fprintf(stderr, "set_as_last_model: ptr=%p, type=%d; 'old' ptr=%p\n", ptr, type, last_model.ptr); #endif if (last_model.ptr != ptr && last_model.ptr != NULL) { #if ODEBUG fprintf(stderr, " unrefing old object at %p (type %d)\n", last_m...
set_as_last_model
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_atof_point(char c) { atof_point = c; }
void set_atof_point(char c) { atof_point = c; }
set_atof_point
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_auxiliary_scalars() { scalar_imin = n_vars_0; }
void set_auxiliary_scalars(void) { scalar_imin = n_vars; }
set_auxiliary_scalars
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_blas_mnk_min(int mnk) { blas_mnk_min = mnk; }
void set_blas_mnk_min(int mnk) { blas_mnk_min = mnk; }
set_blas_mnk_min
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_boxcolor(gretlRGB color) { user_extra_color[0] = color; }
void set_boxcolor(gretlRGB color) { user_extra_color[0] = color; }
set_boxcolor
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_builtin_path_strings(int update) { int n; char s[520]; unsigned long v3; v3 = __readfsqword(0x28u); gretl_insert_builtin_string("gretldir", paths.gretldir); gretl_insert_builtin_string("gnuplot", paths.gnuplot); gretl_insert_builtin_string("x12a", paths.x12a); gretl_insert_builtin_string("tram...
static void set_builtin_path_strings(int update) { gretl_insert_builtin_string("gretldir", paths.gretldir); gretl_insert_builtin_string("gnuplot", paths.gnuplot); gretl_insert_builtin_string("x12a", paths.x12a); gretl_insert_builtin_string("tramo", paths.tramo); if (!update) { gretl_insert_builtin_strin...
set_builtin_path_strings
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_bundle(gretl_array *A, int i, gretl_bundle *b, int copy) { void **v4; int err; unsigned long v7; v7 = __readfsqword(0x28u); err = 0; if (copy) { v4 = &A->data[i]; *v4 = gretl_bundle_copy(b, &err); } else { A->data[i] = b; } return err; }
static int set_bundle(gretl_array *A, int i, gretl_bundle *b, int copy) { int err = 0; if (copy) { A->data[i] = gretl_bundle_copy(b, &err); } else { A->data[i] = b; } return err; }
set_bundle
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_bundle_value(NODE *lhs, NODE *rhs, parser *p) { char *str; _BOOL4 v5; _BOOL4 v6; _BOOL4 v7; _BOOL4 v8; _BOOL4 v9; GretlType targ; int size; int err; GretlType ltype; GretlType type; int donate; void *ptr; NODE *lh1; NODE *lh2; char *key; gretl_bundle *bundle; void *lp_0; vo...
static int set_bundle_value(NODE *lhs, NODE *rhs, parser *p) { NODE *lh1 = lhs->L; NODE *lh2 = lhs->R; GretlType targ = 0; GretlType type = 0; gretl_bundle *bundle; void *ptr = NULL; char *key = NULL; int size = 0; int donate = 0; int err = 0; if (lh1->t != BUNDLE) { return E_DATA; } else i...
set_bundle_value
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_bw_lambda(double cutoff, int n, double *lam1, double *lam2) { double v4; int ret; ret = 0; *lam1 = 1.0 / tan(cutoff / 2.0); *lam1 = safe_pow(*lam1, 2 * n); v4 = bw_max_mod(cutoff, n); fprintf(stderr, "for cutoff %g, order %d: lambda=%g, maxmod=%g\n", cutoff, n, *lam1, v4); if (*lam1 >...
static int set_bw_lambda(double cutoff, int n, double *lam1, double *lam2) { int ret = 0; *lam1 = 1 / tan(cutoff / 2); *lam1 = safe_pow(*lam1, n * 2); fprintf(stderr, "for cutoff %g, order %d: lambda=%g, maxmod=%g\n", cutoff, n, *lam1, bw_max_mod(cutoff, n)); if (*lam1 > 1.0e18) { ret = 2; ...
set_bw_lambda
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_cephes_hush(int s) { real_mtherr(0, 0, 0.0, 0, s); }
void set_cephes_hush(int s) { real_mtherr(NULL, 0, 0, 0, s); }
set_cephes_hush
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_cluster_vcv_ci(int ci) { if (ci && valid_short_opt(ci, 99) == OPT_NONE) return 38; cluster_vcv_ci = ci; return 0; }
int set_cluster_vcv_ci(int ci) { if (ci != 0 && !valid_short_opt(ci, 'c')) { return E_BADOPT; } else { cluster_vcv_ci = ci; return 0; } }
set_cluster_vcv_ci
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_compiling_off() { compiling_python = 0; compiling = 0; }
static void set_compiling_off(void) { compiling = compiling_python = 0; }
set_compiling_off
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_compiling_on() { compiling = 1; }
static void set_compiling_on(void) { compiling = 1; }
set_compiling_on
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_contiguous_sample(const int *list, DATASET *dset, gretlopt opt) { _BOOL4 v3; int ct1; int ct2; int nvars; int err; int changed; int *biglist; unsigned long v12; v12 = __readfsqword(0x28u); ct1 = dset->t1; ct2 = dset->t2; err = 0; if (list && *list > 0) { err = list_adjust_sample(l...
static int set_contiguous_sample(const int *list, DATASET *dset, gretlopt opt) { int ct1 = dset->t1; int ct2 = dset->t2; int err = 0; if (list != NULL && list[0] > 0) { err = list_adjust_sample(list, &ct1, &ct2, dset, NULL); } else { int *biglist = NULL; int nvars = 0; biglist = full_var_lis...
set_contiguous_sample
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_csv_delim(PRN *prn) { char test[4]; unsigned long v2; v2 = __readfsqword(0x28u); sprintf(test, "%.1f", 1.0); if (test[1] == 44) gretl_print_set_delim(prn, 9); else gretl_print_set_delim(prn, 44); }
static void set_csv_delim(PRN *prn) { char test[4]; sprintf(test, "%.1f", 1.0); if (test[1] == ',') { gretl_print_set_delim(prn, '\t'); } else { gretl_print_set_delim(prn, ','); } }
set_csv_delim
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_csv_na_read_string(const char *s) { if (check_for_state()) return 2; else return set_string_setvar(state->csv_read_na, s, 7); }
int set_csv_na_read_string(const char *s) { if (check_for_state()) { return E_DATA; } else { return set_string_setvar(state->csv_read_na, s, 7); } }
set_csv_na_read_string
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_csv_na_write_string(const char *s) { if (check_for_state()) return 2; else return set_string_setvar(state->csv_write_na, s, 7); }
int set_csv_na_write_string(const char *s) { if (check_for_state()) { return E_DATA; } else { return set_string_setvar(state->csv_write_na, s, 7); } }
set_csv_na_write_string
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_curl_proxy(urlinfo *u, CURL *curl) { const char *v2; CURLcode err; err = (unsigned int)curl_easy_setopt(curl, 10004, proxyhost); if (err) { fprintf(stderr, "trying to set http proxy '%s':\n", proxyhost); v2 = (const char *)curl_easy_strerror((unsigned int)err); fprintf(stderr, "cURL error ...
static void set_curl_proxy(urlinfo *u, CURL *curl) { CURLcode err; err = curl_easy_setopt(curl, CURLOPT_PROXY, proxyhost); if (err != CURLE_OK) { fprintf(stderr, "trying to set http proxy '%s':\n", proxyhost); fprintf(stderr, "cURL error %d (%s)", err, curl_easy_strerror(err)); } else if (u->verbose) ...
set_curl_proxy
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_current_function_package(fnpkg *pkg) { current_pkg = pkg; }
void set_current_function_package(fnpkg *pkg) { current_pkg = pkg; }
set_current_function_package
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_data_export_decimal_comma(int s) { if (s) export_decpoint[0] = 44; else export_decpoint[0] = 46; }
void set_data_export_decimal_comma(int s) { if (s) { export_decpoint = ','; } else { export_decpoint = '.'; } }
set_data_export_decimal_comma
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_data_export_delimiter(char c) { data_delim[0] = c; }
void set_data_export_delimiter(char c) { data_delim = c; }
set_data_export_delimiter
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_dataset_is_changed(DATASET *dset, int s) { if (dset) { if (!gretl_function_depth()) dset->modflag = s; } }
void set_dataset_is_changed(DATASET *dset, int s) { if (dset != NULL && gretl_function_depth() == 0) { dset->modflag = s; } }
set_dataset_is_changed
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_dataset_resampled(DATASET *dset, unsigned int seed) { dset->submask = (char *)3735928559LL; dset->rseed = seed; }
void set_dataset_resampled(DATASET *dset, unsigned int seed) { dset->submask = RESAMPLED; dset->rseed = seed; }
set_dataset_resampled
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_db_name(const char *fname, int filetype, PRN *prn) { char *v4; int err; int erra; int n; int na; FILE *fp; const gchar *path; err = 0; saved_db_name[0] = 0; if (fname) strncat(saved_db_name, fname, 0x1FFu); if (filetype != 21 && filetype) { if (filetype == 17) { n = strlen(s...
int set_db_name(const char *fname, int filetype, PRN *prn) { FILE *fp; int err = 0; *saved_db_name = '\0'; if (fname != NULL) { strncat(saved_db_name, fname, MAXLEN - 1); } if (filetype == GRETL_DBNOMICS || filetype == 0) { saved_db_type = filetype; return 0; } if (filetype == GRETL_NATIV...
set_db_name
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_debug_output_func(DEBUG_OUTPUT dout) { dbg_output = dout; }
void set_debug_output_func(DEBUG_OUTPUT dout) { dbg_output = dout; }
set_debug_output_func
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_debug_read_func(DEBUG_READLINE dfunc) { dbg_readline = dfunc; }
void set_debug_read_func(DEBUG_READLINE dfunc) { dbg_readline = dfunc; }
set_debug_read_func
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_default_csv_delim(PRN *prn) { char test[4]; unsigned long v2; v2 = __readfsqword(0x28u); sprintf(test, "%.1f", 1.0); if (test[1] == 44) prn->delim = 59; else prn->delim = 44; }
static void set_default_csv_delim(PRN *prn) { char test[4]; sprintf(test, "%.1f", 1.0); if (test[1] == ',') { prn->delim = ';'; } else { prn->delim = ','; } }
set_default_csv_delim
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_deterministic_terms(adf_info *ainfo, DATASET *dset) { int *v2; int *v4; int v5; int i; int j; *ainfo->list = ainfo->det + ainfo->order + ainfo->nseas + 1; i = ainfo->order + 3; if (ainfo->det > (unsigned int)UR_CONST) { v2 = &ainfo->list[i]; *v2 = gettrend(dset, 0); if (!ainfo->list...
static int set_deterministic_terms(adf_info *ainfo, DATASET *dset) { int i, j; ainfo->list[0] = 1 + ainfo->order + ainfo->det + ainfo->nseas; i = 3 + ainfo->order; if (ainfo->det >= UR_TREND) { ainfo->list[i] = gettrend(dset, 0); if (ainfo->list[i] == 0) { return E_ALLOC; } i++; } i...
set_deterministic_terms
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_display_digits(const char *arg) { int v2; if (gretl_function_depth() <= 0) { v2 = atoi(arg); return set_gretl_digits(v2); } else { gretl_errmsg_sprintf("'%s': cannot be set inside a function", "display_digits"); return 17; } }
static int set_display_digits(const char *arg) { if (gretl_function_depth() > 0) { gretl_errmsg_sprintf("'%s': cannot be set inside a function", "display_digits"); return E_INVARG; } else { return set_gretl_digits(atoi(arg)); } }
set_display_digits
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_doing_genseries(int s) { doing_genseries = s; }
void set_doing_genseries(int s) { doing_genseries = s; }
set_doing_genseries
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_dset_matrix_target(gretl_matrix **pm) { dset_matrix = pm; }
void set_dset_matrix_target(gretl_matrix **pm) { dset_matrix = pm; }
set_dset_matrix_target
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_effective_plot_ci(int ci) { plot_ci = ci; }
void set_effective_plot_ci(int ci) { plot_ci = ci; }
set_effective_plot_ci
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_element_index(matrix_subspec *spec, const gretl_matrix *m) { int v2; int k; int i; int j; i = spec->lsel.range[0]; j = spec->rsel.range[0]; if (spec->ltype == SEL_ALL && spec->rtype == SEL_ALL) { k = 0; } else if (spec->ltype == SEL_ELEMENT || spec->ltype == SEL_RANGE && spec->...
static int set_element_index(matrix_subspec *spec, const gretl_matrix *m) { int i = spec->lsel.range[0]; int j = spec->rsel.range[0]; int k; if (spec->ltype == SEL_ALL && spec->rtype == SEL_ALL) { k = 0; } else if (spec->ltype == SEL_ELEMENT || (spec->ltype == SEL_RANGE && spec->rtype == SE...
set_element_index
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_executing_off(fncall *call, DATASET *dset, PRN *prn) { int v3; int dbg; fncall *popcall; dbg = gretl_debugging_on(); popcall = 0; destroy_option_params_at_level(fn_executing); set_previous_depth(fn_executing); --fn_executing; callstack = (GList *)g_list_remove(callstack, call); if (dbg) { ...
static void set_executing_off(fncall *call, DATASET *dset, PRN *prn) { int dbg = gretl_debugging_on(); fncall *popcall = NULL; destroy_option_params_at_level(fn_executing); set_previous_depth(fn_executing); fn_executing--; callstack = g_list_remove(callstack, call); #if EXEC_DEBUG fprintf(stderr, "set_...
set_executing_off
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_extra_dot_paths() { int err; size_t n; char dirname[648]; unsigned long v4; v4 = __readfsqword(0x28u); dirname[0] = 0; gretl_build_path(dirname, paths.dotdir, "functions", 0); gretl_mkdir(dirname); paths.tramodir[0] = 0; paths.x12adir[0] = 0; dirname[0] = 0; strcpy(dirname, paths.dotdir...
static int set_extra_dot_paths(void) { char dirname[MAXLEN + 128]; size_t n; int err = 0; *dirname = '\0'; gretl_build_path(dirname, paths.dotdir, "functions", NULL); gretl_mkdir(dirname); *paths.tramodir = '\0'; *paths.x12adir = '\0'; #if !defined(HAVE_TRAMO) && !defined(HAVE_X12A) return 0; #endi...
set_extra_dot_paths
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_fcast_matrices(gretl_matrix *fc, gretl_matrix *se) { gretl_matrix_free(fcast_matrix); gretl_matrix_free(fcerr_matrix); fcast_matrix = fc; fcerr_matrix = se; }
static void set_fcast_matrices(gretl_matrix *fc, gretl_matrix *se) { gretl_matrix_free(fcast_matrix); gretl_matrix_free(fcerr_matrix); fcast_matrix = fc; fcerr_matrix = se; }
set_fcast_matrices
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_flag_from_env(SetKey flag, const char *s, int neg) { int v3; int v4; int action; char *e; e = getenv(s); action = 0; if (e) { if (!*e || *e == 48) { if (neg) v4 = 1; else v4 = -1; action = v4; } else { if (neg) v3 = -1; else v...
static void set_flag_from_env(SetKey flag, const char *s, int neg) { char *e = getenv(s); int action = 0; if (e != NULL) { if (*e != '\0' && *e != '0') { action = (neg) ? -1 : 1; } else { action = (neg) ? 1 : -1; } } if (action > 0) { state->flags |= flag; } else if (action < 0...
set_flag_from_env
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_forecast_matrices_from_F(const gretl_matrix *F, int imin, int imax) { const gretl_matrix *Fa; int f0; int fn; int e0; int en; int k; int i; int j; int err; int n; int fT; int eT; int Ft1; int mt1; gretl_matrix *F1; gretl_matrix *e; gretl_matrix *f; double x; unsigned long v...
static int set_forecast_matrices_from_F(const gretl_matrix *F, int imin, int imax) { gretl_matrix *F1 = NULL; gretl_matrix *f = NULL; gretl_matrix *e = NULL; int n = F->cols; int k = n / 2; int fT = F->rows; int eT = F->rows; int f0 = 0, fn = fT; int e0 = 0, en ...
set_forecast_matrices_from_F
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_forecast_matrices_from_fr(FITRESID *fr) { double *v2; double *val; int v4; double *v5; double *v6; int v7; int ft1; int ft2; int et1; int et2; int t; int s; int err; int T; gretl_matrix *e; gretl_matrix *f; unsigned long v18; v18 = __readfsqword(0x28u); f = 0; e = 0; f...
static int set_forecast_matrices_from_fr(FITRESID *fr) { gretl_matrix *f = NULL; gretl_matrix *e = NULL; int ft1 = fr->t0; int ft2 = fr->t2; int et1 = fr->t0; int et2 = fr->t2; int T, t, s; int err = 0; fr_adjust_sample(fr, &ft1, &ft2, &et1, &et2); T = ft2 - ft1 + 1; if (T <= 0) { return 0; ...
set_forecast_matrices_from_fr
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_foreign_lang(const char *lang, PRN *prn) { char *v2; int err; err = 0; if ((unsigned int)g_ascii_strcasecmp(lang, "R")) { if ((unsigned int)g_ascii_strcasecmp(lang, "ox")) { if ((unsigned int)g_ascii_strcasecmp(lang, "octave")) { if ((unsigned int)g_ascii_strcasecmp(lang, "stata")) { ...
static int set_foreign_lang(const char *lang, PRN *prn) { int err = 0; if (g_ascii_strcasecmp(lang, "R") == 0) { foreign_lang = LANG_R; } else if (g_ascii_strcasecmp(lang, "ox") == 0) { foreign_lang = LANG_OX; } else if (g_ascii_strcasecmp(lang, "octave") == 0) { foreign_lang = LANG_OCTAVE; } els...
set_foreign_lang
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_forloop_element(char *s, LOOPSET *loop, int i) { controller *p_test; int len; int err; controller *clr; unsigned long v9; v9 = __readfsqword(0x28u); if (i) { if (i == 1) p_test = &loop->test; else p_test = &loop->delta; } else { p_test = &loop->init; } clr = p_test; ...
static int set_forloop_element(char *s, LOOPSET *loop, int i) { controller *clr = (i == 0) ? &loop->init : (i == 1) ? &loop->test : &loop->delta; int len, err = 0; #if LOOP_DEBUG > 1 fprintf(stderr, "set_forloop_element: i=%d: '%s'\n", i, s); #endif if (s =...
set_forloop_element
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_func_error_message(int err, ufunc *u, ExecState *state, const char *line, int lineno) { char *v5; int showline; const char *msg; const char *msg_0; GList *tmp; GList *tmpa; if (err == 47 && (msg = get_funcerr_message(state)) != 0 && strcmp(msg, "none")) { v5...
static void set_func_error_message(int err, ufunc *u, ExecState *state, const char *line, int lineno) { if (err == E_FUNCERR) { const char *msg = get_funcerr_message(state); if (msg != NULL && strcmp(msg, "none")) { gretl_errmsg_sprintf(_("Error message from %s():\n ...
set_func_error_message
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_function_private(ufunc *u, gboolean s) { UfunAttrs v2; if (s) v2 = u->flags | 1; else v2 = u->flags & 0xFFFFFFFE; u->flags = v2; }
static void set_function_private(ufunc *u, gboolean s) { if (s) { u->flags |= UFUN_PRIVATE; } else { u->flags &= ~UFUN_PRIVATE; } }
set_function_private
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_function_should_return(const char *line) { if (gretl_function_depth() <= 0) { gretl_errmsg_set("return: can only be used in a function"); return 18; } else { g_free(return_line); return_line = (gchar *)g_strdup(line); return 0; } }
int set_function_should_return(const char *line) { if (gretl_function_depth() > 0) { g_free(return_line); return_line = g_strdup(line); return 0; } else { gretl_errmsg_set("return: can only be used in a function"); return E_PARSE; } }
set_function_should_return
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_garch_alt_vcv(const char *s) { if (!check_for_state()) parse_libset_int_code(GARCH_ALT_VCV, s); }
void set_garch_alt_vcv(const char *s) { if (check_for_state()) return; parse_libset_int_code(GARCH_ALT_VCV, s); }
set_garch_alt_vcv
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_genr_model(void *ptr, GretlObjType type) { genr_model.ptr = ptr; genr_model.type = type; }
void set_genr_model(void *ptr, GretlObjType type) { genr_model.ptr = ptr; genr_model.type = type; }
set_genr_model
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_graph_color_from_string(int i, const char *s) { gretlRGB x; int err; unsigned long v4; v4 = __readfsqword(0x28u); err = 0; if ((unsigned int)i > 1) { err = 1; } else if ((unsigned int)__isoc99_sscanf(s + 1, "%06x", &x) == 1) { user_extra_color[i] = x; } else { err = 1; } if (er...
void set_graph_color_from_string(int i, const char *s) { int err = 0; if (i >= 0 && i < 2) { gretlRGB x; if (sscanf(s + 1, "%06x", &x) == 1) { user_extra_color[i] = x; } else { err = 1; } } else { err = 1; } if (err) { fprintf(stderr, "Error in set_graph_palette_from_str...
set_graph_color_from_string
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_alarm(int val) { alarm_set = val; }
void set_gretl_alarm(int val) { alarm_set = val; }
set_gretl_alarm
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_binbase(const char *path) { sprintf(paths.binbase, "%sdb", path); }
static void set_gretl_binbase(const char *path) { sprintf(paths.binbase, "%sdb", path); }
set_gretl_binbase
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_gretl_digits(int d) { if (d <= 2 || d > 6) return 17; gretl_digits = d; return 0; }
int set_gretl_digits(int d) { if (d >= 3 && d <= 6) { gretl_digits = d; return 0; } else { return E_INVARG; } }
set_gretl_digits
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_echo(int e) { int v1; if (!check_for_state()) { if (e) v1 = state->flags | 2; else v1 = state->flags & 0xFFFFFFFD; state->flags = v1; } }
void set_gretl_echo(int e) { if (check_for_state()) return; if (e) { state->flags |= ECHO_ON; } else { state->flags &= ~ECHO_ON; } }
set_gretl_echo
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_errno(int err) { gretl_errno = err; }
void set_gretl_errno(int err) { gretl_errno = err; }
set_gretl_errno
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_matrix_err(int err) { if (!gretl_matrix_err) gretl_matrix_err = err; }
static void set_gretl_matrix_err(int err) { if (gretl_matrix_err == 0) { gretl_matrix_err = err; } }
set_gretl_matrix_err
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_messages(int e) { int v1; if (!check_for_state()) { if (e) v1 = state->flags | 4; else v1 = state->flags & 0xFFFFFFFB; state->flags = v1; } }
void set_gretl_messages(int e) { if (check_for_state()) return; if (e) { state->flags |= MSGS_ON; } else { state->flags &= ~MSGS_ON; } }
set_gretl_messages
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_plugin_path(const char *path) { if (path) { paths.plugpath[0] = 0; strncat(paths.plugpath, path, 0x1FEu); slash_terminate(paths.plugpath); } }
void set_gretl_plugin_path(const char *path) { if (path != NULL) { *paths.plugpath = '\0'; strncat(paths.plugpath, path, MAXLEN - 2); slash_terminate(paths.plugpath); } }
set_gretl_plugin_path
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_plugpath(const char *path) { paths.plugpath[0] = 0; gretl_build_path(paths.plugpath, "/usr/lib64", "gretl-gtk2", 0); slash_terminate(paths.plugpath); }
static void set_gretl_plugpath(const char *path) { *paths.plugpath = '\0'; #if defined(WIN32) && defined(PKGBUILD) strcpy(paths.plugpath, path); strcat(paths.plugpath, PLUGIN_SFX); #else #ifdef LIBDIR gretl_build_path(paths.plugpath, LIBDIR, PLUGIN_SFX, NULL); #else #ifdef WIN32 char *p = strstr(path, "\\sh...
set_gretl_plugpath
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_png_font(const char *s) { strcpy(paths.pngfont, s); }
void set_gretl_png_font(const char *s) { strcpy(paths.pngfont, s); }
set_gretl_png_font
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_tex_preamble() { int gotit; const char *patha; const char *path; const char *pathb; char localname[24]; unsigned long v5; v5 = __readfsqword(0x28u); patha = gretl_workdir(); set_tex_locale_filename(localname); gotit = find_gretlpre(patha, localname); if (!gotit) { path = maybe_...
void set_gretl_tex_preamble(void) { const char *path = gretl_workdir(); char localname[16]; int gotit; set_tex_locale_filename(localname); gotit = find_gretlpre(path, localname); if (!gotit) { path = maybe_get_default_workdir(); if (path != NULL) { gotit = find_gretlpre(path, localname); ...
set_gretl_tex_preamble
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gretl_warning(int w) { gretl_warnnum = w; }
void set_gretl_warning(int w) { gretl_warnnum = w; }
set_gretl_warning
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_gretl_workdir(const char *path) { int v1; int err; GDir *test; err = 0; *__errno_location() = 0; test = gretl_opendir(path); if (test) { g_dir_close(test); strcpy(paths.workdir, path); slash_terminate(paths.workdir); gretl_insert_builtin_string("workdir", paths.workdir); } else ...
static int set_gretl_workdir(const char *path) { GDir *test; int err = 0; errno = 0; test = gretl_opendir(path); if (test == NULL) { gretl_errmsg_set_from_errno(path, errno); fprintf(stderr, "set_gretl_work_dir: '%s': failed\n", path); err = E_FOPEN; } else { g_dir_close(test); strcpy...
set_gretl_workdir
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gui_callback(EXEC_CALLBACK callback) { gui_callback = callback; }
void set_gui_callback(EXEC_CALLBACK callback) { gui_callback = callback; }
set_gui_callback
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_gui_model_list_callback(GList *(*callback)(...)) { get_or_send_gui_models = (GList * (*)(GList *)) callback; }
void set_gui_model_list_callback(GList *(*callback)()) { get_or_send_gui_models = callback; }
set_gui_model_list_callback
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_helpfile_option(gretlopt opt) { if ((opt & 0x2000) != 0) { force_en_cmdref = 1; force_en_fnref = 1; } }
static void set_helpfile_option(gretlopt opt) { if (opt & OPT_N) { force_en_cmdref = 1; force_en_fnref = 1; } }
set_helpfile_option
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_if_state(int code) { int err; unsigned long v3; v3 = __readfsqword(0x28u); err = 0; ifstate(code, 0, &err); return err; }
static int set_if_state(int code) { int err = 0; ifstate(code, 0, &err); return err; }
set_if_state
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_init_matrix(SetKey key, const char *name, PRN *prn) { gretl_matrix **p_initvals; char *v4; gretl_matrix **targ; const gretl_matrix *m; if (key == INITVALS) p_initvals = &state->initvals; else p_initvals = &state->initcurv; targ = p_initvals; gretl_matrix_free(*p_initvals); *targ = 0; ...
static int set_init_matrix(SetKey key, const char *name, PRN *prn) { gretl_matrix **targ; targ = (key == INITVALS) ? &state->initvals : &state->initcurv; gretl_matrix_free(*targ); *targ = NULL; if (strcmp(name, "auto")) { gretl_matrix *m = get_matrix_by_name(name); if (m == NULL) { pprintf(p...
set_init_matrix
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_last_result_data(void *data, GretlType type) { if (last_result) { if (last_result_type == GRETL_TYPE_MATRIX) { gretl_matrix_free(last_result); } else if (last_result_type == GRETL_TYPE_BUNDLE) { gretl_bundle_destroy((gretl_bundle *)last_result); } } last_result = (gretl_matrix *)d...
void set_last_result_data(void *data, GretlType type) { if (last_result != NULL) { if (last_result_type == GRETL_TYPE_MATRIX) { gretl_matrix_free(last_result); } else if (last_result_type == GRETL_TYPE_BUNDLE) { gretl_bundle_destroy(last_result); } } last_result = data; last_result_type...
set_last_result_data
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_list(gretl_array *A, int i, int *L, int copy) { void **v4; int err; err = 0; if (copy) { v4 = &A->data[i]; *v4 = gretl_list_copy(L); if (!A->data[i]) return 12; } else { A->data[i] = L; } return err; }
static int set_list(gretl_array *A, int i, int *L, int copy) { int err = 0; if (copy) { A->data[i] = gretl_list_copy(L); if (A->data[i] == NULL) { err = E_ALLOC; } } else { A->data[i] = L; } return err; }
set_list
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_list_value(NODE *lhs, NODE *rhs, parser *p) { char *opstr; char *v4; char *v6; char *v7; int err; int idx; int v; NODE *lh1; NODE *lh2; int *list; unsigned long v15; v15 = __readfsqword(0x28u); lh1 = lhs->L; lh2 = lhs->R; list = 0; idx = 0; v = -1; err = 0; if (p->op != 6)...
static int set_list_value(NODE *lhs, NODE *rhs, parser *p) { NODE *lh1 = lhs->L; NODE *lh2 = lhs->R; int *list = NULL; int idx = 0, v = -1; int err = 0; if (p->op != B_ASN) { gretl_errmsg_sprintf(_("'%s' : not implemented for this type"), get_opstr(p->op)); return E_TYPES; ...
set_list_value
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_listargs_from_call(fncall *call, DATASET *dset) { int i; int ia; if (dset) { for (i = 1; i < dset->v; ++i) series_unset_flag(dset, i, VAR_LISTARG); if (call && call->listvars) { for (ia = 1; ia <= *call->listvars; ++ia) series_set_flag(dset, call->listvars[ia], VAR_LISTARG); ...
static void set_listargs_from_call(fncall *call, DATASET *dset) { int i, vi; if (dset == NULL) { return; } for (i = 1; i < dset->v; i++) { series_unset_flag(dset, i, VAR_LISTARG); } if (call != NULL && call->listvars != NULL) { for (i = 1; i <= call->listvars[0]; i++) { vi = call->listv...
set_listargs_from_call
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_locale_with_workaround(int langid, const char *lcode, char **locp) { char *v3; const char *test; const char *langstr; char tmp[72]; unsigned long v9; v9 = __readfsqword(0x28u); test = setlocale(6, lcode); if (!test) { sprintf(tmp, "%s.UTF-8", lcode); test = setlocale(6, tmp); } if (...
static int set_locale_with_workaround(int langid, const char *lcode, char **locp) { char *test = setlocale(LC_ALL, lcode); #ifndef WIN32 if (test == NULL) { char lfix[32]; sprintf(lfix, "%s.UTF-8", lcode); test = setlocale(LC_ALL, lfix); } #endif if (test != ...
set_locale_with_workaround
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_loess_fit(GPT_SPEC *spec, int d, double q, gretl_matrix *x, gretl_matrix *y, gretl_matrix *yh) { int rows; double *val; char *v9; GPT_LINE *v10; int i; int t; int T; gretl_matrix *m; if (y) { if (y->cols == 1) { rows = y->rows; } else if (y->rows == 1) { ...
static int set_loess_fit(GPT_SPEC *spec, int d, double q, gretl_matrix *x, gretl_matrix *y, gretl_matrix *yh) { int i, t, T = gretl_vector_get_length(y); const double *src; gretl_matrix *m; m = gretl_matrix_alloc(T, 3); if (m == NULL) { return E_DATA; } gretl_matrix_free(spe...
set_loess_fit
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_logfile(const char *s) { int err; char outname[4104]; unsigned long v4; v4 = __readfsqword(0x28u); err = 0; if (gretl_function_depth() <= 0) { if (*s && strcmp(s, "null")) { if (!strcmp(s, "stdout") || !strcmp(s, "stderr")) { gretl_insert_builtin_string("logfile", s); } else...
static int set_logfile(const char *s) { int err = 0; if (gretl_function_depth() > 0) { gretl_errmsg_set("set logfile: cannot be done inside a function"); return E_DATA; } else if (*s == '\0' || !strcmp(s, "null")) { gretl_insert_builtin_string("logfile", ""); } else if (!strcmp(s, "stdout") || !str...
set_logfile
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_loop_off() { char *v0; if (looping) { v0 = looping; v0[gretl_function_depth()] = 0; } }
void set_loop_off(void) { if (looping != NULL) { looping[gretl_function_depth()] = 0; } #if LDEBUG print_looping(0); #endif }
set_loop_off
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_loop_on() { int v0; int v1; int fd; int n; fd = gretl_function_depth(); if (looping) { if (fd >= looplen) { if (fd < 2 * looplen) v1 = 2 * looplen; else v1 = fd + 1; n = v1; looping = (char *)realloc(looping, v1); memset(&looping[looplen], 0, n - l...
void set_loop_on(void) { int fd = gretl_function_depth(); if (looping == NULL) { looplen = fd + 1 < LMIN ? LMIN : fd + 1; looping = calloc(1, looplen); } else if (looplen < fd + 1) { int n = looplen * 2; n = n < fd + 1 ? fd + 1 : n; looping = realloc(looping, n); memset(looping + looplen...
set_loop_on
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_loop_opts(LOOPSET *loop, gretlopt opt) { if ((opt & 0x8000) != 0) loop->flags |= 1u; if ((opt & 0x200000) != 0) loop->flags |= 2u; }
static void set_loop_opts(LOOPSET *loop, gretlopt opt) { if (opt & OPT_P) { loop_set_progressive(loop); } if (opt & OPT_V) { loop_set_verbose(loop); } }
set_loop_opts
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_lwstr(const DATASET *dset, int v, char *s) { if (default_png_scale <= 1.0) *s = 0; else strcpy(s, " lw 2"); }
static void set_lwstr(const DATASET *dset, int v, char *s) { if (default_png_scale > 1.0) { strcpy(s, " lw 2"); } else { *s = '\0'; } }
set_lwstr
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_matrix(gretl_array *A, int i, gretl_matrix *m, int copy) { void **v4; int err; err = 0; if (copy) { v4 = &A->data[i]; *v4 = gretl_matrix_copy(m); if (!A->data[i]) return 12; } else { A->data[i] = m; } return err; }
static int set_matrix(gretl_array *A, int i, gretl_matrix *m, int copy) { int err = 0; if (copy) { A->data[i] = gretl_matrix_copy(m); if (A->data[i] == NULL) { err = E_ALLOC; } } else { A->data[i] = m; } return err; }
set_matrix
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_matrix_chunk(NODE *lhs, NODE *rhs, parser *p) { char *opstr; char *v4; const char *v6; char *str; complex_double *v8; double *v9; int rhs_scalar; int rhs_cscalar; int inflected; int free_m2; int i; gretl_matrix *b; gretl_matrix *m2; double rhs_x; NODE *lh1; NODE *lh2; gretl_mat...
static int set_matrix_chunk(NODE *lhs, NODE *rhs, parser *p) { NODE *lh1 = lhs->L; NODE *lh2 = lhs->R; gretl_matrix *m1, *m2 = NULL; matrix_subspec *spec; double rhs_x = NADBL; double complex rhs_z = NADBL; int rhs_scalar = 0; int rhs_cscalar = 0; int inflected = 0; int free_m2 = 0; if (p->op == ...
set_matrix_chunk
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_matrix_mask(const char *name, DATASET *dset) { set_state *v3; int t; int v; gretl_matrix_free(state->matmask); state->matmask = 0; if (strcmp(name, "null")) { v = current_series_index(dset, name); if (v < 0) return 14; v3 = state; v3->matmask = gretl_matrix_alloc(dset->n, 1); ...
static int set_matrix_mask(const char *name, DATASET *dset) { gretl_matrix_free(state->matmask); state->matmask = NULL; if (strcmp(name, "null")) { int t, v = current_series_index(dset, name); if (v < 0) { return E_UNKVAR; } state->matmask = gretl_column_vector_alloc(dset->n); if (stat...
set_matrix_mask
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_miss(const int *list, const char *param, DATASET *dset, PRN *prn) { char *v5; char *v6; char *v7; char *v8; char *v9; char *v10; char *v11; int err; int i; int vi; int count; double missval; unsigned long v19; v19 = __readfsqword(0x28u); err = 0; if (!param) return 15; if ...
int set_miss(const int *list, const char *param, DATASET *dset, PRN *prn) { int i, vi, count; double missval; int err = 0; if (param == NULL) { return E_ARGS; } if (dset == NULL || dset->n == 0) { return E_NODATA; } missval = gretl_double_from_string(param, &err); if (err) { return err;...
set_miss
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_model_count(int c) { gretl_model_count = c; }
void set_model_count(int c) { gretl_model_count = c; }
set_model_count
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_model_id(MODEL *pmod, gretlopt opt) { pmod->esttime = gretl_monotonic_time(); if (((opt & 1) == 0 || pmod->ci == 28 || pmod->ci == 47 || pmod->ci == 8) && ((opt & 0x10000) == 0 || (opt & 0x400000) != 0) && gretl_function_depth() <= 0 && !pmod->errcode) { pmod->ID = ++gretl_model_count; } ...
void set_model_id(MODEL *pmod, gretlopt opt) { pmod->esttime = gretl_monotonic_time(); if (opt & OPT_A) { if (pmod->ci != DPANEL && pmod->ci != GARCH && pmod->ci != ARMA) { return; } } if ((opt & OPT_Q) && !(opt & OPT_W)) { return; } else if (gretl_function_depth() > 0) { return; ...
set_model_id
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_mpi_rank_and_size(int rank, int size) { mpi_rank = rank; mpi_size = size; }
void set_mpi_rank_and_size(int rank, int size) { mpi_rank = rank; mpi_size = size; }
set_mpi_rank_and_size
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_mtab_string_width(middletab *mt) { char *v1; char *v2; char *v3; long badkey; int i; long j; badkey = 0; i = 0; LODWORD(j) = 0; while (i <= 6) { if (fabs(mt->val[(int)j]) <= 1.797693134862316e308) { v1 = gettext(mt->key[(int)j]); HIDWORD(j) = g_utf8_strlen(v1, -1); if...
static void set_mtab_string_width(struct middletab *mt) { int len, badkey = 0, maxlen = 0; int i, j; for (i = 0, j = 0; i < 7; i++, j += 2) { if (!na(mt->val[j])) { len = g_utf8_strlen(_(mt->key[j]), -1); if (len > maxlen) { maxlen = len; badkey = j; } len = g_utf8_str...
set_mtab_string_width
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_nested_matrix_value(NODE *lhs, NODE *rhs, parser *p) { int err; err = set_matrix_chunk(lhs, rhs, p); if (!err) return traverse_left(p); return err; }
static int set_nested_matrix_value(NODE *lhs, NODE *rhs, parser *p) { #if LHDEBUG int err; gretl_matrix_print(lhs->L->v.m, "LVM, before set matrix chunk"); err = set_matrix_chunk(lhs, rhs, p); gretl_matrix_print(lhs->L->v.m, "LVM, after set matrix chunk"); #else int err = set_matrix_chunk(lhs, rhs, p); #endif...
set_nested_matrix_value
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_nlspec_from_model(const MODEL *pmod, const DATASET *dset) { int err; const char *buf; char line[520]; unsigned long v6; v6 = __readfsqword(0x28u); err = 0; buf = (const char *)gretl_model_get_data(pmod, "nlinfo"); if (!buf) return 2; bufgets_init(buf); while (bufgets(line, 0x200u, buf))...
static int set_nlspec_from_model(const MODEL *pmod, const DATASET *dset) { char line[MAXLEN]; const char *buf; int err = 0; buf = gretl_model_get_data(pmod, "nlinfo"); if (buf == NULL) { return E_DATA; } bufgets_init(buf); while (bufgets(line, sizeof line, buf) && !err) { tailstrip(line); ...
set_nlspec_from_model
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_numeric_mode(nlspec *s) { s->flags &= ~1u; }
static void set_numeric_mode(nlspec *s) { s->flags &= ~NL_ANALYTICAL; }
set_numeric_mode
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
void set_nvars(int n, const char *caller) { n_vars_0 = n; }
static void set_nvars(int n, const char *caller) { #if UVDEBUG fprintf(stderr, "%s: setting n_vars = %d (was %d)\n", caller, n, n_vars); #endif n_vars = n; }
set_nvars
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0
int set_obs(const char *parm1, const char *parm2, DATASET *dset, gretlopt opt) { char *v5; char *v6; char *v7; unsigned int n; char *v9; int structure; guint32 ed0; int err; int panel; int pd; int sts; double sd0; const char *stobs; unsigned long v20; v20 = __readfsqword(0x28u); stobs =...
int set_obs(const char *parm1, const char *parm2, DATASET *dset, gretlopt opt) { const char *stobs = NULL; int structure = STRUCTURE_UNKNOWN; double sd0 = dset->sd0; guint32 ed0 = 0; int pd, panel = 0; int err = 0; if (dset == NULL) { return E_NODATA; } if ((opt & (OPT_R | OPT_P)) && dset->Z == ...
set_obs
gretl-2021d
sci-mathematics
O0/sci-mathematics/gretl-2021d/libgretl-1.0.so.40.0.0
ida
O0