Home
last modified time | relevance | path

Searched refs:yylloc (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp-lex.l48 yylloc->source = parser->new_source_number; \
49 yylloc->first_column = yycolumn + 1; \
50 yylloc->first_line = yylloc->last_line = yylineno; \
52 yylloc->last_column = yycolumn + 1; \
61 yylloc->source = 0; \
469 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext);
477 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext);
536 glcpp_error(yylloc, yyextra, "Token pasting (##) is illegal in GLES");
589 glcpp_error(yylloc, yyextra, "Unterminated comment");
603 glcpp_error(yylloc, yyextra, "Internal compiler error: Unexpected character: %s", yytext);
Dglcpp-parse.y158 glcpp_parser_lex(YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser);
806 $$->location = yylloc;
810 $$->location = yylloc;
814 $$->location = yylloc;
818 $$->location = yylloc;
822 $$->location = yylloc;
826 $$->location = yylloc;
830 $$->location = yylloc;
2296 glcpp_parser_lex(YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser) in glcpp_parser_lex() argument
2302 ret = glcpp_lex(yylval, yylloc, parser->scanner); in glcpp_parser_lex()
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l137 yylloc->first_column = yylloc->last_column; \
138 yylloc->last_column += yyleng; \
139 if ((yylloc->first_line == 1) \
140 && (yylloc->first_column == 1)) { \
141 yylloc->position = 1; \
143 yylloc->position += yylloc->last_column - yylloc->first_column; \
466 yylloc->first_line++;
467 yylloc->first_column = 1;
468 yylloc->last_line++;
469 yylloc->last_column = 1;
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dglslang.l67 yylloc->first_file = yylloc->last_file = yycolumn; \
68 yylloc->first_line = yylloc->last_line = yylineno;
401 <*>. { context->warning(*yylloc, "Unknown char", yytext, ""); return 0; }
440 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word()
490 … context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext, ""); in uint_constant()
496 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in uint_constant()
507 context->error(*yylloc, "Floating-point suffix unsupported prior to GLSL ES 3.00", yytext); in floatsuffix_check()
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.cpp1167 yylloc->first_file = yylloc->last_file = yycolumn; \
1168 yylloc->first_line = yylloc->last_line = yylineno;
1262 # define yylloc yyg->yylloc_r macro
1547 yylloc = yylloc_param;
2347 { context->warning(*yylloc, "Unknown char", yytext, ""); return 0; }
3405 return yylloc; in yyget_lloc()
3413 yylloc = yylloc_param; in yyset_lloc()
3672 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word()
3722 … context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext, ""); in uint_constant()
3728 yyextra->warning(*yylloc, "Integer overflow", yytext, ""); in uint_constant()
[all …]
Dglslang_tab.cpp340 extern int yylex(YYSTYPE* yylval, YYLTYPE* yylloc, void* yyscanner);
1618 yyerror (&yylloc, context, yyscanner, YY_("syntax error: cannot back up")); \
2114 YYLTYPE yylloc = yyloc_default; in yyparse() local
2184 yylsp[0] = yylloc; in yyparse()
2290 yychar = yylex (&yylval, &yylloc, yyscanner); in yyparse()
2301 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
2324 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in yyparse()
2333 *++yylsp = yylloc; in yyparse()
4923 yyerror (&yylloc, context, yyscanner, YY_("syntax error")); in yyparse()
4950 yyerror (&yylloc, context, yyscanner, yymsgp); in yyparse()
[all …]
/external/angle/tools/flex-bison/third_party/skeletons/
Dyacc.c97 # Arguments passed to yyerror: user args plus yylloc.
99 [b4_yyerror_arg_loc_if([&yylloc, ])dnl
185 YYLTYPE yylloc = yyloc_default;]])],
189 YYLTYPE yylloc]b4_yyloc_default[;]])[
335 #define yylloc ]b4_prefix[lloc]])]))[
1283 YYLTYPE yylloc = yyloc_default;]])])[
1303 …yypush_parse (yyps_local]b4_pure_if([[, yychar, &yylval]b4_locations_if([[, &yylloc]])])m4_ifset([…
1382 YYLTYPE yypushed_loc = yylloc;]])
1433 [b4_push_if([b4_pure_if([*])yypushed_loc], [yylloc])])dnl
1438 b4_locations_if([[ yylsp[0] = ]b4_push_if([b4_pure_if([*])yypushed_loc], [yylloc])[;
[all …]
Dc.m4115 b4_locations_if([, [[YYLTYPE *yyllocp], [&yylloc]]])])dnl
747 # in the parser body. Declare YYSTYPE/YYLTYPE, and yylval/yylloc.
873 # Expand to a possible default value for yylloc.
/external/angle/src/compiler/translator/
Dglslang.l79 yylloc->first_file = yylloc->last_file = yycolumn; \
80 yylloc->first_line = yylloc->last_line = yylineno;
455 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
498 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word()
821 context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext); in uint_constant()
826 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant()
837 context->error(*yylloc, "Floating-point suffix unsupported prior to GLSL ES 3.00", yytext); in floatsuffix_check()
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()
[all …]
Dglslang_lex_autogen.cpp899 yylloc->first_file = yylloc->last_file = yycolumn; \
900 yylloc->first_line = yylloc->last_line = yylineno;
1014 #define yylloc yyg->yylloc_r macro
1208 yylloc = yylloc_param;
2119 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
3109 return yylloc; in yyget_lloc()
3115 yylloc = yylloc_param; in yyset_lloc()
3342 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word()
3689 context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext); in uint_constant()
3694 yyextra->error(*yylloc, "Integer overflow", yytext); in uint_constant()
[all …]
Dglslang_tab_autogen.cpp406 extern int yylex(YYSTYPE *yylval, YYLTYPE *yylloc, void *yyscanner);
407 extern void yyerror(YYLTYPE *yylloc, TParseContext *context, void *scanner, const char *reason);
1621 yyerror(&yylloc, context, scanner, YY_("syntax error: cannot back up")); \
2118 YYLTYPE yylloc = yyloc_default; in yyparse() local
2188 yylsp[0] = yylloc; in yyparse()
2290 yychar = yylex(&yylval, &yylloc, scanner); in yyparse()
2301 YY_SYMBOL_PRINT("Next token is", yytoken, &yylval, &yylloc); in yyparse()
2324 YY_SYMBOL_PRINT("Shifting", yytoken, &yylval, &yylloc); in yyparse()
2333 *++yylsp = yylloc; in yyparse()
5450 yyerror(&yylloc, context, scanner, YY_("syntax error")); in yyparse()
[all …]
/external/iproute2/tc/
Demp_ematch.yacc.c71 #define yylloc ematch_lloc macro
1077 YYLTYPE yylloc variable
1158 yylsp[0] = yylloc; in yyparse()
1275 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
1298 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in yyparse()
1307 *++yylsp = yylloc; in yyparse()
1519 yyerror_range[1] = yylloc; in yyparse()
1535 yytoken, &yylval, &yylloc); in yyparse()
1602 yyerror_range[2] = yylloc; in yyparse()
1646 yytoken, &yylval, &yylloc); in yyparse()
/external/mesa3d/src/compiler/glsl/
Dglsl_lexer.ll42 yylloc->first_column = yycolumn + 1; \
43 yylloc->first_line = yylloc->last_line = yylineno + 1; \
45 yylloc->last_column = yycolumn + 1; \
48 #define YY_USER_INIT yylineno = 0; yycolumn = 0; yylloc->source = 0; \
49 yylloc->path = NULL;
83 _mesa_glsl_error(yylloc, yyextra, \
104 _mesa_glsl_error(yylloc, yyextra, \
126 _mesa_glsl_error(yylloc, yyextra, \
140 _mesa_glsl_error(yylloc, yyextra, \
207 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base)
[all …]
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.l90 yylloc->file = yyfileno; \
91 yylloc->line = yylineno; \
292 yylloc->file = yyfileno;
293 yylloc->line = yylineno;
DTokenizer.cpp963 yylloc->file = yyfileno; \
964 yylloc->line = yylineno; \
1049 # define yylloc yyg->yylloc_r macro
1334 yylloc = yylloc_param;
1695 yylloc->file = yyfileno;
1696 yylloc->line = yylineno;
2764 return yylloc; in yyget_lloc()
2772 yylloc = yylloc_param; in yyset_lloc()
DExpressionParser.cpp1274 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
1297 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in yyparse()
/external/angle/src/compiler/preprocessor/
Dpreprocessor.l90 yylloc->file = yyfileno; \
91 yylloc->line = yylineno; \
292 yylloc->file = yyfileno;
293 yylloc->line = yylineno;
Dpreprocessor_lex_autogen.cpp750 yylloc->file = yyfileno; \
751 yylloc->line = yylineno; \
806 #define yylloc yyg->yylloc_r macro
1000 yylloc = yylloc_param;
1354 yylloc->file = yyfileno;
1355 yylloc->line = yylineno;
2335 return yylloc; in yyget_lloc()
2341 yylloc = yylloc_param; in yyset_lloc()
/external/igt-gpu-tools/assembler/
Dlex.l17 yylloc.first_line = yylloc.last_line = yylineno; \
18 yylloc.first_column = yycolumn; \
19 yylloc.last_column = yycolumn+yyleng-1; \
/external/e2fsprogs/intl/
Dplural.c504 # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
506 # define YYLEX yylex (&yylval, &yylloc)
661 YYLTYPE yylloc;
940 *++yylsp = yylloc; in yyparse()
1277 *++yylsp = yylloc; in yyparse()
/external/mesa3d/src/intel/tools/
Di965_lex.l16 yylloc.first_line = yylloc.last_line = yylineno; \
17 yylloc.first_column = yycolumn; \
18 yylloc.last_column = yycolumn + yyleng - 1; \
/external/dtc/
Dtreesource.c11 extern YYLTYPE yylloc;
23 yylloc.file = current_srcfile; in dt_from_source()
Ddtc-lexer.l293 srcpos_verror(&yylloc, "Lexical error", fmt, ap);
Ddtc-parser.y580 ERROR(&yylloc, "%s", s);
/external/bcc/src/cc/frontends/b/
Dparser.yy40 ebpf::cc::BisonParser::location_type *yylloc,
625 ebpf::cc::BisonParser::location_type *yylloc,
627 return lexer.yylex(yylval, yylloc);

12