Searched refs:yyin (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_lex.h38 extern FILE *yyin;
H A Dinj_grammar.y367 yyin = stdin;
370 if ((yyin = fopen(file, "r")) == NULL)
383 if (yyin != stdin)
384 (void) fclose(yyin);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dlex_var.h16 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
20 if ( c == EOF && ferror( yyin ) ) \
25 else if ( ((result = fread( buf, 1, 1, yyin )) == 0) \
26 && ferror( yyin ) ) \
34 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
43 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
H A Dlexer.h30 extern FILE *yyin;
H A Dlexer.c29 FILE *yyin; variable
83 c = fgetc(yyin);
85 c = fgetc(yyin);
88 c = fgetc(yyin);
670 yyin = stdin;
H A Dippool_y.y49 extern FILE *yyin;
482 yyin = fp;
H A Dipmon_y.y20 extern FILE *yyin;
695 yyin = fp;
H A Dipnat_y.y58 extern FILE *yyin;
898 yyin = fp;
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c79 yyin = NULL;
181 if (yyin == NULL) {
184 yyin = (strcmp((char *)pfile[curpfile], "-") == 0) ?
186 if (yyin == NULL) {
191 if ((c = getc(yyin)) != EOF)
193 (void) fclose(yyin);
194 yyin = NULL;
H A Dawk.h325 extern FILE *yyin;
/illumos-gate/usr/src/lib/krb5/ss/
H A Dmk_cmds.c32 extern FILE *yyin, *yyout;
62 yyin = fopen(path, "rF");
63 if (!yyin) {
92 fclose(yyin); /* bye bye input file */
/illumos-gate/usr/src/cmd/genmsg/
H A Dmain.c58 extern FILE *yyin; /* from lex */
238 if ((yyin = popen(cmd, "r")) == NULL) {
246 if ((yyin = fopen(srcfile, "r")) == NULL) {
257 if (pclose(yyin) != 0) {
266 (void) fclose(yyin);
306 (void) fclose(yyin);
314 (void) fclose(yyin);
322 if ((yyin = fopen(srcfile, "r")) == NULL) {
330 rewind(yyin);
341 (void) fclose(yyin);
[all...]
/illumos-gate/usr/src/cmd/oawk/
H A Dmain.c47 extern FILE *yyin; /* lex input file */
108 yyin = (wscmp(wargv[1], L_dash) == 0)
111 if (yyin == NULL)
125 yyin = NULL;
H A Dawk.lx.l225 else if (yyin == NULL)
228 c = getwc(yyin);
/illumos-gate/usr/src/tools/cscope-fast/
H A Dscanner.l46 *--yysptr : getc(yyin)) == '/' ? comment() : yytchar) == \
49 ((yytchar = yysptr > yysbuf ? *--yysptr : getc(yyin)) == \
827 if ((c = getc(yyin)) == '*') { /* C comment */
829 while ((c = getc(yyin)) != EOF &&
837 if ((c = getc(yyin)) == '_' || isalnum(c)) {
838 (void) ungetc(c, yyin);
843 while ((c = getc(yyin)) != EOF && c != '\n') {
848 (void) ungetc(c, yyin);
H A Dcrossref.c87 if ((yyin = vpfopen(srcfile, FREAD)) == NULL) {
152 (void) fclose(yyin); /* close the source file */
H A Dglobal.h171 extern FILE *yyin; /* input file descriptor */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.h175 extern FILE *yyin;
H A Dnwamcfg.c924 yyin = stdin;
934 if ((yyin = tmpfile()) == NULL)
936 if (fwrite(string, strlen(string), 1, yyin) != 1)
938 if (fseek(yyin, 0, SEEK_SET) != 0)
957 boolean_t yyin_is_a_tty = isatty(fileno(yyin));
966 /* yyin should have been set to the appropriate (FILE *) if not stdin */
1006 while (!feof(yyin)) {
1024 if (time_to_exit || (!yyin_is_a_tty && feof(yyin)))
4176 while (!feof(yyin)) {
4198 yyin
[all...]
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dreject.c102 extern FILE *yyout, *yyin;
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmain.c142 extern FILE *yyin;
285 if ((yyin = fopen(rdb_commands, "r")) == NULL) {
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c159 extern FILE *yyin;
216 yyin = fp;
225 yyin = stdin;
227 yyin = fopen(file, "r");
228 if (NULL == yyin) {
236 if (stdin != yyin) {
237 (void) fclose(yyin);
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.h231 extern FILE *yyin;
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y132 extern FILE *yyin;
1191 * yyin to the value returned by tmpfile. Write the command into the file.
1198 if ((yyin = tmpfile()) == NULL)
1200 if (fwrite(command, strlen(command), 1, yyin) != 1)
1202 if (fseek(yyin, 0, SEEK_SET) != 0)
1210 * instructions from this location by setting yyin to the value returned by
1219 if ((yyin = fopen(file, "r")) == NULL) {
1463 if (yyin != stdin)
1464 (void) fclose(yyin);
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_yacc.y771 extern FILE *yyin;
782 yyin = stdin;

Completed in 1663 milliseconds

12