Home
last modified time | relevance | path

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

/external/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/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglcpp-lex.c130 #define yyin yyg->yyin_r macro
156 #define YY_NEW_FILE glcpp_restart(yyin ,yyscanner )
318 glcpp__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
328 glcpp__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
798 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
802 if ( c == EOF && ferror( yyin ) ) \
809 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
817 clearerr(yyin); \
916 if ( ! yyin )
917 yyin = stdin;
[all …]
Dglsl_lexer.cc130 #define yyin yyg->yyin_r macro
156 #define YY_NEW_FILE _mesa_glsl_restart(yyin ,yyscanner )
318 _mesa_glsl__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
328 _mesa_glsl__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
1299 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1303 if ( c == EOF && ferror( yyin ) ) \
1310 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1318 clearerr(yyin); \
1405 if ( ! yyin )
1406 yyin = stdin;
[all …]
Dlex.yy.c130 #define yyin yyg->yyin_r macro
156 #define YY_NEW_FILE _mesa_program_restart(yyin ,yyscanner )
318 _mesa_program__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
328 _mesa_program__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
1340 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1344 if ( c == EOF && ferror( yyin ) ) \
1351 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1359 clearerr(yyin); \
1443 if ( ! yyin )
1444 yyin = stdin;
[all …]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DTokenizer.cpp140 #define yyin yyg->yyin_r macro
166 #define YY_NEW_FILE pprestart(yyin ,yyscanner )
325 pp_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
335 pp_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
734 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
738 if ( c == EOF && ferror( yyin ) ) \
745 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
753 clearerr(yyin); \
834 if ( ! yyin )
835 yyin = stdin;
[all …]
D64bit-tokenizer-safety.patch89 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dparse-events-flex.c129 #define yyin yyg->yyin_r macro
155 #define YY_NEW_FILE parse_events_restart(yyin ,yyscanner )
317 parse_events__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
327 parse_events__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
1265 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1269 if ( c == EOF && ferror( yyin ) ) \
1276 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1284 clearerr(yyin); \
1384 if ( ! yyin )
1385 yyin = stdin;
[all …]
Dparse-events-flex.h122 #define yyin yyg->yyin_r macro
Dpmu-flex.c15 #define yyin perf_pmu_in macro
/external/chromium_org/third_party/angle/src/compiler/translator/
Dglslang_lex.cpp152 #define yyin yyg->yyin_r macro
178 #define YY_NEW_FILE yyrestart(yyin ,yyscanner )
350 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
360 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
1176 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1180 if ( c == EOF && ferror( yyin ) ) \
1187 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1195 clearerr(yyin); \
1276 if ( ! yyin )
1277 yyin = stdin;
[all …]
D64bit-lexer-safety.patch98 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
/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/elfutils/0.153/libcpu/
Di386_lex.c15 #define yyin i386_in macro
/external/elfutils/0.153/src/
Dldlex.c16 #define yyin ldin macro
/external/libpcap/
Dscanner.c16 #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