Searched refs:yytext (Results 1 - 25 of 33) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/freedreno/afuc/
H A Dlexer.l43 0|[1-9][0-9]* yylval.num = strtoul(yytext, NULL, 0); return T_INT;
44 "0x"[0-9a-fA-F]* yylval.num = strtoul(yytext, NULL, 0); return T_HEX;
46 "$"[0-9a-fA-F][0-9a-fA-F] yylval.num = parse_reg(yytext); return T_REGISTER;
47 "$"[a-zA-Z][a-zA-Z0-9]* yylval.num = parse_reg(yytext); return T_REGISTER;
48 "b"[0-9][0-9]* yylval.num = parse_bit(yytext); return T_BIT;
49 "@"[a-zA-Z_][a-zA-Z0-9_]* yylval.num = parse_control_reg(yytext); return T_CONTROL_REG;
50 "#"[a-zA-Z_][a-zA-Z0-9_]* yylval.str = strdup(yytext+1); return T_LABEL_REF; /* label reference */
51 [a-zA-Z_][a-zA-Z0-9_]*":" yylval.str = parse_label_decl(yytext); return T_LABEL_DECL; /* label declaration */
52 "["[0-9a-fA-F][0-9a-fA-F]*"]" yylval.num = parse_literal(yytext); return T_LITERAL;
89 "(xmov"[1-3]")" yylval.num = yytext[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram_lexer.l53 return handle_ident(yyextra, yytext, yylval); \
72 yytext + len, \
77 return handle_ident(yyextra, yytext, yylval); \
312 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
317 yylval->integer = strtol(yytext, NULL, 10);
321 yylval->real = _mesa_strtof(yytext, NULL);
325 yylval->real = _mesa_strtof(yytext, NULL);
329 yylval->real = _mesa_strtof(yytext, NULL);
333 yylval->real = _mesa_strtof(yytext, NULL);
346 | mask_from_char(yytext[
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprogram_lexer.l53 return handle_ident(yyextra, yytext, yylval); \
72 yytext + len, \
77 return handle_ident(yyextra, yytext, yylval); \
312 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
317 yylval->integer = strtol(yytext, NULL, 10);
321 yylval->real = _mesa_strtof(yytext, NULL);
325 yylval->real = _mesa_strtof(yytext, NULL);
329 yylval->real = _mesa_strtof(yytext, NULL);
333 yylval->real = _mesa_strtof(yytext, NULL);
346 | mask_from_char(yytext[
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A Dwinprefslex.l41 extern char *yytext;
97 "\""[^\"\r\n]+"\"" { yylval.sVal = makestr(yytext+1); \
100 [^ \t\r\n]+ { yylval.sVal = makestr(yytext); \
H A Dwinprefslex.c174 if ( yytext[yyl] == '\n' )\
182 /* Undo effects of setting up yytext. */ \
188 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
284 /* yy_hold_char holds the character lost when yytext is formed. */
357 extern char *yytext;
358 #define yytext_ptr yytext
366 * corresponding action - sets up yytext.
629 char *yytext; variable in typeref:typename:char *
671 extern char *yytext;
781 #define ECHO fwrite( yytext, yylen
[all...]
H A Dwinprefsyacc.y84 extern char *yytext;
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_lexer.l106 [0-9]+"."[0-9]+ ir3_yylval.flt = strtod(yytext, NULL); return T_FLOAT;
107 [0-9]* ir3_yylval.num = strtoul(yytext, NULL, 0); return T_INT;
108 "0x"[0-9a-fA-F]* ir3_yylval.num = strtoul(yytext, NULL, 0); return T_HEX;
133 "(rpt"[0-7]")" ir3_yylval.num = strtol(yytext+4, NULL, 10); return T_RPT;
134 "(nop"[0-7]")" ir3_yylval.num = strtol(yytext+4, NULL, 10); return T_NOP;
135 "("[x]?[y]?[z]?[w]?")" ir3_yylval.num = parse_wrmask(yytext); return T_WRMASK;
137 [h]?"r"[0-9]+"."[xyzw] ir3_yylval.num = parse_reg(yytext); return T_REGISTER;
138 [h]?"c"[0-9]+"."[xyzw] ir3_yylval.num = parse_reg(yytext); return T_CONSTANT;
141 "p0."[xyzw] ir3_yylval.num = parse_reg(yytext); return T_P0;
142 "w"[0-9]+ ir3_yylval.num = parse_w(yytext); retur
[all...]
/xsrc/external/mit/twm/dist/src/
H A Dlex.l113 [a-zA-Z\.]+ { int token = parse_keyword ((char *)yytext,
118 yytext);
127 {string} { yylval.ptr = (char *)yytext; return STRING; }
128 {number} { (void)sscanf((char *)yytext, "%d", &yylval.num);
136 yytext);
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/config/
H A Dscanner.c169 /* Undo effects of setting up yytext. */ \
175 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
271 /* yy_hold_char holds the character lost when yytext is formed. */
344 extern char *yytext;
345 #define yytext_ptr yytext
353 * corresponding action - sets up yytext.
497 char *yytext; variable in typeref:typename:char *
637 #define ECHO fwrite( yytext, yyleng, 1, yyout )
707 /* Code executed at the beginning of each rule, after yytext and yyleng
722 (yytext[yylen
[all...]
H A Dscanner.l63 virtual return gettoken(T_VIRTUAL, yytext, yyleng);
64 display return gettoken(T_DISPLAY, yytext, yyleng);
65 wall return gettoken(T_WALL, yytext, yyleng);
66 option return gettoken(T_OPTION, yytext, yyleng);
67 param return gettoken(T_PARAM, yytext, yyleng);
68 {dimension} return getdimension(T_DIMENSION, yytext, yyleng);
69 {offset} return getdimension(T_OFFSET, yytext+1, yyleng-1);
70 {origin} return getdimension(T_ORIGIN, yytext+1, yyleng-1);
71 {word} return getstring(T_STRING, yytext, yyleng);
72 {string} return getstring(T_STRING, yytext
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwinprefslex.l95 "\""[^\"\r\n]+"\"" { yylval.sVal = makestr(yytext+1); \
98 [^ \t\r\n]+ { yylval.sVal = makestr(yytext); \
H A Dwinprefslex.c176 if ( yytext[yyl] == '\n' )\
191 /* Undo effects of setting up yytext. */ \
197 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
286 /* yy_hold_char holds the character lost when yytext is formed. */
353 extern char *yytext;
357 #define yytext_ptr yytext
365 * corresponding action - sets up yytext.
633 char *yytext; variable in typeref:typename:char *
787 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
857 /* Code executed at the beginning of each rule, after yytext an
[all...]
H A Dwinprefsyacc.y84 extern char *yytext;
/xsrc/external/mit/MesaLib/src/mesa/program/
H A Dlex.yy.c365 #define yytext yyg->yytext_r macro
425 /* Undo effects of setting up yytext. */ \
431 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
573 * corresponding action - sets up yytext.
1158 return handle_ident(yyextra, yytext, yylval); \
1177 yytext + len, \
1182 return handle_ident(yyextra, yytext, yylval); \
1424 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1496 /* Code executed at the beginning of each rule, after yytext and yyleng
1560 /* Support of yytext
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/
H A Dglcpp-lex.l85 * of RETURN_TOKEN that performs a string copy of yytext before the
111 memcpy(yylval->str, yytext, yyleng + 1); \
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);
554 RETURN_TOKEN (yytext[0]);
603 glcpp_error(yylloc, yyextra, "Internal compiler error: Unexpected character: %s", yytext);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/
H A Dglcpp-lex.l85 * of RETURN_TOKEN that performs a string copy of yytext before the
111 memcpy(yylval->str, yytext, yyleng + 1); \
463 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext);
471 glcpp_error(yylloc, yyextra, "#define followed by a non-identifier: %s", yytext);
548 RETURN_TOKEN (yytext[0]);
593 glcpp_error(yylloc, yyextra, "Internal compiler error: Unexpected character: %s", yytext);
/xsrc/external/mit/MesaLib/dist/src/intel/tools/
H A Di965_lex.l44 memmove(name, yytext + 1, yyleng - 2);
199 yylval.integer = strtoul(yytext, NULL, 10);
212 yylval.integer = strtoul(yytext, NULL, 10);
251 yylval.integer = strtoul(yytext, NULL, 10);
319 "acc"[0-9]+ { yylval.integer = atoi(yytext + 3); return ACCREG; }
328 "f"[0|1] { BEGIN(CHANNEL); yylval.integer = atoi(yytext + 1); return FLAGREG; }
332 m[0-9]+ { yylval.integer = atoi(yytext + 1); BEGIN(REG); return MSGREG; }
335 sr[0-9]+ { yylval.integer = atoi(yytext + 2); return STATEREG; }
350 yylval.integer = atoi(yytext + 1);
354 "mask"[0-9]+ { yylval.integer = atoi(yytext
[all...]
/xsrc/external/mit/ctwm/dist/gen/
H A Dlex.c173 /* Undo effects of setting up yytext. */ \
179 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
268 /* yy_hold_char holds the character lost when yytext is formed. */
338 extern char *yytext;
342 #define yytext_ptr yytext
350 * corresponding action - sets up yytext.
466 char *yytext; variable in typeref:typename:char *
615 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
685 /* Code executed at the beginning of each rule, after yytext and yyleng
743 /* Support of yytext
[all...]
H A Dgram.tab.c106 extern char *yytext; // Have to manually pull this in
2931 fprintf(stderr, "Bad vertical gravity '%s'\n", yytext);
2950 fprintf(stderr, "Bad horiz gravity '%s'\n", yytext);
/xsrc/external/mit/xgc/dist/
H A Dlex.c172 /* Undo effects of setting up yytext. */ \
178 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
267 /* yy_hold_char holds the character lost when yytext is formed. */
334 extern char *yytext;
338 #define yytext_ptr yytext
346 * corresponding action - sets up yytext.
700 char *yytext; variable in typeref:typename:char *
813 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
883 /* Code executed at the beginning of each rule, after yytext and yyleng
942 /* Support of yytext
[all...]
/xsrc/external/mit/MesaLib/src/compiler/glsl/
H A Dglsl_lexer.cpp365 #define yytext yyg->yytext_r macro
425 /* Undo effects of setting up yytext. */ \
431 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
573 * corresponding action - sets up yytext.
1486 "illegal use of reserved word `%s'", yytext); \
1489 return classify_identifier(yyextra, yytext, yyleng, yylval); \
1507 "illegal use of reserved word `%s'", yytext); \
1510 return classify_identifier(yyextra, yytext, yyleng, yylval); \
1531 "illegal use of reserved word `%s'", yytext); \
1545 "illegal use of reserved word `%s'", yytext); \
[all...]
/xsrc/external/mit/MesaLib.old/src/compiler/glsl/
H A Dglsl_lexer.cpp365 #define yytext yyg->yytext_r macro
425 /* Undo effects of setting up yytext. */ \
431 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
573 * corresponding action - sets up yytext.
1465 "illegal use of reserved word `%s'", yytext); \
1468 return classify_identifier(yyextra, yytext, yyleng, yylval); \
1486 "illegal use of reserved word `%s'", yytext); \
1489 return classify_identifier(yyextra, yytext, yyleng, yylval); \
1508 "illegal use of reserved word `%s'", yytext); \
1522 "illegal use of reserved word `%s'", yytext); \
[all...]
/xsrc/external/mit/MesaLib.old/src/compiler/glsl/glcpp/
H A Dglcpp-lex.c365 #define yytext yyg->yytext_r macro
425 /* Undo effects of setting up yytext. */ \
431 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
573 * corresponding action - sets up yytext.
906 * of RETURN_TOKEN that performs a string copy of yytext before the
932 memcpy(yylval->str, yytext, yyleng + 1); \
1168 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1240 /* Code executed at the beginning of each rule, after yytext and yyleng
1362 /* Support of yytext. */
1492 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
[all...]
/xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/
H A Dglcpp-lex.c365 #define yytext yyg->yytext_r macro
425 /* Undo effects of setting up yytext. */ \
431 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
573 * corresponding action - sets up yytext.
937 * of RETURN_TOKEN that performs a string copy of yytext before the
963 memcpy(yylval->str, yytext, yyleng + 1); \
1199 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1271 /* Code executed at the beginning of each rule, after yytext and yyleng
1393 /* Support of yytext. */
1523 *yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
[all...]
/xsrc/external/mit/ctwm/dist/
H A Dgram.y58 extern char *yytext; // Have to manually pull this in
564 fprintf(stderr, "Bad vertical gravity '%s'\n", yytext);
579 fprintf(stderr, "Bad horiz gravity '%s'\n", yytext);

Completed in 63 milliseconds

12