Home
last modified time | relevance | path

Searched refs:GMT_IN (Results 1 – 25 of 177) sorted by relevance

12345678

/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgmtsimplify.c137 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
138 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
329 if (D[GMT_IN]->n_columns < 2) { in GMT_gmtsimplify()
370 for (tbl = 0; tbl < D[GMT_IN]->n_tables; tbl++) { in GMT_gmtsimplify()
374 S[GMT_IN] = D[GMT_IN]->table[tbl]->segment[seg_in]; in GMT_gmtsimplify()
376 …poly = (S[GMT_IN]->n_rows > 2 && !gmt_polygon_is_open (GMT, S[GMT_IN]->data[GMT_X], S[GMT_IN]->dat… in GMT_gmtsimplify()
377 index = gmt_M_memory (GMT, NULL, S[GMT_IN]->n_rows, uint64_t); in GMT_gmtsimplify()
378 …p_out = gmtsimplify_douglas_peucker_geog (GMT, S[GMT_IN]->data[GMT_X], S[GMT_IN]->data[GMT_Y], S[G… in GMT_gmtsimplify()
379 … (np_out == 2 && S[GMT_IN]->data[GMT_X][index[0]] == S[GMT_IN]->data[GMT_X][index[1]] && S[GMT_IN]… in GMT_gmtsimplify()
381 smode = (S[GMT_IN]->text) ? GMT_WITH_STRINGS : GMT_NO_STRINGS; in GMT_gmtsimplify()
[all …]
H A Dgmtread.c61 gmt_M_str_free (C->IO.file[GMT_IN]); in Free_Ctrl()
106 n_errors += gmt_M_repeated_module_option (API, Ctrl->IO.active[GMT_IN]); in parse()
107 Ctrl->IO.active[GMT_IN] = true; in parse()
108 Ctrl->IO.file[GMT_IN] = strdup (opt->arg); in parse()
154 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
156 n_errors += gmt_M_check_condition (GMT, !(Ctrl->IO.active[GMT_IN] && Ctrl->IO.active[GMT_OUT]), in parse()
158 …+= gmt_M_check_condition (GMT, Ctrl->IO.active[GMT_IN] && (!Ctrl->IO.file[GMT_IN] || !Ctrl->IO.fil… in parse()
195 error = gmt_copy (API, Ctrl->T.mode, GMT_IN, Ctrl->IO.file[GMT_IN], Ctrl->IO.file[GMT_OUT]); in GMT_gmtread()
H A Dtest_JL.c18 …V[GMT_IN] = GMT_Read_Data (API, GMT_IS_VECTOR, GMT_IS_FILE, GMT_IS_PLP, GMT_READ_NORMAL, NULL, "be… in main()
20 GMT_Open_VirtualFile (API, GMT_IS_DATASET, GMT_IS_PLP, GMT_IN, V[GMT_IN], input); in main()
36 …M[GMT_IN] = GMT_Read_Data (API, GMT_IS_MATRIX, GMT_IS_FILE, GMT_IS_PLP, GMT_READ_NORMAL, NULL, "be… in main()
38 GMT_Open_VirtualFile (API, GMT_IS_DATASET, GMT_IS_PLP, GMT_IN, M[GMT_IN], input); in main()
H A Dgmtwrite.c61 gmt_M_str_free (C->IO.file[GMT_IN]); in Free_Ctrl()
106 n_errors += gmt_M_repeated_module_option (API, Ctrl->IO.active[GMT_IN]); in parse()
107 Ctrl->IO.active[GMT_IN] = true; in parse()
108 Ctrl->IO.file[GMT_IN] = strdup (opt->arg); in parse()
154 …n_errors += gmt_M_check_condition (GMT, !(Ctrl->IO.active[GMT_IN] && Ctrl->IO.active[GMT_OUT]), "M… in parse()
155 …+= gmt_M_check_condition (GMT, Ctrl->IO.active[GMT_IN] && (!Ctrl->IO.file[GMT_IN] || !Ctrl->IO.fil… in parse()
190 error = gmt_copy (API, Ctrl->T.mode, GMT_OUT, Ctrl->IO.file[GMT_IN], Ctrl->IO.file[GMT_OUT]); in GMT_gmtwrite()
H A Dgmtconvert.c447 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
550 if (D[GMT_IN]->n_records == 0) { in GMT_gmtconvert()
554 if (GMT->common.a.active && D[GMT_IN]->n_tables > 1) { in GMT_gmtconvert()
558 DHi = gmt_get_DD_hidden (D[GMT_IN]); in GMT_gmtconvert()
559 THi = gmt_get_DT_hidden (D[GMT_IN]->table[0]); in GMT_gmtconvert()
570 if (Ctrl->T.C->item[k] >= D[GMT_IN]->n_columns) { in GMT_gmtconvert()
600 S = D[GMT_IN]->table[0]->segment[0]; /* Short-hand */ in GMT_gmtconvert()
627 for (tbl = 0; tbl < D[GMT_IN]->n_tables; tbl++) { in GMT_gmtconvert()
629 S = D[GMT_IN]->table[tbl]->segment[seg]; /* Short-hand */ in GMT_gmtconvert()
662 … if (tbl && D[GMT_IN]->table[tbl]->n_records != D[GMT_IN]->table[tbl-1]->n_records) error = true; in GMT_gmtconvert()
[all …]
H A Dgrdinterpolate.c402 C[GMT_IN] = GMT_Read_VirtualFile (API, Ctrl->In.file[0]); in GMT_grdinterpolate()
403 n_layers = C[GMT_IN]->header->n_bands; in GMT_grdinterpolate()
404 level = C[GMT_IN]->z; in GMT_grdinterpolate()
796 if (C[GMT_IN]->z == NULL && GMT_Put_Levels (API, C[GMT_IN], level, n_layers)) in GMT_grdinterpolate()
799 if (gmt_M_is_geographic (GMT, GMT_IN)) in GMT_grdinterpolate()
805 else if (C[GMT_IN] == NULL) { /* Read the cube */ in GMT_grdinterpolate()
813 GMT_Destroy_Data (API, &C[GMT_IN]); in GMT_grdinterpolate()
831 …inc[GMT_X] = C[GMT_IN]->header->inc[GMT_X]; inc[GMT_Y] = C[GMT_IN]->header->inc[GMT_Y]; /* And com… in GMT_grdinterpolate()
860 for (row = 0; row < C[GMT_IN]->header->n_rows; row++) { in GMT_grdinterpolate()
864 i_value[k] = C[GMT_IN]->data[node+k*C[GMT_IN]->header->size]; in GMT_grdinterpolate()
[all …]
H A Dgmtvector.c202 Ctrl->C.active[GMT_IN] = true; in parse()
211 Ctrl->C.active[GMT_IN] = Ctrl->C.active[GMT_OUT] = true; in parse()
310 n_in = (Ctrl->C.active[GMT_IN] && gmt_M_is_geographic (GMT, GMT_IN)) ? 3 : 2; in parse()
312 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
313 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
326 ix = (GMT->current.setting.io_lonlat_toggle[GMT_IN]); iy = 1 - ix; in gmtvector_decode_vector()
331 if (gmt_M_is_geographic (GMT, GMT_IN)) { in gmtvector_decode_vector()
332 …t_verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, ix), gmt_scanf_arg (GMT, txt_a, gmt_M_type (G… in gmtvector_decode_vector()
333 …t_verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, iy), gmt_scanf_arg (GMT, txt_b, gmt_M_type (G… in gmtvector_decode_vector()
547 geo = gmt_M_is_geographic (GMT, GMT_IN); in GMT_gmtvector()
[all …]
H A Dxyz2grd.c284 GMT->common.b.type[GMT_IN] = Ctrl->Z.type; in parse()
286 GMT->common.b.active[GMT_IN] = false; in parse()
368 previous_bin_i = GMT->common.b.active[GMT_IN]; in GMT_xyz2grd()
430 GMT->common.b.active[GMT_IN] = previous_bin_i; /* Reset input binary */ in GMT_xyz2grd()
450 FILE *fp = GMT->session.std[GMT_IN]; in GMT_xyz2grd()
542 …no_data_f = (GMT->common.d.active[GMT_IN]) ? (gmt_grdfloat)GMT->common.d.nan_proxy[GMT_IN] : GMT->… in GMT_xyz2grd()
560 …if (GMT->common.b.active[GMT_IN] && gmt_M_type (GMT, GMT_IN, GMT_Z) & GMT_IS_RATIME && GMT->curren… in GMT_xyz2grd()
575 …if (Ctrl->Z.active && GMT->common.d.active[GMT_IN] && gmt_M_is_fnan (no_data_f)) GMT->common.d.act… in GMT_xyz2grd()
580 previous_bin_i = GMT->common.b.active[GMT_IN]; in GMT_xyz2grd()
724 GMT->common.b.active[GMT_IN] = previous_bin_i; /* Reset binary */ in GMT_xyz2grd()
[all …]
H A Dgmtsplit.c246 if (gmt_M_is_geographic (GMT, GMT_IN)) in parse()
372 if (D[GMT_IN]->n_columns < (n_in-1)) { in GMT_gmtsplit()
378 no_z_column = (D[GMT_IN]->n_columns == 2); in GMT_gmtsplit()
418 if (gmt_M_is_geographic (GMT, GMT_IN)) in GMT_gmtsplit()
445 n_columns = D[GMT_IN]->n_columns + 2; in GMT_gmtsplit()
446 d_col = (unsigned int)D[GMT_IN]->n_columns; in GMT_gmtsplit()
448 gmt_adjust_dataset (GMT, D[GMT_IN], n_columns); in GMT_gmtsplit()
458 for (tbl = 0; tbl < D[GMT_IN]->n_tables; tbl++) { in GMT_gmtsplit()
459 T = D[GMT_IN]->table[tbl]; /* Shorthand for current table */ in GMT_gmtsplit()
538 n_alloc = (first) ? D[GMT_IN]->n_records : n_alloc * 2; in GMT_gmtsplit()
[all …]
H A Dtestapi_matrix.c14 …M[GMT_IN] = GMT_Read_Data (API, GMT_IS_MATRIX, GMT_IS_FILE, GMT_IS_PLP, GMT_READ_NORMAL, NULL, "be… in main()
16 GMT_Open_VirtualFile (API, GMT_IS_DATASET|GMT_VIA_MATRIX, GMT_IS_PLP, GMT_IN, M[GMT_IN], input); in main()
29 GMT_Open_VirtualFile (API, GMT_IS_DATASET|GMT_VIA_MATRIX, GMT_IS_PLP, GMT_IN, M[GMT_OUT], input); in main()
H A Dtestapi_vector.c17 …V[GMT_IN] = GMT_Read_Data (API, GMT_IS_VECTOR, GMT_IS_FILE, GMT_IS_PLP, GMT_READ_NORMAL, NULL, "be… in main()
19 GMT_Open_VirtualFile (API, GMT_IS_DATASET|GMT_VIA_VECTOR, GMT_IS_PLP, GMT_IN, V[GMT_IN], input); in main()
32 GMT_Open_VirtualFile (API, GMT_IS_DATASET|GMT_VIA_VECTOR, GMT_IS_PLP, GMT_IN, V[GMT_OUT], input); in main()
H A Dblockmean.c233 Ctrl->W.weighted[GMT_IN] = Ctrl->W.weighted[GMT_OUT] = true; in parse()
234 Ctrl->W.sigma[GMT_IN] = sigma; in parse()
237 Ctrl->W.weighted[GMT_IN] = true; in parse()
238 Ctrl->W.sigma[GMT_IN] = sigma; in parse()
257 Ctrl->W.active = Ctrl->W.weighted[GMT_IN] = Ctrl->W.sigma[GMT_IN] = true; in parse()
302 n_errors += gmt_check_binary_io (GMT, (Ctrl->W.weighted[GMT_IN]) ? 4 : 3); in parse()
359 …if (Ctrl->W.weighted[GMT_IN] && ((Ctrl->W.sigma[GMT_IN] && use_xy) || Ctrl->E.active)) np = gmt_M_… in GMT_blockmean()
363 …if ((error = GMT_Set_Columns (API, GMT_IN, n_input + Ctrl->W.weighted[GMT_IN], GMT_COL_FIX_NO_TEXT… in GMT_blockmean()
480 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR) { /* Disables further data input */ in GMT_blockmean()
584 if (Ctrl->W.weighted[GMT_IN]) { /* Weighted standard deviation */ in GMT_blockmean()
[all …]
H A Dtestapi_columns.c34 …data[GMT_IN] = GMT_Read_Data (API, family[k], GMT_IS_FILE, GMT_IS_POINT, GMT_READ_NORMAL, NULL, "@… in main()
36 …GMT_Open_VirtualFile (API, GMT_IS_DATASET|via[k], GMT_IS_POINT, GMT_IN|reference[k], data[GMT_IN],… in main()
49 GMT_Destroy_Data (API, &data[GMT_IN]); in main()
H A Dmapproject.c815 GMT->common.b.active[GMT_IN] && gmt_get_cols (GMT, GMT_IN) < 3, in parse()
930 way = gmt_M_is_geographic (GMT, GMT_IN) ? Ctrl->L.sph: 0; in GMT_mapproject()
988 gmt_set_cartesian (GMT, GMT_IN); in GMT_mapproject()
1226 i_col_x = gmt_M_type (GMT,GMT_IN,GMT_X); in GMT_mapproject()
1227 i_col_y = gmt_M_type (GMT,GMT_IN,GMT_Y); in GMT_mapproject()
1231 gmt_set_cartesian (GMT, GMT_IN); in GMT_mapproject()
1234 gmt_set_cartesian(GMT, GMT_IN); in GMT_mapproject()
1241 gmt_set_geographic (GMT, GMT_IN); in GMT_mapproject()
1254 i_col_x = gmt_M_type (GMT,GMT_IN,GMT_X); in GMT_mapproject()
1255 i_col_y = gmt_M_type (GMT,GMT_IN,GMT_Y); in GMT_mapproject()
[all …]
H A Dgrdconvert.c151 if (GMT_Get_FilePath (API, GMT_IS_GRID, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->In.file))) n_errors++; in parse()
252 type[GMT_IN] = Grid->header->type; in GMT_grdconvert()
253 strncpy (fname[GMT_IN], HH->name, GMT_BUFSIZ); in GMT_grdconvert()
269 if (Ctrl->In.file[0] == '=') strcpy (fname[GMT_IN], "<stdin>"); in GMT_grdconvert()
272 …fname[GMT_IN], GMT->session.grdformat[type[GMT_IN]], fname[GMT_OUT], GMT->session.grdformat[type[G… in GMT_grdconvert()
302 if (gmt_M_is_cartesian (GMT, GMT_IN)) { /* Check in case grid really is geographic */ in GMT_grdconvert()
317 …if (!GMT->common.R.active[RSET] && ((type[GMT_IN] >= GMT_GRID_IS_CB && type[GMT_IN] <= GMT_GRID_… in GMT_grdconvert()
318 … (type[GMT_IN] >= GMT_GRID_IS_NB && type[GMT_IN] <= GMT_GRID_IS_ND)) && in GMT_grdconvert()
328 …if (gmt_M_is_geographic (GMT, GMT_IN) && gmt_M_is_cartesian (GMT, GMT_OUT)) { /* Force a switch fr… in GMT_grdconvert()
H A Dtriangulate.c437 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
446 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
452 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
480 if (triplets[GMT_IN]) zz[n] = in[GMT_Z]; in GMT_triangulate()
500 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
510 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
525 if (triplets[GMT_IN]) zz[n] = F->data[ij]; in GMT_triangulate()
539 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
555 if (triplets[GMT_IN]) gmt_M_free (GMT, zz); in GMT_triangulate()
601 if (triplets[GMT_IN] && Ctrl->Q.mode) { in GMT_triangulate()
[all …]
H A Dgmtconnect.c243 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
244 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
390 if (D[GMT_IN]->n_columns < 2) { in GMT_gmtconnect()
396 if (D[GMT_IN]->n_records == 0) { /* Empty files, nothing to do */ in GMT_gmtconnect()
402 segment = gmt_M_memory (GMT, NULL, D[GMT_IN]->n_segments, struct GMTCONNECT_LINK); in GMT_gmtconnect()
441 for (tbl = 0; tbl < D[GMT_IN]->n_tables; tbl++) { /* For each input data table */ in GMT_gmtconnect()
562 …doubleAlmostEqualZero (D[GMT_IN]->table[segment[iseg].tbl]->segment[segment[iseg].seg]->data[GMT_Y… in GMT_gmtconnect()
673 …if (D[GMT_IN]->table[G]->segment[L]->header && (pp = strstr (D[GMT_IN]->table[G]->segment[L]->head… in GMT_gmtconnect()
679 …if (D[GMT_IN]->table[G]->segment[L]->header && (pp = strstr (D[GMT_IN]->table[G]->segment[L]->head… in GMT_gmtconnect()
685 …if (D[GMT_IN]->table[G]->segment[L]->header && (pp = strstr (D[GMT_IN]->table[G]->segment[L]->head… in GMT_gmtconnect()
[all …]
H A Dtestgmtio.c49 if ((error = GMT_Set_Columns (API, GMT_IN, 0, GMT_COL_FIX)) != GMT_NOERROR) exit (EXIT_FAILURE); in main()
50 …if (GMT_Init_IO (API, GMT_IS_DATASET, GMT_IS_POINT, GMT_IN, GMT_ADD_DEFAULT, 0, options) != GMT_N… in main()
59 …if ((error = GMT_Begin_IO (API, GMT_IS_DATASET, GMT_IN, GMT_HEADER_ON)) != GMT_NOERROR) exit (err… in main()
105 …if ((error = GMT_End_IO (API, GMT_IN, 0)) != GMT_NOERROR) exit (error); /* Disables further da… in main()
H A Dproject.c423 gmt_set_geographic (GMT, GMT_IN); in parse()
450 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_X), gmt_scanf_arg (GMT, txt_a, gmt_M_type (… in parse()
451 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_Y), gmt_scanf_arg (GMT, txt_b, gmt_M_type (… in parse()
472 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_X), gmt_scanf_arg (GMT, txt_a, gmt_M_type (… in parse()
473 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_Y), gmt_scanf_arg (GMT, txt_b, gmt_M_type (… in parse()
562 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_X), gmt_scanf_arg (GMT, txt_a, gmt_M_type (… in parse()
563 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_Y), gmt_scanf_arg (GMT, txt_b, gmt_M_type (… in parse()
782 gmt_set_cartesian (GMT, GMT_IN); in GMT_project()
786 gmt_set_geographic (GMT, GMT_IN); in GMT_project()
844 if (gmt_M_is_geographic (GMT, GMT_IN) && Ctrl->G.d_mode) { in GMT_project()
[all …]
H A Dsphinterpolate.c159 if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(opt->arg))) n_errors++;; in parse()
227 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
228 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
282 if ((error = GMT_Set_Columns (API, GMT_IN, 3, GMT_COL_FIX_NO_TEXT)) != GMT_NOERROR) { in GMT_sphinterpolate()
285 …if (GMT_Init_IO (API, GMT_IS_DATASET, GMT_IS_POINT, GMT_IN, GMT_ADD_DEFAULT, 0, options) != GMT_NO… in GMT_sphinterpolate()
288 …if (GMT_Begin_IO (API, GMT_IS_DATASET, GMT_IN, GMT_HEADER_ON) != GMT_NOERROR) { /* Enables data in… in GMT_sphinterpolate()
381 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR || n_duplicates) { /* Disables further data input */ in GMT_sphinterpolate()
H A Dgrdedit.c170 if (GMT_Get_FilePath (API, GMT_IS_GRID, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->In.file))) n_errors++; in parse()
218 … if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->N.file))) n_errors++; in parse()
300 gmt_set_geographic (GMT, GMT_IN); /* Force Geographic */ in GMT_grdedit()
304 gmt_set_cartesian (GMT, GMT_IN); /* Force Cartesian since processing -J changed that */ in GMT_grdedit()
318 if (gmt_M_is_geographic (GMT, GMT_IN)) gmt_set_geographic (GMT, GMT_OUT); /* Out same as in */ in GMT_grdedit()
376 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR) { /* Disables further data input */ in GMT_grdedit()
405 GMT_Set_Columns (API, GMT_IN, 3, GMT_COL_FIX_NO_TEXT); in GMT_grdedit()
435 …if (gmt_M_grd_duplicate_column (GMT, G->header, GMT_IN)) { /* Make sure longitudes got replicated … in GMT_grdedit()
442 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR) { /* Disables further data input */ in GMT_grdedit()
542 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR) { /* Disables further data input */ in GMT_grdedit()
[all …]
H A Dpsxy.c1246 gmt_set_column_type (GMT, GMT_IN, xcol, GMT_IS_FLOAT); in GMT_psxy()
1324 gmt_set_column_type (GMT, GMT_IN, pos2x, gmt_M_type (GMT, GMT_IN, GMT_X)); in GMT_psxy()
1325 gmt_set_column_type (GMT, GMT_IN, pos2y, gmt_M_type (GMT, GMT_IN, GMT_Y)); in GMT_psxy()
1329 gmt_set_column_type (GMT, GMT_IN, pos2x, gmt_M_type (GMT, GMT_IN, GMT_X)); in GMT_psxy()
1330 gmt_set_column_type (GMT, GMT_IN, pos2y, gmt_M_type (GMT, GMT_IN, GMT_Y)); in GMT_psxy()
1363 …& (S.base_set & GMT_BASE_READ)) gmt_set_column_type (GMT, GMT_IN, bcol, gmt_M_type (GMT, GMT_IN, G… in GMT_psxy()
1364 …& (S.base_set & GMT_BASE_READ)) gmt_set_column_type (GMT, GMT_IN, bcol, gmt_M_type (GMT, GMT_IN, G… in GMT_psxy()
1420 GMT_Set_Columns (API, GMT_IN, 0, GMT_COL_VAR); in GMT_psxy()
2170 if (gmt_M_is_cartesian (GMT, GMT_IN)) { in GMT_psxy()
2419 if (gmt_M_is_geographic (GMT, GMT_IN)) in GMT_psxy()
[all …]
/dports/graphics/gmt/gmt-6.3.0/src/spotter/
H A Dhotspotter.c233 if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(opt->arg))) n_errors++; in parse()
254 … if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->E.file))) n_errors++; in parse()
286 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
290 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
400 n_expected_fields = (GMT->common.b.ncol[GMT_IN]) ? GMT->common.b.ncol[GMT_IN] : 5; in GMT_hotspotter()
401 …if ((error = GMT_Set_Columns (API, GMT_IN, (unsigned int)n_expected_fields, GMT_COL_FIX_NO_TEXT)) … in GMT_hotspotter()
404 …if (GMT_Init_IO (API, GMT_IS_DATASET, GMT_IS_POINT, GMT_IN, GMT_ADD_DEFAULT, 0, options) != GMT_NO… in GMT_hotspotter()
407 …if (GMT_Begin_IO (API, GMT_IS_DATASET, GMT_IN, GMT_HEADER_ON) != GMT_NOERROR) { /* Enables data in… in GMT_hotspotter()
557 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR) { /* Disables further data input */ in GMT_hotspotter()
H A Dgrdrotater.c163 if (GMT_Get_FilePath (API, GMT_IS_GRID, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->In.file))) n_errors++; in parse()
197 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_X), gmt_scanf_arg (GMT, txt[0], gmt_M_type … in parse()
198 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_X), gmt_scanf_arg (GMT, txt[1], gmt_M_type … in parse()
199 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_Y), gmt_scanf_arg (GMT, txt[2], gmt_M_type … in parse()
200 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_Y), gmt_scanf_arg (GMT, txt[3], gmt_M_type … in parse()
225 … if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->F.file))) n_errors++; in parse()
274 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_X), gmt_scanf_arg (GMT, txt_a, gmt_M_type (… in parse()
275 …verify_expectations (GMT, gmt_M_type (GMT, GMT_IN, GMT_Y), gmt_scanf_arg (GMT, txt_b, gmt_M_type (… in parse()
306 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
312 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
H A Doriginater.c269 if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(opt->arg))) n_errors++;; in parse()
290 … if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->E.file))) n_errors++; in parse()
298 … if (GMT_Get_FilePath (API, GMT_IS_DATASET, GMT_IN, GMT_FILE_REMOTE, &(Ctrl->F.file))) n_errors++; in parse()
362 …if (GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN] == 0) GMT->common.b.ncol[GMT_IN] = … in parse()
364 …n_errors += gmt_M_check_condition (GMT, GMT->common.b.active[GMT_IN] && GMT->common.b.ncol[GMT_IN]… in parse()
477 n_expected_fields = (GMT->common.b.ncol[GMT_IN]) ? GMT->common.b.ncol[GMT_IN] : n_input; in GMT_originater()
485 …if ((error = GMT_Set_Columns (API, GMT_IN, (unsigned int)n_out, GMT_COL_FIX_NO_TEXT)) != GMT_NOERR… in GMT_originater()
491 …if (GMT_Init_IO (API, GMT_IS_DATASET, GMT_IS_POINT, GMT_IN, GMT_ADD_DEFAULT, 0, options) != GMT_N… in GMT_originater()
497 …if (GMT_Begin_IO (API, GMT_IS_DATASET, GMT_IN, GMT_HEADER_ON) != GMT_NOERROR) { /* Enables data i… in GMT_originater()
702 if (GMT_End_IO (API, GMT_IN, 0) != GMT_NOERROR) { /* Disables further data input */ in GMT_originater()

12345678