Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/usr.bin/locate/locate/
H A Dfastfind.c58 p[c] = check_bigram_char(getc(fp));
59 s[c] = check_bigram_char(getc(fp));
65 for (c = getc(fp), count = 0; c != EOF; size++) {
73 for (p = path + count; (c = getc(fp)) > SWITCH; size++)
76 c = getc(fp);
165 p[c] = check_bigram_char(getc(fp));
166 s[c] = check_bigram_char(getc(fp));
202 c = getc(fp);
230 c = getc(fp);
247 c = getc(fp);
/freebsd-13.1/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-13.1/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-13.1/contrib/libpcap/
H A Detherent.c62 c = getc(f); in skip_space()
74 c = getc(f); in skip_line()
110 c = getc(fp); in pcap_next_etherent()
116 c = getc(fp); in pcap_next_etherent()
123 c = getc(fp); in pcap_next_etherent()
156 c = getc(fp); in pcap_next_etherent()
/freebsd-13.1/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-13.1/usr.bin/what/
H A Dwhat.c119 while ((c = getc(in)) != EOF) { in search()
122 if ((c = getc(in)) != '(') in search()
124 if ((c = getc(in)) != '#') in search()
126 if ((c = getc(in)) != ')') in search()
130 while ((c = getc(in)) != EOF && c && c != '"' && in search()
/freebsd-13.1/lib/libcompat/4.3/
H A Drexec.c105 while ((c = getc(cfile)) != EOF && in token()
112 while ((c = getc(cfile)) != EOF && c != '"') { in token()
114 c = getc(cfile); in token()
119 while ((c = getc(cfile)) != EOF in token()
122 c = getc(cfile); in token()
224 while ((c=getc(cfile)) != EOF &&
237 for (i=0; i < 8 && (c=getc(cfile)) != EOF &&
247 while ((c=getc(cfile)) != EOF && c != '\n');
261 if ((c=getc(cfile)) == EOF) {
/freebsd-13.1/usr.bin/mail/
H A Dquit.c119 while ((c = getc(fbuf)) != EOF) in quit()
124 c = getc(fbuf); in quit()
221 while ((c = getc(abuf)) != EOF) in quit()
268 c = getc(ibuf); in quit()
273 c = getc(ibuf); in quit()
312 while ((c = getc(rbuf)) != EOF) in quit()
351 while ((c = getc(res)) != EOF) in writeback()
365 while ((c = getc(res)) != EOF) in writeback()
444 while ((c = getc(ibuf)) != EOF) in edstop()
477 while ((c = getc(ibuf)) != EOF) in edstop()
H A Dedit.c116 while ((c = getc(fp)) != EOF) { in edit1()
159 while (--size >= 0 && (t = getc(fp)) != EOF) in run_editor()
162 while ((t = getc(fp)) != EOF) in run_editor()
/freebsd-13.1/usr.bin/cmp/
H A Dspecial.c73 if (getc(fp1) == EOF) in c_special()
76 if (getc(fp2) == EOF) in c_special()
80 ch1 = getc(fp1); in c_special()
81 ch2 = getc(fp2); in c_special()
/freebsd-13.1/lib/libc/stdio/
H A DMakefile.inc16 fwrite.c getc.c getchar.c getdelim.c getline.c \
40 fputws.3 fread.3 fseek.3 funopen.3 fwide.3 getc.3 \
65 MLINKS+=getc.3 fgetc.3 getc.3 getc_unlocked.3 getc.3 getchar.3 \
66 getc.3 getchar_unlocked.3 getc.3 getw.3
H A Dgetc.c47 #undef getc
51 getc(FILE *fp) in getc() function
/freebsd-13.1/contrib/ipfilter/tools/
H A Dlex_var.h23 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
41 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
50 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
/freebsd-13.1/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c241 pch = ch = getc(bpf); in getthefile()
243 pch = ch; ch = getc(bpf); in getthefile()
255 ch = getc(bpf); /* and a character */ in getthefile()
264 while (isspace(ch) && ch != '\n') ch = getc(bpf); in getthefile()
270 ch = getc(bpf); /* maybe on next line */ in getthefile()
347 pch = ch = getc(bpf); in checkhost()
349 pch = ch; ch = getc(bpf); in checkhost()
/freebsd-13.1/usr.bin/tail/
H A Dforward.c119 if ((ch = getc(fp)) == EOF) { in forward()
131 if ((ch = getc(fp)) == EOF) { in forward()
150 while (getc(fp) != EOF); in forward()
169 while (getc(fp) != EOF); in forward()
182 while ((ch = getc(fp)) != EOF) in forward()
248 while ((ch = getc(file->fp)) != EOF) { in show()
/freebsd-13.1/stand/i386/common/
H A Dcons.c92 getc(int fn) in getc() function
115 if (ioctrl & IO_KEYBOARD && getc(1)) in xgetc()
116 return (fn ? 1 : getc(0)); in xgetc()
/freebsd-13.1/sys/gdb/
H A Dgdb.h62 #define GDB_DBGPORT(name, probe, init, term, getc, putc) \ argument
68 .gdb_getc = getc, \
/freebsd-13.1/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-13.1/sys/dev/uart/
H A Duart_cpu.h49 int (*getc)(struct uart_bas *, struct mtx *); member
171 res = di->ops->getc(&di->bas, NULL); in uart_poll()
182 return (di->ops->getc(&di->bas, di->hwmtx)); in uart_getc()
/freebsd-13.1/usr.bin/diff/
H A Ddiffreg.c750 c = getc(f1); in check()
751 d = getc(f2); in check()
798 c = getc(f1); in check()
802 d = getc(f2); in check()
822 if ((c = getc(f1)) != (d = getc(f2))) { in check()
984 if ((c = getc(f1)) == EOF) in output()
1178 printf("%c", getc(f1)); in change()
1256 printf("%c", getc(lb)); in fetch()
1289 c = getc(lb); in fetch()
1375 switch (t = getc(f)) { in readhash()
[all …]
/freebsd-13.1/usr.sbin/makefs/
H A Dmtree.c307 c = getc(fp); in skip_over()
309 c = getc(fp); in skip_over()
322 c = getc(fp); in skip_to()
324 c = getc(fp); in skip_to()
348 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-13.1/contrib/openpam/lib/libpam/
H A Dopenpam_readword.c65 while ((ch = getc(f)) != EOF) { in openpam_readword()
78 while ((ch = getc(f)) != EOF) in openpam_readword()
/freebsd-13.1/usr.bin/fortune/strfile/
H A Dstrfile.c411 while (!isalnum(c1 = getc(Sort_1)) && c1 != '\0' && c1 != EOF) in cmp_str()
413 while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0' && c2 != EOF) in cmp_str()
427 c1 = getc(Sort_1); in cmp_str()
428 c2 = getc(Sort_2); in cmp_str()
/freebsd-13.1/contrib/file/tests/
H A Dtest.c56 for (c = getc(fp); c != EOF; c = getc(fp)) { in slurp()
/freebsd-13.1/include/
H A Dstdio.h270 int getc(FILE *);
505 #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) macro
508 #define getchar() getc(stdin)

12345678