Home
last modified time | relevance | path

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

12

/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/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/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/
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/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/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/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-code.c20 #define yyin code_in macro
Dscan-gram.c20 #define yyin gram_in macro
/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/elfutils/libcpu/
Di386_lex.c15 #define yyin i386_in macro
/external/elfutils/src/
Dldlex.c16 #define yyin ldin 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

12