Home
last modified time | relevance | path

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

12

/third_party/gstreamer/gstreamer/gst/parse/
Dparse.l32 #define ECHO g_fprintf(yyout, "%s", yytext)
93 PRINT ("ASSIGNMENT: %s", yytext);
94 yylval->ss = gst_parse_strdup (yytext);
100 gchar *pos = yytext;
110 yytext++;
111 PRINT ("PADREF: %s", yytext);
112 yylval->ss = gst_parse_strdup (yytext);
118 PRINT ("REF: %s", yytext);
119 yylval->ss = gst_parse_strdup (yytext);
125 gchar *pos = yytext;
[all …]
Dlex.priv_gst_parse_yy.c351 #define yytext yyg->yytext_r macro
1070 #define ECHO g_fprintf(yyout, "%s", yytext)
1243 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1430 PRINT ("ASSIGNMENT: %s", yytext);
1431 yylval->ss = gst_parse_strdup (yytext);
1441 gchar *pos = yytext;
1454 yytext++;
1455 PRINT ("PADREF: %s", yytext);
1456 yylval->ss = gst_parse_strdup (yytext);
1465 PRINT ("REF: %s", yytext);
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.l144 yylval->assign(1, yytext[0]);
149 yylval->assign(yytext, yyleng);
154 yylval->assign(yytext, yyleng);
159 yylval->assign(yytext, yyleng);
166 yylval->assign(yytext, yyleng);
171 yylval->assign(yytext, yyleng);
175 yylval->assign(yytext, yyleng);
179 yylval->assign(yytext, yyleng);
183 yylval->assign(yytext, yyleng);
187 yylval->assign(yytext, yyleng);
[all …]
DTokenizer.cpp475 #define yytext yyg->yytext_r macro
1199 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1466 yylval->assign(1, yytext[0]);
1473 yylval->assign(yytext, yyleng);
1480 yylval->assign(yytext, yyleng);
1487 yylval->assign(yytext, yyleng);
1496 yylval->assign(yytext, yyleng);
1503 yylval->assign(yytext, yyleng);
1510 yylval->assign(yytext, yyleng);
1517 yylval->assign(yytext, yyleng);
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DTokenizer.l136 yylval->assign(1, yytext[0]);
141 yylval->assign(yytext, yyleng);
146 yylval->assign(yytext, yyleng);
151 yylval->assign(yytext, yyleng);
158 yylval->assign(yytext, yyleng);
163 yylval->assign(yytext, yyleng);
167 yylval->assign(yytext, yyleng);
171 yylval->assign(yytext, yyleng);
175 yylval->assign(yytext, yyleng);
179 yylval->assign(yytext, yyleng);
[all …]
DTokenizer.cpp365 #define yytext yyg->yytext_r macro
897 if (fwrite(yytext, (size_t)yyleng, 1, yyout)) \
1116 yylval->assign(1, yytext[0]);
1124 yylval->assign(yytext, yyleng);
1131 yylval->assign(yytext, yyleng);
1138 yylval->assign(yytext, yyleng);
1147 yylval->assign(yytext, yyleng);
1154 yylval->assign(yytext, yyleng);
1161 yylval->assign(yytext, yyleng);
1168 yylval->assign(yytext, yyleng);
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
Dpreprocessor.l144 yylval->assign(1, yytext[0]);
149 yylval->assign(yytext, yyleng);
154 yylval->assign(yytext, yyleng);
159 yylval->assign(yytext, yyleng);
166 yylval->assign(yytext, yyleng);
171 yylval->assign(yytext, yyleng);
175 yylval->assign(yytext, yyleng);
179 yylval->assign(yytext, yyleng);
183 yylval->assign(yytext, yyleng);
187 yylval->assign(yytext, yyleng);
[all …]
Dpreprocessor_lex_autogen.cpp367 #define yytext yyg->yytext_r macro
904 if (fwrite(yytext, (size_t)yyleng, 1, yyout)) \
1123 yylval->assign(1, yytext[0]);
1131 yylval->assign(yytext, yyleng);
1138 yylval->assign(yytext, yyleng);
1145 yylval->assign(yytext, yyleng);
1154 yylval->assign(yytext, yyleng);
1161 yylval->assign(yytext, yyleng);
1168 yylval->assign(yytext, yyleng);
1175 yylval->assign(yytext, yyleng);
[all …]
/third_party/mesa3d/src/freedreno/afuc/
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 refe…
51 [a-zA-Z_][a-zA-Z0-9_]*":" yylval.str = parse_label_decl(yytext); return T_LABEL_DECL; /* la…
52 "["[0-9a-fA-F][0-9a-fA-F]*"]" yylval.num = parse_literal(yytext); return T_LITERAL;
89 "(xmov"[1-3]")" yylval.num = yytext[5] - '\0'; return T_XMOV;
[all …]
/third_party/mesa3d/src/mesa/program/
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[3]);
[all …]
/third_party/gstreamer/gstplugins_good/gst/goom/
Dgoomsl_lex.l30 <LINE_COMMENT>\n { ++currentGoomSL->num_lines; yylval.charValue=*yytext; BEGIN INITIAL; return '…
31 <INITIAL>\n { ++currentGoomSL->num_lines; yylval.charValue=*yytext; return '\n'; }
56 <STRING>. { string[string_size++] = *yytext; }
73 <INITIAL>{ID} { strncpy(yylval.strValue, yytext, 2047); return LTYPE_VAR; }
74 <INITIAL>{DIGIT}+ { strncpy(yylval.strValue, yytext, 2047); return LTYPE_INTEGER; }
75 <INITIAL>\'.\' { sprintf(yylval.strValue, "%d", (int)yytext[1]); return LTYPE_INT…
76 <INITIAL>"0x"{XDIGIT}+ { strncpy(yylval.strValue, yytext, 2047); return LTYPE_INTEGER; }
77 <INITIAL>{DIGIT}+"."{DIGIT}* { strncpy(yylval.strValue, yytext, 2047); return LTYPE_FLOAT; }
78 <INITIAL>{DIGIT}+"%" { sprintf(yylval.strValue, "%3.2f", atof(yytext)/100.0f); return L…
88 <INITIAL>. { yylval.charValue = *yytext; return *yytext; }
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l280 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
290 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
349 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
418 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
423 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
454 …const TSymbol* symbol = yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getSha… in check_type()
466 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word()
501 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES2_ident_ES3_reserved_ES3_1_keyword()
520 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES2_ident_ES3_keyword()
547 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES2_and_ES3_ident_ES3_1_keyword()
[all …]
Dglslang_lex.cpp244 #define yytext yyg->yytext_r macro
327 if ( yytext[yyl] == '\n' )\
1465 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1684 if ( yytext[yyl] == '\n' )
2178 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2190 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2244 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2480 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2491 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
3352 yytext[yyleng] = yyg->yy_hold_char; \
[all …]
/third_party/ejdb/src/jql/
Djqp.c143 typedef void (*yyaction)(yycontext *yy, char *yytext, int yyleng);
420 YY_ACTION(void) yy_4_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng) in yy_4_NUMPK_ARR() argument
440 YY_ACTION(void) yy_3_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng) in yy_3_NUMPK_ARR() argument
460 YY_ACTION(void) yy_2_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng) in yy_2_NUMPK_ARR() argument
480 YY_ACTION(void) yy_1_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng) in yy_1_NUMPK_ARR() argument
500 YY_ACTION(void) yy_1_NUMPK(yycontext *yy, char *yytext, int yyleng) in yy_1_NUMPK() argument
508 __ = _jqp_json_number(yy, yytext); ; in yy_1_NUMPK()
514 YY_ACTION(void) yy_1_NUMJ(yycontext *yy, char *yytext, int yyleng) in yy_1_NUMJ() argument
522 __ = _jqp_json_number(yy, yytext); ; in yy_1_NUMJ()
528 YY_ACTION(void) yy_1_STRJ(yycontext *yy, char *yytext, int yyleng) in yy_1_STRJ() argument
[all …]
Djqp.leg94 …OIN = (<("and" | "or")> (__ "not" { _jqp_op_negate(yy); })?) { $$ = _jqp_unit_join(yy, yytext); }
101 …(_ <PROJOIN> { _jqp_string_push(yy, yytext, true); } _ n:PROJNODES { _jqp_push_joined_projection(y…
108 SKIP = "skip" __ (<NUMI> { $$ = _jqp_number(yy, JQP_INT_SKIP, yytext); } | p:PLACEHOLDER { $$ = p; …
110 LIMIT = "limit" __ (<NUMI> { $$ = _jqp_number(yy, JQP_INT_LIMIT, yytext); } | p:PLACEHOLDER { $$ = …
140 PSTRP = <PCHP+> { $$ = _jqp_string(yy, 0, yytext); }
155 FILTERANCHOR = '@' <([a-zA-Z0-9_\-]+)> { $$ = _jqp_string(yy, JQP_STR_ANCHOR, yytext); }
164 … (<("and" | "or")> (__ "not" { _jqp_op_negate(yy); })?) { $$ = _jqp_unit_join(yy, yytext); }
174 … = ':' <([a-zA-Z0-9]+ | '?')> { $$ = _jqp_placeholder(yy, yytext); }
176 … ("not" __ { _jqp_op_negate(yy); })? <("in" | "ni" | "re")> { $$ = _jqp_unit_op(yy, yytext); }
177 … | <(">=" | "gte")> { $$ = _jqp_unit_op(yy, yytext); }
[all …]
/third_party/mesa3d/src/freedreno/ir3/
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); return T_W;
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dglslang.l255 yylval->lex.string = NewPoolTString(yytext);
265 yylval->lex.string = NewPoolTString(yytext);
325 yylval->lex.string = NewPoolTString(yytext);
394 yylval->lex.string = NewPoolTString(yytext);
401 <*>. { context->warning(*yylloc, "Unknown char", yytext, ""); return 0; }
425 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type()
440 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, ""); in reserved_word()
477 yylval->lex.string = NewPoolTString(yytext); in ES2_identifier_ES3_keyword()
490 … context->error(*yylloc, "Unsigned integers are unsupported prior to GLSL ES 3.00", yytext, ""); in uint_constant()
495 if (!atou_clamp(yytext, &(yylval->lex.u))) in uint_constant()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dglslang.l312 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
322 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
381 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
450 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
455 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
486 …const TSymbol* symbol = yyextra->symbolTable.find(ImmutableString(yytext, yyleng), yyextra->getSha… in check_type()
498 yyextra->error(*yylloc, "Illegal use of reserved word", yytext); in reserved_word()
545 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES3_reserved_ES3_1_keyword()
564 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES3_keyword()
595 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES3_1_keyword()
[all …]
Dglslang_lex_autogen.cpp183 #define yytext yyg->yytext_r macro
248 if (yytext[yyl] == '\n') \
1112 if (fwrite(yytext, (size_t)yyleng, 1, yyout)) \
1283 if (yytext[yyl] == '\n')
1861 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
1873 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
1926 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2109 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2119 yyextra->error(*yylloc, "Illegal character at fieldname start", yytext);
2941 yytext[yyleng] = yyg->yy_hold_char; \
[all …]
/third_party/ltp/pan/
Dscan.l206 key = yytext;
207 cont = strchr(yytext, '=');
210 if(yytext[yyleng-1] == '"')
211 yytext[yyleng-1] = '\0';
223 key = yytext;
224 cont = strchr(yytext, '=');
244 printf("TEXT_LINE: %s\n", yytext);
254 printf("CUTS Result: %s\n", yytext);
265 printf("CUTS Result: %s\n", yytext);
386 yylineno, yytext, ps->name, scan_mode, exp_mode);
/third_party/mesa3d/src/intel/tools/
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 + 4); return MASKREG; }
[all …]
/third_party/selinux/checkpolicy/
Dpolicy_parse.y59 extern char yytext[];
787 { if (insert_id(yytext,0)) return -1; }
809 { if (insert_id(yytext,0)) return -1; }
865 { if (insert_id(yytext, 1)) return -1; }
877 { if (insert_id(yytext,0)) return -1; }
880 { if (insert_id(yytext,0)) return -1; }
882 { if (insert_id(yytext,0)) return -1; }
885 { if (insert_id(yytext,0)) return -1; }
887 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1; }
890 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1; }
[all …]
Dpolicy_scan.l63 strncpy(linebuf[lno], yytext+1, 255);
277 #line[ ]1[ ]\"[^\n]*\" { set_source_file(yytext+9); }
280 source_lineno = strtoul(yytext+6, NULL, 10) - 1;
305 "*" { return(yytext[0]); }
317 yytext,
336 yytext,
/third_party/libnl/lib/route/cls/
Dematch_grammar.l51 memcpy(yylval->q.data + yylval->q.index, yytext,
52 strlen(yytext));
53 yylval->q.index += strlen(yytext);
64 yylval->i = strtoul(yytext, NULL, 0);
161 yylval->s = strdup(yytext);
/third_party/libnl/lib/route/
Dpktloc_grammar.l32 yylval->i = strtoul(yytext, NULL, 0);
36 "+" { return yylval->i = yytext[0]; }
51 yylval->s = strdup(yytext);

12