Home
last modified time | relevance | path

Searched refs:yyin (Results 1 – 12 of 12) sorted by relevance

/external/selinux/checkpolicy/
Dparse_util.c25 extern FILE *yyin;
38 yyin = fopen(file, "r"); in read_source_policy()
39 if (!yyin) { in read_source_policy()
60 rewind(yyin); in read_source_policy()
63 yyrestart(yyin); in read_source_policy()
75 fclose(yyin); in read_source_policy()
/external/bison/examples/calc++/
Dcalc++-scanner.cc181 #define YY_NEW_FILE yyrestart(yyin )
210 extern FILE *yyin, *yyout;
389 yy_create_buffer(yyin,YY_BUF_SIZE ); \
399 yy_create_buffer(yyin,YY_BUF_SIZE ); \
416 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; variable
703 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
707 if ( c == EOF && ferror( yyin ) ) \
714 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
722 clearerr(yyin); \
826 if ( ! yyin )
[all …]
Dcalc++-scanner.ll75 yyin = stdin;
76 else if (!(yyin = fopen (file.c_str (), "r")))
88 fclose (yyin);
/external/mdnsresponder/mDNSShared/
Ddnsextd_parser.y399 extern FILE * yyin; in ParseConfig()
445 yyin = fopen( file, "r" ); in ParseConfig()
446 require_action( yyin, exit, err = 0 ); in ParseConfig()
/external/bison/src/
Dscan-gram.l56 #define YY_INPUT(buf, result, size) ((result) = no_cr_read (yyin, buf, size))
Dscan-skel.c20 #define yyin skel_in macro
Dscan-gram.c20 #define yyin gram_in macro
Dscan-code.c20 #define yyin code_in macro
/external/libpcap/
Dscanner.c19 #define yyin pcap_in macro
/external/bison/doc/
Dbison.texi10482 yyin = stdin;
10483 else if (!(yyin = fopen (file.c_str (), "r")))
10495 fclose (yyin);
11172 yyin = fopen (file, "r");
11173 if (!yyin)
11182 if (fclose (yyin) != 0)
11221 Therefore, whenever you change @code{yyin}, you must tell the
11225 @samp{YY_FLUSH_BUFFER} after each change to @code{yyin}. If your
12328 @c LocalWords: hbox hss hfill tt ly yyin fopen fclose ofirst gcc ll lookahead
Dbison.info9795 yyin = stdin;
9796 else if (!(yyin = fopen (file.c_str (), "r")))
9806 fclose (yyin);
10402 yyin = fopen (file, "r");
10403 if (!yyin)
10410 if (fclose (yyin) != 0)
10439 Therefore, whenever you change `yyin', you must tell the
10443 `YY_FLUSH_BUFFER' after each change to `yyin'. If your Flex-generated
/external/bison/
DChangeLog-201221393 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
22962 * tests/calc.m4 (yyin): Be initialized in main, not on the global