Home
last modified time | relevance | path

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

/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; \
440 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext);
448 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext);
507 glcpp_error(yylloc, yyextra, "Token pasting (##) is illegal in GLES");
556 glcpp_error(yylloc, yyextra, "Unterminated comment");
570 glcpp_error(yylloc, yyextra, "Internal compiler error: Unexpected character: %s", yytext);
Dglcpp-parse.y148 glcpp_parser_lex(YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser);
699 $$->location = yylloc;
703 $$->location = yylloc;
707 $$->location = yylloc;
711 $$->location = yylloc;
715 $$->location = yylloc;
719 $$->location = yylloc;
2152 glcpp_parser_lex(YYSTYPE *yylval, YYLTYPE *yylloc, glcpp_parser_t *parser) in glcpp_parser_lex() argument
2158 ret = glcpp_lex(yylval, yylloc, parser->scanner); in glcpp_parser_lex()
/external/mesa3d/src/mesa/program/
Dprogram_lexer.l132 yylloc->first_column = yylloc->last_column; \
133 yylloc->last_column += yyleng; \
134 if ((yylloc->first_line == 1) \
135 && (yylloc->first_column == 1)) { \
136 yylloc->position = 1; \
138 yylloc->position += yylloc->last_column - yylloc->first_column; \
462 yylloc->first_line++;
463 yylloc->first_column = 1;
464 yylloc->last_line++;
465 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()
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.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 …]
Dglslang.y104 extern int yylex(YYSTYPE* yylval, YYLTYPE* yylloc, void* yyscanner);
/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/mesa3d/src/compiler/glsl/
Dglsl_lexer.ll39 yylloc->first_column = yycolumn + 1; \
40 yylloc->first_line = yylloc->last_line = yylineno + 1; \
42 yylloc->last_column = yycolumn + 1; \
45 #define YY_USER_INIT yylineno = 0; yycolumn = 0; yylloc->source = 0;
79 _mesa_glsl_error(yylloc, yyextra, \
96 _mesa_glsl_error(yylloc, yyextra, \
142 literal_integer(yytext, yyleng, yyextra, yylval, yylloc, base)
195 yylloc->source = strtol(ptr, NULL, 0);
483 _mesa_glsl_warning(yylloc, state,
599 _mesa_glsl_error(yylloc, state,
Dglsl_parser_extras.h873 extern int _mesa_glsl_lexer_lex(union YYSTYPE *yylval, YYLTYPE *yylloc,
/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/dtc/
Dtreesource.c26 extern YYLTYPE yylloc;
38 yylloc.file = current_srcfile; in dt_from_source()
Ddtc-lexer.l302 srcpos_verror(&yylloc, "Lexical error", fmt, ap);
Ddtc-parser.y532 ERROR(&yylloc, "%s", s);
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dparser.c1928 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
1951 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in yyparse()
/external/libpcap/
Dgrammar.c1995 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); in yyparse()
2018 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); in yyparse()
/external/toybox/kconfig/
Dzconf.tab.c_shipped1365 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1386 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);