Home
last modified time | relevance | path

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

12345678

/freebsd/contrib/nvi/catalog/
H A Ddump.c40 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/usr.bin/locate/locate/
H A Dfastfind.c51 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 Druserpass.c191 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/libpcap/
H A Detherent.c65 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/usr.bin/what/
H A Dwhat.c105 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/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c202 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/lib/libcompat/4.3/
H A Drexec.c101 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 Dquit.c111 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 Dedit.c108 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 Dspecial.c66 if (getc(fp1) == EOF) in c_special()
69 if (getc(fp2) == EOF) in c_special()
80 ch1 = getc(fp1); in c_special()
81 ch2 = getc(fp2); in c_special()
/freebsd/lib/libc/stdio/
H A DMakefile.inc14 fwrite.c getc.c getchar.c getdelim.c getline.c \
38 fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \
75 MLINKS+=getc.3 fgetc.3 \
76 getc.3 getc_unlocked.3 \
77 getc.3 getchar.3 \
78 getc.3 getchar_unlocked.3 \
79 getc.3 getw.3
H A Dgetc.c41 #undef getc
45 getc(FILE *fp) in getc() function
/freebsd/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c239 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 Dforward.c113 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 Dcons.c89 getc(int fn) in getc() function
112 if (ioctrl & IO_KEYBOARD && getc(1)) in xgetc()
113 return (fn ? 1 : getc(0)); in xgetc()
/freebsd/sys/gdb/
H A Dgdb.h60 #define GDB_DBGPORT(name, probe, init, term, getc, putc) \ argument
66 .gdb_getc = getc, \
/freebsd/contrib/diff/lib/
H A Dunlocked-io.h98 # undef getc
99 # define getc(x) getc_unlocked (x) macro
101 # define getc_unlocked(x) getc (x)
/freebsd/sys/dev/uart/
H A Duart_cpu.h47 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.bin/diff/
H A Ddiffreg.c751 c = getc(f1); in check()
752 d = getc(f2); in check()
799 c = getc(f1); in check()
803 d = getc(f2); in check()
823 if ((c = getc(f1)) != (d = getc(f2))) { in check()
975 if ((c = getc(f1)) == EOF) in output()
1172 printf("%c", getc(f1)); in change()
1261 printf("%c", getc(lb)); in fetch()
1299 c = getc(lb); in fetch()
1383 switch (t = getc(f)) { in readhash()
[all …]
/freebsd/stand/liblua/
H A Dlstd.h65 #define getc lua_loader_getc macro
77 int getc(FILE * stream);
/freebsd/usr.sbin/makefs/
H A Dmtree.c304 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/contrib/openpam/lib/libpam/
H A Dopenpam_readword.c63 while ((ch = getc(f)) != EOF) { in openpam_readword()
76 while ((ch = getc(f)) != EOF) in openpam_readword()
/freebsd/usr.bin/fortune/strfile/
H A Dstrfile.c397 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/include/
H A Dstdio.h267 int getc(FILE *);
504 #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) macro
507 #define getchar() getc(stdin)
/freebsd/contrib/file/tests/
H A Dtest.c58 for (c = getc(fp); c != EOF; c = getc(fp)) { in slurp()

12345678