HomeSort by relevance Sort by last modified time
    Searched refs:yytext (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/third_party/angle/src/compiler/preprocessor/
Tokenizer.l 108 yylval->assign(1, yytext[0]);
113 yylval->assign(yytext, yyleng);
118 yylval->assign(yytext, yyleng);
123 yylval->assign(yytext, yyleng);
130 yylval->assign(yytext, yyleng);
135 yylval->assign(yytext, yyleng);
139 yylval->assign(yytext, yyleng);
143 yylval->assign(yytext, yyleng);
147 yylval->assign(yytext, yyleng);
151 yylval->assign(yytext, yyleng)
    [all...]
Tokenizer.cpp 143 #define yytext yyg->yytext_r macro
198 /* Undo effects of setting up yytext. */ \
204 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
353 * corresponding action - sets up yytext.
697 #define ECHO fwrite( yytext, yyleng, 1, yyout )
769 /* Code executed at the beginning of each rule, after yytext and yyleng
829 /* Support of yytext. */
911 yylval->assign(1, yytext[0]);
918 yylval->assign(yytext, yyleng);
925 yylval->assign(yytext, yyleng)
    [all...]
  /external/elfutils/libcpu/
i386_lex.l 63 {NUMBER} { i386_lval.num = strtoul (yytext, NULL, 10);
72 <INITIAL,MAIN>"{"{ID2}"}" { i386_lval.str = xstrndup (yytext + 1,
79 <MAIN>{ID} { i386_lval.str = xstrndup (yytext, yyleng);
96 <MAIN>. { i386_lval.ch = *yytext; return kCHAR; }
98 . { invalid_char (*yytext); }
  /external/mdnsresponder/mDNSShared/
dnsextd_lexer.l 75 \* yylval.string = strdup(yytext); return WILDCARD;
76 [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ yylval.string = strdup(yytext); return DOTTED_DECIMAL_ADDRESS;
77 [0123456789]+ yylval.number = atoi(yytext); return NUMBER;
78 [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)* yylval.string = strdup(yytext); return HOSTNAME;
79 [a-zA-Z0-9\.]+([a-zA-Z0-9\.]+)* yylval.string = strdup(yytext); return DOMAINNAME;
80 \"([^"\\\r\n]*(\\.[^"\\\r\n]*)*)\" yylval.string = StripQuotes(yytext); return QUOTEDSTRING;
  /external/bison/src/
flex-scanner.h 47 /* It seems to be a nice "feature" of Flex that one cannot use yytext,
54 #ifndef yytext
55 # define yytext FLEX_PREFIX (text) macro
80 obstack_grow (&obstack_for_string, yytext, yyleng)
scan-skel.l 82 yytext[yyleng-1] = '\0';
83 obstack_grow (&obstack_for_string, yytext, yyleng);
90 @[^@{}`(\n]* fail_for_invalid_at (yytext);
122 if (yytext[1] == ',')
134 @.? fail_for_invalid_at (yytext);
scan-gram.l 53 #define YY_USER_ACTION location_compute (loc, &scanner_cursor, yytext, yyleng);
60 scanner_cursor.column -= mbsnwidth (yytext, yyleng, 0); \
161 handle_syncline (yytext + sizeof "#line " - 1, *loc);
222 complain_at (*loc, _("invalid directive: %s"), quote (yytext));
232 val->uniqstr = uniqstr_new (yytext);
239 val->integer = scan_integer (yytext, 10, *loc);
243 val->integer = scan_integer (yytext, 16, *loc);
250 complain_at (*loc, _("invalid identifier: %s"), quote (yytext));
272 obstack_grow (&obstack_for_string, yytext + 1, yyleng - 2);
296 quote_mem (yytext, yyleng))
    [all...]
scan-code.l 47 #define YY_USER_ACTION location_compute (loc, &loc->end, yytext, yyleng);
188 warn_at (*loc, _("stray '%s'"), yytext);
189 obstack_escape (&obstack_for_string, yytext);
193 obstack_escape (&obstack_for_string, yytext);
202 handle_action_dollar (self->rule, yytext, *loc);
209 handle_action_at (self->rule, yytext, *loc);
269 fetch_type_name (yytext + 1, &type_name, *loc)[-1] = 0;
285 [$@\[\]] obstack_escape (&obstack_for_string, yytext);
  /system/core/sh/
arith_lex.l 62 0x[0-9a-fA-F]+ { yylval = strtol(yytext, 0, 0); return(ARITH_NUM); }
63 0[0-7]* { yylval = strtol(yytext, 0, 0); return(ARITH_NUM); }
64 [1-9][0-9]* { yylval = strtol(yytext, 0, 0); return(ARITH_NUM); }
65 [A-Za-z_][A-Za-z_0-9]* { char *v = lookupvar(yytext);
  /external/chromium_org/third_party/mesa/src/src/glsl/glcpp/
glcpp-lex.l 124 yylval->str = ralloc_strdup (yyextra, yytext);
132 yylval->str = ralloc_strdup (yyextra, yytext);
182 for (p = yytext; !isalpha(p[0]); p++); /* skip " # " */
195 yylval->str = ralloc_strdup (yyextra, yytext);
201 yylval->str = ralloc_strdup (yyextra, yytext);
216 yylval->str = ralloc_strdup (yyextra, yytext);
221 yylval->str = ralloc_strdup (yyextra, yytext);
226 yylval->str = ralloc_strdup (yyextra, yytext);
271 yylval->str = ralloc_strdup (yyextra, yytext);
276 return yytext[0]
    [all...]
  /external/mesa3d/src/glsl/glcpp/
glcpp-lex.l 124 yylval->str = ralloc_strdup (yyextra, yytext);
132 yylval->str = ralloc_strdup (yyextra, yytext);
182 for (p = yytext; !isalpha(p[0]); p++); /* skip " # " */
195 yylval->str = ralloc_strdup (yyextra, yytext);
201 yylval->str = ralloc_strdup (yyextra, yytext);
216 yylval->str = ralloc_strdup (yyextra, yytext);
221 yylval->str = ralloc_strdup (yyextra, yytext);
226 yylval->str = ralloc_strdup (yyextra, yytext);
271 yylval->str = ralloc_strdup (yyextra, yytext);
276 return yytext[0]
    [all...]
  /frameworks/base/tools/aidl/
aidl_language_l.l 25 yylval.buffer.data = strdup(yytext); \
46 <COPYING>.*\n { append_extra_text(yytext); }
47 <COPYING>.* { append_extra_text(yytext); }
48 <COPYING>\n+ { append_extra_text(yytext); }
53 <LONG_COMMENT>[^*]* { append_extra_text(yytext); }
54 <LONG_COMMENT>\*+[^/] { append_extra_text(yytext); }
55 <LONG_COMMENT>\n { append_extra_text(yytext); }
63 do_package_statement(yytext);
70 append_extra_text(yytext); }
73 append_extra_text(yytext); */ }
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
program_lexer.l 48 return handle_ident(yyextra, yytext, yylval); \
67 yytext + len, \
72 return handle_ident(yyextra, yytext, yylval); \
331 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
336 yylval->integer = strtol(yytext, NULL, 10);
340 yylval->real = _mesa_strtof(yytext, NULL);
344 yylval->real = _mesa_strtof(yytext, NULL);
348 yylval->real = _mesa_strtof(yytext, NULL);
352 yylval->real = _mesa_strtof(yytext, NULL);
365 | mask_from_char(yytext[3])
    [all...]
  /external/mesa3d/src/mesa/program/
program_lexer.l 48 return handle_ident(yyextra, yytext, yylval); \
67 yytext + len, \
72 return handle_ident(yyextra, yytext, yylval); \
331 [_a-zA-Z$][_a-zA-Z0-9$]* { return handle_ident(yyextra, yytext, yylval); }
336 yylval->integer = strtol(yytext, NULL, 10);
340 yylval->real = _mesa_strtof(yytext, NULL);
344 yylval->real = _mesa_strtof(yytext, NULL);
348 yylval->real = _mesa_strtof(yytext, NULL);
352 yylval->real = _mesa_strtof(yytext, NULL);
365 | mask_from_char(yytext[3])
    [all...]
  /external/libpcap/
scanner.l 192 bpf_error("%s not supported", yytext);
199 bpf_error("%s not supported", yytext);
242 bpf_error("%s not supported", yytext);
301 [+\-*/:\[\]!<>()&|=] return yytext[0];
308 ${B} { yylval.e = pcap_ether_aton(((char *)yytext)+1);
310 {N} { yylval.i = stoi((char *)yytext); return NUM; }
312 yylval.s = sdup((char *)yytext); return HID; }
313 {B}:{B}:{B}:{B}:{B}:{B} { yylval.e = pcap_ether_aton((char *)yytext);
321 if (getaddrinfo(yytext, NULL, &hints, &res))
322 bpf_error("bogus IPv6 address %s", yytext);
    [all...]
  /external/elfutils/src/
ldlex.l 59 = fwrite (yytext, yyleng, 1, yyout); } while (0)
160 ldlval.num |= attrib_convert (yytext[cnt++]);
181 ldlval.num = strtoumax (yytext, &endp, 0);
195 yytext, yyleng);
199 yytext, yyleng);
204 . { invalid_char (*yytext); }
  /frameworks/rs/
spec.l 63 memcpy(apis[apiCount].name, yytext, yyleng);
167 memcpy(currType->typeName, yytext, yyleng);
176 memcpy(currType->name, yytext, yyleng);
  /external/chromium_org/third_party/angle/src/compiler/
glslang.l 190 yylval->lex.string = NewPoolTString(yytext);
275 TSymbol* symbol = yyextra->symbolTable.find(yytext);
288 yyextra->error(*yylloc, "Illegal use of reserved word", yytext, "");
301 if (!atoi_clamp(yytext, &(yylval->lex.i)))
302 yyextra->warning(*yylloc, "Integer overflow", yytext, "");
309 if (!atof_clamp(yytext, &(yylval->lex.f)))
310 yyextra->warning(*yylloc, "Float overflow", yytext, "");
  /external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
lex.yy.c 134 #define yytext yyg->yytext_r macro
192 /* Undo effects of setting up yytext. */ \
198 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
352 * corresponding action - sets up yytext.
    [all...]
glcpp-lex.c 134 #define yytext yyg->yytext_r macro
192 /* Undo effects of setting up yytext. */ \
198 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
352 * corresponding action - sets up yytext.
785 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
857 /* Code executed at the beginning of each rule, after yytext and yyleng
872 (yytext[yyleng - 1] == '\n'); \
935 /* Support of yytext. */
    [all...]
glsl_lexer.cc 134 #define yytext yyg->yytext_r macro
192 /* Undo effects of setting up yytext. */ \
198 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
352 * corresponding action - sets up yytext.
    [all...]
  /external/smali/smali/src/main/java/org/jf/smali/
smaliFlexLexer.java 3197 public final String yytext() { method in class:smaliFlexLexer
3560 { sb.append(yytext()); method
3577 { sb.append(yytext()); method
3738 { sb.append(yytext()); method
3894 { sb.append(yytext()); method
    [all...]
  /external/checkpolicy/
policy_parse.y 59 extern char yytext[];
723 { if (insert_id(yytext,0)) return -1; }
779 { if (insert_id(yytext, 1)) return -1; }
791 { if (insert_id(yytext,0)) return -1; }
794 { if (insert_id(yytext,0)) return -1; }
796 { if (insert_id(yytext,0)) return -1; }
799 { if (insert_id(yytext,0)) return -1; }
802 { yytext[strlen(yytext) - 1] = '\0'; if (insert_id(yytext + 1,0)) return -1;
    [all...]
  /external/bison/examples/calc++/
calc++-scanner.cc 224 /* Undo effects of setting up yytext. */ \
230 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
340 /* yy_hold_char holds the character lost when yytext is formed. */
406 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
424 extern char *yytext;
425 #define yytext_ptr yytext
437 * corresponding action - sets up yytext.
441 /* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
445 /* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
545 char *yytext; variable
    [all...]
  /external/ipsec-tools/src/racoon/
cftoken.l 84 "begin <%d>%s\n", yy_start, yytext);
393 yytext++;
394 yylval.num = atoi(yytext);
400 char *p = yytext;
404 yytext++;
405 yylval.num = atoi(yytext);
412 yytext++;
418 memcpy(yylval.val->v, yytext, yylval.val->l);
576 yylval.num = strtol(yytext, &bp, 10);
597 memcpy(p, &yytext[2], yyleng - 1)
    [all...]

Completed in 3491 milliseconds

1 2