Home
last modified time | relevance | path

Searched refs:GMT_BUFSIZ (Results 1 – 25 of 106) sorted by relevance

12345

/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgmt_esri_io.c78 char record[GMT_BUFSIZ];
90 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
96 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
102 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
113 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
127 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
139 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
145 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
151 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
157 gmt_fgets (GMT, record, GMT_BUFSIZ, fp);
[all …]
H A Dgmt_parse.c270 …char str[3] = {""}, B_string[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ] = {""}, B_delim[2] = {30, 0}; /* Us… in gmtparse_complete_options()
794 char **txt = NULL, buffer[GMT_BUFSIZ] = {""}; in GMT_Create_Args()
818 snprintf (buffer, GMT_BUFSIZ, "=%s", opt->arg); in GMT_Create_Args()
823 snprintf (buffer, GMT_BUFSIZ, "%s", opt->arg); in GMT_Create_Args()
828 snprintf (buffer, GMT_BUFSIZ, "-%c", opt->option); in GMT_Create_Args()
868 char *txt = NULL, *c = NULL, buffer[GMT_BUFSIZ] = {""}; in GMT_Create_Cmd()
871 size_t length = 0, inc, n_alloc = GMT_BUFSIZ; in GMT_Create_Cmd()
888 snprintf (buffer, GMT_BUFSIZ, "=%s", opt->arg); in GMT_Create_Cmd()
898 snprintf (buffer, GMT_BUFSIZ, "%s", opt->arg); in GMT_Create_Cmd()
902 snprintf (buffer, GMT_BUFSIZ, "%s", opt->arg); in GMT_Create_Cmd()
[all …]
H A Dgmt_contour.h147 char option[GMT_BUFSIZ]; /* Copy of the option string */
148 char label[GMT_BUFSIZ]; /* Fixed label */
H A Dkml2gmt.c173 char buffer[GMT_BUFSIZ] = {""}, name[GMT_BUFSIZ] = {""}; in GMT_kml2gmt()
174 char word[GMT_LEN128] = {""}, description[GMT_BUFSIZ] = {""}; in GMT_kml2gmt()
269 strncpy (name, &line[start], GMT_BUFSIZ-1); in GMT_kml2gmt()
284 strncpy (description, &line[start], GMT_BUFSIZ-1); in GMT_kml2gmt()
H A Dgmt_io.h287 char curr_text[GMT_BUFSIZ]; /* Current ASCII record as it was read */
288 char curr_trailing_text[GMT_BUFSIZ]; /* Current text portion of current record (or NULL) */
289 char segment_header[GMT_BUFSIZ]; /* Current ASCII segment header */
H A Dgmt_dcw.c290 char msg[GMT_BUFSIZ] = {""}, path[PATH_MAX] = {""}, list[GMT_BUFSIZ] = {""}; in gmt_DCW_operation()
489 …snprintf (msg, GMT_BUFSIZ, "-Z%s %s (%s)\n", TAG, GMT_DCW_state[item].name, GMT_DCW_country[k].nam… in gmt_DCW_operation()
491 snprintf (msg, GMT_BUFSIZ, "%s (%s)\n", GMT_DCW_state[item].name, GMT_DCW_country[k].name); in gmt_DCW_operation()
496 snprintf (msg, GMT_BUFSIZ, "-Z%s %s\n", TAG, GMT_DCW_country[k].name); in gmt_DCW_operation()
498 snprintf (msg, GMT_BUFSIZ, "%s\n", GMT_DCW_country[k].name); in gmt_DCW_operation()
678 char cmd[GMT_BUFSIZ] = {""}, in_string[GMT_VF_LEN] = {""}; in gmt_DCW_operation()
685 snprintf (cmd, GMT_BUFSIZ, "-R -J -O -K %s", in_string); in gmt_DCW_operation()
812 char p[GMT_BUFSIZ] = {""}, *c = NULL, *a = NULL, *q = NULL; in gmt_DCW_parse()
H A Dgmt_decorate.h69 char option[GMT_BUFSIZ]; /* Copy of the option string */
H A Dxyz2grd.c449 char line[GMT_BUFSIZ]; in GMT_xyz2grd()
460 gmt_fgets (GMT, line, GMT_BUFSIZ, fp); in GMT_xyz2grd()
465 gmt_fgets (GMT, line, GMT_BUFSIZ, fp); in GMT_xyz2grd()
470 gmt_fgets (GMT, line, GMT_BUFSIZ, fp); in GMT_xyz2grd()
476 gmt_fgets (GMT, line, GMT_BUFSIZ, fp); in GMT_xyz2grd()
482 gmt_fgets (GMT, line, GMT_BUFSIZ, fp); in GMT_xyz2grd()
811 char line[GMT_BUFSIZ], e_value[GMT_LEN32]; in GMT_xyz2grd()
H A Dgmtconnect.c291 size_t n_seg_alloc[2] = {0, 0}, n_alloc_pts, b_alloc = GMT_BUFSIZ, b_len = 0, len; in GMT_gmtconnect()
299 char *buffer = NULL, msg[GMT_BUFSIZ] = {""}, text[GMT_LEN64] = {""}, *BE = "BE", *ofile = NULL; in GMT_gmtconnect()
652 …char name[GMT_BUFSIZ] = {""}, name0[GMT_BUFSIZ] = {""}, name1[GMT_BUFSIZ] = {""}, fmt[GMT_BUFSIZ] … in GMT_gmtconnect()
674 strncpy (name, &pp[2], GMT_BUFSIZ); in GMT_gmtconnect()
680 strncpy (name0, &pp[2], GMT_BUFSIZ); in GMT_gmtconnect()
686 strncpy (name1, &pp[2], GMT_BUFSIZ); in GMT_gmtconnect()
806 …gmt_M_memset (GMT->current.io.segment_header, GMT_BUFSIZ, char); /* Blank the current segment head… in GMT_gmtconnect()
H A Dpstext.c253 …angle[GMT_LEN256] = {""}, font[GMT_LEN256] = {""}, just[GMT_LEN256] = {""}, txt[GMT_BUFSIZ] = {""}; in pstext_get_input_format_version()
417 …char txt_a[GMT_LEN256] = {""}, txt_b[GMT_LEN256] = {""}, txt_c[GMT_LEN256] = {""}, p[GMT_BUFSIZ] =… in parse()
833 …char text[GMT_BUFSIZ] = {""}, cp_line[GMT_BUFSIZ] = {""}, label[GMT_BUFSIZ] = {""}, buffer[GMT_BUF… in GMT_pstext()
918 …gmtlib_enforce_rgb_triplets (GMT, in_txt, GMT_BUFSIZ); /* If @; is used, make sure the color infor… in GMT_pstext()
1170 …strncpy (cp_line, line, GMT_BUFSIZ); /* Make a copy because in_line may be pointer to a strdup-ed … in GMT_pstext()
1174 …gmtlib_enforce_rgb_triplets (GMT, line, GMT_BUFSIZ); /* If @; is used, make sure the color informa… in GMT_pstext()
1179 txt_alloc += GMT_BUFSIZ; in GMT_pstext()
1188 txt_alloc += GMT_BUFSIZ; in GMT_pstext()
1215 …strncpy (cp_line, line, GMT_BUFSIZ-1); /* Make a copy because in_line may be pointer to a strdup-e… in GMT_pstext()
1310 …gmtlib_enforce_rgb_triplets (GMT, in_txt, GMT_BUFSIZ); /* If @; is used, make sure the color infor… in GMT_pstext()
H A Dgmt_init.c1357 char copy[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ] = {""}; in gmtinit_parse_f_option()
1505 char p[GMT_BUFSIZ] = {""}; in gmtinit_trend_modifiers()
3872 …char out1[GMT_BUFSIZ] = "", out2[GMT_BUFSIZ] = "", out3[GMT_BUFSIZ] = "", info[3][GMT_BUFSIZ] = {"… in gmtinit_parse4_B_option()
4194 char p[GMT_BUFSIZ] = {""}, text[GMT_BUFSIZ] = {""}, *mod = NULL; in gmtinit_parse5_B_frame_setting()
4406 …char string[GMT_BUFSIZ] = {""}, orig_string[GMT_BUFSIZ] = {""}, text[GMT_BUFSIZ] = {""}, *mod = NU… in gmtinit_parse5_B_option()
4475 char p[GMT_BUFSIZ]; in gmtinit_parse5_B_option()
5855 char p[GMT_BUFSIZ]; in gmtinit_parse_text()
8634 …char text[GMT_BUFSIZ] = {""}, item[GMT_BUFSIZ] = {""}, string[GMT_BUFSIZ] = {""}, r_unit = 0, *c =… in gmt_parse_R_option()
9373 char copy[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ] = {""}; in gmt_parse_o_option()
15909 char p[GMT_BUFSIZ]; in gmt_parse_vector()
[all …]
H A Dgrdconvert.c218 char fname[2][GMT_BUFSIZ]; in GMT_grdconvert()
253 strncpy (fname[GMT_IN], HH->name, GMT_BUFSIZ); in GMT_grdconvert()
259 strncpy (fname[GMT_OUT], HH->name, GMT_BUFSIZ); in GMT_grdconvert()
H A Dgrdclip.c364 char format[GMT_BUFSIZ] = {""}, format2[GMT_BUFSIZ] = {""}, buffer[GMT_BUFSIZ] = {""}; in GMT_grdclip()
H A Dgmt_support.c179 char p[GMT_BUFSIZ] = {""}; in gmtsupport_parse_pattern_new()
1019 char tmp[GMT_PEN_LEN] = {""}, string[GMT_BUFSIZ] = {""}, ptr[GMT_BUFSIZ] = {""}; in gmtlib_getpenstyle()
5493 char buffer[GMT_BUFSIZ] = {""}, ID[GMT_BUFSIZ] = {""}; in gmtsupport_resample_data_spherical()
5551 char buffer[GMT_BUFSIZ] = {""}, ID[GMT_BUFSIZ] = {""}; in gmtsupport_resample_data_cartesian()
5624 char buffer[GMT_BUFSIZ] = {""}, seg_name[GMT_BUFSIZ] = {""}, ID[GMT_BUFSIZ] = {""}; in gmtsupport_crosstracks_spherical()
5808 char buffer[GMT_BUFSIZ] = {""}, seg_name[GMT_BUFSIZ] = {""}, ID[GMT_BUFSIZ] = {""}; in gmtsupport_crosstracks_cartesian()
7179 char p[GMT_BUFSIZ]; in gmt_getincn()
10608 …char *c = NULL, p[GMT_BUFSIZ] = {""}, modifiers[GMT_BUFSIZ] = {""}, p2[GMT_BUFSIZ] = {""}, this_un… in gmt_get_dist_units()
10719 char modifiers[GMT_BUFSIZ] = {""}, p2[GMT_BUFSIZ] = {""}; in gmt_make_profiles()
11374 char header[GMT_BUFSIZ]; in gmt_prepare_contour()
[all …]
H A Dgmt_io.c412 static double tmp[GMT_BUFSIZ]; in gmtio_bin_colselect()
575 char buffer[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ]; in gmtio_ogr_decode_aspatial_types()
629 char buffer[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ] = {""}; in gmtio_ogr_decode_aspatial_names()
2723 char buffer[GMT_BUFSIZ]; in gmtio_write_ogr_segheader()
2796 char buffer[GMT_BUFSIZ] = {""}; in gmtio_build_segheader_from_ogr()
3013 char p[GMT_BUFSIZ] = {""}, line[GMT_BUFSIZ] = {""}; in gmtio_write_multilines()
3330 char token[GMT_BUFSIZ], message[GMT_BUFSIZ] = {""}; in gmtio_examine_current_record()
5481 char line[GMT_BUFSIZ] = {""}, *p = NULL; in gmtlib_ascii_textinput()
8034 char buffer[GMT_BUFSIZ] = {""}; in gmtlib_read_table()
9075 char p[GMT_BUFSIZ]; in gmtlib_conv_text2datarec()
[all …]
/dports/graphics/gmt/gmt-6.3.0/src/x2sys/
H A Dx2sys_merge.c142 char line[GMT_BUFSIZ] = {""}, **pairs_base = NULL, **pairs_merge = NULL; in GMT_x2sys_merge()
189 while (fgets (line, GMT_BUFSIZ, fp_base)) { /* */ in GMT_x2sys_merge()
212 while (fgets (line, GMT_BUFSIZ, fp_merge)) { /* */ in GMT_x2sys_merge()
249 …while (fgets (line, GMT_BUFSIZ, fp_merge) && line[0] == '#') k++; /* Jump the comment lines in the… in GMT_x2sys_merge()
251 while (i < k && fgets (line, GMT_BUFSIZ, fp_merge)) i++; in GMT_x2sys_merge()
254 while (fgets (line, GMT_BUFSIZ, fp_base) && line[0] == '#') { in GMT_x2sys_merge()
259 while (i < k && fgets (line, GMT_BUFSIZ, fp_base)) i++; in GMT_x2sys_merge()
267 if (!fgets (line, GMT_BUFSIZ, fp_merge)) { in GMT_x2sys_merge()
277 if (!fgets (line, GMT_BUFSIZ, fp_base)) { in GMT_x2sys_merge()
291 if (!fgets (line, GMT_BUFSIZ, fp_base)) { in GMT_x2sys_merge()
[all …]
H A Dx2sys.c293 char line[GMT_BUFSIZ] = {""}; in x2sys_skip_header()
297 if (!fgets (line, GMT_BUFSIZ, fp)) { in x2sys_skip_header()
372 while (fgets (line, GMT_BUFSIZ, fp)) { in x2sys_initialize()
486 char line[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ] = {""}; in x2sys_pick_fields()
489 strncpy (s->fflags, string, GMT_BUFSIZ-1); in x2sys_pick_fields()
550 char line[GMT_BUFSIZ] = {""}, buffer[GMT_LEN64] = {""}, p[GMT_BUFSIZ] = {""}, c; in x2sys_read_record()
1030 while (fgets (line, GMT_BUFSIZ, fp)) { in x2sys_read_list()
1064 while (fgets (line, GMT_BUFSIZ, fp)) { in x2sys_read_weights()
1355 …k_file[PATH_MAX] = {""}, track_path[PATH_MAX] = {""}, line[GMT_BUFSIZ] = {""}, name[GMT_BUFSIZ] = … in x2sys_bix_read_tracks()
1685 …char line[GMT_BUFSIZ] = {""}, txt[GMT_BUFSIZ] = {""}, kind[GMT_BUFSIZ] = {""}, fmt[GMT_BUFSIZ] = {… in x2sys_read_coe_dbase()
[all …]
H A Dx2sys_put.c243 …if (!gmt_fgets (GMT, line, GMT_BUFSIZ, fp)) { /* Got the first record from the track binindex file… in GMT_x2sys_put()
285 if (!gmt_fgets (GMT, line, GMT_BUFSIZ, fp)) { in GMT_x2sys_put()
323 if (!gmt_fgets (GMT, line, GMT_BUFSIZ, fp)) { in GMT_x2sys_put()
327 …while (line[0] != '>' && (gmt_fgets (GMT, line, GMT_BUFSIZ, fp) != NULL)); /* Keep reading until E… in GMT_x2sys_put()
346 while (gmt_fgets (GMT, line, GMT_BUFSIZ, fp) && line[0] != '>') { in GMT_x2sys_put()
H A Dx2sys_report.c247 …char **trk_name = NULL, *c = NULL, fmt[GMT_BUFSIZ] = {""}, record[GMT_BUFSIZ] = {""}, word[GMT_BUF… in GMT_x2sys_report()
395 len = GMT_BUFSIZ - strlen (record) - 1; in GMT_x2sys_report()
/dports/graphics/gmt/gmt-6.3.0/src/mgd77/
H A Dmgd77manage.c231 char p[GMT_BUFSIZ] = {""}; in mgd77manage_decode_I_options()
315 gmt_M_memset (answer, GMT_BUFSIZ, char); /* No default answer */ in mgd77manage_got_default_answer()
534 char line[GMT_BUFSIZ] = {""}, p[GMT_BUFSIZ] = {""}, history[GMT_BUFSIZ] = {""}, **list = NULL; in GMT_mgd77manage()
535 char not_given[GMT_LEN64] = {""}, word[GMT_BUFSIZ] = {""}, **tmp_string = NULL, *text = NULL; in GMT_mgd77manage()
669 if (!gmt_fgets (GMT, line, GMT_BUFSIZ, fp)) { in GMT_mgd77manage()
690 while (gmt_fgets (GMT, word, GMT_BUFSIZ, fp)) { in GMT_mgd77manage()
1124 …char E77[256] = {""}, timestamp[GMT_LEN64] = {""}, answer[GMT_BUFSIZ] = {""}, code[GMT_BUFSIZ] = {… in GMT_mgd77manage()
1155 if (!gmt_fgets (GMT, line, GMT_BUFSIZ, fp_e)) { in GMT_mgd77manage()
1202 while (gmt_fgets (GMT, line, GMT_BUFSIZ, fp_e)) { in GMT_mgd77manage()
1372 while (gmt_fgets (GMT, line, GMT_BUFSIZ, fp_e)) { /* Read until EOF */ in GMT_mgd77manage()
[all …]
H A Dmgd77list.c386 char *t = NULL, buffer[GMT_BUFSIZ] = {""}, *c = NULL; in parse()
544 strncpy (buffer, opt->arg, GMT_BUFSIZ-1); in parse()
547 strncpy (buffer, MGD77_FMT, GMT_BUFSIZ-1); in parse()
553 strncpy (buffer, MGD77T_FMT, GMT_BUFSIZ-1); in parse()
557 if (!strcmp (buffer, "all")) strncpy (buffer, MGD77_ALL, GMT_BUFSIZ); in parse()
559 strncpy (buffer, MGD77_ALL, GMT_BUFSIZ-1); in parse()
565 strncpy (buffer, MGD77T_ALL, GMT_BUFSIZ-1); in parse()
569 if (!strcmp (buffer, "geo")) strncpy (buffer, MGD77_GEO, GMT_BUFSIZ); in parse()
571 strncpy (buffer, MGD77_GEO, GMT_BUFSIZ-1); in parse()
577 strncpy (buffer, MGD77_DAT, GMT_BUFSIZ-1); in parse()
[all …]
H A Dmgd77.c646 strncpy (buffer, record, GMT_BUFSIZ-1); in mgd77_decode_header_m77t()
1002 if (!fgets (line, GMT_BUFSIZ, F->fp)) { in mgd77_read_header_record_m77()
1012 while (fgets (line, GMT_BUFSIZ, F->fp)) in mgd77_read_header_record_m77()
1025 if (!fgets (line, GMT_BUFSIZ, F->fp)) { in mgd77_read_header_record_m77()
1501 char buffer[GMT_BUFSIZ] = {""}, line[GMT_BUFSIZ] = {""}, *end = NULL; in mgd77_write_data_record_m77t()
4061 char p[GMT_BUFSIZ] = {""}, cstring[GMT_BUFSIZ] = {""}; in MGD77_Verify_Columns()
4066 strncpy (cstring, arg, GMT_BUFSIZ-1); in MGD77_Verify_Columns()
4117 …char p[GMT_BUFSIZ] = {""}, cstring[GMT_BUFSIZ] = {""}, bstring[GMT_BUFSIZ] = {""}, word[GMT_LEN256… in MGD77_Select_Columns()
4140 strncpy (cstring, arg, GMT_BUFSIZ-1); in MGD77_Select_Columns()
4322 …char **L = NULL, *d_name = NULL, line[GMT_BUFSIZ] = {""}, this_arg[GMT_BUFSIZ] = {""}, *flist = NU…
[all …]
/dports/graphics/gmt/gmt-6.3.0/src/spotter/
H A Dgmtpmodeler.c341 char header[GMT_BUFSIZ] = {""}; in GMT_gmtpmodeler()
343 strncat (header, tag[k], GMT_BUFSIZ-1); in GMT_gmtpmodeler()
344 …if (k < (Ctrl->S.n_items-1)) strncat (header, GMT->current.setting.io_col_separator, GMT_BUFSIZ-1); in GMT_gmtpmodeler()
H A Doriginater.c387 …char record[GMT_BUFSIZ] = {""}, buffer[GMT_BUFSIZ] = {""}, fmt1[GMT_BUFSIZ] = {""}, fmt2[GMT_BUFSI… in GMT_originater()
H A Dspotter.c420 …char buffer[GMT_BUFSIZ] = {""}, A[GMT_LEN64] = {""}, B[GMT_LEN64] = {""}, txt[GMT_LEN64] = {""}, c… in spotter_init()
421 …char file[PATH_MAX] = {""}, Plates[GMT_BUFSIZ] = {""}, Rotations[GMT_BUFSIZ] = {""}, *this_c = NUL… in spotter_init()
432 strncpy (Plates, this_c, GMT_BUFSIZ-1); in spotter_init()
451 …while ((A_id == 0 || B_id == 0) && gmt_fgets (GMT, buffer, GMT_BUFSIZ, fp) != NULL) { /* Expects l… in spotter_init()
468 strncpy (Rotations, this_c, GMT_BUFSIZ-1); in spotter_init()
496 while (gmt_fgets (GMT, buffer, GMT_BUFSIZ, fp) != NULL) { /* Expects lon lat t0 t1 ccw-angle */ in spotter_init()
631 char buffer[GMT_BUFSIZ] = {""}, create, fit, plot; in spotter_hotspot_init()
641 while (gmt_fgets (GMT, buffer, GMT_BUFSIZ, fp) != NULL) { in spotter_hotspot_init()

12345