Home
last modified time | relevance | path

Searched refs:yyin (Results 1 – 23 of 23) 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/mesa3d/src/glsl/glcpp/
Dglcpp-lex.c129 #define yyin yyg->yyin_r macro
155 #define YY_NEW_FILE glcpp_restart(yyin ,yyscanner )
309 glcpp__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
319 glcpp__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
867 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
871 if ( c == EOF && ferror( yyin ) ) \
878 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
886 clearerr(yyin); \
980 if ( ! yyin )
981 yyin = stdin;
[all …]
/external/webkit/Tools/android/flex-2.5.4a/
Dinitscan.c93 #define YY_NEW_FILE yyrestart( yyin )
103 extern FILE *yyin, *yyout;
252 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
259 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
266 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; variable
1424 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1428 if ( c == EOF && ferror( yyin ) ) \
1432 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1433 && ferror( yyin ) ) \
1510 if ( ! yyin )
[all …]
Dflex.skl97 #define YY_NEW_FILE yyrestart( yyin )
108 extern FILE *yyin, *yyout;
207 * just pointing yyin at a new input file.
238 * instead of setting up a fresh yyin. A bit of a hack ...
266 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
273 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
279 %% yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here
468 if ( ! yyin )
470 yyin = stdin;
472 yyin = &cin;
[all …]
Dscan.l674 yyin = fopen( infilename, "r" );
676 if ( yyin == NULL )
682 yyin = stdin;
DFlexLexer.h143 istream* yyin; // input source for default LexerInput variable
DNEWS47 statically initialize yyin and yyout to stdin and stdout.
173 stdinit if unset ("%option nostdinit"), initialize yyin
377 reassigns yyin to new_in (if non-nil) and yyout to new_out
378 (ditto), deleting the previous input buffer if yyin is
498 to not need yyin.
595 - Fixed bug in pointing yyin at a new file and resuming scanning.
752 point yyin at the new file and continue scanning.
755 to indicate you wish to continue scanning. Simply point yyin
797 - You can use "yyrestart(yyin)" to throw away the
984 - flex initializes the global "yyin" on the first call to the
[all …]
Dflexdef.h431 extern FILE *skelfile, *yyin, *backing_up_file;
/external/webkit/Tools/android/flex-2.5.4a/MISC/MVS/
Dinitscan-mvs.c91 if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
142 yyinbffr( yy_current_buffer, yyin ); \
329 extern FILE *yyin, *yyout;
334 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; variable
1301 if ( ! yyin )
1302 yyin = stdin;
1308 yyinbffr( yy_current_buffer, yyin );
1310 yy_current_buffer = yycrbffr( yyin, YY_BUF_SIZE );
2552 yyin = yy_current_buffer->yy_input_file; in yyldbfst()
2661 yyin = fopen( infilnam, "r" );
[all …]
/external/mesa3d/src/glsl/
Dglsl_lexer.cpp129 #define yyin yyg->yyin_r macro
155 #define YY_NEW_FILE _mesa_glsl_restart(yyin ,yyscanner )
309 _mesa_glsl__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
319 _mesa_glsl__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
1206 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1210 if ( c == EOF && ferror( yyin ) ) \
1217 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
1225 clearerr(yyin); \
1312 if ( ! yyin )
1313 yyin = stdin;
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
Dglslang_lex.cpp138 #define yyin yyg->yyin_r macro
164 #define YY_NEW_FILE yyrestart(yyin ,yyscanner )
331 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
341 yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
925 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
929 if ( c == EOF && ferror( yyin ) ) \
936 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
944 clearerr(yyin); \
1025 if ( ! yyin )
1026 yyin = stdin;
[all …]
/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/webkit/Tools/android/flex-2.5.4a/MISC/texinfo/
Dflex.info273 yyin = fopen( argv[0], "r" );
275 yyin = stdin;
883 file `yyin' (which defaults to stdin). It continues until it either
888 unless either `yyin' is pointed at a new input file (in which case
891 if you've set up `YY_INPUT' to scan from a source other than `yyin'),
892 and initializes `yyin' for scanning from that file. Essentially there
893 is no difference between just assigning `yyin' to a new input file or
898 `yyin'; but better is to use `YY_FLUSH_BUFFER' (see above). Note that
908 `yyin'. The nature of how it gets its input can be controlled by
914 reads from the global file-pointer "yyin".
[all …]
Dflex.texi358 yyin = fopen( argv[0], "r" );
360 yyin = stdin;
1068 global input file @code{yyin} (which defaults to stdin). It
1074 unless either @code{yyin} is pointed at a new input file (in which case
1078 other than @code{yyin}), and initializes @code{yyin} for scanning from
1080 @code{yyin} to a new input file or using @samp{yyrestart()} to do so;
1084 input buffer, by calling it with an argument of @code{yyin}; but
1096 characters from @code{yyin}. The nature of how it gets its input
1104 the global file-pointer "yyin".
1125 function has gone ahead and set up @code{yyin} to point to
[all …]
/external/webkit/Tools/android/flex-2.5.4a/MISC/
Dflex.man235 yyin = fopen( argv[0], "r" );
237 yyin = stdin;
1004 input file yyin (which defaults to stdin). It continues
1010 undefined unless either yyin is pointed at a new input file
1014 from a source other than yyin), and initializes yyin for
1016 between just assigning yyin to a new input file or using
1021 calling it with an argument of yyin; but better is to use
1032 characters from yyin. The nature of how it gets its input
1040 file-pointer "yyin".
1073 has gone ahead and set up yyin to point to another input
[all …]
/external/webkit/Tools/android/flex-2.5.4a/MISC/Atari/
DAtari.patches208 X! if ( (result = read( fileno(yyin), buf, max_size )) < 0 ) \
216 X! if ( (result = fread( buf,1, max_size, yyin )) < 0 ) \
323 X extern FILE *skelfile, *yyin, *temp_action_file, *backtrack_file;
331 X extern FILE *skelfile, *yyin, *temp_action_file, *backtrack_file;
/external/webkit/Tools/android/flex-2.5.4a/MISC/Borland.old/
DBorland-2.4144 "%% yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here",
/external/bison/src/
Dscan-gram.l75 #define YY_INPUT(buf, result, size) ((result) = no_cr_read (yyin, buf, size))
/external/elfutils/libcpu/
Di386_lex.c15 #define yyin i386_in macro
/external/elfutils/src/
Dldlex.c16 #define yyin ldin macro
/external/bison/doc/
Dbison.texinfo7686 if (!(yyin = fopen (file.c_str (), "r")))
7693 fclose (yyin);
7798 yyin = fopen (file, "r");
7799 if (!yyin)
7803 if (fclose (yyin) != 0)
7836 Therefore, whenever you change @code{yyin}, you must tell the
7840 @samp{YY_FLUSH_BUFFER} after each change to @code{yyin}. If your
8713 @c LocalWords: hbox hss hfill tt ly yyin fopen fclose ofirst gcc ll
Dbison.info7018 if (!(yyin = fopen (file.c_str (), "r")))
7025 fclose (yyin);
7126 yyin = fopen (file, "r");
7127 if (!yyin)
7131 if (fclose (yyin) != 0)
7158 Therefore, whenever you change `yyin', you must tell the
7162 `YY_FLUSH_BUFFER' after each change to `yyin'. If your Flex-generated
/external/bison/
DChangeLog13132 (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'.
14701 * tests/calc.m4 (yyin): Be initialized in main, not on the global