Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dglsl_lexer.ll74 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/
Dglcpp-lex.l104 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/
DTokenizer.l62 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 …]
DTokenizer.cpp149 #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/
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()
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()
Dglslang_lex.cpp161 #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/
Dscanner.l302 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 …]
Dscanner.c139 #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 …]
Dscanner.h133 #define yyextra yyg->yyextra_r macro
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l33 #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/
Dlex.layout.c125 #define yyextra yyg->yyextra_r macro
1909 return yyextra; in layoutget_extra()
1982 yyextra = user_defined ; in layoutset_extra()
Dlex.sksl.c125 #define yyextra yyg->yyextra_r macro
2352 return yyextra; in skslget_extra()
2425 yyextra = user_defined ; in skslset_extra()