/freebsd/usr.bin/locate/locate/ |
H A D | fastfind.c | 51 p[c] = check_bigram_char(getc(fp)); in statistic() 52 s[c] = check_bigram_char(getc(fp)); in statistic() 58 for (c = getc(fp), count = 0; c != EOF; size++) { in statistic() 73 for (p = path + count; (c = getc(fp)) > SWITCH; size++) in statistic() 76 c = getc(fp); in statistic() 166 p[c] = check_bigram_char(getc(fp)); 167 s[c] = check_bigram_char(getc(fp)); 205 c = getc(fp); 238 c = getc(fp); 255 c = getc(fp);
|
/freebsd/contrib/tnftp/src/ |
H A D | ruserpass.c | 191 while ((c = getc(cfile)) != EOF) in ruserpass() 207 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in ruserpass() 219 while ((c = getc(cfile)) != EOF && c != '\n'); in ruserpass() 236 if ((c = getc(cfile)) == EOF) { in ruserpass() 287 while ((c = getc(cfile)) != EOF && in token() 294 while ((c = getc(cfile)) != EOF && c != '"') { in token() 296 if ((c = getc(cfile)) == EOF) in token() 306 while ((c = getc(cfile)) != EOF in token() 309 if ((c = getc(cfile)) == EOF) in token()
|
/freebsd/contrib/nvi/catalog/ |
H A D | dump.c | 40 if ((s = getc(fp)) == EOF) \ in parse() 46 if ((ch = getc(fp)) == EOF) \ in parse() 53 if ((ch = getc(fp)) == EOF) \ in parse() 69 if ((ch = getc(fp)) == EOF) in parse() 75 if ((ch = getc(fp)) == EOF) in parse()
|
/freebsd/contrib/libpcap/ |
H A D | etherent.c | 65 c = getc(f); in skip_space() 77 c = getc(f); in skip_line() 113 c = getc(fp); in pcap_next_etherent() 119 c = getc(fp); in pcap_next_etherent() 126 c = getc(fp); in pcap_next_etherent() 159 c = getc(fp); in pcap_next_etherent()
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ruserpass.c | 202 while ((c=getc(cfile)) != EOF && in ruserpassword() 214 for (i=0; i < 8 && (c=getc(cfile)) != EOF && in ruserpassword() 224 while ((c=getc(cfile)) != EOF && c != '\n'); in ruserpassword() 238 if ((c=getc(cfile)) == EOF) { in ruserpassword() 285 while ((c = getc(cfile)) != EOF && in token() 292 while ((c = getc(cfile)) != EOF && c != '"') { in token() 294 c = getc(cfile); in token() 299 while ((c = getc(cfile)) != EOF in token() 302 c = getc(cfile); in token()
|
/freebsd/usr.bin/what/ |
H A D | what.c | 105 while ((c = getc(in)) != EOF) { in search() 108 if ((c = getc(in)) != '(') in search() 110 if ((c = getc(in)) != '#') in search() 112 if ((c = getc(in)) != ')') in search() 116 while ((c = getc(in)) != EOF && c && c != '"' && in search()
|
/freebsd/lib/libcompat/4.3/ |
H A D | rexec.c | 101 while ((c = getc(cfile)) != EOF && in token() 108 while ((c = getc(cfile)) != EOF && c != '"') { in token() 110 c = getc(cfile); in token() 115 while ((c = getc(cfile)) != EOF in token() 118 c = getc(cfile); in token() 219 while ((c=getc(cfile)) != EOF && in ruserpass() 232 for (i=0; i < 8 && (c=getc(cfile)) != EOF && in ruserpass() 242 while ((c=getc(cfile)) != EOF && c != '\n'); in ruserpass() 256 if ((c=getc(cfile)) == EOF) { in ruserpass()
|
/freebsd/usr.bin/mail/ |
H A D | quit.c | 111 while ((c = getc(fbuf)) != EOF) in quit() 116 c = getc(fbuf); in quit() 213 while ((c = getc(abuf)) != EOF) in quit() 260 c = getc(ibuf); in quit() 265 c = getc(ibuf); in quit() 304 while ((c = getc(rbuf)) != EOF) in quit() 343 while ((c = getc(res)) != EOF) in writeback() 357 while ((c = getc(res)) != EOF) in writeback() 436 while ((c = getc(ibuf)) != EOF) in edstop() 469 while ((c = getc(ibuf)) != EOF) in edstop()
|
H A D | edit.c | 108 while ((c = getc(fp)) != EOF) { in edit1() 151 while (--size >= 0 && (t = getc(fp)) != EOF) in run_editor() 154 while ((t = getc(fp)) != EOF) in run_editor()
|
/freebsd/usr.bin/cmp/ |
H A D | special.c | 67 if (getc(fp1) == EOF) in c_special() 70 if (getc(fp2) == EOF) in c_special() 81 ch1 = getc(fp1); in c_special() 82 ch2 = getc(fp2); in c_special()
|
/freebsd/lib/libc/stdio/ |
H A D | Makefile.inc | 13 fwrite.c getc.c getchar.c getdelim.c getline.c \ 37 fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \ 74 MLINKS+=getc.3 fgetc.3 \ 75 getc.3 getc_unlocked.3 \ 76 getc.3 getchar.3 \ 77 getc.3 getchar_unlocked.3 \ 78 getc.3 getw.3
|
H A D | getc.c | 41 #undef getc 45 getc(FILE *fp) in getc() function
|
/freebsd/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 239 pch = ch = getc(bpf); in getthefile() 241 pch = ch; ch = getc(bpf); in getthefile() 253 ch = getc(bpf); /* and a character */ in getthefile() 262 while (isspace(ch) && ch != '\n') ch = getc(bpf); in getthefile() 268 ch = getc(bpf); /* maybe on next line */ in getthefile() 345 pch = ch = getc(bpf); in checkhost() 347 pch = ch; ch = getc(bpf); in checkhost()
|
/freebsd/usr.bin/tail/ |
H A D | forward.c | 113 if ((ch = getc(fp)) == EOF) { in forward() 125 if ((ch = getc(fp)) == EOF) { in forward() 144 while (getc(fp) != EOF); in forward() 163 while (getc(fp) != EOF); in forward() 176 while ((ch = getc(fp)) != EOF) in forward() 242 while ((ch = getc(file->fp)) != EOF) { in show()
|
/freebsd/stand/i386/common/ |
H A D | cons.c | 89 getc(int fn) in getc() function 112 if (ioctrl & IO_KEYBOARD && getc(1)) in xgetc() 113 return (fn ? 1 : getc(0)); in xgetc()
|
/freebsd/contrib/diff/lib/ |
H A D | unlocked-io.h | 98 # undef getc 99 # define getc(x) getc_unlocked (x) macro 101 # define getc_unlocked(x) getc (x)
|
/freebsd/usr.bin/diff/ |
H A D | diffreg.c | 754 c = getc(f1); in check() 755 d = getc(f2); in check() 773 if ((c = getc(f1)) == '\n') { in check() 780 if ((d = getc(f2)) == '\n') { in check() 794 } while (isspace(c = getc(f1))); in check() 799 } while (isspace(d = getc(f2))); in check() 802 c = getc(f1); in check() 806 d = getc(f2); in check() 826 if ((c = getc(f1)) != (d = getc(f in check() [all...] |
/freebsd/sys/gdb/ |
H A D | gdb.h | 60 #define GDB_DBGPORT(name, probe, init, term, getc, putc) \ argument 66 .gdb_getc = getc, \
|
/freebsd/sys/dev/uart/ |
H A D | uart_cpu.h | 47 int (*getc)(struct uart_bas *, struct mtx *); member 169 res = di->ops->getc(&di->bas, NULL); in uart_poll() 180 return (di->ops->getc(&di->bas, di->hwmtx)); in uart_getc()
|
/freebsd/usr.sbin/makefs/ |
H A D | mtree.c | 304 c = getc(fp); in skip_over() 306 c = getc(fp); in skip_over() 319 c = getc(fp); in skip_to() 321 c = getc(fp); in skip_to() 345 c = getc(fp); in read_word() 817 (void)getc(fp); in read_mtree_command() 1025 (void)getc(fp); in read_mtree_spec() 1074 c = getc(fp); in read_mtree() 1087 (void)getc(fp); in read_mtree()
|
/freebsd/usr.bin/fortune/strfile/ |
H A D | strfile.c | 397 while (!isalnum(c1 = getc(Sort_1)) && c1 != '\0' && c1 != EOF) in cmp_str() 399 while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0' && c2 != EOF) in cmp_str() 413 c1 = getc(Sort_1); in cmp_str() 414 c2 = getc(Sort_2); in cmp_str()
|
/freebsd/contrib/openpam/lib/libpam/ |
H A D | openpam_readword.c | 63 while ((ch = getc(f)) != EOF) { in openpam_readword() 76 while ((ch = getc(f)) != EOF) in openpam_readword()
|
/freebsd/include/ |
H A D | stdio.h | 285 int getc(FILE *); 509 #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) macro 512 #define getchar() getc(stdin)
|
/freebsd/usr.sbin/config/ |
H A D | main.cc | 340 while ((ch = getc(fp)) != EOF) in get_word() 362 while ((ch = getc(fp)) != EOF) { in get_word() 386 while ((ch = getc(fp)) != EOF) in get_quoted_word() 407 while ((ch = getc(fp)) != EOF) { in get_quoted_word() 426 while ((ch = getc(fp)) != EOF) { in get_quoted_word() 524 while ((i = getc(cff)) != EOF) { in configfile_filebased()
|
/freebsd/contrib/file/tests/ |
H A D | test.c | 58 for (c = getc(fp); c != EOF; c = getc(fp)) { in slurp()
|