Searched refs:yyextra (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/compiler/glsl/ |
D | glsl_lexer.ll | 76 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \ 79 } else if (yyextra->is_version(reserved_glsl, \ 81 _mesa_glsl_error(yylloc, yyextra, \ 85 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 96 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \ 100 } else if (yyextra->is_version(reserved_glsl, \ 102 _mesa_glsl_error(yylloc, yyextra, \ 106 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 123 if (yyextra->is_version(0, 300)) { \ 124 _mesa_glsl_error(yylloc, yyextra, \ [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp-lex.l | 108 void *mem_ctx = yyextra->linalloc; \ 208 glcpp_parser_t *parser = yyextra; 278 if (yyextra->space_tokens && YY_START != HASH) 299 yyextra->space_tokens = 0; 300 yyextra->lexing_version_directive = 1; 330 yyextra->space_tokens = 0; 340 yyextra->lexing_directive = 1; 341 yyextra->space_tokens = 0; 347 yyextra->lexing_directive = 1; 348 yyextra->space_tokens = 0; [all …]
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | Tokenizer.l | 75 yyextra->leadingSpace = false; \ 76 yyextra->lineStart = true; \ 82 pp::Input* input = &yyextra->input; \ 83 pp::Input::Location* scanLoc = &yyextra->scanLoc; \ 96 result = yyextra->input.read(buf, maxSize, &yylineno); 138 yyextra->leadingSpace = true; 145 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 260 [ \t\v\f]+ { yyextra->leadingSpace = true; } 281 pp::Input* input = &yyextra->input; 282 pp::Input::Location* scanLoc = &yyextra->scanLoc; [all …]
|
D | Tokenizer.cpp | 473 #define yyextra yyg->yyextra_r macro 948 yyextra->leadingSpace = false; \ 949 yyextra->lineStart = true; \ 955 pp::Input* input = &yyextra->input; \ 956 pp::Input::Location* scanLoc = &yyextra->scanLoc; \ 969 result = yyextra->input.read(buf, maxSize, &yylineno); 1458 yyextra->leadingSpace = true; 1467 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 1656 { yyextra->leadingSpace = true; } 1684 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 | 239 #define yyextra yyg->yyextra_r macro 1582 TParseContext* context = yyextra; 3210 return yyextra; in yyget_extra() 3300 yyextra = user_defined ; in yyset_extra() 3657 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type() 3658 if (yyextra->lexAfterType == false && symbol && symbol->isVariable()) { in check_type() 3661 yyextra->lexAfterType = true; in check_type() 3672 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word() 3673 yyextra->recover(); in reserved_word() 3728 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in uint_constant() [all …]
|
/external/libpcap/ |
D | scanner.l | 316 bpf_error(yyextra, "%s not supported", yytext); 402 bpf_error(yyextra, "malloc"); 406 bpf_error(yyextra, "malloc"); 410 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 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); 427 {B}:+({B}:+)+ { bpf_error(yyextra, "bogus ethernet address %s", yytext); } 485 yylval->s = sdup(yyextra, (char *)yytext); return ID; } 486 "\\"[^ !()\n\t]+ { yylval->s = sdup(yyextra, (char *)yytext + 1); return ID; } [all …]
|
D | scanner.c | 146 #define yyextra yyg->yyextra_r macro 3562 bpf_error(yyextra, "%s not supported", yytext); 3919 bpf_error(yyextra, "malloc"); 3927 bpf_error(yyextra, "malloc"); 3939 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 3951 bpf_error(yyextra, "bogus IPv6 address %s", yytext); 3954 yylval->s = sdup(yyextra, (char *)yytext); return HID6; 3957 bpf_error(yyextra, "IPv6 address %s not supported", yytext); 3964 { bpf_error(yyextra, "bogus ethernet address %s", yytext); } 4235 yylval->s = sdup(yyextra, (char *)yytext); return ID; } [all …]
|
D | scanner.h | 140 #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); \ 307 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
|