/external/dtc/ |
D | dtc-lexer.l | 112 DPRINT("String: %s\n", yytext); 113 yylval.data = data_copy_escape_string(yytext+1, 157 DPRINT("Label: %s\n", yytext); 158 yylval.labelref = xstrdup(yytext); 165 DPRINT("Integer Literal: '%s'\n", yytext); 168 yylval.integer = strtoull(yytext, &e, 0); 172 yytext); 177 yytext); 187 DPRINT("Character literal: %s\n", yytext); 189 d = data_copy_escape_string(yytext+1, yyleng-2); [all …]
|
D | convert-dtsv0-lexer.l | 98 if (*yytext == 'b') 100 else if (*yytext == 'o') 102 else if (*yytext == 'd') 113 val = strtoull(yytext, NULL, cbase); 155 <INITIAL>"&/"{PATHCHAR}+ fprintf(yyout, "&{/%s}", yytext + 2); 166 last_name = xstrdup(yytext); 184 if (yytext[0] == '[') { 187 if ((yytext[0] == '{') 188 || (yytext[0] == ';')) {
|
/external/u-boot/scripts/dtc/ |
D | dtc-lexer.l | 112 DPRINT("String: %s\n", yytext); 113 yylval.data = data_copy_escape_string(yytext+1, 157 DPRINT("Label: %s\n", yytext); 158 yylval.labelref = xstrdup(yytext); 165 DPRINT("Integer Literal: '%s'\n", yytext); 168 yylval.integer = strtoull(yytext, &e, 0); 172 yytext); 177 yytext); 187 DPRINT("Character literal: %s\n", yytext); 189 d = data_copy_escape_string(yytext+1, yyleng-2); [all …]
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | Tokenizer.l | 144 yylval->assign(1, yytext[0]); 149 yylval->assign(yytext, yyleng); 154 yylval->assign(yytext, yyleng); 159 yylval->assign(yytext, yyleng); 166 yylval->assign(yytext, yyleng); 171 yylval->assign(yytext, yyleng); 175 yylval->assign(yytext, yyleng); 179 yylval->assign(yytext, yyleng); 183 yylval->assign(yytext, yyleng); 187 yylval->assign(yytext, yyleng); [all …]
|
D | Tokenizer.cpp | 475 #define yytext yyg->yytext_r macro 1199 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 1466 yylval->assign(1, yytext[0]); 1473 yylval->assign(yytext, yyleng); 1480 yylval->assign(yytext, yyleng); 1487 yylval->assign(yytext, yyleng); 1496 yylval->assign(yytext, yyleng); 1503 yylval->assign(yytext, yyleng); 1510 yylval->assign(yytext, yyleng); 1517 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); \ 307 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); } 312 yylval->integer = strtol(yytext, NULL, 10); 316 yylval->real = _mesa_strtof(yytext, NULL); 320 yylval->real = _mesa_strtof(yytext, NULL); 324 yylval->real = _mesa_strtof(yytext, NULL); 328 yylval->real = _mesa_strtof(yytext, NULL); 341 | mask_from_char(yytext[3]); [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | glslang.l | 255 yylval->lex.string = NewPoolTString(yytext); 265 yylval->lex.string = NewPoolTString(yytext); 325 yylval->lex.string = NewPoolTString(yytext); 394 yylval->lex.string = NewPoolTString(yytext); 401 <*>. { context->warning(*yylloc, "Unknown char", yytext, ""); return 0; } 425 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type() 440 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word() 477 yylval->lex.string = NewPoolTString(yytext); in ES2_identifier_ES3_keyword() 490 … context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext, ""); in uint_constant() 495 if (!atou_clamp(yytext, &(yylval->lex.u))) in uint_constant() [all …]
|
D | glslang_lex.cpp | 241 #define yytext yyg->yytext_r macro 324 if ( yytext[yyl] == '\n' )\ 1412 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 1631 if ( yytext[yyl] == '\n' ) 2024 yylval->lex.string = NewPoolTString(yytext); 2036 yylval->lex.string = NewPoolTString(yytext); 2091 yylval->lex.string = NewPoolTString(yytext); 2327 yylval->lex.string = NewPoolTString(yytext); 2347 { context->warning(*yylloc, "Unknown char", yytext, ""); return 0; } 3191 yytext[yyleng] = yyg->yy_hold_char; \ [all …]
|
/external/u-boot/scripts/kconfig/ |
D | zconf.l | 96 unput(yytext[0]); 103 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); 111 alloc_string(yytext, yyleng); 115 . warn_ignored_character(*yytext); 135 str = yytext[0]; 141 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); 146 alloc_string(yytext, yyleng); 153 . warn_ignored_character(*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/ltp/pan/ |
D | scan.l | 206 key = yytext; 207 cont = strchr(yytext, '='); 210 if(yytext[yyleng-1] == '"') 211 yytext[yyleng-1] = '\0'; 223 key = yytext; 224 cont = strchr(yytext, '='); 244 printf("TEXT_LINE: %s\n", yytext); 254 printf("CUTS Result: %s\n", yytext); 265 printf("CUTS Result: %s\n", yytext); 386 yylineno, yytext, ps->name, scan_mode, exp_mode);
|
/external/elfutils/libcpu/ |
D | i386_lex.l | 66 {NUMBER} { i386_lval.num = strtoul (yytext, NULL, 10); 75 <INITIAL,MAIN>"{"{ID2}"}" { i386_lval.str = xstrndup (yytext + 1, 82 <MAIN>{ID} { i386_lval.str = xstrndup (yytext, yyleng); 99 <MAIN>. { i386_lval.ch = *yytext; return kCHAR; } 101 . { 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/selinux/checkpolicy/ |
D | policy_parse.y | 60 extern char yytext[]; 786 { if (insert_id(yytext,0)) return -1; } 808 { if (insert_id(yytext,0)) return -1; } 864 { if (insert_id(yytext, 1)) return -1; } 876 { if (insert_id(yytext,0)) return -1; } 879 { if (insert_id(yytext,0)) return -1; } 881 { if (insert_id(yytext,0)) return -1; } 884 { if (insert_id(yytext,0)) return -1; } 886 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1; } 889 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1; } [all …]
|
D | policy_scan.l | 60 \n.* { strncpy(linebuf[lno], yytext+1, 255); 268 #line[ ]1[ ]\"[^\n]*\" { set_source_file(yytext+9); } 269 #line[ ]{digit}+ { source_lineno = atoi(yytext+6)-1; } 290 "*" { return(yytext[0]); } 302 yytext, 318 yytext,
|
/external/libpcap/ |
D | scanner.l | 316 bpf_error(yyextra, "%s not supported", yytext); 393 [+\-*/%:\[\]!<>()&|\^=] return yytext[0]; 400 ${B} { yylval->e = pcap_ether_aton(((char *)yytext)+1); 404 {MAC} { yylval->e = pcap_ether_aton((char *)yytext); 408 {N} { yylval->i = stoi((char *)yytext); return NUM; } 410 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 417 if (getaddrinfo(yytext, NULL, &hints, &res)) 418 bpf_error(yyextra, "bogus IPv6 address %s", yytext); 421 yylval->s = sdup(yyextra, (char *)yytext); return HID6; 424 bpf_error(yyextra, "IPv6 address %s not supported", yytext); [all …]
|
D | scanner.c | 148 #define yytext yyg->yytext_r macro 3127 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 3562 bpf_error(yyextra, "%s not supported", yytext); 3882 return yytext[0]; 3917 { yylval->e = pcap_ether_aton(((char *)yytext)+1); 3925 { yylval->e = pcap_ether_aton((char *)yytext); 3933 { yylval->i = stoi((char *)yytext); return NUM; } 3939 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 3950 if (getaddrinfo(yytext, NULL, &hints, &res)) 3951 bpf_error(yyextra, "bogus IPv6 address %s", yytext); [all …]
|
/external/iptables/iptables/ |
D | xtables-config-syntax.l | 37 {integer} { yylval.val = atoi(yytext); return T_INTEGER; } 38 {string} { yylval.string = strdup(yytext); return T_STRING; } 46 . { return yytext[0]; }
|
/external/libnl/lib/route/cls/ |
D | ematch_grammar.l | 47 memcpy(yylval->q.data + yylval->q.index, yytext, 48 strlen(yytext)); 49 yylval->q.index += strlen(yytext); 60 yylval->i = strtoul(yytext, NULL, 0); 157 yylval->s = strdup(yytext);
|
/external/libnl/lib/route/ |
D | pktloc_grammar.l | 28 yylval->i = strtoul(yytext, NULL, 0); 32 "+" { return yylval->i = yytext[0]; } 47 yylval->s = strdup(yytext);
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliFlexLexer.java | 3036 return newToken(type, yytext(), hidden); in newToken() 3040 return newToken(type, yytext(), false); in newToken() 3055 return invalidToken(message, yytext()); in invalidToken() 3269 public final String yytext() { in yytext() method in smaliFlexLexer 3607 { sb.append(yytext()); in yylex() 3680 { sb.append(yytext()); in yylex() 3681 setStringOrCharError("Invalid escape sequence " + yytext()); in yylex() 3693 { sb.append(yytext()); in yylex() 3722 { sb.append(yytext()); in yylex() 3837 { sb.append((char)Integer.parseInt(yytext().substring(2,6), 16)); in yylex()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_lexer.ll | 82 "illegal use of reserved word `%s'", yytext); \ 85 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 103 "illegal use of reserved word `%s'", yytext); \ 106 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 125 "illegal use of reserved word `%s'", yytext); \ 139 "illegal use of reserved word `%s'", yytext); \ 145 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 205 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base) 240 char *ptr = yytext; 264 char *ptr = yytext; [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp-lex.l | 111 memcpy(yylval->str, yytext, yyleng + 1); \ 447 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext); 455 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext); 532 RETURN_TOKEN (yytext[0]); 577 glcpp_error(yylloc, yyextra, "Internal compiler error: Unexpected character: %s", yytext);
|
/external/smali/smali/src/main/jflex/ |
D | smaliLexer.jflex | 109 return newToken(type, yytext(), hidden); 113 return newToken(type, yytext(), false); 128 return invalidToken(message, yytext()); 326 [^\r\n\"\\]+ { sb.append(yytext()); } 335 "\\u" {HexDigits} { sb.append((char)Integer.parseInt(yytext().substring(2,6), 16)); } 338 sb.append(yytext()); 343 sb.append(yytext()); 344 setStringOrCharError("Invalid escape sequence " + yytext()); 363 [^\r\n'\\]+ { sb.append(yytext()); } 372 "\\u" {HexDigits} { sb.append((char)Integer.parseInt(yytext().substring(2,6), 16)); } [all …]
|
/external/bcc/src/cc/frontends/b/ |
D | lexer.h | 100 yylval_->string = new std::string(yytext, yyleng); 122 lines_.back().append(yytext, yyleng); in save_text()
|