Home
last modified time | relevance | path

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

12

/netbsd/external/lgpl3/mpc/dist/tests/
H A Dread_data.c31 int nextchar; variable
85 while (nextchar != EOF && nextchar != '\n') in skip_line()
87 if (nextchar != EOF) in skip_line()
128 if (nextchar == '"') in read_string()
133 while (nextchar != EOF && nextchar != '"') in read_string()
151 if (nextchar != '"') in read_string()
185 switch (nextchar) in read_ternary()
215 switch (nextchar) in read_mpfr_rounding_mode()
239 if (nextchar != EOF && !isspace (nextchar)) { in read_mpfr_rounding_mode()
262 if (nextchar == EOF) in read_int()
[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()
115 if (datafile_context->nextchar != EOF 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()
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()
241 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/external/gpl3/gdb/dist/libiberty/
H A Dgetopt.c547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
657 if (!strncmp (p->name, nextchar, 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()
737 nextchar += strlen (nextchar); in _getopt_internal()
846 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
871 nextchar += strlen (nextchar); in _getopt_internal()
891 nextchar += strlen (nextchar); in _getopt_internal()
905 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl2/gmake/dist/
H A Dgetopt.c528 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
638 if (!strncmp (p->name, nextchar, 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()
716 nextchar += strlen (nextchar); in _getopt_internal()
825 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
850 nextchar += strlen (nextchar); in _getopt_internal()
870 nextchar += strlen (nextchar); in _getopt_internal()
884 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl3/binutils.old/dist/libiberty/
H A Dgetopt.c547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
657 if (!strncmp (p->name, nextchar, 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()
737 nextchar += strlen (nextchar); in _getopt_internal()
846 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
871 nextchar += strlen (nextchar); in _getopt_internal()
891 nextchar += strlen (nextchar); in _getopt_internal()
905 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl3/binutils/dist/libiberty/
H A Dgetopt.c547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
657 if (!strncmp (p->name, nextchar, 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()
737 nextchar += strlen (nextchar); in _getopt_internal()
846 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
871 nextchar += strlen (nextchar); in _getopt_internal()
891 nextchar += strlen (nextchar); in _getopt_internal()
905 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl3/gcc.old/dist/libiberty/
H A Dgetopt.c547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
657 if (!strncmp (p->name, nextchar, 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()
737 nextchar += strlen (nextchar); in _getopt_internal()
846 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
871 nextchar += strlen (nextchar); in _getopt_internal()
891 nextchar += strlen (nextchar); in _getopt_internal()
905 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl3/gdb.old/dist/libiberty/
H A Dgetopt.c547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
657 if (!strncmp (p->name, nextchar, 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()
737 nextchar += strlen (nextchar); in _getopt_internal()
846 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
871 nextchar += strlen (nextchar); in _getopt_internal()
891 nextchar += strlen (nextchar); in _getopt_internal()
905 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl3/gcc/dist/libiberty/
H A Dgetopt.c547 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
657 if (!strncmp (p->name, nextchar, 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()
737 nextchar += strlen (nextchar); in _getopt_internal()
846 if (!strncmp (p->name, nextchar, nameend - nextchar)) in _getopt_internal()
871 nextchar += strlen (nextchar); in _getopt_internal()
891 nextchar += strlen (nextchar); in _getopt_internal()
905 nextchar += strlen (nextchar); in _getopt_internal()
[all …]
/netbsd/external/gpl2/grep/dist/lib/
H A Dgetopt.c542 if (nextchar == NULL || *nextchar == '\0')
652 if (!strncmp (p->name, nextchar, nameend - nextchar))
679 nextchar += strlen (nextchar);
711 nextchar += strlen (nextchar);
727 nextchar += strlen (nextchar);
732 nextchar += strlen (nextchar);
841 if (!strncmp (p->name, nextchar, nameend - nextchar))
866 nextchar += strlen (nextchar);
886 nextchar += strlen (nextchar);
900 nextchar += strlen (nextchar);
[all …]
/netbsd/external/gpl2/diffutils/dist/lib/
H A Dgetopt.c557 if (nextchar == NULL || *nextchar == '\0')
667 if (!strncmp (p->name, nextchar, nameend - nextchar))
697 nextchar += strlen (nextchar);
729 nextchar += strlen (nextchar);
745 nextchar += strlen (nextchar);
750 nextchar += strlen (nextchar);
859 if (!strncmp (p->name, nextchar, nameend - nextchar))
884 nextchar += strlen (nextchar);
904 nextchar += strlen (nextchar);
918 nextchar += strlen (nextchar);
[all …]
/netbsd/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()
273 ch = nextchar(); in getentry()
291 ch = nextchar(); in getentry()
292 if (nextchar() != '\'') { in getentry()
[all …]
/netbsd/external/bsd/elftosb/dist/common/
H A Doptions.cpp594 nextchar(NULLSTR), listopt(NULLSTR) in Options()
779 nextchar -= 1; in parse_opt()
786 nextchar = save_nextchar; in parse_opt()
804 if (*nextchar) { in parse_opt()
873 len = val - nextchar ; in parse_longopt()
892 nextchar = save_nextchar; in parse_longopt()
899 << nextchar << "." << endl ; in parse_longopt()
1081 if ((nextchar) && *nextchar) { in operator ()()
1119 nextchar = arg + 2; in operator ()()
1122 nextchar = arg + 1; in operator ()()
[all …]
H A Doptions.h369 const char * nextchar; //!< next option-character to process variable
442 reset(void) { nextchar = listopt = NULL; } in reset()
/netbsd/external/bsd/file/dist/src/
H A Dfile.c584 wchar_t nextchar; in fname_print() local
593 nextchar = *inname++; in fname_print()
596 file_octal(CAST(unsigned char, nextchar)); in fname_print()
601 if (iswprint(nextchar)) { in fname_print()
602 printf("%lc", nextchar); in fname_print()
606 file_octal(CAST(unsigned char, nextchar)); in fname_print()
665 wchar_t nextchar; in file_mbswidth() local
671 bytesconsumed = mbrtowc(&nextchar, s, n, &state); in file_mbswidth()
674 nextchar = *s; in file_mbswidth()
679 int w = wcwidth(nextchar); in file_mbswidth()
[all …]
/netbsd/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/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/external/gpl3/gdb/dist/gas/config/
H A Dtc-tic6x.h179 enum expr_mode mode, char *nextchar);

12