Home
last modified time | relevance | path

Searched refs:nextchar (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/external/lgpl3/mpc/dist/tests/
H A Dread_data.c31 int nextchar; variable
85 while (nextchar != EOF && nextchar != '\n') in skip_line()
86 nextchar = getc (fp); in skip_line()
87 if (nextchar != EOF) in skip_line()
90 nextchar = getc (fp); in skip_line()
99 while (isspace (nextchar)) in skip_whitespace()
101 if (nextchar == '\n') in skip_whitespace()
103 nextchar = getc (fp); in skip_whitespace()
112 while (nextchar == '#') { in skip_whitespace_comments()
114 if (nextchar != EOF) in skip_whitespace_comments()
[all …]
H A Dtpl_mpfr.c29 if (datafile_context->nextchar == EOF) { in tpl_read_mpfr_prec()
35 ungetc (datafile_context->nextchar, datafile_context->fd); in tpl_read_mpfr_prec()
44 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_mpfr_prec()
52 if (datafile_context->nextchar == EOF) { in tpl_read_mpfr_mantissa()
58 ungetc (datafile_context->nextchar, datafile_context->fd); in tpl_read_mpfr_mantissa()
65 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_mpfr_mantissa()
75 sign = datafile_context->nextchar; in tpl_read_mpfr()
89 switch (datafile_context->nextchar) in tpl_read_mpfr_rnd()
108 datafile_context->nextchar, in tpl_read_mpfr_rnd()
114 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_mpfr_rnd()
[all …]
H A Dread_line.c182 while (datafile_context->nextchar != EOF && datafile_context->nextchar != '\n') in tpl_skip_line()
183 datafile_context->nextchar = getc (datafile_context->fd); in tpl_skip_line()
184 if (datafile_context->nextchar != EOF) in tpl_skip_line()
187 datafile_context->nextchar = getc (datafile_context->fd); in tpl_skip_line()
196 while (isspace (datafile_context->nextchar)) in tpl_skip_whitespace()
198 if (datafile_context->nextchar == '\n') in tpl_skip_whitespace()
200 datafile_context->nextchar = getc (datafile_context->fd); in tpl_skip_whitespace()
209 while (datafile_context->nextchar == '#') { in tpl_skip_whitespace_comments()
211 if (datafile_context->nextchar != EOF) in tpl_skip_whitespace_comments()
222 switch (datafile_context->nextchar) in tpl_read_ternary()
[all …]
H A Dtpl_native.c31 if (datafile_context->nextchar == EOF) in tpl_read_int()
38 ungetc (datafile_context->nextchar, datafile_context->fd); in tpl_read_int()
46 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_int()
63 if (datafile_context->nextchar == EOF) in tpl_read_ui()
70 ungetc (datafile_context->nextchar, datafile_context->fd); in tpl_read_ui()
78 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_ui()
96 if (datafile_context->nextchar == EOF) in tpl_read_si()
103 ungetc (datafile_context->nextchar, datafile_context->fd); in tpl_read_si()
111 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_si()
H A Dtio_str.c35 extern int nextchar;
60 nextchar = getc (fp); in check_file()
63 while (nextchar != EOF) in check_file()
79 while (nextchar != '"') in check_file()
80 nextchar = getc (fp); in check_file()
104 while ((nextchar = getc (fp)) != '"'); in check_file()
105 nextchar = getc (fp); in check_file()
H A Dtpl_gmp.c26 if (datafile_context->nextchar == EOF) { in tpl_read_mpz()
32 ungetc (datafile_context->nextchar, datafile_context->fd); in tpl_read_mpz()
39 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_mpz()
H A Dread_description.c76 while (datafile_context->nextchar != EOF in read_keyworddesc()
77 && datafile_context->nextchar != '#' in read_keyworddesc()
78 && datafile_context->nextchar != '\n') in read_keyworddesc()
92 buffer[pos++] = (char) datafile_context->nextchar; in read_keyworddesc()
93 datafile_context->nextchar = getc (datafile_context->fd); in read_keyworddesc()
H A Dtstrtoc.c27 extern int nextchar;
74 nextchar = getc (fp); in check_file()
75 while (nextchar != EOF) in check_file()
H A Dopen_datafile.c55 datafile_context->nextchar = getc (datafile_context->fd); in open_datafile()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dgetopt.c145 static char *nextchar; variable
410 nextchar = NULL; in _getopt_initialize()
547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
620 nextchar = (argv[optind] + 1 in _getopt_internal()
651 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal()
657 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
659 if ((unsigned int) (nameend - nextchar) in _getopt_internal()
684 nextchar += strlen (nextchar); in _getopt_internal()
715 nextchar += strlen (nextchar); in _getopt_internal()
732 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dgetopt.c145 static char *nextchar; variable
410 nextchar = NULL; in _getopt_initialize()
547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
620 nextchar = (argv[optind] + 1 in _getopt_internal()
651 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal()
657 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
659 if ((unsigned int) (nameend - nextchar) in _getopt_internal()
684 nextchar += strlen (nextchar); in _getopt_internal()
715 nextchar += strlen (nextchar); in _getopt_internal()
732 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dgetopt.c145 static char *nextchar; variable
410 nextchar = NULL; in _getopt_initialize()
547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
620 nextchar = (argv[optind] + 1 in _getopt_internal()
651 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal()
657 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
659 if ((unsigned int) (nameend - nextchar) in _getopt_internal()
684 nextchar += strlen (nextchar); in _getopt_internal()
715 nextchar += strlen (nextchar); in _getopt_internal()
732 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd-src/external/gpl2/gmake/dist/
H A Dgetopt.c140 static char *nextchar; variable
392 nextchar = NULL; in _getopt_initialize()
528 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
601 nextchar = (argv[optind] + 1 in _getopt_internal()
632 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal()
638 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
640 if ((unsigned int) (nameend - nextchar) in _getopt_internal()
665 nextchar += strlen (nextchar); in _getopt_internal()
695 nextchar += strlen (nextchar); in _getopt_internal()
711 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dgetopt.c145 static char *nextchar; variable
410 nextchar = NULL; in _getopt_initialize()
547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
620 nextchar = (argv[optind] + 1 in _getopt_internal()
651 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) in _getopt_internal()
657 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
659 if ((unsigned int) (nameend - nextchar) in _getopt_internal()
684 nextchar += strlen (nextchar); in _getopt_internal()
715 nextchar += strlen (nextchar); in _getopt_internal()
732 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd-src/external/gpl2/diffutils/dist/lib/
H A Dgetopt.c144 static char *nextchar; variable
409 nextchar = NULL;
557 if (nextchar == NULL || *nextchar == '\0')
630 nextchar = (argv[optind] + 1
661 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
667 if (!strncmp (p->name, nextchar, nameend - nextchar))
669 if ((unsigned int) (nameend - nextchar)
697 nextchar += strlen (nextchar);
729 nextchar += strlen (nextchar);
745 nextchar += strlen (nextchar);
[all …]
/netbsd-src/external/gpl2/grep/dist/lib/
H A Dgetopt.c142 static char *nextchar; variable
401 nextchar = NULL;
542 if (nextchar == NULL || *nextchar == '\0')
615 nextchar = (argv[optind] + 1
646 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
652 if (!strncmp (p->name, nextchar, nameend - nextchar))
654 if ((unsigned int) (nameend - nextchar)
679 nextchar += strlen (nextchar);
711 nextchar += strlen (nextchar);
727 nextchar += strlen (nextchar);
[all …]
/netbsd-src/external/gpl2/mkhybrid/dist/
H A Dgetopt.c125 static char *nextchar; variable
298 nextchar = NULL; in _getopt_initialize()
393 if (nextchar == NULL || *nextchar == '\0')
460 nextchar = (argv[optind] + 1
491 for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
497 if (!strncmp (p->name, nextchar, nameend - nextchar))
499 if (nameend - nextchar == strlen (p->name))
523 nextchar += strlen (nextchar);
553 nextchar += strlen (nextchar);
566 nextchar += strlen (nextchar);
[all …]
/netbsd-src/games/hack/
H A Dmakedefs.c83 static char nextchar(void);
160 nextchar() in nextchar() function
176 while (*s != nextchar())
221 ch = nextchar(); in getentry()
228 ch = nextchar(); in getentry()
232 ch = nextchar(); in getentry()
245 if ((ch = nextchar()) == '*') in getentry()
268 if ((ch = nextchar()) == '#') { in getentry()
273 ch = nextchar(); in getentry()
290 if ((ch = nextchar()) == '\\') in getentry()
[all …]
/netbsd-src/external/bsd/elftosb/dist/common/
H A Doptions.cpp594 nextchar(NULLSTR), listopt(NULLSTR) in Options()
771 OptionSpec optspec = match_opt(*(nextchar++), (optctrls & Options::ANYCASE)); in parse_opt()
778 const char * save_nextchar = nextchar; in parse_opt()
779 nextchar -= 1; in parse_opt()
786 nextchar = save_nextchar; in parse_opt()
791 << *(nextchar - 1) << "." << endl ; in parse_opt()
793 optarg = (nextchar - 1); // record the bad option in optarg in parse_opt()
804 if (*nextchar) { in parse_opt()
805 optarg = nextchar; // the argument is right here in parse_opt()
806 nextchar = NULLSTR; // we've exhausted this arg in parse_opt()
[all …]
H A Doptions.h369 const char * nextchar; //!< next option-character to process variable
442 reset(void) { nextchar = listopt = NULL; } in reset()
/netbsd-src/external/bsd/file/dist/src/
H A Dfile.c595 wchar_t nextchar; in fname_print() local
601 bytesconsumed = mbrtowc(&nextchar, inname, n, &state); in fname_print()
604 nextchar = *inname++; in fname_print()
607 file_octal(CAST(unsigned char, nextchar)); in fname_print()
612 if (iswprint(nextchar)) { in fname_print()
613 printf("%lc", (wint_t)nextchar); in fname_print()
617 file_octal(CAST(unsigned char, nextchar)); in fname_print()
676 wchar_t nextchar; in file_mbswidth() local
682 bytesconsumed = mbrtowc(&nextchar, s, n, &state); in file_mbswidth()
685 nextchar = *s; in file_mbswidth()
[all …]
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dhtml.c109 int nextchar = getc (f); in process_css_file() local
110 if (nextchar == 'i' || nextchar == 'c') in process_css_file()
117 ungetc (nextchar, f); /* wasn't an @import */ in process_css_file()
123 int nextchar = getc (f); in process_css_file() local
124 if (nextchar == '*') in process_css_file()
128 ungetc (nextchar, f); /* wasn't a comment */ in process_css_file()
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dlexer.c196 nextchar: in yylex()
224 goto nextchar; in yylex()
236 goto nextchar; in yylex()
249 goto nextchar; in yylex()
300 goto nextchar; in yylex()
536 goto nextchar; in yylex()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-tic6x.h179 enum expr_mode mode, char *nextchar);
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-tic6x.h179 enum expr_mode mode, char *nextchar);

12