HomeSort by relevance Sort by last modified time
    Searched refs:yytext (Results 1 - 25 of 36) sorted by null

1 2

  /external/elfutils/libcpu/
i386_lex.l 63 {NUMBER} { i386_lval.num = strtoul (yytext, NULL, 10);
72 <INITIAL,MAIN>"{"{ID2}"}" { i386_lval.str = xstrndup (yytext + 1,
79 <MAIN>{ID} { i386_lval.str = xstrndup (yytext, yyleng);
96 <MAIN>. { i386_lval.ch = *yytext; return kCHAR; }
98 . { invalid_char (*yytext); }
  /external/mdnsresponder/mDNSShared/
dnsextd_lexer.l 75 \* yylval.string = strdup(yytext); return WILDCARD;
76 [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ yylval.string = strdup(yytext); return DOTTED_DECIMAL_ADDRESS;
77 [0123456789]+ yylval.number = atoi(yytext); return NUMBER;
78 [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)* yylval.string = strdup(yytext); return HOSTNAME;
79 [a-zA-Z0-9\.]+([a-zA-Z0-9\.]+)* yylval.string = strdup(yytext); return DOMAINNAME;
80 \"([^"\\\r\n]*(\\.[^"\\\r\n]*)*)\" yylval.string = StripQuotes(yytext); return QUOTEDSTRING;
  /external/bison/src/
flex-scanner.h 47 /* It seems to be a nice "feature" of Flex that one cannot use yytext,
54 #ifndef yytext
55 # define yytext FLEX_PREFIX (text) macro
80 obstack_grow (&obstack_for_string, yytext, yyleng)
scan-skel.l 82 yytext[yyleng-1] = '\0';
83 obstack_grow (&obstack_for_string, yytext, yyleng);
90 @[^@{}`(\n]* fail_for_invalid_at (yytext);
122 if (yytext[1] == ',')
134 @.? fail_for_invalid_at (yytext);
scan-gram.l 53 #define YY_USER_ACTION location_compute (loc, &scanner_cursor, yytext, yyleng);
60 scanner_cursor.column -= mbsnwidth (yytext, yyleng, 0); \
161 handle_syncline (yytext + sizeof "#line " - 1, *loc);
222 complain_at (*loc, _("invalid directive: %s"), quote (yytext));
232 val->uniqstr = uniqstr_new (yytext);
239 val->integer = scan_integer (yytext, 10, *loc);
243 val->integer = scan_integer (yytext, 16, *loc);
250 complain_at (*loc, _("invalid identifier: %s"), quote (yytext));
272 obstack_grow (&obstack_for_string, yytext + 1, yyleng - 2);
296 quote_mem (yytext, yyleng))
    [all...]
scan-code.l 47 #define YY_USER_ACTION location_compute (loc, &loc->end, yytext, yyleng);
188 warn_at (*loc, _("stray '%s'"), yytext);
189 obstack_escape (&obstack_for_string, yytext);
193 obstack_escape (&obstack_for_string, yytext);
202 handle_action_dollar (self->rule, yytext, *loc);
209 handle_action_at (self->rule, yytext, *loc);
269 fetch_type_name (yytext + 1, &type_name, *loc)[-1] = 0;
285 [$@\[\]] obstack_escape (&obstack_for_string, yytext);
  /system/core/sh/
arith_lex.l 62 0x[0-9a-fA-F]+ { yylval = strtol(yytext, 0, 0); return(ARITH_NUM); }
63 0[0-7]* { yylval = strtol(yytext, 0, 0); return(ARITH_NUM); }
64 [1-9][0-9]* { yylval = strtol(yytext, 0, 0); return(ARITH_NUM); }
65 [A-Za-z_][A-Za-z_0-9]* { char *v = lookupvar(yytext);
arith_lex.c 157 /* Undo effects of setting up yytext. */ \
163 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
264 /* yy_hold_char holds the character lost when yytext is formed. */
340 extern char *yytext;
341 #define yytext_ptr yytext
349 * corresponding action - sets up yytext.
467 char *yytext; variable
583 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
653 /* Code executed at the beginning of each rule, after yytext and yyleng
710 /* Support of yytext. *
    [all...]
init.c 208 #define yytext_ptr yytext
230 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
500 #define yytext_ptr yytext
522 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
790 #define yytext_ptr yytext
812 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
  /frameworks/base/tools/aidl/
aidl_language_l.l 25 yylval.buffer.data = strdup(yytext); \
46 <COPYING>.*\n { append_extra_text(yytext); }
47 <COPYING>.* { append_extra_text(yytext); }
48 <COPYING>\n+ { append_extra_text(yytext); }
53 <LONG_COMMENT>[^*]* { append_extra_text(yytext); }
54 <LONG_COMMENT>\*+[^/] { append_extra_text(yytext); }
55 <LONG_COMMENT>\n { append_extra_text(yytext); }
63 do_package_statement(yytext);
70 append_extra_text(yytext); }
73 append_extra_text(yytext); */ }
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/
yylex.c 42 extern char *yytext;
183 fprintf( stderr, "%s ", yytext );
200 fprintf( stderr, "%s", yytext );
scan.l 35 #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 );
163 infilename = copy_string( yytext + 1 );
187 strcpy( (char *) nmdef, yytext );
280 strcpy( nmstr, yytext + 1 );
287 yytext );
404 strcpy( nmstr, yytext );
    [all...]
FlexLexer.h 58 const char* YYText() { return yytext; }
88 char* yytext; member in class:FlexLexer
148 // yy_hold_char holds the character lost when yytext is formed.
initscan.c 128 /* Undo effects of setting up yytext. */ \
132 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
211 /* yy_hold_char holds the character lost when yytext is formed. */
268 extern char *yytext;
269 #define yytext_ptr yytext
277 * corresponding action - sets up yytext.
1242 char *yytext; variable
2577 CHECK_REJECT(yytext); variable
2585 CHECK_YYMORE(yytext); variable
    [all...]
flex.skl 134 /* 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 yylen
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/MISC/MVS/
initscan-mvs.c 81 /* cast to (char *) is because for 8-bit chars, yytext is (unsigned char *) */
85 #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 ); \
254 * corresponding action - sets up yytext
257 yytext = yy_bp; \
271 /* undo effects of setting up yytext */ \
274 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
278 #define unput(c) yyunput( c, yytext )
331 YY_CHAR *yytext; variable
1515 ECHO; CHECK_REJECT(yytext); variable
1519 ECHO; CHECK_YYMORE(yytext); variable
1947 CHECK_REJECT(yytext); variable
1954 CHECK_YYMORE(yytext); variable
    [all...]
  /external/libpcap/
scanner.l 192 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/elfutils/src/
ldlex.l 59 = fwrite (yytext, yyleng, 1, yyout); } while (0)
160 ldlval.num |= attrib_convert (yytext[cnt++]);
181 ldlval.num = strtoumax (yytext, &endp, 0);
195 yytext, yyleng);
199 yytext, yyleng);
204 . { invalid_char (*yytext); }
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/
glslang.l 176 yylval->lex.string = NewPoolTString(yytext);
180 0[xX]{H}+ { yylval->lex.i = strtol(yytext, 0, 0); return(INTCONSTANT); }
181 0{O}+ { yylval->lex.i = strtol(yytext, 0, 0); return(INTCONSTANT); }
182 0{D}+ { context->error(yylineno, "Invalid Octal number.", yytext, "", ""); context->recover(); return 0;}
183 {D}+ { yylval->lex.i = strtol(yytext, 0, 0); return(INTCONSTANT); }
185 {D}+{E} { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return(FLOATCONSTANT); }
186 {D}+"."{D}*({E})? { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return(FLOATCONSTANT); }
187 "."{D}+({E})? { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return(FLOATCONSTANT); }
238 yylval->lex.string = NewPoolTString(yytext);
245 <*>. { context->warning(yylineno, "Unknown char", yytext, ""); return 0;
    [all...]
glslang_lex.cpp 142 #define yytext yyg->yytext_r macro
197 if ( yytext[yyl] == '\n' )\
205 /* Undo effects of setting up yytext. */ \
211 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
365 * corresponding action - sets up yytext.
    [all...]
  /frameworks/rs/
spec.l 63 memcpy(apis[apiCount].name, yytext, yyleng);
167 memcpy(currType->typeName, yytext, yyleng);
176 memcpy(currType->name, yytext, yyleng);
  /external/smali/smali/src/main/java/org/jf/smali/
smaliFlexLexer.java 3197 public final String yytext() { method in class:smaliFlexLexer
3560 { sb.append(yytext()); method
3577 { sb.append(yytext()); method
3738 { sb.append(yytext()); method
3894 { sb.append(yytext()); method
    [all...]
  /external/checkpolicy/
policy_parse.y 59 extern char yytext[];
723 { if (insert_id(yytext,0)) return -1; }
779 { if (insert_id(yytext, 1)) return -1; }
791 { if (insert_id(yytext,0)) return -1; }
794 { if (insert_id(yytext,0)) return -1; }
796 { if (insert_id(yytext,0)) return -1; }
799 { if (insert_id(yytext,0)) return -1; }
802 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1;
    [all...]
  /external/bison/examples/calc++/
calc++-scanner.cc 224 /* Undo effects of setting up yytext. */ \
230 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
340 /* yy_hold_char holds the character lost when yytext is formed. */
406 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
424 extern char *yytext;
425 #define yytext_ptr yytext
437 * corresponding action - sets up yytext.
441 /* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
445 /* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
545 char *yytext; variable
    [all...]
  /external/ipsec-tools/src/racoon/
cftoken.l 84 "begin <%d>%s\n", yy_start, yytext);
393 yytext++;
394 yylval.num = atoi(yytext);
400 char *p = yytext;
404 yytext++;
405 yylval.num = atoi(yytext);
412 yytext++;
418 memcpy(yylval.val->v, yytext, yylval.val->l);
576 yylval.num = strtol(yytext, &bp, 10);
597 memcpy(p, &yytext[2], yyleng - 1)
    [all...]

Completed in 675 milliseconds

1 2