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
void *api_get_module_func(GMTAPI_CTRL *API, const char *module, unsigned int lib_no) { return api_get_shared_module_func(API, module, lib_no); }
GMT_LOCAL void *api_get_module_func (struct GMTAPI_CTRL *API, const char *module, unsigned int lib_no) { #ifndef BUILD_SHARED_LIBS if (lib_no == 0) return (gmt_core_module_lookup (API, module)); #endif return (api_get_shared_module_func (API, module, lib_no)); }
api_get_module_func
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
const char *api_get_moduleinfo(void *V_API, char *module) { size_t v3; unsigned int lib; unsigned int liba; GMTAPI_CTRL *API; const char *keys; const char *keysa; char gmt_module[40]; unsigned long v10; v10 = __readfsqword(0x28u); *(_QWORD *)gmt_module = 7630183; memset(&gmt_module[8], 0, 24); ...
GMT_LOCAL const char * api_get_moduleinfo (void *V_API, char *module) { unsigned int lib; struct GMTAPI_CTRL *API = NULL; char gmt_module[GMT_LEN32] = "gmt"; const char *keys = NULL; if (V_API == NULL) return_null (NULL, GMT_NOT_A_SESSION); if (module == NULL) return_null (V_API, GMT_ARG_IS_NULL); API = ap...
api_get_moduleinfo
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_get_object(GMTAPI_CTRL *API, int sfamily, void *ptr) { unsigned int item; GMT_enum_family family; unsigned int object_ID; family = -1; object_ID = -1; if (sfamily != -1) family = sfamily; for (item = 0; object_ID == -1 && item < API->n_objects; ++item) { if (API->object[item] && API->obje...
GMT_LOCAL int api_get_object (struct GMTAPI_CTRL *API, int sfamily, void *ptr) { unsigned int item; enum GMT_enum_family family = GMT_NOTSET; int object_ID = GMT_NOTSET; if (sfamily != GMT_NOTSET) family = sfamily; for (item = 0; object_ID == GMT_NOTSET && item < API->n_objects; item++) { if (!API->object...
api_get_object
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_get_object_id_from_data_ptr(GMTAPI_CTRL *API, void *ptr) { unsigned int item; unsigned int object_ID; void *data; object_ID = -1; for (item = 0; object_ID == -1 && item < API->n_objects; ++item) { if (API->object[item]) { data = api_return_address(ptr, API->object[item]->family); if (...
GMT_LOCAL int api_get_object_id_from_data_ptr (struct GMTAPI_CTRL *API, void *ptr) { unsigned int item; int object_ID = GMT_NOTSET; void *data = NULL; for (item = 0; object_ID == GMT_NOTSET && item < API->n_objects; item++) { if (!API->object[item]) continue; data = api_return_address (ptr, API->objec...
api_get_object_id_from_data_ptr
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_get_ppid(GMTAPI_CTRL *API) { if (API->external) return getpid(); else return getppid(); }
GMT_LOCAL int api_get_ppid (struct GMTAPI_CTRL *API) { int ppid = -1; gmt_M_unused(API); #if defined(WIN32) ppid = 0; #else if (API->external) ppid = getpid (); else ppid = getppid(); #endif return (ppid); }
api_get_ppid
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_POSTSCRIPT *api_get_ps_ptr(GMT_POSTSCRIPT **ptr) { return *ptr; }
GMT_LOCAL inline struct GMT_POSTSCRIPT * api_get_ps_ptr (struct GMT_POSTSCRIPT **ptr) {return (*ptr);}
api_get_ps_ptr
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_GRID_ROWBYROW *api_get_rbr_ptr(GMT_GRID_ROWBYROW *ptr) { return ptr; }
GMT_LOCAL inline struct GMT_GRID_ROWBYROW * api_get_rbr_ptr (struct GMT_GRID_ROWBYROW *ptr) {return (ptr);}
api_get_rbr_ptr
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
double api_get_record_value(GMT_CTRL *GMT, double *record, uint64_t col, uint64_t n_colums) { double d_NaN; unsigned int col_pos; double val[2]; *(_QWORD *)&val[1] = __readfsqword(0x28u); col_pos = api_pick_in_col_number(GMT, col); if (n_colums > col_pos) d_NaN = record[col_...
GMT_LOCAL double api_get_record_value (struct GMT_CTRL *GMT, double *record, uint64_t col, uint64_t n_colums) { double val; unsigned int col_pos; col_pos = api_pick_in_col_number (GMT, (unsigned int)col); val = (col_pos >= n_colums) ? GMT->session.d_NaN : record[col_pos]; if (GMT->common.d.active[GMT_IN] && gmt...
api_get_record_value
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_get_shared_module_func(GMTAPI_CTRL *API, const char *module, unsigned int lib_no) { Gmt_libinfo *v4; char *v5; if (API->lib[lib_no].skip) return 0; if (API->lib[lib_no].handle) return dlsym(API->lib[lib_no].handle, module); v4 = &API->lib[lib_no]; v4->hand...
GMT_LOCAL void *api_get_shared_module_func (struct GMTAPI_CTRL *API, const char *module, unsigned int lib_no) { void *p_func = NULL; if (API->lib[lib_no].skip) return (NULL); if (API->lib[lib_no].handle == NULL && (API->lib[lib_no].handle = dlopen (API->lib[lib_no].path, RTLD_LAZY)) == NULL) { GMT_Repor...
api_get_shared_module_func
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_TEXTSET *api_get_textset_ptr(GMT_TEXTSET **ptr) { return *ptr; }
GMT_LOCAL inline struct GMT_TEXTSET * api_get_textset_ptr (struct GMT_TEXTSET **ptr) {return (*ptr);}
api_get_textset_ptr
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_char(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)(char)u->uc1[row]; }
GMT_LOCAL void api_get_val_char (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->sc1[row]; }
api_get_val_char
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_double(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = *(double *)&u->uc1[8 * row]; }
GMT_LOCAL void api_get_val_double (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->f8[row]; }
api_get_val_double
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_float(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = *(float *)&u->uc1[4 * row]; }
GMT_LOCAL void api_get_val_float (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->f4[row]; }
api_get_val_float
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_int(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)*(int *)&u->uc1[4 * row]; }
GMT_LOCAL void api_get_val_int (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->si4[row]; }
api_get_val_int
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_long(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)(int)*(_QWORD *)&u->uc1[8 * row]; }
GMT_LOCAL void api_get_val_long (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)u->si8[row]; }
api_get_val_long
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_short(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)*(short *)&u->uc1[2 * row]; }
GMT_LOCAL void api_get_val_short (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->si2[row]; }
api_get_val_short
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_uchar(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)u->uc1[row]; }
GMT_LOCAL void api_get_val_uchar (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->uc1[row]; }
api_get_val_uchar
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_uint(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)*(int *)&u->uc1[4 * row]; }
GMT_LOCAL void api_get_val_uint (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->ui4[row]; }
api_get_val_uint
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_ulong(GMT_UNIVECTOR *u, uint64_t row, double *val) { long v3; double v4; long v5; v3 = *(_QWORD *)&u->uc1[8 * row]; if (v3 < 0) { v5 = *(_QWORD *)&u->uc1[8 * row] & 1LL | ((unsigned long)v3 >> 1); v4 = (double)(int)v5 + (double)(int)v5; } else { v4 = (double)(int)v3; } *val...
GMT_LOCAL void api_get_val_ulong (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)u->ui8[row]; }
api_get_val_ulong
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_get_val_ushort(GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = (double)*(unsigned short *)&u->uc1[2 * row]; }
GMT_LOCAL void api_get_val_ushort (union GMT_UNIVECTOR *u, uint64_t row, double *val) { *val = u->ui2[row]; }
api_get_val_ushort
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_VECTOR *api_get_vector_ptr(GMT_VECTOR **ptr) { return *ptr; }
GMT_LOCAL inline struct GMT_VECTOR * api_get_vector_ptr (struct GMT_VECTOR **ptr) {return (*ptr);}
api_get_vector_ptr
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
unsigned int api_gmtry(unsigned int geometry) { switch (geometry) { case 1u: return 1; case 2u: return 2; case 4u: return 3; case 7u: return 4; } if ((geometry & 2) != 0 && (geometry & 4) != 0) return 5; if (geometry == 8) return 6; if (geometry == 16) return 7; return 0;...
GMT_LOCAL unsigned int api_gmtry (unsigned int geometry) { if (geometry == GMT_IS_POINT) return 1; if (geometry == GMT_IS_LINE) return 2; if (geometry == GMT_IS_POLY) return 3; if (geometry == GMT_IS_PLP) return 4; if ((geometry & GMT_IS_LINE) && (geometry & GMT_IS_POLY)) return 5; if (geometry == G...
api_gmtry
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_grdheader_to_matrixinfo(GMT_GRID_HEADER *h, GMT_MATRIX *M_obj) { M_obj->n_columns = h->n_columns; M_obj->n_rows = h->n_rows; M_obj->registration = h->registration; memcpy(M_obj->range, h->wesn, 0x20u); }
GMT_LOCAL void api_grdheader_to_matrixinfo (struct GMT_GRID_HEADER *h, struct GMT_MATRIX *M_obj) { M_obj->n_columns = h->n_columns; M_obj->n_rows = h->n_rows; M_obj->registration = h->registration; gmt_M_memcpy (M_obj->range, h->wesn, 4, double); }
api_grdheader_to_matrixinfo
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_grid_comment(GMTAPI_CTRL *API, unsigned int mode, void *arg, GMT_GRID *G) { api_GI_comment(API, mode, arg, G->header); }
GMT_LOCAL void api_grid_comment (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, struct GMT_GRID *G) { api_GI_comment (API, mode, arg, G->header); }
api_grid_comment
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
double *api_grid_coord(GMTAPI_CTRL *API, int dim, GMT_GRID *G) { return gmt_grd_coord(API->GMT, G->header, dim); }
GMT_LOCAL double * api_grid_coord (struct GMTAPI_CTRL *API, int dim, struct GMT_GRID *G) { return (gmt_grd_coord (API->GMT, G->header, dim)); }
api_grid_coord
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_image_comment(GMTAPI_CTRL *API, unsigned int mode, void *arg, GMT_IMAGE *I) { api_GI_comment(API, mode, arg, I->header); }
GMT_LOCAL void api_image_comment (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, struct GMT_IMAGE *I) { api_GI_comment (API, mode, arg, I->header); }
api_image_comment
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
double *api_image_coord(GMTAPI_CTRL *API, int dim, GMT_IMAGE *I) { return gmt_grd_coord(API->GMT, I->header, dim); }
GMT_LOCAL double * api_image_coord (struct GMTAPI_CTRL *API, int dim, struct GMT_IMAGE *I) { return (gmt_grd_coord (API->GMT, I->header, dim)); }
api_image_coord
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_import_data(GMTAPI_CTRL *API, GMT_enum_family family, int object_ID, unsigned int mode, void *data) { int flag; void *new_obj; flag = -1; new_obj = 0; if (API) { if (!API->registered[0]) { gmtapi_report_error(API, 44); return 0; } else { if (family ==...
GMT_LOCAL void *api_import_data (struct GMTAPI_CTRL *API, enum GMT_enum_family family, int object_ID, unsigned int mode, void *data) { int item, flag = GMT_NOTSET; void *new_obj = NULL; if (API == NULL) return_null (API, GMT_NOT_A_SESSION); if (!API->registered[GMT_IN]) return_null (API, GMT_NO_INPUT); ...
api_import_data
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_DATASET *api_import_dataset(GMTAPI_CTRL *API, int object_ID, unsigned int mode) { unsigned int v4; GMT_DATATABLE **v5; GMT_DATATABLE **v6; uint64_t v7; GMT_DATATABLE **v8; GMT_DATATABLE *v9; GMT_DATASEGMENT **segment; GMT_DATATABLE *v11; GMT_DATASEGMENT **v12; dou...
GMT_LOCAL struct GMT_DATASET *api_import_dataset (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode) { int item, first_item = 0, this_item = GMT_NOTSET, last_item, new_item, new_ID, status; unsigned int geometry = GMT_IS_PLP, n_used = 0, method; bool allocate = false, update = false, diff_types, use_GM...
api_import_dataset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_GRID *api_import_grid(GMTAPI_CTRL *API, int object_ID, unsigned int mode, GMT_GRID *grid) { bool v5; unsigned int method; char v7; char *filename; int grd_info; char *v10; int grd; char *v12; int v13; GMT_GRID_HEADER *v14; uint32_t n_rows; uint32_t v16; unsigned i...
GMT_LOCAL struct GMT_GRID *api_import_grid (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode, struct GMT_GRID *grid) { int item, new_item, new_ID; bool done = true, new = false, row_by_row, via = false; uint64_t row, col, i0, i1, j0, j1, ij, ij_orig; size_t size; unsigned int both_set = (GMT_C...
api_import_grid
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_IMAGE *api_import_image(GMTAPI_CTRL *API, int object_ID, unsigned int mode, GMT_IMAGE *image) { unsigned int method; char *v6; int image_info; char *filename; int v9; char *v10; int v11; GMT_GRID_HEADER *v12; uint32_t n_rows; uint32_t v14; unsigned int *pad; long ...
GMT_LOCAL struct GMT_IMAGE *api_import_image (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode, struct GMT_IMAGE *image) { int item, new_item, new_ID; bool done = true, via = false; uint64_t i0, i1, j0, j1, ij, ij_orig, row, col; unsigned int both_set = (GMT_CONTAINER_ONLY | GMT_DATA_ONLY); dou...
api_import_image
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_MATRIX *api_import_matrix(GMTAPI_CTRL *API, int object_ID, unsigned int mode) { GMT_MATRIX *result; int item; GMT_MATRIX *M_obj; GMTAPI_DATA_OBJECT *S_obj; GMT_CTRL *GMT; M_obj = 0; GMT = API->GMT; GMT_Report(API, 6u, "api_import_matrix: Passed ID = %d and mode = %d\n"...
GMT_LOCAL struct GMT_MATRIX *api_import_matrix (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode) { int item; unsigned int kind; struct GMT_MATRIX *M_obj = NULL; struct GMTAPI_DATA_OBJECT *S_obj = NULL; struct GMT_CTRL *GMT = API->GMT; GMT_Report (API, GMT_MSG_DEBUG, "api_import_matrix: Passed ID = ...
api_import_matrix
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_PALETTE *api_import_palette(GMTAPI_CTRL *API, int object_ID, unsigned int mode) { GMT_PALETTE *result; __pid_t v4; unsigned int flag; int item; GMT_PALETTE *P_obj; GMTAPI_DATA_OBJECT *S_obj; GMT_CTRL *GMT; char tmp_cptfile[72]; unsigned long v12; v12 = __readfsqw...
GMT_LOCAL struct GMT_PALETTE * api_import_palette (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode) { int item; unsigned int flag = 0, kind; char tmp_cptfile[GMT_LEN64] = {""}; struct GMT_PALETTE *P_obj = NULL; struct GMTAPI_DATA_OBJECT *S_obj = NULL; struct GMT_CTRL *GMT = API->GMT; GMT_Report ...
api_import_palette
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_POSTSCRIPT *api_import_postscript(GMTAPI_CTRL *API, int object_ID, unsigned int mode) { GMT_POSTSCRIPT *result; int item; GMT_POSTSCRIPT *P_obj; GMTAPI_DATA_OBJECT *S_obj; GMT_CTRL *GMT; GMT = API->GMT; GMT_Report(API, 6u, "api_import_postscript: Passed ID = %d a...
GMT_LOCAL struct GMT_POSTSCRIPT * api_import_postscript (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode) { int item; unsigned int kind; struct GMT_POSTSCRIPT *P_obj = NULL; struct GMTAPI_DATA_OBJECT *S_obj = NULL; struct GMT_CTRL *GMT = API->GMT; GMT_Report (API, GMT_MSG_DEBUG, "api_import_posts...
api_import_postscript
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_TEXTSET *api_import_textset(GMTAPI_CTRL *API, int object_ID, unsigned int mode) { GMT_TEXTTABLE **v3; unsigned int method; GMT_TEXTTABLE **v6; GMT_TEXTTABLE **v7; void **v8; GMT_TEXTTABLE *v9; _QWORD *segment; GMT_TEXTSEGMENT *v11; char **v12; _QWORD *table; sho...
GMT_LOCAL struct GMT_TEXTSET *api_import_textset (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode) { int item, first_item = 0, last_item, this_item = GMT_NOTSET, new_item, new_ID; unsigned int n_used = 0; bool update = false, allocate = false, via = false; size_t n_alloc; uint64_t row, seg; char *...
api_import_textset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_VECTOR *api_import_vector(GMTAPI_CTRL *API, int object_ID, unsigned int mode) { GMT_VECTOR *result; int item; GMT_VECTOR *V_obj; GMTAPI_DATA_OBJECT *S_obj; GMT_CTRL *GMT; V_obj = 0; GMT = API->GMT; GMT_Report(API, 6u, "api_import_vector: Passed ID = %d and mode = %d\n"...
GMT_LOCAL struct GMT_VECTOR * api_import_vector (struct GMTAPI_CTRL *API, int object_ID, unsigned int mode) { int item; unsigned int kind; struct GMT_VECTOR *V_obj = NULL; struct GMTAPI_DATA_OBJECT *S_obj = NULL; struct GMT_CTRL *GMT = API->GMT; GMT_Report (API, GMT_MSG_DEBUG, "api_import_vector: Passed ID =...
api_import_vector
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_increment_d(GMT_DATASET *D_obj, uint64_t n_rows, uint64_t n_columns, uint64_t n_seg) { GMT_DATATABLE *v4; uint64_t last_seg; last_seg = n_seg - 1; if (!n_seg) __assert_fail("n_seg > 0", "/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4/" ...
GMT_LOCAL void api_increment_d (struct GMT_DATASET *D_obj, uint64_t n_rows, uint64_t n_columns, uint64_t n_seg) { uint64_t last_seg = n_seg - 1; assert (n_seg > 0); D_obj->table[D_obj->n_tables]->segment[last_seg]->n_rows = n_rows; D_obj->table[D_obj->n_tables]->segment[last_seg]->n_columns = D_obj->table[D_obj->...
api_increment_d
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_export(GMTAPI_CTRL *API, GMT_enum_family family, unsigned int geometry, unsigned int mode, GMT_OPTION *head) { unsigned int v5; char modea; int object_ID; unsigned int n_reg; int item; GMT_OPTION *current; GMT_OPTION *out_item; unsigned long v15; m...
GMT_LOCAL int api_init_export (struct GMTAPI_CTRL *API, enum GMT_enum_family family, unsigned int geometry, unsigned int mode, struct GMT_OPTION *head) { unsigned int n_reg = 0; int object_ID = GMT_NOTSET, item; struct GMT_OPTION *current = NULL, *out_item = NULL; GMT_Report (API, GMT_MSG_DEBUG, "api_...
api_init_export
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_grid(GMTAPI_CTRL *API, GMT_OPTION *opt, uint64_t *dim, double *range, double *inc, int registration, unsigned int mode, unsigned int direction, GMT_GRID *G) { if (direction != 1) gmtgrdio_init_grdheader(API->GMT, direction, G->header, opt, dim, range, ...
GMT_LOCAL int api_init_grid (struct GMTAPI_CTRL *API, struct GMT_OPTION *opt, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_GRID *G) { if (direction == GMT_OUT) return (GMT_OK); gmtgrdio_init_grdheader (API->GMT, direction, G->header, opt, dim, ra...
api_init_grid
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_image(GMTAPI_CTRL *API, GMT_OPTION *opt, uint64_t *dim, double *range, double *inc, int registration, unsigned int mode, unsigned int direction, GMT_IMAGE *I) { _BOOL4 v10; int alpha; if (direction == 1) return 0; v10 = dim && (dim[2] == 2 || dim[2] == 4);...
GMT_LOCAL int api_init_image (struct GMTAPI_CTRL *API, struct GMT_OPTION *opt, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_IMAGE *I) { int alpha; if (direction == GMT_OUT) return (GMT_OK); alpha = (dim && (dim[GMT_Z] == 2 || dim[GMT_Z] == 4)); ...
api_init_image
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_import(GMTAPI_CTRL *API, GMT_enum_family family, unsigned int geometry, unsigned int mode, GMT_OPTION *head) { unsigned int v5; char modea; int first_ID; unsigned int n_reg; int object_ID; int item; GMT_OPTION *current; double *wesn; unsigned long v...
GMT_LOCAL int api_init_import (struct GMTAPI_CTRL *API, enum GMT_enum_family family, unsigned int geometry, unsigned int mode, struct GMT_OPTION *head) { int object_ID, first_ID = GMT_NOTSET, item; unsigned int n_reg = 0; struct GMT_OPTION *current = NULL; double *wesn = NULL; GMT_Report (API, GMT_MSG...
api_init_import
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_matrix(GMTAPI_CTRL *API, uint64_t *dim, double *range, double *inc, int registration, unsigned int mode, unsigned int direction, GMT_MATRIX *M) { int v8; uint64_t n_rows; char modea; unsigned int dims; int error; double off; uint64_t size; double dumm...
GMT_LOCAL int api_init_matrix (struct GMTAPI_CTRL *API, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_MATRIX *M) { double off = 0.5 * registration; int error; unsigned int dims = (M->n_layers > 1) ? 3 : 2; size_t size = 0; GMT_Report (API, GMT_M...
api_init_matrix
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_sharedlibs(GMTAPI_CTRL *API) { Gmt_libinfo *lib; Gmt_libinfo *v2; Gmt_libinfo *v3; char *v4; Gmt_libinfo *v6; Gmt_libinfo *v7; Gmt_libinfo *v8; Gmt_libinfo *v9; char *v10; Gmt_libinfo *v11; Gmt_libinfo *v12; unsigned int pos; unsigned int n_custom_libs; unsigned int k; unsigne...
GMT_LOCAL int api_init_sharedlibs (struct GMTAPI_CTRL *API) { struct GMT_CTRL *GMT = API->GMT; unsigned int n_custom_libs = 0, k, e, n_alloc = GMT_TINY_CHUNK; char text[GMT_LEN256] = {""}, plugindir[GMT_LEN256] = {""}, path[GMT_LEN256] = {""}; char *libname = NULL, **list = NULL; #ifdef WIN32 char *extension[1]...
api_init_sharedlibs
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_init_vector(GMTAPI_CTRL *API, uint64_t *dim, double *range, double *inc, int registration, unsigned int mode, unsigned int direction, GMT_VECTOR *V) { double v9; char modea; int error; uint64_t col; modea = mode; GMT_Report(API, 6u, "Initializing a vector for...
GMT_LOCAL int api_init_vector (struct GMTAPI_CTRL *API, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_VECTOR *V) { int error; uint64_t col; GMT_Report (API, GMT_MSG_DEBUG, "Initializing a vector for handing external %s\n", GMT_direction[direction]...
api_init_vector
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_is_registered(GMTAPI_CTRL *API, GMT_enum_family family, GMT_enum_geometry geometry, GMT_enum_std direction, unsigned int mode, char *filename, void *resource) { GMTAPI_DATA_OBJECT *v8; unsigned int i; unsigned int item; GMT_GRID *G; if (!API->n_objects) ...
GMT_LOCAL int api_is_registered (struct GMTAPI_CTRL *API, enum GMT_enum_family family, enum GMT_enum_geometry geometry, enum GMT_enum_std direction, unsigned int mode, char *filename, void *resource) { unsigned int i; int item; if (API->n_objects == 0) return (GMT_NOTSET); for (i = 0, item = GMT_NOTSET...
api_is_registered
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_key_to_family(void *API, char *key, int *family, int *geometry) { int result; switch (key[1]) { case '-': *family = 16; *geometry = 16; goto LABEL_12; case 'C': *family = 3; *geometry = 16; goto LABEL_12; case 'D': *family = 0; *geometry = 1; goto LABEL_12; case ...
' #define API_SECONDARY_INPUT '(' #define API_SECONDARY_OUTPUT ')' GMT_LOCAL int api_key_to_family (void *API, char *key, int *family, int *geometry) { switch (key[K_FAMILY]) { case 'G': *family = GMT_IS_GRID; *geometry = GMT_IS_SURFACE; break; case 'P': *family = GMT_IS_DATASET; *geometry = ...
api_key_to_family
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
char *api_lib_tag(char *name) { char *pch; const char *tag; if (!strchr(name, 46)) return 0; tag = strdup(name); *strrchr(tag, 46) = 0; pch = strrchr(tag, 95); if (pch) *pch = 0; return (char *)tag; }
GMT_LOCAL char *api_lib_tag (char *name) { char *extension = NULL, *pch = NULL, *tag = NULL; if (!strchr (name, '.')) return NULL; tag = strdup (name); extension = strrchr (tag, '.'); *extension = '\0'; pch = strrchr(tag, '_'); if (pch) *pch = '\0'; return (tag); }
api_lib_tag
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMTAPI_DATA_OBJECT *api_make_dataobject(GMTAPI_CTRL *API, GMT_enum_family family, unsigned int method, unsigned int geometry, void *resource, unsigned int direc...
GMT_LOCAL struct GMTAPI_DATA_OBJECT * api_make_dataobject (struct GMTAPI_CTRL *API, enum GMT_enum_family family, unsigned int method, unsigned int geometry, void *resource, unsigned int direction) { struct GMTAPI_DATA_OBJECT *S_obj = gmt_M_memory (API->GMT, NULL, 1, struct GMTAPI_DATA_OBJECT); S_obj->family = S...
api_make_dataobject
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_matrix2dataset(GMTAPI_CTRL *API, GMT_MATRIX *In, GMT_DATASET *Out, unsigned int header) { GMT_DATASET *Outa; bool alloc; uint64_t row; uint64_t col; GMT_CTRL *GMT; GMT_DATASEGMENT *SD; GMT_getfunction api_get_val; p_func_uint64_t GMT_2D_to_index; uint64_t ij; Outa...
GMT_LOCAL void *api_matrix2dataset (struct GMTAPI_CTRL *API, struct GMT_MATRIX *In, struct GMT_DATASET *Out, unsigned int header) { uint64_t row, col, ij; bool alloc = (Out == NULL); struct GMT_CTRL *GMT = API->GMT; struct GMT_DATASEGMENT *SD = NULL; GMT_getfunction api_get_val = NULL; p_func_uint64_t GMT_2D...
api_matrix2dataset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_matrix2textset(GMTAPI_CTRL *API, GMT_MATRIX *In, GMT_TEXTSET *Out, unsigned int header) { char **v5; GMT_TEXTSET *Outa; bool alloc; int fmt; double value; uint64_t row; uint64_t col; GMT_CTRL *GMT; GMT_TEXTSEGMENT *ST; GMT_getfunction api_get_val; p_func_uint64_t...
GMT_LOCAL void *api_matrix2textset (struct GMTAPI_CTRL *API, struct GMT_MATRIX *In, struct GMT_TEXTSET *Out, unsigned int header) { uint64_t row, col, ij; unsigned int fmt; char record[BUFSIZ] = {""}; bool alloc = (Out == NULL); double value; struct GMT_CTRL *GMT = API->GMT; struct GMT_TEXTSEGMENT *ST = NUL...
api_matrix2textset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_matrix2vector(GMTAPI_CTRL *API, GMT_MATRIX *In, GMT_VECTOR *Out, unsigned int header, unsigned int mode) { unsigned int export_type; GMT_VECTOR *Outa; bool alloc; double value; uint64_t row; uint64_t col; GMT_CTRL *GMT; GMT_getfunction api_get_val_m; GMT_putfunction a...
GMT_LOCAL void *api_matrix2vector (struct GMTAPI_CTRL *API, struct GMT_MATRIX *In, struct GMT_VECTOR *Out, unsigned int header, unsigned int mode) { uint64_t row, col, ij; bool alloc = (Out == NULL); double value; struct GMT_CTRL *GMT = API->GMT; GMT_getfunction api_get_val_m = NULL; GMT_putfunction api_put...
api_matrix2vector
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_matrix_comment(GMTAPI_CTRL *API, unsigned int mode, void *arg, GMT_MATRIX *M) { if ((mode & 4) != 0) api_update_txt_item(API, (unsigned char)mode, arg, 0xA0u, M->remark); if ((mode & 2) != 0) api_update_txt_item(API, (unsigned char)mode, arg, 0x140u, M->command); }
GMT_LOCAL void api_matrix_comment (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, struct GMT_MATRIX *M) { if (mode & GMT_COMMENT_IS_REMARK) api_update_txt_item (API, mode, arg, GMT_GRID_REMARK_LEN160, M->remark); if (mode & GMT_COMMENT_IS_COMMAND) api_update_txt_item (API, mode, arg, GMT_GRID_COMMAND_LEN320...
api_matrix_comment
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
double *api_matrix_coord(GMTAPI_CTRL *API, int dim, GMT_MATRIX *M) { uint64_t n_rows; long v5; double v6; double v7; double v8; unsigned int max; uint64_t k; double *coord; uint64_t n; double off; double inc; if (M->n_layers <= 1 && dim == 2) return 0; if (dim) { if (dim == 1) n...
GMT_LOCAL double * api_matrix_coord (struct GMTAPI_CTRL *API, int dim, struct GMT_MATRIX *M) { double *coord = NULL, off, inc; unsigned int min, max; uint64_t k, n; if (M->n_layers <= 1 && dim == GMT_Z) return (NULL); n = (dim == GMT_X) ? M->n_columns : ((dim == GMT_Y) ? M->n_rows : M->n_layers); min = 2*dim,...
api_matrix_coord
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_matrixinfo_to_grdheader(GMT_CTRL *GMT, GMT_GRID_HEADER *h, GMT_MATRIX *M_obj) { double v3; h->n_columns = M_obj->n_columns; h->n_rows = M_obj->n_rows; h->registration = M_obj->registration; memcpy(h->wesn, M_obj->range, sizeof(h->wesn)); if (h->registration) v3...
GMT_LOCAL void api_matrixinfo_to_grdheader (struct GMT_CTRL *GMT, struct GMT_GRID_HEADER *h, struct GMT_MATRIX *M_obj) { gmt_M_unused(GMT); h->n_columns = (unsigned int)M_obj->n_columns; h->n_rows = (unsigned int)M_obj->n_rows; h->registration = M_obj->registration; gmt_M_memcpy (h->wesn, M_obj->range, 4, double...
api_matrixinfo_to_grdheader
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_memory_registered(GMTAPI_CTRL *API, GMT_enum_family family, unsigned int direction, void *resource) { GMT_enum_family familya; int object_ID; int item; familya = family - (family & 0x40); if (familya == GMT_enum_family_GMT_IS_COORD) return -1; object_ID = api_decode_id...
GMT_LOCAL int api_memory_registered (struct GMTAPI_CTRL *API, enum GMT_enum_family family, unsigned int direction, void *resource) { int object_ID = 0, item; unsigned int module_input = (family & GMT_VIA_MODULE_INPUT); family -= module_input; if (family == GMT_IS_COORD) return (GMT_NOTSET); if ((object_ID = api...
api_memory_registered
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
uint64_t api_n_cols_needed_for_gaps(GMT_CTRL *GMT, uint64_t n) { uint64_t result; if (!GMT->common.g.active) return n; result = *(unsigned long *)((char *)&stru_22E00.r_offset + (_QWORD)GMT); if (n >= result) return n; return result; }
GMT_LOCAL inline uint64_t api_n_cols_needed_for_gaps (struct GMT_CTRL *GMT, uint64_t n) { if (GMT->common.g.active) return (MAX (n, GMT->common.g.n_col)); return (n); }
api_n_cols_needed_for_gaps
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_next_data_object(GMTAPI_CTRL *API, GMT_enum_family family, GMT_enum_std direction) { bool found; int item; found = 0; item = API->current_item[direction] + 1; while (item < (signed int)API->n_objects && !found) { if (API->object[item] && API->object[item]->selected && ...
GMT_LOCAL int api_next_data_object (struct GMTAPI_CTRL *API, enum GMT_enum_family family, enum GMT_enum_std direction) { bool found = false; int item = API->current_item[direction] + 1; while (item < (int)API->n_objects && !found) { if (API->object[item] && API->object[item]->selected && API->object[item]->sta...
api_next_data_object
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_next_io_source(GMTAPI_CTRL *API, unsigned int direction) { long v2; unsigned int v3; void *(*input)(GMT_CTRL *, FILE *, uint64_t *, int *); unsigned int first; unsigned int kind; unsigned int kinda; char *mode; int *fd; GMT_MATRIX *M_obj; GMT_VECTOR *V_obj; GMTAPI_DATA_OBJECT *S_obj; GMT...
GMT_LOCAL int api_next_io_source (struct GMTAPI_CTRL *API, unsigned int direction) { int *fd = NULL; unsigned int method, kind, first = 0; static const char *dir[2] = {"from", "to"}; static const char *operation[3] = {"Reading", "Writing", "Appending"}; char *mode = NULL; struct GMT_MATRIX *M_obj = NULL;...
api_next_io_source
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
bool api_not_used(GMTAPI_CTRL *API, char *name) { char not_used; unsigned int item; item = 0; not_used = 1; while (item < API->n_objects && not_used) { if (API->object[item] && API->object[item]->direction == GMT_enum_std_GMT_IN && API->object[item]->status && API->object[item]->filename ...
GMT_LOCAL bool api_not_used (struct GMTAPI_CTRL *API, char *name) { unsigned int item = 0; bool not_used = true; while (item < API->n_objects && not_used) { if (API->object[item] && API->object[item]->direction == GMT_IN && API->object[item]->status != GMT_IS_UNUSED && API->object[item]->filename && !strcmp ...
api_not_used
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_open_grd(GMT_CTRL *GMT, char *file, GMT_GRID *G, char mode, unsigned int access_mode) { size_t v6; double v7; double v8; char access_modea; bool header; char magic; bool alloc; int r_w; int err; int erra; int errb; char *fmt; GMT_GRID_ROWBYROW *R; int cdf_mode[3]; ...
GMT_LOCAL int api_open_grd (struct GMT_CTRL *GMT, char *file, struct GMT_GRID *G, char mode, unsigned int access_mode) { int r_w, err; bool header = true, magic = true, alloc = false; int cdf_mode[3] = { NC_NOWRITE, NC_WRITE, NC_WRITE}; char *bin_mode[3] = { "rb", "rb+", "wb"}; char *fmt = NULL; struct ...
api_open_grd
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_pass_object(GMTAPI_CTRL *API, GMTAPI_DATA_OBJECT *object, unsigned int family, double *wesn) { GMT_PALETTE *resource; GMT_GRID_HEADER *v5; GMT_GRID_HEADER *v6; int v7; GMT_GRID_HEADER *header; GMT_GRID_HEADER *v10; int v11; GMT_PALETTE *data; GMT_GRID *G; GMT_IMAGE *I...
GMT_LOCAL void *api_pass_object (struct GMTAPI_CTRL *API, struct GMTAPI_DATA_OBJECT *object, unsigned int family, double *wesn) { void *data = (object->data) ? object->data : object->resource; struct GMT_GRID *G = NULL; struct GMT_IMAGE *I = NULL; struct GMT_DATASET *D = NULL; if (object->resource && obj...
api_pass_object
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
unsigned int api_pick_in_col_number(GMT_CTRL *GMT, unsigned int col) { if (GMT->common.i.active) return GMT->current.io.col[0][col].col; else return col; }
GMT_LOCAL unsigned int api_pick_in_col_number (struct GMT_CTRL *GMT, unsigned int col) { unsigned int col_pos; if (GMT->common.i.active) col_pos = GMT->current.io.col[GMT_IN][col].col; #if 0 else if (GMT->current.setting.io_lonlat_toggle[GMT_IN] && col < GMT_Z) col_pos = 1 - col; #endif else col_pos = c...
api_pick_in_col_number
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
unsigned int api_pick_out_col_number(GMT_CTRL *GMT, unsigned int col) { if (GMT->common.o.active) return GMT->current.io.col[1][col].col; if (GMT->current.setting.io_lonlat_toggle[1] && col <= 1) return 1 - col; return col; }
GMT_LOCAL unsigned int api_pick_out_col_number (struct GMT_CTRL *GMT, unsigned int col) { unsigned int col_pos; if (GMT->common.o.active) col_pos = GMT->current.io.col[GMT_OUT][col].col; else if (GMT->current.setting.io_lonlat_toggle[GMT_OUT] && col < GMT_Z) col_pos = 1 - col; else col_pos = col; retu...
api_pick_out_col_number
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_print_func(FILE *fp, const char *message) { fputs(message, fp); return 0; }
GMT_LOCAL int api_print_func (FILE *fp, const char *message) { fprintf (fp, "%s", message); return 0; }
api_print_func
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
char **api_process_keys(void *API, const char *string, char type, GMT_OPTION *head, int *n_to_add, unsigned int *n_items) { char **v7; char v8; int v9; _BOOL4 v10; char typeb; bool change_type; int family; int geometry; int new_family; int old_family; ...
GMT_LOCAL char **api_process_keys (void *API, const char *string, char type, struct GMT_OPTION *head, int *n_to_add, unsigned int *n_items) { size_t len, k, kk, n; int o_id = GMT_NOTSET, family = GMT_NOTSET, geometry = GMT_NOTSET; bool change_type = false; char **s = NULL, *next = NULL, *tmp = NULL, magic = 0, ...
api_process_keys
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_ps_comment(GMTAPI_CTRL *API, unsigned int mode, void *arg, GMT_POSTSCRIPT *P) { char **header; unsigned int n_headers; unsigned int k; char *txt; txt = gmtapi_create_header_item(API, (unsigned short)mode, arg); if (api_add_comment(API, (unsigned short)mode, txt)) { if ((mod...
GMT_LOCAL void api_ps_comment (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, struct GMT_POSTSCRIPT *P) { unsigned int k; char *txt = gmtapi_create_header_item (API, mode, arg); if (!api_add_comment (API, mode, txt)) return; if (mode & GMT_COMMENT_IS_RESET) { for (k = 0; k < P->n_headers; k++) gmt_M...
api_ps_comment
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
int api_put_data(void *V_API, int object_ID, unsigned int mode, void *data) { bool was_enabled; int item; GMTAPI_CTRL *API; if (V_API) { if (data) { API = api_get_api_ptr((GMTAPI_CTRL *)V_API); API->error = 0; item = gmtapi_validate_id(API, -1, object_ID, 1, -1); if (item == -1 || ...
GMT_LOCAL int api_put_data (void *V_API, int object_ID, unsigned int mode, void *data) { int item; bool was_enabled; struct GMTAPI_CTRL *API = NULL; if (V_API == NULL) return_error (V_API, GMT_NOT_A_SESSION); if (data == NULL) return_error (V_API, GMT_PTR_IS_NULL); API = api_get_api_ptr (V_API); API-...
api_put_data
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_char(GMT_UNIVECTOR *u, uint64_t row, double val) { u->uc1[row] = lrint(val); }
GMT_LOCAL void api_put_val_char (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->sc1[row] = (int8_t)lrint(val); }
api_put_val_char
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_double(GMT_UNIVECTOR *u, uint64_t row, double val) { *(double *)&u->uc1[8 * row] = val; }
GMT_LOCAL void api_put_val_double (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->f8[row] = val; }
api_put_val_double
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_float(GMT_UNIVECTOR *u, uint64_t row, double val) { float v3; v3 = val; *(float *)&u->uc1[4 * row] = v3; }
GMT_LOCAL void api_put_val_float (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->f4[row] = (float) val; }
api_put_val_float
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_int(GMT_UNIVECTOR *u, uint64_t row, double val) { *(_DWORD *)&u->uc1[4 * row] = lrint(val); }
GMT_LOCAL void api_put_val_int (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->si4[row] = (int32_t)lrint(val); }
api_put_val_int
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_long(GMT_UNIVECTOR *u, uint64_t row, double val) { uint8_t *v3; v3 = &u->uc1[8 * row]; *(_QWORD *)v3 = lrint(val); }
GMT_LOCAL void api_put_val_long (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->si8[row] = (int64_t)lrint(val); }
api_put_val_long
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_short(GMT_UNIVECTOR *u, uint64_t row, double val) { *(_WORD *)&u->uc1[2 * row] = lrint(val); }
GMT_LOCAL void api_put_val_short (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->si2[row] = (int16_t)lrint(val); }
api_put_val_short
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_uchar(GMT_UNIVECTOR *u, uint64_t row, double val) { u->uc1[row] = lrint(val); }
GMT_LOCAL void api_put_val_uchar (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->uc1[row] = (uint8_t)lrint(val); }
api_put_val_uchar
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_uint(GMT_UNIVECTOR *u, uint64_t row, double val) { *(_DWORD *)&u->uc1[4 * row] = lrint(val); }
GMT_LOCAL void api_put_val_uint (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->ui4[row] = (uint32_t)lrint(val); }
api_put_val_uint
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_ulong(GMT_UNIVECTOR *u, uint64_t row, double val) { *(_QWORD *)&u->uc1[8 * row] = lrint(val); }
GMT_LOCAL void api_put_val_ulong (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->ui8[row] = (uint64_t)lrint(val); }
api_put_val_ulong
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_put_val_ushort(GMT_UNIVECTOR *u, uint64_t row, double val) { *(_WORD *)&u->uc1[2 * row] = lrint(val); }
GMT_LOCAL void api_put_val_ushort (union GMT_UNIVECTOR *u, uint64_t row, double val) { u->ui2[row] = (uint16_t)lrint(val); }
api_put_val_ushort
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_MATRIX *api_read_matrix(GMT_CTRL *GMT, void *source, unsigned int src_type, unsigned int mode) { unsigned int src_typea; bool close_file; bool first; bool add_first_segheader; uint64_t row; uint64_t rowa; uint64_t col; uint64_t cola; uint64_t colb; uint64_t colc; FI...
GMT_LOCAL struct GMT_MATRIX *api_read_matrix (struct GMT_CTRL *GMT, void *source, unsigned int src_type, unsigned int mode) { bool close_file = false, first = true, add_first_segheader = false; int error = 0; uint64_t row = 0, col, ij, dim[4] = {0, 0, 0, GMT->current.setting.export_type}; char M_file[GMT_BUFS...
api_read_matrix
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_VECTOR *api_read_vector(GMT_CTRL *GMT, void *source, unsigned int src_type, unsigned int mode) { unsigned int src_typea; bool close_file; bool first; bool add_first_segheader; uint64_t row; uint64_t rowa; uint64_t col; uint64_t cola; uint64_t colb; uint64_t colc; FI...
GMT_LOCAL struct GMT_VECTOR *api_read_vector (struct GMT_CTRL *GMT, void *source, unsigned int src_type, unsigned int mode) { bool close_file = false, first = true, add_first_segheader = false; uint64_t row = 0, col, dim[GMT_DIM_SIZE] = {0, 0, GMT->current.setting.export_type, 0}; char V_file[GMT_BUFSIZ] = {""...
api_read_vector
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_retrieve_data(void *V_API, int object_ID) { int item; GMTAPI_CTRL *API; if (V_API) { API = api_get_api_ptr((GMTAPI_CTRL *)V_API); API->error = 0; item = gmtapi_validate_id(API, -1, object_ID, -1, -1); if (item == -1) { gmtapi_report_error(API, API->error); return 0; } el...
GMT_LOCAL void *api_retrieve_data (void *V_API, int object_ID) { int item; struct GMTAPI_CTRL *API = NULL; if (V_API == NULL) return_null (V_API, GMT_NOT_A_SESSION); API = api_get_api_ptr (V_API); API->error = GMT_NOERROR; if ((item = gmtapi_validate_id (API, GMT_NOTSET, object_ID, GMT_NOTSET, GMT_N...
api_retrieve_data
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_return_address(void *data, unsigned int type) { void *p; p = 0; switch (type) { case 0u: p = api_get_dataset_ptr((GMT_DATASET **)data); break; case 1u: p = api_get_grid_ptr((GMT_GRID **)data); break; case 2u: p = api_get_image_ptr((GMT_IMAGE **)data); break; case 3u: ...
GMT_LOCAL void *api_return_address (void *data, unsigned int type) { void *p = NULL; switch (type) { case GMT_IS_GRID: p = api_get_grid_ptr (data); break; case GMT_IS_DATASET: p = api_get_dataset_ptr (data); break; case GMT_IS_TEXTSET: p = api_get_textset_ptr (data); break; case GMT_IS_PALETTE: p = api_get_cp...
api_return_address
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
double api_select_dataset_value(GMT_CTRL *GMT, GMT_DATASEGMENT *S, unsigned int row, unsigned int col) { double d_NaN; unsigned int col_pos; double val[2]; *(_QWORD *)&val[1] = __readfsqword(0x28u); col_pos = api_pick_out_col_number(GMT, col); if (col_pos < S->n_columns) ...
GMT_LOCAL double api_select_dataset_value (struct GMT_CTRL *GMT, struct GMT_DATASEGMENT *S, unsigned int row, unsigned int col) { double val; unsigned int col_pos = api_pick_out_col_number (GMT, col); val = (col_pos >= S->n_columns) ? GMT->session.d_NaN : S->data[col_pos][row]; if (GMT->common.d.active[GMT_OUT] ...
api_select_dataset_value
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_getfunction api_select_get_function(GMTAPI_CTRL *API, unsigned int type) { GMT_getfunction result; switch (type) { case 0u: result = (GMT_getfunction)api_get_val_char; break; case 1u: result = (GMT_getfunction)api_get_val_uchar; break; case 2u: result = (GMT_getfunction)api_get_val_sh...
GMT_LOCAL inline GMT_getfunction api_select_get_function (struct GMTAPI_CTRL *API, unsigned int type) { switch (type) { case GMT_DOUBLE: return (api_get_val_double); break; case GMT_FLOAT: return (api_get_val_float); break; case GMT_ULONG: return (api_get_val_ulong); break; case GMT_LONG: return (api_get_v...
api_select_get_function
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
GMT_putfunction api_select_put_function(GMTAPI_CTRL *API, unsigned int type) { GMT_putfunction result; switch (type) { case 0u: result = (GMT_putfunction)api_put_val_char; break; case 1u: result = (GMT_putfunction)api_put_val_uchar; break; case 2u: result = (GMT_putfunction)api_put_val_sh...
GMT_LOCAL inline GMT_putfunction api_select_put_function (struct GMTAPI_CTRL *API, unsigned int type) { switch (type) { case GMT_DOUBLE: return (api_put_val_double); break; case GMT_FLOAT: return (api_put_val_float); break; case GMT_ULONG: return (api_put_val_ulong); break; case GMT_LONG: return (api_put_v...
api_select_put_function
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
double api_select_record_value(GMT_CTRL *GMT, double *record, unsigned int col, unsigned int n_colums) { double d_NaN; unsigned int col_pos; double val[2]; *(_QWORD *)&val[1] = __readfsqword(0x28u); col_pos = api_pick_out_col_number(GMT, col); if (col_pos < n_colums) d_Na...
GMT_LOCAL double api_select_record_value (struct GMT_CTRL *GMT, double *record, unsigned int col, unsigned int n_colums) { double val; unsigned int col_pos = api_pick_out_col_number (GMT, col); val = (col_pos >= n_colums) ? GMT->session.d_NaN : record[col_pos]; if (GMT->common.d.active[GMT_OUT] && gmt_M_is_dnan ...
api_select_record_value
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
size_t api_set_grdarray_size(GMT_CTRL *GMT, GMT_GRID_HEADER *h, unsigned int mode, double *wesn) { long v4; char modea; GMT_GRID_HEADER *h_tmp; size_t size; modea = mode; h_tmp = (GMT_GRID_HEADER *)gmt_memory_func(GMT, 0, 1u, 0x640u, 0, ...
GMT_LOCAL size_t api_set_grdarray_size (struct GMT_CTRL *GMT, struct GMT_GRID_HEADER *h, unsigned int mode, double *wesn) { struct GMT_GRID_HEADER *h_tmp = NULL; size_t size; h_tmp = gmt_M_memory (GMT, NULL, 1, struct GMT_GRID_HEADER); gmt_M_memcpy (h_tmp, h, 1, struct GMT_GRID_HEADER); h_tmp->complex_mode...
api_set_grdarray_size
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
unsigned int api_set_method(GMTAPI_DATA_OBJECT *S) { GMT_enum_family actual_family; unsigned int v3; unsigned int method; if (S->method <= 2) return S->method; actual_family = S->actual_family; if (actual_family == GMT_enum_family_GMT_IS_MATRIX) { method = S->method; BYTE1(method) |= 1u; re...
GMT_LOCAL unsigned int api_set_method (struct GMTAPI_DATA_OBJECT *S) { unsigned int m; if (S->method < GMT_IS_DUPLICATE) return S->method; switch (S->actual_family) { case GMT_IS_VECTOR: m = S->method | GMT_VIA_VECTOR; break; case GMT_IS_MATRIX: m = S->method | GMT_VIA_MATRIX; break; default: m = S->method;...
api_set_method
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
bool api_text2double_is_viable(GMT_CTRL *GMT, GMT_TEXTSET *In, bool strict) { char viable; uint64_t tbl; uint64_t seg; uint64_t row; uint64_t k; GMT_TEXTTABLE *T; GMT_TEXTSEGMENT *S; viable = 1; if (!strict) return gmtlib_conv_text2datarec( GMT, *(*(*In->table)->segment)->data, 0x1...
GMT_LOCAL bool api_text2double_is_viable (struct GMT_CTRL *GMT, struct GMT_TEXTSET *In, bool strict) { bool viable = true; uint64_t tbl, seg, row, k; struct GMT_TEXTTABLE *T = NULL; struct GMT_TEXTSEGMENT *S = NULL; if (!strict) { unsigned int n_columns = gmtlib_conv_text2datarec (GMT, In->table[0]->segmen...
api_text2double_is_viable
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_textset2dataset(GMTAPI_CTRL *API, GMT_TEXTSET *In, GMT_DATASET *Out, unsigned int header, unsigned int dim, unsigned int mode) { uint64_t n_tables; bool v8; uint64_t n_segments; uint64_t v10; uint64_t n_records; char **v12; uint64_t n_rows; u...
GMT_LOCAL void *api_textset2dataset (struct GMTAPI_CTRL *API, struct GMT_TEXTSET *In, struct GMT_DATASET *Out, unsigned int header, unsigned int dim, unsigned int mode) { unsigned int hdr; uint64_t tbl, seg, row, col, n_rows, tbl_out = 0, row_out = 0, seg_out = 0; bool s_alloc, t_alloc, alloc, was; struc...
api_textset2dataset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_textset2matrix(GMTAPI_CTRL *API, GMT_TEXTSET *In, GMT_MATRIX *Out, unsigned int header, unsigned int dim, unsigned int mode) { bool v6; unsigned int export_type; uint64_t n_segments; GMT_MATRIX *Outa; bool alloc; bool add_NaN_record; uint64_t tbl...
GMT_LOCAL void *api_textset2matrix (struct GMTAPI_CTRL *API, struct GMT_TEXTSET *In, struct GMT_MATRIX *Out, unsigned int header, unsigned int dim, unsigned int mode) { uint64_t tbl, seg, row, row_out, col, ij; bool alloc = (Out == NULL), add_NaN_record = (In->n_segments > 1 && do_seg_header(header)); stru...
api_textset2matrix
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_textset2vector(GMTAPI_CTRL *API, GMT_TEXTSET *In, GMT_VECTOR *Out, unsigned int header, unsigned int dim, unsigned int mode) { bool v6; uint64_t v8; unsigned int export_type; GMT_VECTOR *Outa; bool alloc; bool add_NaN_record; uint64_t tbl; uint...
GMT_LOCAL void *api_textset2vector (struct GMTAPI_CTRL *API, struct GMT_TEXTSET *In, struct GMT_VECTOR *Out, unsigned int header, unsigned int dim, unsigned int mode) { uint64_t tbl, seg, row, row_out, col; bool alloc = (Out == NULL), add_NaN_record = (In->n_segments > 1 && do_seg_header(header)); struct G...
api_textset2vector
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_textset_comment(GMTAPI_CTRL *API, unsigned int mode, void *arg, GMT_TEXTSET *D) { char **header; unsigned int v5; short modea; unsigned int tbl; unsigned int k; GMT_TEXTTABLE *T; char *txt; modea = mode; txt = gmtapi_create_header_item(API, mode, arg); if (!api_add...
GMT_LOCAL void api_textset_comment (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, struct GMT_TEXTSET *D) { unsigned int tbl, k; struct GMT_TEXTTABLE *T = NULL; char *txt = gmtapi_create_header_item (API, mode, arg); if (api_add_comment (API, mode, txt)) return; if (D->table == NULL) { GMT_Report (API...
api_textset_comment
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
char *api_tictoc_string(GMTAPI_CTRL *API, unsigned int mode) { struct tm *v3; double v4; double v5; double v6; unsigned int H; unsigned int M; signed int S; unsigned int milli; time_t right_now; clock_t toc; double T; unsigned long v14; v14 = __readfsqword(0x28u); toc = 0; if (!mode) ...
GMT_LOCAL char * api_tictoc_string (struct GMTAPI_CTRL *API, unsigned int mode) { time_t right_now; clock_t toc = 0; unsigned int H, M, S, milli; double T; static char stamp[GMT_LEN256] = {""}; if (mode == 0) return NULL; if (mode > 1) toc = clock (); if (mode & 4) API->GMT->current.time.tic = toc;...
api_tictoc_string
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_update_prev_rec(GMT_CTRL *GMT, uint64_t n_use) { if (GMT->current.io.need_previous) memcpy(GMT->current.io.prev_rec, (char *)&loc_41498 + (_QWORD)GMT, 8 * n_use); }
GMT_LOCAL inline void api_update_prev_rec (struct GMT_CTRL *GMT, uint64_t n_use) { if (GMT->current.io.need_previous) gmt_M_memcpy (GMT->current.io.prev_rec, GMT->current.io.curr_rec, n_use, double); }
api_update_prev_rec
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_update_txt_item(GMTAPI_CTRL *API, unsigned int mode, void *arg, size_t length, char *string) { char *Cmd; size_t v6; char *txt; size_t lim; size_t lima; if ((mode & 1) != 0) Cmd = GMT_Create_Cmd(API, (GMT_OPTION *)arg); else Cmd = (char *)arg; txt = Cmd; mems...
GMT_LOCAL void api_update_txt_item (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, size_t length, char string[]) { size_t lim; static char buffer[GMT_BUFSIZ]; char *txt = (mode & GMT_COMMENT_IS_OPTION) ? GMT_Create_Cmd (API, arg) : (char *)arg; gmt_M_memset (buffer, GMT_BUFSIZ, char); if ((mode & GMT_CO...
api_update_txt_item
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
bool api_validate_geometry(GMTAPI_CTRL *API, int family, int geometry) { bool problem; problem = 0; if (geometry == -1 || family == -1) return 0; switch (family) { case 0: if (geometry != 16) problem = (geometry & 7) == 0; break; case 1: problem = geometry != 8; break; case 2: ...
GMT_LOCAL bool api_validate_geometry (struct GMTAPI_CTRL *API, int family, int geometry) { bool problem = false; gmt_M_unused(API); if (geometry == GMT_NOTSET || family == GMT_NOTSET) return false; switch (family) { case GMT_IS_TEXTSET: if (!(geometry == GMT_IS_NONE || (geometry & GMT_IS_PLP))) problem = tru...
api_validate_geometry
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_vector2dataset(GMTAPI_CTRL *API, GMT_VECTOR *In, GMT_DATASET *Out, unsigned int header) { GMT_DATASET *Outa; bool alloc; uint64_t row; uint64_t col; GMT_CTRL *GMT; GMT_DATASEGMENT *SD; GMT_getfunction api_get_val; Outa = Out; alloc = Out == 0; GMT = API->GMT; if...
GMT_LOCAL void *api_vector2dataset (struct GMTAPI_CTRL *API, struct GMT_VECTOR *In, struct GMT_DATASET *Out, unsigned int header) { uint64_t row, col; bool alloc = (Out == NULL); struct GMT_CTRL *GMT = API->GMT; struct GMT_DATASEGMENT *SD = NULL; GMT_getfunction api_get_val; if (header) GMT_Report (API, GMT_...
api_vector2dataset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_vector2matrix(GMTAPI_CTRL *API, GMT_VECTOR *In, GMT_MATRIX *Out, unsigned int header, unsigned int mode) { unsigned int export_type; GMT_MATRIX *Outa; bool alloc; double value; uint64_t row; uint64_t col; GMT_CTRL *GMT; GMT_getfunction api_get_val; GMT_putfunction api...
GMT_LOCAL void *api_vector2matrix (struct GMTAPI_CTRL *API, struct GMT_VECTOR *In, struct GMT_MATRIX *Out, unsigned int header, unsigned int mode) { uint64_t row, col, ij; bool alloc = (Out == NULL); double value; struct GMT_CTRL *GMT = API->GMT; GMT_getfunction api_get_val = NULL; GMT_putfunction api_put_v...
api_vector2matrix
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void *api_vector2textset(GMTAPI_CTRL *API, GMT_VECTOR *In, GMT_TEXTSET *Out, unsigned int header) { char **v5; GMT_TEXTSET *Outa; bool alloc; int fmt; double value; uint64_t row; uint64_t col; GMT_CTRL *GMT; GMT_TEXTSEGMENT *ST; GMT_getfunction *api_get_val; char record[82...
GMT_LOCAL void *api_vector2textset (struct GMTAPI_CTRL *API, struct GMT_VECTOR *In, struct GMT_TEXTSET *Out, unsigned int header) { uint64_t row, col; unsigned int fmt; char record[BUFSIZ] = {""}; bool alloc = (Out == NULL); double value; struct GMT_CTRL *GMT = API->GMT; struct GMT_TEXTSEGMENT *ST = NULL; ...
api_vector2textset
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0
void api_vector_comment(GMTAPI_CTRL *API, unsigned int mode, void *arg, GMT_VECTOR *V) { if ((mode & 4) != 0) api_update_txt_item(API, (unsigned char)mode, arg, 0xA0u, V->remark); if ((mode & 2) != 0) api_update_txt_item(API, (unsigned char)mode, arg, 0x140u, V->command); }
GMT_LOCAL void api_vector_comment (struct GMTAPI_CTRL *API, unsigned int mode, void *arg, struct GMT_VECTOR *V) { if (mode & GMT_COMMENT_IS_REMARK) api_update_txt_item (API, mode, arg, GMT_GRID_REMARK_LEN160, V->remark); if (mode & GMT_COMMENT_IS_COMMAND) api_update_txt_item (API, mode, arg, GMT_GRID_COMMAND_LEN320...
api_vector_comment
gmt-5.4.4
sci-geosciences
O0/sci-geosciences/gmt-5.4.4/libgmt.so.5.4.4
ida
O0