/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
D | Tokenizer.l | 108 yylval->assign(1, yytext[0]); 113 yylval->assign(yytext, yyleng); 118 yylval->assign(yytext, yyleng); 123 yylval->assign(yytext, yyleng); 130 yylval->assign(yytext, yyleng); 135 yylval->assign(yytext, yyleng); 139 yylval->assign(yytext, yyleng); 143 yylval->assign(yytext, yyleng); 147 yylval->assign(yytext, yyleng); 151 yylval->assign(yytext, yyleng); [all …]
|
D | Tokenizer.cpp | 144 #define yytext yyg->yytext_r macro 721 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 935 yylval->assign(1, yytext[0]); 942 yylval->assign(yytext, yyleng); 949 yylval->assign(yytext, yyleng); 956 yylval->assign(yytext, yyleng); 965 yylval->assign(yytext, yyleng); 972 yylval->assign(yytext, yyleng); 979 yylval->assign(yytext, yyleng); 986 yylval->assign(yytext, yyleng); [all …]
|
/external/mesa3d/src/mesa/program/ |
D | program_lexer.l | 48 return handle_ident(yyextra, yytext, yylval); \ 67 yytext + len, \ 72 return handle_ident(yyextra, yytext, yylval); \ 331 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); } 336 yylval->integer = strtol(yytext, NULL, 10); 340 yylval->real = _mesa_strtof(yytext, NULL); 344 yylval->real = _mesa_strtof(yytext, NULL); 348 yylval->real = _mesa_strtof(yytext, NULL); 352 yylval->real = _mesa_strtof(yytext, NULL); 365 | mask_from_char(yytext[3]); [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
D | program_lexer.l | 48 return handle_ident(yyextra, yytext, yylval); \ 67 yytext + len, \ 72 return handle_ident(yyextra, yytext, yylval); \ 331 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); } 336 yylval->integer = strtol(yytext, NULL, 10); 340 yylval->real = _mesa_strtof(yytext, NULL); 344 yylval->real = _mesa_strtof(yytext, NULL); 348 yylval->real = _mesa_strtof(yytext, NULL); 352 yylval->real = _mesa_strtof(yytext, NULL); 365 | mask_from_char(yytext[3]); [all …]
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
D | glcpp-lex.l | 124 yylval->str = ralloc_strdup (yyextra, yytext); 132 yylval->str = ralloc_strdup (yyextra, yytext); 182 for (p = yytext; !isalpha(p[0]); p++); /* skip " # " */ 195 yylval->str = ralloc_strdup (yyextra, yytext); 201 yylval->str = ralloc_strdup (yyextra, yytext); 216 yylval->str = ralloc_strdup (yyextra, yytext); 221 yylval->str = ralloc_strdup (yyextra, yytext); 226 yylval->str = ralloc_strdup (yyextra, yytext); 271 yylval->str = ralloc_strdup (yyextra, yytext); 276 return yytext[0]; [all …]
|
/external/mesa3d/src/glsl/glcpp/ |
D | glcpp-lex.l | 124 yylval->str = ralloc_strdup (yyextra, yytext); 132 yylval->str = ralloc_strdup (yyextra, yytext); 182 for (p = yytext; !isalpha(p[0]); p++); /* skip " # " */ 195 yylval->str = ralloc_strdup (yyextra, yytext); 201 yylval->str = ralloc_strdup (yyextra, yytext); 216 yylval->str = ralloc_strdup (yyextra, yytext); 221 yylval->str = ralloc_strdup (yyextra, yytext); 226 yylval->str = ralloc_strdup (yyextra, yytext); 271 yylval->str = ralloc_strdup (yyextra, yytext); 276 return yytext[0]; [all …]
|
/external/bison/src/ |
D | 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 …]
|
D | flex-scanner.h | 54 #ifndef yytext 55 # define yytext FLEX_PREFIX (text) macro 80 obstack_grow (&obstack_for_string, yytext, yyleng)
|
D | 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);
|
/external/mdnsresponder/mDNSShared/ |
D | 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/chromium_org/third_party/angle/src/compiler/translator/ |
D | glslang.l | 239 yylval->lex.string = NewPoolTString(yytext); 249 yylval->lex.string = NewPoolTString(yytext); 309 yylval->lex.string = NewPoolTString(yytext); 402 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->shaderVersion); in check_type() 416 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word() 453 yylval->lex.string = NewPoolTString(yytext); in ES2_ident_ES3_keyword() 467 … context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext, ""); in uint_constant() 472 if (!atoi_clamp(yytext, &(yylval->lex.i))) in uint_constant() 473 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in uint_constant() 484 context->error(*yylloc, "Floating-point suffix unsupported prior to GLSL ES 3.00", yytext); in floatsuffix_check() [all …]
|
D | glslang_lex.cpp | 156 #define yytext yyg->yytext_r macro 221 if ( yytext[yyl] == '\n' )\ 1163 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 1335 if ( yytext[yyl] == '\n' ) 1726 yylval->lex.string = NewPoolTString(yytext); 1738 yylval->lex.string = NewPoolTString(yytext); 1793 yylval->lex.string = NewPoolTString(yytext); 2831 yytext[yyleng] = yyg->yy_hold_char; \ 2832 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \ 2910 return yytext; in yyget_text() [all …]
|
/external/elfutils/0.153/libcpu/ |
D | 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/iproute2/tc/ |
D | 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);
|
/external/bison/m4/ |
D | flex.m4 | 10 # Check if lex declares yytext as a char * by default, not a char[]. 24 # and whether Lex declares yytext as a char * by default. 51 f { unput (yytext[0]); } 55 extern char *yytext; 90 AC_CACHE_CHECK([whether yytext is a pointer], 92 [# POSIX says lex can declare yytext either as a pointer or an array; the 107 [Define to 1 if `lex' declares `yytext' as a `char *' by default,
|
/external/libpcap/ |
D | scanner.l | 251 bpf_error("%s not supported", yytext); 327 [+\-*/:\[\]!<>()&|=] return yytext[0]; 334 ${B} { yylval.e = pcap_ether_aton(((char *)yytext)+1); 338 {MAC} { yylval.e = pcap_ether_aton((char *)yytext); 342 {N} { yylval.i = stoi((char *)yytext); return NUM; } 344 yylval.s = sdup((char *)yytext); return HID; } 351 if (getaddrinfo(yytext, NULL, &hints, &res)) 352 bpf_error("bogus IPv6 address %s", yytext); 355 yylval.s = sdup((char *)yytext); return HID6; 358 bpf_error("IPv6 address %s not supported", yytext); [all …]
|
/external/libnl/lib/route/ |
D | pktloc_grammar.l | 27 yylval->i = strtoul(yytext, NULL, 0); 31 "+" { return yylval->i = yytext[0]; } 38 yylval->s = strdup(yytext);
|
/external/mesa3d/src/glsl/ |
D | glsl_lexer.ll | 66 "Illegal use of reserved word `%s'", yytext); \ 69 yylval->identifier = strdup(yytext); \ 70 return classify_identifier(yyextra, yytext); \ 126 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base) 157 char *ptr = yytext; 172 char *ptr = yytext; 211 yylval->identifier = strdup(yytext); 215 yylval->n = strtol(yytext, NULL, 10); 319 yylval->identifier = strdup(yytext); 358 yylval->real = glsl_strtod(yytext, NULL); [all …]
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
D | glsl_lexer.ll | 66 "Illegal use of reserved word `%s'", yytext); \ 69 yylval->identifier = strdup(yytext); \ 70 return classify_identifier(yyextra, yytext); \ 126 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base) 157 char *ptr = yytext; 172 char *ptr = yytext; 211 yylval->identifier = strdup(yytext); 215 yylval->n = strtol(yytext, NULL, 10); 319 yylval->identifier = strdup(yytext); 358 yylval->real = glsl_strtod(yytext, NULL); [all …]
|
/external/elfutils/0.153/src/ |
D | 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/checkpolicy/ |
D | policy_scan.l | 59 \n.* { strncpy(linebuf[lno], yytext+1, 255); 250 #line[ ]1[ ]\"[^\n]*\" { set_source_file(yytext+9); } 251 #line[ ]{digit}+ { source_lineno = atoi(yytext+6)-1; } 272 "*" { return(yytext[0]); } 284 yytext, 300 yytext,
|
D | policy_parse.y | 59 extern char yytext[]; 730 { if (insert_id(yytext,0)) return -1; } 786 { if (insert_id(yytext, 1)) return -1; } 798 { if (insert_id(yytext,0)) return -1; } 801 { if (insert_id(yytext,0)) return -1; } 803 { if (insert_id(yytext,0)) return -1; } 806 { if (insert_id(yytext,0)) return -1; } 809 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1; } 812 { $$ = strtoul(yytext,NULL,0); } 815 { if (insert_id(yytext,0)) return -1; } [all …]
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
D | lex.yy.c | 134 #define yytext yyg->yytext_r macro 1069 return handle_ident(yyextra, yytext, yylval); \ 1088 yytext + len, \ 1093 return handle_ident(yyextra, yytext, yylval); \ 1327 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 2209 { return handle_ident(yyextra, yytext, yylval); } 2220 yylval->integer = strtol(yytext, NULL, 10); 2228 yylval->real = _mesa_strtof(yytext, NULL); 2240 yylval->real = _mesa_strtof(yytext, NULL); 2248 yylval->real = _mesa_strtof(yytext, NULL); [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/howto/sandbox/ |
D | handlebars-1.0.0.beta.6.js | 108 performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) { 200 …var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylin… 255 vstack.push(this.lexer.yytext); 261 yytext = this.lexer.yytext; 275 … r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack); 311 this.yytext = this.matched = this.match = ''; 318 this.yytext+=ch; 362 this.yytext = ''; 375 this.yytext += match[0]; 378 this.yyleng = this.yytext.length; [all …]
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliFlexLexer.java | 2918 return newToken(type, yytext(), hidden); in newToken() 2922 return newToken(type, yytext(), false); in newToken() 2937 return invalidToken(message, yytext()); in invalidToken() 3134 public final String yytext() { in yytext() method in smaliFlexLexer 3401 { sb.append((char)Integer.parseInt(yytext().substring(2,6), 16)); in yylex() 3493 { sb.append(yytext()); in yylex() 3494 setStringOrCharError("Invalid escape sequence " + yytext()); in yylex() 3506 { sb.append(yytext()); in yylex() 3667 { sb.append(yytext()); in yylex() 3799 { sb.append(yytext()); in yylex()
|