/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/libconfig/lib/ |
D | scanner.l | 82 <STRING>[^\"\\]+ { libconfig_scanctx_append_string(yyextra, yytext); } 83 <STRING>\\n { libconfig_scanctx_append_char(yyextra, '\n'); } 84 <STRING>\\r { libconfig_scanctx_append_char(yyextra, '\r'); } 85 <STRING>\\t { libconfig_scanctx_append_char(yyextra, '\t'); } 86 <STRING>\\f { libconfig_scanctx_append_char(yyextra, '\f'); } 87 <STRING>\\\\ { libconfig_scanctx_append_char(yyextra, '\\'); } 88 <STRING>\\\" { libconfig_scanctx_append_char(yyextra, '\"'); } 91 libconfig_scanctx_append_char(yyextra, c); 93 <STRING>\\ { libconfig_scanctx_append_char(yyextra, '\\'); } 95 yylval->sval = libconfig_scanctx_take_string(yyextra); [all …]
|
D | scanner.c | 346 #define yyextra yyg->yyextra_r macro 1197 { libconfig_scanctx_append_string(yyextra, yytext); } 1202 { libconfig_scanctx_append_char(yyextra, '\n'); } 1207 { libconfig_scanctx_append_char(yyextra, '\r'); } 1212 { libconfig_scanctx_append_char(yyextra, '\t'); } 1217 { libconfig_scanctx_append_char(yyextra, '\f'); } 1222 { libconfig_scanctx_append_char(yyextra, '\\'); } 1227 { libconfig_scanctx_append_char(yyextra, '\"'); } 1234 libconfig_scanctx_append_char(yyextra, c); 1240 { libconfig_scanctx_append_char(yyextra, '\\'); } [all …]
|
D | scanner.h | 342 #define yyextra yyg->yyextra_r macro
|
/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); 1117 yyextra->leadingSpace = true; 1126 return yyextra->lineStart ? angle::pp::Token::PP_HASH 1317 yyextra->leadingSpace = true; 1346 angle::pp::Input *input = &yyextra->input; [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 | 397 ${B} { yylval->s = sdup(yyextra, yytext); return AID; } 398 {MAC} { yylval->s = sdup(yyextra, yytext); return EID; } 399 {N} { return stou(yytext, yylval, yyextra); } 401 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 409 bpf_set_error(yyextra, "bogus IPv6 address %s", yytext); 413 yylval->s = sdup(yyextra, (char *)yytext); 416 bpf_set_error(yyextra, "IPv6 address %s not supported", yytext); 421 {B}:+({B}:+)+ { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; ret… 483 yylval->s = sdup(yyextra, (char *)yytext); return ID; } 484 "\\"[^ !()\n\t]+ { yylval->s = sdup(yyextra, (char *)yytext + 1); return ID; }
|
D | scanner.c | 379 #define yyextra yyg->yyextra_r macro 4123 { yylval->s = sdup(yyextra, yytext); return AID; } 4128 { yylval->s = sdup(yyextra, yytext); return EID; } 4133 { return stou(yytext, yylval, yyextra); } 4139 yylval->s = sdup(yyextra, (char *)yytext); return HID; } 4151 bpf_set_error(yyextra, "bogus IPv6 address %s", yytext); 4155 yylval->s = sdup(yyextra, (char *)yytext); 4158 bpf_set_error(yyextra, "IPv6 address %s not supported", yytext); 4167 { bpf_set_error(yyextra, "bogus ethernet address %s", yytext); yylval->s = NULL; return EID; } 4458 yylval->s = sdup(yyextra, (char *)yytext); return ID; } [all …]
|
D | scanner.h | 375 #define yyextra yyg->yyextra_r macro
|
/external/angle/src/compiler/translator/ |
D | glslang.l | 137 TParseContext* context = yyextra; 470 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext); 501 …const TSymbol* symbol = yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getSha… in check_type() 513 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word() 845 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant() 863 yyextra->warning(*yylloc, "Float overflow", yytext); in floatsuffix_check() 879 yyextra->error(*yylloc, "Integer overflow", yytext); in int_constant() 881 yyextra->warning(*yylloc, "Integer overflow", yytext); in int_constant() 891 yyextra->warning(*yylloc, "Float overflow", yytext); in float_constant()
|
D | glslang_lex_autogen.cpp | 181 #define yyextra yyg->yyextra_r macro 1257 TParseContext *context = yyextra; 2632 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext); 3469 return yyextra; in yyget_extra() 3542 yyextra = user_defined; in yyset_extra() 3842 yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getShaderVersion()); in check_type() 3855 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word() 4212 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant() 4230 yyextra->warning(*yylloc, "Float overflow", yytext); in floatsuffix_check() 4248 yyextra->error(*yylloc, "Integer overflow", yytext); in int_constant() [all …]
|
/external/libtracefs/src/ |
D | sqlhist.l | 10 #define YY_INPUT(b, r, m) ({r = my_yyinput(yyextra, b, m);}) 19 #define TRACE_SB ((struct sqlhist_bison *)yyextra)
|
D | sqlhist-lex.c | 136 #define yyextra yyg->yyextra_r macro 515 #define YY_INPUT(b, r, m) ({r = my_yyinput(yyextra, b, m);}) 524 #define TRACE_SB ((struct sqlhist_bison *)yyextra) 1856 return yyextra; in yyget_extra() 1929 yyextra = user_defined ; in yyset_extra()
|