/external/webkit/Tools/android/flex-2.5.4a/MISC/ |
testxxLexer.l | 42 {number} cout << "number " << YYText() << '\n'; 46 {name} cout << "name " << YYText() << '\n'; 48 {string} cout << "string " << YYText() << '\n';
|
/external/bluetooth/bluez/tools/ |
lexer.l | 77 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;
|
lexer.c | 156 /* Undo effects of setting up yytext. */ \ 162 YY_DO_BEFORE_ACTION; /* set up yytext again */ \ 263 /* yy_hold_char holds the character lost when yytext is formed. */ 336 extern char *yytext; 337 #define yytext_ptr yytext 345 * corresponding action - sets up yytext. 459 char *yytext; variable 567 #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) 637 /* Code executed at the beginning of each rule, after yytext and yyleng 695 /* Support of yytext. * [all...] |
/external/iproute2/tc/ |
emp_ematch.l | 94 sscanf(yytext + 1, "%o", &res); 111 sscanf(yytext + 2, "%x", &res); 129 <lexstr>\\(.|\n) strbuf_append_char(yytext[1]); 130 <lexstr>[^\\\n\"]+ strbuf_append_charp(yytext); 137 return yylval.i = *yytext; 140 yylval.b = bstr_alloc(yytext);
|
/frameworks/base/tools/aidl/ |
aidl_language_l.l | 25 yylval.buffer.data = strdup(yytext); \ 45 <COPYING>.*\n { append_extra_text(yytext); } 46 <COPYING>.* { append_extra_text(yytext); } 47 <COPYING>\n+ { append_extra_text(yytext); } 52 <LONG_COMMENT>[^*]* { append_extra_text(yytext); } 53 <LONG_COMMENT>\*+[^/] { append_extra_text(yytext); } 54 <LONG_COMMENT>\n { append_extra_text(yytext); } 62 do_package_statement(yytext); 69 append_extra_text(yytext); } 72 append_extra_text(yytext); */ } [all...] |
/bootable/recovery/edify/ |
lexer.l | 72 sscanf(yytext+2, "%x", &val); 80 *string_pos++ = yytext[0]; 86 *string_pos++ = yytext[0]; 97 yylval.str = strdup(yytext); 106 [+(),!;] ADVANCE; return yytext[0];
|
/external/mesa3d/src/glsl/glcpp/ |
glcpp-lex.l | 95 yylval->str = talloc_strdup (yyextra, yytext); 103 yylval->str = talloc_strdup (yyextra, yytext); 113 char *ptr = yytext; 129 char *ptr = yytext; 196 for (p = yytext; !isalpha(p[0]); p++); /* skip " # " */ 222 yylval->str = talloc_strdup (yyextra, yytext); 227 yylval->str = talloc_strdup (yyextra, yytext); 232 yylval->str = talloc_strdup (yyextra, yytext); 277 yylval->str = talloc_strdup (yyextra, yytext); 282 return yytext[0] [all...] |
/external/ipsec-tools/src/libipsec/ |
policy_token.l | 116 yylval.val.len = strlen(yytext); 117 yylval.val.buf = yytext; 141 yylval.val.len = strlen(yytext + 7); 142 yylval.val.buf = yytext + 7; 149 yylval.val.len = strlen(yytext); 150 yylval.val.buf = yytext; 158 yylval.val.buf = yytext + 1; 159 yylval.val.len = strlen(yytext) - 2;
|
/external/webkit/Tools/android/flex-2.5.4a/ |
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...] |
yylex.c | 42 extern char *yytext; 183 fprintf( stderr, "%s ", yytext ); 200 fprintf( stderr, "%s", yytext );
|
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.
|
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...] |
skel.c | 139 " /* Undo effects of setting up yytext. */ \\", 143 " YY_DO_BEFORE_ACTION; /* set up yytext again */ \\", 229 "/* yy_hold_char holds the character lost when yytext is formed. */", 284 "%% yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here", 294 " * corresponding action - sets up yytext.", 298 "%% code to fiddle yytext and yyleng for yymore() goes here", 301 "%% code to copy yytext_ptr to yytext[] goes here, if %array", 389 "#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )", 391 "#define ECHO LexerOutput( yytext, yyleng )", 440 "/* Code executed at the beginning of each rule, after yytext and yyleng" [all...] |
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...] |
/external/mesa3d/src/glsl/ |
glsl_lexer.lpp | 40 #define IS_UINT (yytext[yyleng - 1] == 'u' || yytext[yyleng - 1] == 'U') 61 "Illegal use of reserved word `%s'", yytext); \ 64 yylval->identifier = strdup(yytext); \ 107 char *ptr = yytext; 122 char *ptr = yytext; 157 yylval->identifier = strdup(yytext); 161 yylval->n = strtol(yytext, NULL, 10); 255 yylval->identifier = strdup(yytext); 284 yylval->n = strtol(yytext, NULL, 10) [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/bison/src/ |
scan-skel.l | 71 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);
|
scan-gram.l | 72 #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...] |
/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...] |
/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...] |
/frameworks/base/libs/rs/ |
spec.l | 63 memcpy(apis[apiCount].name, yytext, yyleng); 167 memcpy(currType->typeName, yytext, yyleng); 176 memcpy(currType->name, yytext, yyleng);
|
/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/elfutils/src/ |
ldlex.l | 142 ldlval.num |= attrib_convert (yytext[cnt++]); 163 ldlval.num = strtoumax (yytext, &endp, 0); 177 yytext, yyleng); 181 yytext, yyleng); 186 . { invalid_char (*yytext); }
|
/external/ipsec-tools/src/racoon/ |
cftoken.l | 84 "begin <%d>%s\n", yy_start, yytext); 401 yytext++; 402 yylval.num = atoi(yytext); 408 char *p = yytext; 412 yytext++; 413 yylval.num = atoi(yytext); 420 yytext++; 426 memcpy(yylval.val->v, yytext, yylval.val->l); 583 yylval.num = strtoul(yytext, &bp, 10); 604 memcpy(p, &yytext[2], yyleng - 1) [all...] |