Home
last modified time | relevance | path

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

12345678

/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/usr.bin/what/
H A Dwhat.c116 while ((c = getc(in)) != EOF) { in search()
119 if ((c = getc(in)) != '(') in search()
121 if ((c = getc(in)) != '#') in search()
123 if ((c = getc(in)) != ')') in search()
127 while ((c = getc(in)) != EOF && c && c != '"' && in search()
/freebsd-14.2/lib/libcompat/4.3/
H A Drexec.c103 while ((c = getc(cfile)) != EOF && in token()
110 while ((c = getc(cfile)) != EOF && c != '"') { in token()
112 c = getc(cfile); in token()
117 while ((c = getc(cfile)) != EOF in token()
120 c = getc(cfile); in token()
221 while ((c=getc(cfile)) != EOF && in ruserpass()
234 for (i=0; i < 8 && (c=getc(cfile)) != EOF && in ruserpass()
244 while ((c=getc(cfile)) != EOF && c != '\n'); in ruserpass()
258 if ((c=getc(cfile)) == EOF) { in ruserpass()
/freebsd-14.2/usr.bin/mail/
H A Dquit.c117 while ((c = getc(fbuf)) != EOF) in quit()
122 c = getc(fbuf); in quit()
219 while ((c = getc(abuf)) != EOF) in quit()
266 c = getc(ibuf); in quit()
271 c = getc(ibuf); in quit()
310 while ((c = getc(rbuf)) != EOF) in quit()
349 while ((c = getc(res)) != EOF) in writeback()
363 while ((c = getc(res)) != EOF) in writeback()
442 while ((c = getc(ibuf)) != EOF) in edstop()
475 while ((c = getc(ibuf)) != EOF) in edstop()
H A Dedit.c114 while ((c = getc(fp)) != EOF) { in edit1()
157 while (--size >= 0 && (t = getc(fp)) != EOF) in run_editor()
160 while ((t = getc(fp)) != EOF) in run_editor()
/freebsd-14.2/usr.bin/cmp/
H A Dspecial.c74 if (getc(fp1) == EOF) in c_special()
77 if (getc(fp2) == EOF) in c_special()
88 ch1 = getc(fp1); in c_special()
89 ch2 = getc(fp2); in c_special()
/freebsd-14.2/lib/libc/stdio/
H A DMakefile.inc15 fwrite.c getc.c getchar.c getdelim.c getline.c \
39 fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \
64 MLINKS+=getc.3 fgetc.3 getc.3 getc_unlocked.3 getc.3 getchar.3 \
65 getc.3 getchar_unlocked.3 getc.3 getw.3
H A Dgetc.c44 #undef getc
48 getc(FILE *fp) in getc() function
/freebsd-14.2/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-14.2/usr.bin/tail/
H A Dforward.c116 if ((ch = getc(fp)) == EOF) { in forward()
128 if ((ch = getc(fp)) == EOF) { in forward()
147 while (getc(fp) != EOF); in forward()
166 while (getc(fp) != EOF); in forward()
179 while ((ch = getc(fp)) != EOF) in forward()
245 while ((ch = getc(file->fp)) != EOF) { in show()
/freebsd-14.2/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-14.2/sys/gdb/
H A Dgdb.h60 #define GDB_DBGPORT(name, probe, init, term, getc, putc) \ argument
66 .gdb_getc = getc, \
/freebsd-14.2/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-14.2/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-14.2/usr.bin/diff/
H A Ddiffreg.c729 c = getc(f1); in check()
730 d = getc(f2); in check()
777 c = getc(f1); in check()
781 d = getc(f2); in check()
801 if ((c = getc(f1)) != (d = getc(f2))) { in check()
953 if ((c = getc(f1)) == EOF) in output()
1150 printf("%c", getc(f1)); in change()
1238 printf("%c", getc(lb)); in fetch()
1276 c = getc(lb); in fetch()
1356 switch (t = getc(f)) { in readhash()
[all …]
/freebsd-14.2/stand/liblua/
H A Dlstd.h65 #define getc lua_loader_getc macro
77 int getc(FILE * stream);
/freebsd-14.2/usr.sbin/makefs/
H A Dmtree.c305 c = getc(fp); in skip_over()
307 c = getc(fp); in skip_over()
320 c = getc(fp); in skip_to()
322 c = getc(fp); in skip_to()
346 c = getc(fp); in read_word()
818 (void)getc(fp); in read_mtree_command()
1026 (void)getc(fp); in read_mtree_spec()
1075 c = getc(fp); in read_mtree()
1088 (void)getc(fp); in read_mtree()
/freebsd-14.2/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-14.2/usr.bin/fortune/strfile/
H A Dstrfile.c409 while (!isalnum(c1 = getc(Sort_1)) && c1 != '\0' && c1 != EOF) in cmp_str()
411 while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0' && c2 != EOF) in cmp_str()
425 c1 = getc(Sort_1); in cmp_str()
426 c2 = getc(Sort_2); in cmp_str()
/freebsd-14.2/include/
H A Dstdio.h269 int getc(FILE *);
504 #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) macro
507 #define getchar() getc(stdin)
/freebsd-14.2/contrib/file/tests/
H A Dtest.c58 for (c = getc(fp); c != EOF; c = getc(fp)) { in slurp()

12345678