Home
last modified time | relevance | path

Searched refs:getc (Results 1 – 25 of 262) sorted by relevance

1234567891011

/netbsd/src/external/bsd/ppp/dist/pppdump/
Dpppdump.c101 while ((c = getc(f)) != EOF) { in dumplog()
109 n = getc(f); in dumplog()
110 n = (n << 8) + getc(f); in dumplog()
114 c = getc(f); in dumplog()
249 while ((c = getc(f)) != EOF) { in dumpppp()
257 n = getc(f); in dumpppp()
258 n = (n << 8) + getc(f); in dumpppp()
261 c = getc(f); in dumpppp()
377 t = getc(f); in show_time()
378 t = (t << 8) + getc(f); in show_time()
[all …]
/netbsd/src/external/lgpl3/mpc/dist/tests/
Dread_data.c86 nextchar = getc (fp); in skip_line()
90 nextchar = getc (fp); in skip_line()
103 nextchar = getc (fp); in skip_whitespace()
129 nextchar = getc (fp); in read_string()
148 nextchar = getc (fp); in read_string()
166 nextchar = getc (fp); in read_string()
208 nextchar = getc (fp); in read_ternary()
238 nextchar = getc (fp); in read_mpfr_rounding_mode()
277 nextchar = getc (fp); in read_int()
302 nextchar = getc (fp); in read_mpfr_prec()
[all …]
Dread_line.c183 datafile_context->nextchar = getc (datafile_context->fd); in tpl_skip_line()
187 datafile_context->nextchar = getc (datafile_context->fd); in tpl_skip_line()
200 datafile_context->nextchar = getc (datafile_context->fd); in tpl_skip_whitespace()
247 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_ternary()
Dtpl_native.c46 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_int()
78 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_ui()
111 datafile_context->nextchar = getc (datafile_context->fd); in tpl_read_si()
Dtio_str.c60 nextchar = getc (fp); 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()
/netbsd/src/external/lgpl3/mpc/dist/src/
Dinp_str.c29 int c = getc (stream); in skip_whitespace()
32 c = getc (stream); in skip_whitespace()
51 c = getc (stream); in extract_suffix()
59 c = getc (stream); in extract_suffix()
85 c = getc (stream); in extract_string()
95 c = getc (stream); in extract_string()
140 c = getc (stream); in extract_string()
173 c = getc (stream); in mpc_inp_str()
186 c = getc (stream); in mpc_inp_str()
209 c = getc (stream); in mpc_inp_str()
/netbsd/src/external/lgpl3/gmp/dist/mpz/
Dinp_str.c58 c = getc (stream); in mpz_inp_str()
94 c = getc (stream); in mpz_inp_str_nowhite()
109 c = getc (stream); in mpz_inp_str_nowhite()
114 c = getc (stream); in mpz_inp_str_nowhite()
120 c = getc (stream); in mpz_inp_str_nowhite()
129 c = getc (stream); in mpz_inp_str_nowhite()
150 c = getc (stream); in mpz_inp_str_nowhite()
/netbsd/src/lib/libcompat/4.3/
Druserpass.c192 while ((c=getc(cfile)) != EOF)
206 for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
217 while ((c=getc(cfile)) != EOF && c != '\n');
233 if ((c=getc(cfile)) == EOF) {
276 while ((c = getc(cfile)) != EOF && in token()
283 while ((c = getc(cfile)) != EOF && c != '"') { in token()
285 c = getc(cfile); in token()
290 while ((c = getc(cfile)) != EOF in token()
293 c = getc(cfile); in token()
/netbsd/src/usr.bin/ftp/
Druserpass.c188 while ((c = getc(cfile)) != EOF) in ruserpass()
204 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in ruserpass()
216 while ((c = getc(cfile)) != EOF && c != '\n'); in ruserpass()
233 if ((c = getc(cfile)) == EOF) { in ruserpass()
284 while ((c = getc(cfile)) != EOF && in token()
291 while ((c = getc(cfile)) != EOF && c != '"') { in token()
293 if ((c = getc(cfile)) == EOF) in token()
303 while ((c = getc(cfile)) != EOF in token()
306 if ((c = getc(cfile)) == EOF) in token()
/netbsd/src/external/bsd/libpcap/dist/
Detherent.c70 c = getc(f); in skip_space()
82 c = getc(f); in skip_line()
118 c = getc(fp); in pcap_next_etherent()
124 c = getc(fp); in pcap_next_etherent()
131 c = getc(fp); in pcap_next_etherent()
164 c = getc(fp); in pcap_next_etherent()
/netbsd/src/external/bsd/nvi/dist/catalog/
Ddump.c33 if ((s = getc(fp)) == EOF) \
39 if ((ch = getc(fp)) == EOF) \
46 if ((ch = getc(fp)) == EOF) \
62 if ((ch = getc(fp)) == EOF)
68 if ((ch = getc(fp)) == EOF)
/netbsd/src/usr.bin/soelim/
Dsoelim.c187 c = getc(soee); in process()
192 c = getc(soee); in process()
197 c = getc(soee); in process()
203 c = getc(soee); in process()
218 c = getc(soee); in process()
238 c = getc(soee); in process()
/netbsd/src/usr.bin/cmp/
Dspecial.c64 ch1 = getc(fp1); in c_special()
71 ch2 = getc(fp2); in c_special()
79 ch1 = getc(fp1); in c_special()
80 ch2 = getc(fp2); in c_special()
/netbsd/src/usr.bin/mail/
Dquit.c88 while ((c = getc(res)) != EOF) in writeback()
109 while ((c = getc(res)) != EOF) in writeback()
194 while ((c = getc(ibuf)) != EOF) in edstop()
236 while ((c = getc(ibuf)) != EOF) in edstop()
334 while ((c = getc(fbuf)) != EOF) in quit()
339 c = getc(fbuf); in quit()
451 while ((c = getc(abuf)) != EOF) in quit()
503 c = getc(ibuf); in quit()
508 c = getc(ibuf); in quit()
550 while ((c = getc(rbuf)) != EOF) in quit()
/netbsd/src/lib/libc/stdio/
DMakefile.inc13 getc.c getchar.c getdelim.c getline.c gettemp.c getw.c getwc.c \
30 fseek.3 funopen.3 fwide.3 getc.3 getdelim.3 getwc.3 mktemp.3 printf.3 \
45 MLINKS+=getc.3 fgetc.3 getc.3 getc_unlocked.3 getc.3 getchar.3 \
46 getc.3 getchar_unlocked.3 getc.3 getw.3
Dgetc.c53 #undef getc
57 getc(FILE *fp) in getc() function
/netbsd/src/usr.bin/rdist/
Dgram.y213 switch (c = getc(fin)) { in yylex()
218 while ((c = getc(fin)) != EOF && c != '\n') in yylex()
243 if ((c = getc(fin)) == '>') in yylex()
257 c = getc(fin); in yylex()
261 if ((c = getc(fin)) == EOF) { in yylex()
279 if ((c = getc(fin)) == ':') in yylex()
292 if ((c = getc(fin)) != EOF) { in yylex()
301 c = getc(fin); in yylex()
/netbsd/src/usr.bin/tail/
Dforward.c107 if ((ch = getc(fp)) == EOF) { in forward()
119 if ((ch = getc(fp)) == EOF) { in forward()
138 while (getc(fp) != EOF); in forward()
160 while (getc(fp) != EOF); in forward()
182 while ((ch = getc(fp)) != EOF) { in forward()
/netbsd/src/external/bsd/pcc/dist/pcc/f77/fcom/
Dmain.c291 if( (c = getc(sortfile)) == EOF) in rdname()
297 if( (c = getc(sortfile)) == EOF) in rdname()
311 for(c = getc(sortfile) ; c!=EOF && isspace(c) ; c = getc(sortfile) ); in rdlong()
316 for(*n = 0 ; isdigit(c) ; c = getc(sortfile) ) in rdlong()
418 while ( putc( getc(sortfile), stdout) != '\n') in dodata()
/netbsd/src/external/bsd/ipf/dist/tools/
Dlex_var.h23 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
41 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
50 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
/netbsd/src/external/gpl3/gcc/dist/intl/
Dlocalcharset.c90 # undef getc
91 # define getc getc_unlocked macro
153 c = getc (fp); in get_charset_aliases()
162 c = getc (fp); in get_charset_aliases()
/netbsd/src/usr.bin/locate/locate/
Dlocate.c195 p[c] = getc(fp), s[c] = getc(fp); in fastfind()
202 for (c = getc(fp), count = 0; c != EOF;) { in fastfind()
205 for (p = path + count; (c = getc(fp)) > SWITCH;) { in fastfind()
/netbsd/src/external/bsd/libbind/dist/dst/
Ddst_api.c496 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
500 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
506 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
509 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
515 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
518 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
527 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
530 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
545 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
/netbsd/src/lib/libresolv/
Ddst_api.c502 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
506 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
512 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
515 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
521 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
524 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
534 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
537 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
552 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dunlocked-io.h101 # undef getc
102 # define getc(x) getc_unlocked (x) macro
104 # define getc_unlocked(x) getc (x)

1234567891011