/external/mesa3d/src/compiler/glsl/ |
D | glsl_lexer.ll | 74 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \ 77 } else if (yyextra->is_version(reserved_glsl, \ 79 _mesa_glsl_error(yylloc, yyextra, \ 83 void *mem_ctx = yyextra->linalloc; \ 85 return classify_identifier(yyextra, yytext); \ 95 if (yyextra->is_version(0, 300)) { \ 96 _mesa_glsl_error(yylloc, yyextra, \ 142 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base) 192 if (yyextra->is_version(330, 100)) 216 if (yyextra->is_version(330, 100)) [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp-lex.l | 104 yylval->str = linear_strdup(yyextra->linalloc, yytext); \ 201 glcpp_parser_t *parser = yyextra; 271 if (yyextra->space_tokens && YY_START != HASH) 292 yyextra->space_tokens = 0; 293 yyextra->lexing_version_directive = 1; 323 yyextra->space_tokens = 0; 333 yyextra->lexing_directive = 1; 334 yyextra->space_tokens = 0; 340 yyextra->lexing_directive = 1; 341 yyextra->space_tokens = 0; [all …]
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | Tokenizer.l | 62 yyextra->leadingSpace = false; \ 63 yyextra->lineStart = true; \ 69 pp::Input* input = &yyextra->input; \ 70 pp::Input::Location* scanLoc = &yyextra->scanLoc; \ 83 result = yyextra->input.read(buf, maxSize); 118 yyextra->leadingSpace = true; 125 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 240 [ \t\v\f]+ { yyextra->leadingSpace = true; } 258 pp::Input* input = &yyextra->input; 259 pp::Input::Location* scanLoc = &yyextra->scanLoc; [all …]
|
D | Tokenizer.cpp | 149 #define yyextra yyg->yyextra_r macro 584 yyextra->leadingSpace = false; \ 585 yyextra->lineStart = true; \ 591 pp::Input* input = &yyextra->input; \ 592 pp::Input::Location* scanLoc = &yyextra->scanLoc; \ 605 result = yyextra->input.read(buf, maxSize); 960 yyextra->leadingSpace = true; 969 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 1158 { yyextra->leadingSpace = true; } 1186 pp::Input* input = &yyextra->input; [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | glslang.l | 99 TParseContext* context = yyextra; 425 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type() 426 if (yyextra->lexAfterType == false && symbol && symbol->isVariable()) { in check_type() 429 yyextra->lexAfterType = true; in check_type() 440 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word() 441 yyextra->recover(); in reserved_word() 496 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in uint_constant() 513 yyextra->warning(*yylloc, "Float overflow", yytext, ""); in floatsuffix_check() 522 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in int_constant() 530 yyextra->warning(*yylloc, "Float overflow", yytext, ""); in float_constant()
|
D | glslang_lex.cpp | 161 #define yyextra yyg->yyextra_r macro 1350 TParseContext* context = yyextra; 2926 return yyextra; in yyget_extra() 2999 yyextra = user_defined ; in yyset_extra() 3293 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type() 3294 if (yyextra->lexAfterType == false && symbol && symbol->isVariable()) { in check_type() 3297 yyextra->lexAfterType = true; in check_type() 3308 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word() 3309 yyextra->recover(); in reserved_word() 3364 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in uint_constant() [all …]
|
/external/libpcap/ |
D | scanner.l | 302 bpf_error(yyextra, "%s not supported", yytext); 388 bpf_error(yyextra, "malloc"); 392 bpf_error(yyextra, "malloc"); 396 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 404 bpf_error(yyextra, "bogus IPv6 address %s", yytext); 407 yylval->s = sdup(yyextra, (char *)yytext); return HID6; 410 bpf_error(yyextra, "IPv6 address %s not supported", yytext); 413 {B}:+({B}:+)+ { bpf_error(yyextra, "bogus ethernet address %s", yytext); } 439 yylval->s = sdup(yyextra, (char *)yytext); return ID; } 440 "\\"[^ !()\n\t]+ { yylval->s = sdup(yyextra, (char *)yytext + 1); return ID; } [all …]
|
D | scanner.c | 139 #define yyextra yyg->yyextra_r macro 3378 bpf_error(yyextra, "%s not supported", yytext); 3735 bpf_error(yyextra, "malloc"); 3743 bpf_error(yyextra, "malloc"); 3755 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 3767 bpf_error(yyextra, "bogus IPv6 address %s", yytext); 3770 yylval->s = sdup(yyextra, (char *)yytext); return HID6; 3773 bpf_error(yyextra, "IPv6 address %s not supported", yytext); 3780 { bpf_error(yyextra, "bogus ethernet address %s", yytext); } 3906 yylval->s = sdup(yyextra, (char *)yytext); return ID; } [all …]
|
D | scanner.h | 133 #define yyextra yyg->yyextra_r macro
|
/external/mesa3d/src/mesa/program/ |
D | program_lexer.l | 33 #define require_ARB_vp (yyextra->mode == ARB_vertex) 34 #define require_ARB_fp (yyextra->mode == ARB_fragment) 35 #define require_shadow (yyextra->option.Shadow) 36 #define require_rect (yyextra->option.TexRect) 37 #define require_texarray (yyextra->option.TexArray) 48 return handle_ident(yyextra, yytext, yylval); \ 66 _mesa_parse_instruction_suffix(yyextra, \ 72 return handle_ident(yyextra, yytext, yylval); \ 308 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
|
/external/skia/src/sksl/ |
D | lex.layout.c | 125 #define yyextra yyg->yyextra_r macro 1909 return yyextra; in layoutget_extra() 1982 yyextra = user_defined ; in layoutset_extra()
|
D | lex.sksl.c | 125 #define yyextra yyg->yyextra_r macro 2352 return yyextra; in skslget_extra() 2425 yyextra = user_defined ; in skslset_extra()
|