Home
last modified time | relevance | path

Searched refs:yytext (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/MVS/
Dinitscan-mvs.c85 #define ECHO (void) fwrite( (char *) yytext, yyleng, 1, yyout )
204 #define ACTION_ECHO fprintf( tmpactfl, "%s", yytext )
212 yylval = yytext[0]; \
216 (void) strcpy( nmstr, (char *) yytext ); \
257 yytext = yy_bp; \
278 #define unput(c) yyunput( c, yytext )
327 extern YY_CHAR *yytext;
331 YY_CHAR *yytext; variable
1433 linenum, yytext );
1468 (void) strcpy( nmstr, (char *) yytext );
[all …]
Ddiffs743 #define ACTION_ECHO fprintf( temp_action_file, "%s", yytext )
757 #define ACTION_ECHO fprintf( temp_action_file, "%s", yytext )
/external/bluetooth/bluez/tools/
Dlexer.l77 yylval.number = atoi(yytext);
82 yylval.string = yytext;
88 str2ba(yytext, ba);
94 int keyword = rfcomm_find_keyword(rfcomm_keyword, yytext);
98 if (strncmp(yytext, "rfcomm", 6) == 0) {
99 yylval.number = atoi(yytext + 6);
103 yylval.string = yytext;
112 return *yytext;
Dlexer.c336 extern char *yytext;
337 #define yytext_ptr yytext
459 char *yytext; variable
567 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
767 yylval.number = atoi(yytext);
775 yylval.string = yytext;
784 str2ba(yytext, ba);
793 int keyword = rfcomm_find_keyword(rfcomm_keyword, yytext);
797 if (strncmp(yytext, "rfcomm", 6) == 0) {
798 yylval.number = atoi(yytext + 6);
[all …]
/external/webkit/WebKitTools/android/flex-2.5.4a/
Dscan.l35 #define ACTION_ECHO add_action( yytext )
48 yylval = (unsigned char) yytext[0]; \
52 strcpy( nmstr, yytext ); \
139 strcpy( nmstr, yytext );
159 [[:digit:]]+ linenum = myctoi( yytext );
280 strcpy( nmstr, yytext + 1 );
287 yytext );
404 strcpy( nmstr, yytext );
439 strcpy( nmstr, yytext + 1 );
469 [/|*+?.(){}] return (unsigned char) yytext[0];
[all …]
Dinitscan.c268 extern char *yytext;
269 #define yytext_ptr yytext
1242 char *yytext; variable
1278 #define ACTION_ECHO add_action( yytext )
1291 yylval = (unsigned char) yytext[0]; \
1295 strcpy( nmstr, yytext ); \
1412 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1477 (yytext[yyleng - 1] == '\n'); \
1668 strcpy( nmstr, yytext );
1720 linenum = myctoi( yytext );
[all …]
Dyylex.c42 extern char *yytext; in yylex()
183 fprintf( stderr, "%s ", yytext ); in yylex()
200 fprintf( stderr, "%s", yytext ); in yylex()
DFlexLexer.h58 const char* YYText() { return yytext; } in YYText()
88 char* yytext;
Dflex.skl134 /* Undo effects of setting up yytext. */ \
138 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
224 /* yy_hold_char holds the character lost when yytext is formed. */
279 %% yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here
289 * corresponding action - sets up yytext.
293 %% code to fiddle yytext and yyleng for yymore() goes here
296 %% code to copy yytext_ptr to yytext[] goes here, if %array
384 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
386 #define ECHO LexerOutput( yytext, yyleng )
435 /* Code executed at the beginning of each rule, after yytext and yyleng
[all …]
DNEWS420 - input() no longer trashes yytext.
593 with incorrect yytext/yyleng values).
663 particular, -l includes support for "yylineno" and makes yytext
696 the scanner specification. The former specifies that yytext
698 be a pointer. The array version of yytext is universally slower
701 version of yytext is, still, trashed by such calls).
781 - You may modify yytext but not lengthen it by appending
1193 - yytext and yyleng should not be modified within a flex action.
/external/bison/src/
Dscan-gram.l72 #define YY_USER_ACTION adjust_location (loc, yytext, yyleng);
97 obstack_grow (&obstack_for_string, yytext, yyleng)
209 handle_syncline (yytext + sizeof "#line " - 1, *loc);
261 complain_at (*loc, _("invalid directive: %s"), quote (yytext));
269 val->symbol = symbol_get (yytext, *loc);
276 val->integer = scan_integer (yytext, 10, *loc);
280 val->integer = scan_integer (yytext, 16, *loc);
306 obstack_grow (&obstack_for_string, yytext + 1, yyleng - 2);
321 complain_at (*loc, _("invalid character: %s"), quote (yytext));
344 scanner_cursor.column -= mbsnwidth (yytext, yyleng, 0);
[all …]
Dscan-skel.l71 char const *file_name = yytext + sizeof "@output " - 1;
72 yytext[yyleng - 1] = '\0';
85 fatal ("invalid token in skeleton: %s", yytext);
108 @[^{}@\n]* fatal ("invalid @ in skeleton: %s", yytext);
/external/libpcap/
Dscanner.l192 bpf_error("%s not supported", yytext);
199 bpf_error("%s not supported", yytext);
242 bpf_error("%s not supported", yytext);
301 [+\-*/:\[\]!<>()&|=] return yytext[0];
308 ${B} { yylval.e = pcap_ether_aton(((char *)yytext)+1);
310 {N} { yylval.i = stoi((char *)yytext); return NUM; }
312 yylval.s = sdup((char *)yytext); return HID; }
313 {B}:{B}:{B}:{B}:{B}:{B} { yylval.e = pcap_ether_aton((char *)yytext);
321 if (getaddrinfo(yytext, NULL, &hints, &res))
322 bpf_error("bogus IPv6 address %s", yytext);
[all …]
/external/iproute2/tc/
Demp_ematch.l94 sscanf(yytext + 1, "%o", &res);
111 sscanf(yytext + 2, "%x", &res);
129 <str>\\(.|\n) strbuf_append_char(yytext[1]);
130 <str>[^\\\n\"]+ strbuf_append_charp(yytext);
137 return yylval.i = *yytext;
140 yylval.b = bstr_alloc(yytext);
/external/elfutils/src/
Dldlex.l142 ldlval.num |= attrib_convert (yytext[cnt++]);
163 ldlval.num = strtoumax (yytext, &endp, 0);
177 yytext, yyleng);
181 yytext, yyleng);
186 . { invalid_char (*yytext); }
Dldlex.c16 #define yytext ldtext macro
293 extern char *yytext;
294 #define yytext_ptr yytext
992 char *yytext; variable
1140 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1205 (yytext[yyleng - 1] == '\n'); \
1305 if ( yytext[yyl] == '\n' )
1500 ldlval.num |= attrib_convert (yytext[cnt++]);
1582 ldlval.num = strtoumax (yytext, &endp, 0);
1599 yytext, yyleng);
[all …]
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/
Dflex.man190 printf( "An integer: %s (%d)\n", yytext,
191 atoi( yytext ) );
209 printf( "A float: %s (%g)\n", yytext,
210 atof( yytext ) );
214 printf( "A keyword: %s\n", yytext );
217 {ID} printf( "An identifier: %s\n", yytext );
219 "+"|"-"|"*"|"/" printf( "An operator: %s\n", yytext );
225 . printf( "Unrecognized character: %s\n", yytext );
606 character pointer yytext, and its length in the global
622 Note that yytext can be defined in two different ways:
[all …]
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/texinfo/
Dflex.info242 printf( "An integer: %s (%d)\n", yytext,
243 atoi( yytext ) );
247 printf( "A float: %s (%g)\n", yytext,
248 atof( yytext ) );
252 printf( "A keyword: %s\n", yytext );
255 {ID} printf( "An identifier: %s\n", yytext );
257 "+"|"-"|"*"|"/" printf( "An operator: %s\n", yytext );
263 . printf( "Unrecognized character: %s\n", yytext );
590 `yytext', and its length in the global integer `yyleng'. The ACTION
604 Note that `yytext' can be defined in two different ways: either as a
[all …]
Dflex.texi327 printf( "An integer: %s (%d)\n", yytext,
328 atoi( yytext ) );
332 printf( "A float: %s (%g)\n", yytext,
333 atof( yytext ) );
337 printf( "A keyword: %s\n", yytext );
340 @{ID@} printf( "An identifier: %s\n", yytext );
342 "+"|"-"|"*"|"/" printf( "An operator: %s\n", yytext );
348 . printf( "Unrecognized character: %s\n", yytext );
713 global character pointer @code{yytext}, and its length in the
731 Note that @code{yytext} can be defined in two different ways:
[all …]
/external/webkit/WebCore/css/
Dtokenizer.flex108 <mediaquery>";" {BEGIN(INITIAL); yyTok = *yytext; return yyTok; }
109 . {yyTok = *yytext; return yyTok;}
Dmaketokenizer87 # Skip down the the declaration of yytext; the body of the flex output begins after it.
89 last if /yytext/;
DCSSParser.h247 UChar* yytext; variable
/external/ipsec-tools/src/racoon/
Dcftoken.l84 "begin <%d>%s\n", yy_start, yytext);
/external/elfutils/
Dconfig.h.in47 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/Borland.old/
DBorland-2.4144 "%% yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here",

12