Home
last modified time | relevance | path

Searched refs:yyextra (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dglsl_lexer.ll78 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); \
126 if (yyextra->is_version(reserved_glsl, reserved_glsl_es) && \
128 _mesa_glsl_error(yylloc, yyextra, \
[all …]
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp-lex.l108 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 …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.l75 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 …]
DTokenizer.cpp473 #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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DTokenizer.l66 yyextra->leadingSpace = false; \
67 yyextra->lineStart = true; \
74 angle::pp::Input* input = &yyextra->input; \
75 angle::pp::Input::Location* scanLoc = &yyextra->scanLoc; \
88 result = yyextra->input.read(buf, maxSize, &yylineno);
130 yyextra->leadingSpace = true;
137 return yyextra->lineStart ? angle::pp::Token::PP_HASH : angle::pp::Token::PP_OTHER;
252 [ \t\v\f]+ { yyextra->leadingSpace = true; }
273 angle::pp::Input* input = &yyextra->input;
274 angle::pp::Input::Location* scanLoc = &yyextra->scanLoc;
[all …]
DTokenizer.cpp363 #define yyextra yyg->yyextra_r macro
726 yyextra->leadingSpace = false; \
727 yyextra->lineStart = true; \
734 angle::pp::Input *input = &yyextra->input; \
735 angle::pp::Input::Location *scanLoc = &yyextra->scanLoc; \
748 #define YY_INPUT(buf, result, maxSize) result = yyextra->input.read(buf, maxSize, &yylineno);
1108 yyextra->leadingSpace = true;
1117 return yyextra->lineStart ? angle::pp::Token::PP_HASH
1306 YY_RULE_SETUP { yyextra->leadingSpace = true; }
1334 angle::pp::Input *input = &yyextra->input;
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
Dpreprocessor.l74 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 …]
Dpreprocessor_lex_autogen.cpp365 #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 …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dglslang.l99 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()
Dglslang_lex.cpp239 #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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l114 TParseContext* context = yyextra;
423 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
454 …const TSymbol* symbol = yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getSha… in check_type()
466 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word()
634 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant()
652 yyextra->warning(*yylloc, "Float overflow", yytext); in floatsuffix_check()
668 yyextra->error(*yylloc, "Integer overflow", yytext); in int_constant()
670 yyextra->warning(*yylloc, "Integer overflow", yytext); in int_constant()
680 yyextra->warning(*yylloc, "Float overflow", yytext); in float_constant()
Dglslang_lex.cpp242 #define yyextra yyg->yyextra_r macro
1635 TParseContext* context = yyextra;
2491 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
3371 return yyextra; in yyget_extra()
3461 yyextra = user_defined ; in yyset_extra()
3819 …const TSymbol* symbol = yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getSha… in check_type()
3831 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word()
3999 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant()
4017 yyextra->warning(*yylloc, "Float overflow", yytext); in floatsuffix_check()
4033 yyextra->error(*yylloc, "Integer overflow", yytext); in int_constant()
[all …]
/third_party/mesa3d/src/mesa/program/
Dprogram_lexer.l38 #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); }
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l137 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()
Dglslang_lex_autogen.cpp181 #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 …]
/third_party/gstreamer/gstreamer/gst/parse/
Dparse_lex.h342 #define yyextra yyg->yyextra_r macro
Dlex.priv_gst_parse_yy.c349 #define yyextra yyg->yyextra_r macro
2380 return yyextra; in yyget_extra()
2453 yyextra = user_defined ; in yyset_extra()