Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Desclex.c351 switch (c = getc(Fp)) { in yylex()
357 while ((c = getc(Fp)) != EOF && in yylex()
369 while ((c = getc(Fp)) != EOF && isalnum(c)) in yylex()
375 while ((c = getc(Fp)) != EOF && in yylex()
386 while ((c = getc(Fp)) != EOF && in yylex()
403 } while ((c = getc(Fp)) != EOF); in yylex()
406 c = getc(Fp); in yylex()
410 while ((c = getc(Fp)) != EOF && c != '"') in yylex()
420 while ((c = getc(Fp)) != EOF && c != '\n' && c != '\r') in yylex()
447 if ((nextc = getc(Fp)) == EOF) in yylex()
[all …]
/illumos-gate/usr/src/cmd/regcmp/
H A Dregcmp.c106 while (((c = getc(iobuf)) == '\n') || in main()
113 while (((*name++ = c = getc(iobuf)) != ' ') && in main()
117 while (((c = getc(iobuf)) == ' ') || (c == '\n')) in main()
131 while ((c = getc(iobuf)) != '\n') in main()
136 while (gotflg || (c = getc(iobuf)) != EOF) { in main()
142 switch (c = getc(iobuf)) { in main()
174 while (((c = getc(iobuf)) == '\n') || (c == ' ')) in main()
223 while (++k < 4 && (c = getc(iobuf)) >= '0' && c <= '7') in getnm()
226 c = getc(iobuf); in getnm()
/illumos-gate/usr/src/cmd/soelim/
H A Dsoelim.c73 c = getc(soee);
78 c = getc(soee);
83 c = getc(soee);
89 c = getc(soee);
104 c = getc(soee);
124 c = getc(soee);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c104 while ((c = getc(f)) != EOF) {
114 n = getc(f);
115 n = (n << 8) + getc(f);
119 c = getc(f);
254 while ((c = getc(f)) != EOF) {
263 n = getc(f);
264 n = (n << 8) + getc(f);
267 c = getc(f);
494 t = getc(f);
495 t = (t << 8) + getc(f);
[all …]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dta.c237 while ((c = getc(fp)) != EOF) { in conv()
252 hmot((c-'0')*10 + getc(fp)-'0'); in conv()
253 put1(getc(fp)); in conv()
256 put1(getc(fp)); in conv()
303 while ((c = getc(fp)) == ' ') in conv()
308 } while (isdigit(c = getc(fp))); in conv()
314 while ((c = getc(fp)) == ' ') in conv()
319 } while (isdigit(c = getc(fp))); in conv()
339 while (getc(fp) != '\n') in conv()
344 while (getc(fp) != '\n') in conv()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dgetc.c28 NoN(getc)
32 #undef getc
35 getc(Sfio_t* f)
/illumos-gate/usr/src/cmd/refer/
H A Drefer7.c65 while ((c = getc(fi)) > 0) { in dumpold()
76 while ((c = getc(fi)) != FLAG) in dumpold()
115 while ((c = getc(ftemp)) != EOF) { in recopy()
119 while ((c = getc(ftemp)) != FLAG) in recopy()
137 if ((c = getc(ftemp)) == AFLAG) in recopy()
/illumos-gate/usr/src/cmd/mailx/
H A Dquit.c185 while ((c = getc(fbuf)) != EOF) in quit()
236 c = getc(ibuf); in quit()
241 c = getc(ibuf); in quit()
312 while ((c = getc(fbuf)) != EOF) in writeback()
317 c = getc(fbuf); in writeback()
338 while ((c = getc(rbuf)) != EOF) in writeback()
354 while ((c = getc(rbuf)) != EOF) in writeback()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y199 switch (c = getc(fin)) { in yylex()
204 while ((c = getc(fin)) != EOF && c != '\n') in yylex()
228 if ((c = getc(fin)) == '>') in yylex()
242 c = getc(fin); in yylex()
246 if ((c = getc(fin)) == EOF) { in yylex()
264 if ((c = getc(fin)) == ':') in yylex()
277 if ((c = getc(fin)) != EOF) { in yylex()
286 c = getc(fin); in yylex()
/illumos-gate/usr/src/cmd/loadkeys/
H A Dloadkeys.y750 while ((c = getc(infile)) == ' ' || c == '\t') in yylex()
756 while ((c = getc(infile)) != EOF && c != '\n') in yylex()
771 if ((c = getc(infile)) == EOF) in yylex()
791 if ((c = getc(infile)) == EOF || c == '\n') in yylex()
801 if ((c = getc(infile)) == EOF) in yylex()
816 } while ((c = getc(infile)) != EOF && c != '\n' && in yylex()
838 if ((c = getc(infile)) == EOF) in yylex()
848 if ((c = getc(infile)) == EOF) in yylex()
862 } while ((c = getc(infile)) != EOF && (isalnum(c) || c == '_')); in yylex()
913 if ((c = getc(stream)) == EOF || c == '\n')
[all …]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c249 while ((c = getc(d->cfile)) != EOF && in token()
256 while ((c = getc(d->cfile)) != EOF && c != '"') { in token()
258 c = getc(d->cfile); in token()
263 while ((c = getc(d->cfile)) != EOF && in token()
266 c = getc(d->cfile); in token()
/illumos-gate/usr/src/head/iso/
H A Dstdio_iso.h227 extern int getc(FILE *);
279 inline int getc(FILE *_p) { in getc() function
286 #define getc(p) (--(p)->_cnt < 0 ? __filbuf(p) : (int)*(p)->_ptr++) macro
297 inline int getchar() { return getc(stdin); } in getchar()
301 #define getchar() getc(stdin)
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dlex_var.h16 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
34 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
43 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
/illumos-gate/usr/src/lib/libmail/common/
H A Ds_string.c222 c = getc(fp); in s_seq_read()
230 while ((c = getc(fp)) != '\n' && c != EOF) in s_seq_read()
252 c = getc(fp); in s_seq_read()
275 c = getc(fp); in s_seq_read()
323 if (feof(fp) || (c = getc(fp)) == EOF) in s_read_line()
341 c = getc(fp); in s_read_line()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfgetc.c39 #undef getc /* call the getc function not the macro */
44 return (getc(iop)); in fgetc()
H A Dgetc.c42 #undef getc
46 getc(FILE *iop) in getc() function
/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c90 getc(int fn) in getc() function
113 if (ioctrl & IO_KEYBOARD && getc(1)) in xgetc()
114 return (fn ? 1 : getc(0)); in xgetc()
/illumos-gate/usr/src/cmd/look/
H A Dlook.c91 c = getc(dfile); in main()
162 c = getc(dfile); in getword()
170 c = getc(dfile); in getword()
/illumos-gate/usr/src/cmd/tail/
H A Dforward.c112 if ((ch = getc(fp)) == EOF) { in forward()
124 if ((ch = getc(fp)) == EOF) { in forward()
143 while (getc(fp) != EOF) in forward()
163 while (getc(fp) != EOF) in forward()
177 while ((ch = getc(fp)) != EOF) in forward()
243 while ((ch = getc(file->fp)) != EOF) { in show()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c174 while ((c = getc(cfile)) != EOF && c == ' ' || in rnetrc()
187 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in rnetrc()
199 while ((c = getc(cfile)) != EOF && c != '\n'); in rnetrc()
215 if ((c = getc(cfile)) == EOF) { in rnetrc()
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c490 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
494 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
500 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
503 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
509 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
512 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()
539 while ((c = getc(fp)) != EOF) in dst_s_read_public_key()
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.c78 while ((c = getc(fp)) != EOF) {
85 if (getc(fp) == EOF)
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c164 while ((ch = getc(fp)) != EOF) { in find_eol()
202 while ((ch = getc(fp)) == ' ' || ch == '\t') in lex()
238 while ((ch = getc(fp)) == ' ' || in lex()
257 while (!badquote && (ch = getc(fp)) != '"') { in lex()
275 ch = (char)getc(fp); in lex()
285 ch = (char)getc(fp); in lex()
322 *cp++ = (char)(ch = getc(fp)); in lex()
335 *cp++ = (char)(ch = getc(fp)); in lex()
341 if ((ch = getc(fp)) == 'x') { in lex()
347 ch = getc(fp); in lex()
[all …]
/illumos-gate/usr/src/ucbhead/
H A Dstdio.h189 extern int getc(FILE *);
233 #define getc(p) (--(p)->_cnt < 0 ? __filbuf(p) : (int)*(p)->_ptr++) macro
244 #define getchar() getc(stdin)
/illumos-gate/usr/src/cmd/vi/misc/
H A Dctags.c472 *sp = c = getc(inf); in C_entries()
479 c = *++sp = getc(inf); in C_entries()
487 while ((*++sp = c = getc(inf)) == '*') in C_entries()
521 *++sp = c = getc(inf); in C_entries()
532 c = getc(inf); in C_entries()
639 if ((*++sp = getc(inf)) == ':') { in C_entries()
708 *++sp = c = getc(inf);
767 while ((*++sp = c = getc(inf)) != ')') {
786 while (iswhite(*++sp = c = getc(inf)))
1309 while ((c = getc(inf)) != EOF)

12345678