/external/mesa3d/src/compiler/glsl/ |
D | glsl_lexer.ll | 78 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \ 81 } else if (yyextra->is_version(reserved_glsl, \ 83 _mesa_glsl_error(yylloc, yyextra, \ 87 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 98 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \ 102 } else if (yyextra->is_version(reserved_glsl, \ 104 _mesa_glsl_error(yylloc, yyextra, \ 108 return classify_identifier(yyextra, yytext, yyleng, yylval); \ 125 if (yyextra->is_version(0, 300)) { \ 126 _mesa_glsl_error(yylloc, yyextra, \ [all …]
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp-lex.l | 108 void *mem_ctx = yyextra->linalloc; \ 209 glcpp_parser_t *parser = yyextra; 279 if (yyextra->space_tokens && YY_START != HASH) 293 yyextra->in_define = false; 301 yyextra->space_tokens = 0; 302 yyextra->lexing_version_directive = 1; 337 yyextra->space_tokens = 0; 346 if (!yyextra->in_define) { 348 yyextra->lexing_directive = 1; 349 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/angle/src/compiler/preprocessor/ |
D | preprocessor.l | 74 yyextra->leadingSpace = false; \ 75 yyextra->lineStart = true; \ 82 angle::pp::Input* input = &yyextra->input; \ 83 angle::pp::Input::Location* scanLoc = &yyextra->scanLoc; \ 96 result = yyextra->input.read(buf, maxSize, &yylineno); 138 yyextra->leadingSpace = true; 145 return yyextra->lineStart ? angle::pp::Token::PP_HASH : angle::pp::Token::PP_OTHER; 260 [ \t\v\f]+ { yyextra->leadingSpace = true; } 281 angle::pp::Input* input = &yyextra->input; 282 angle::pp::Input::Location* scanLoc = &yyextra->scanLoc; [all …]
|
D | preprocessor_lex_autogen.cpp | 365 #define yyextra yyg->yyextra_r macro 733 yyextra->leadingSpace = false; \ 734 yyextra->lineStart = true; \ 741 angle::pp::Input *input = &yyextra->input; \ 742 angle::pp::Input::Location *scanLoc = &yyextra->scanLoc; \ 755 #define YY_INPUT(buf, result, maxSize) result = yyextra->input.read(buf, maxSize, &yylineno); 1115 yyextra->leadingSpace = true; 1124 return yyextra->lineStart ? angle::pp::Token::PP_HASH 1313 YY_RULE_SETUP { yyextra->leadingSpace = true; } 1341 angle::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() 515 yyextra->warning(*yylloc, "Float overflow", yytext, ""); in floatsuffix_check() 524 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in int_constant() 532 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/mesa3d/src/mesa/program/ |
D | program_lexer.l | 38 #define require_ARB_vp (yyextra->mode == ARB_vertex) 39 #define require_ARB_fp (yyextra->mode == ARB_fragment) 40 #define require_shadow (yyextra->option.Shadow) 41 #define require_rect (yyextra->option.TexRect) 42 #define require_texarray (yyextra->option.TexArray) 53 return handle_ident(yyextra, yytext, yylval); \ 71 _mesa_parse_instruction_suffix(yyextra, \ 77 return handle_ident(yyextra, yytext, yylval); \ 312 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
|
/external/libpcap/ |
D | scanner.l | 394 ${B} { yylval->s = sdup(yyextra, yytext); return AID; } 395 {MAC} { yylval->s = sdup(yyextra, yytext); return EID; } 396 {N} { return stou(yytext, yylval, yyextra); } 398 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 406 bpf_set_error(yyextra, "bogus IPv6 address %s", yytext); 410 yylval->s = sdup(yyextra, (char *)yytext); 413 bpf_set_error(yyextra, "IPv6 address %s not supported", yytext); 418 {B}:+({B}:+)+ { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; ret… 480 yylval->s = sdup(yyextra, (char *)yytext); return ID; } 481 "\\"[^ !()\n\t]+ { yylval->s = sdup(yyextra, (char *)yytext + 1); return ID; }
|
D | scanner.c | 372 #define yyextra yyg->yyextra_r macro 4073 { yylval->s = sdup(yyextra, yytext); return AID; } 4078 { yylval->s = sdup(yyextra, yytext); return EID; } 4089 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 4101 bpf_set_error(yyextra, "bogus IPv6 address %s", yytext); 4105 yylval->s = sdup(yyextra, (char *)yytext); 4108 bpf_set_error(yyextra, "IPv6 address %s not supported", yytext); 4117 { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; return EID; } 4388 yylval->s = sdup(yyextra, (char *)yytext); return ID; } 4393 { yylval->s = sdup(yyextra, (char *)yytext + 1); return ID; } [all …]
|
D | scanner.h | 368 #define yyextra yyg->yyextra_r macro
|
/external/angle/src/compiler/translator/ |
D | glslang.l | 137 TParseContext* context = yyextra; 455 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext); 486 …const TSymbol* symbol = yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getSha… in check_type() 498 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word() 826 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant() 844 yyextra->warning(*yylloc, "Float overflow", yytext); in floatsuffix_check() 860 yyextra->error(*yylloc, "Integer overflow", yytext); in int_constant() 862 yyextra->warning(*yylloc, "Integer overflow", yytext); in int_constant() 872 yyextra->warning(*yylloc, "Float overflow", yytext); in float_constant()
|
D | glslang_lex_autogen.cpp | 181 #define yyextra yyg->yyextra_r macro 1238 TParseContext *context = yyextra; 2119 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext); 2956 return yyextra; in yyget_extra() 3029 yyextra = user_defined; in yyset_extra() 3329 yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getShaderVersion()); in check_type() 3342 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word() 3694 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant() 3712 yyextra->warning(*yylloc, "Float overflow", yytext); in floatsuffix_check() 3730 yyextra->error(*yylloc, "Integer overflow", yytext); in int_constant() [all …]
|