Home
last modified time | relevance | path

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

/linux-4.4.14/scripts/dtc/
Ddtc-lexer.l103 DPRINT("String: %s\n", yytext);
104 yylval.data = data_copy_escape_string(yytext+1,
143 DPRINT("Label: %s\n", yytext);
144 yylval.labelref = xstrdup(yytext);
151 DPRINT("Integer Literal: '%s'\n", yytext);
154 yylval.integer = strtoull(yytext, &e, 0);
160 yytext);
170 DPRINT("Character literal: %s\n", yytext);
172 d = data_copy_escape_string(yytext+1, yyleng-2);
190 DPRINT("Ref: %s\n", yytext+1);
[all …]
Ddtc-lexer.lex.c_shipped185 /* Undo effects of setting up yytext. */ \
191 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
282 /* yy_hold_char holds the character lost when yytext is formed. */
358 extern char *yytext;
359 #define yytext_ptr yytext
367 * corresponding action - sets up yytext.
610 char *yytext;
646 srcpos_update(&yylloc, yytext, yyleng); \
760 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
830 /* Code executed at the beginning of each rule, after yytext and yyleng
[all …]
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/
Daicasm_scan.l122 yptr = yytext;
250 yylval.value = strtol(yytext, NULL, 8);
255 yylval.value = strtoul(yytext + 2, NULL, 16);
260 yylval.value = strtol(yytext, NULL, 10);
269 <INCLUDE>[<] { return yytext[0]; }
270 <INCLUDE>[>] { BEGIN INITIAL; return yytext[0]; }
275 return yytext[0];
280 yptr = yytext;
297 yptr = yytext;
301 yylval.sym = symtable_get(yytext);
[all …]
/linux-4.4.14/tools/net/
Dbpf_exp.l115 yylval.number = strtoul(yytext, NULL, 16);
119 yylval.number = strtol(yytext + 2, NULL, 2);
123 yylval.number = strtol(yytext, NULL, 10);
127 yylval.number = strtol(yytext + 1, NULL, 8);
131 yylval.label = strdup(yytext);
142 printf("unknown character \'%s\'", yytext);
/linux-4.4.14/scripts/kconfig/
Dzconf.l97 unput(yytext[0]);
104 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
112 alloc_string(yytext, yyleng);
116 . warn_ignored_character(*yytext);
137 str = yytext[0];
143 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
148 alloc_string(yytext, yyleng);
155 . warn_ignored_character(*yytext);
Dzconf.lex.c21 #define yytext zconftext macro
Dzconf.lex.c_shipped21 #define yytext zconftext
/linux-4.4.14/scripts/genksyms/
Dlex.l90 . return yytext[0];
122 #define APP _APP(yytext, yyleng)
165 file = strchr(yytext, '\"')+1;
169 cur_line = atoi(yytext+2);
189 const struct resword *r = is_reserved_word(yytext, yyleng);
220 if (find_symbol(yytext, SYM_TYPEDEF, 1))
319 if (is_reserved_word(yytext, yyleng)
320 || find_symbol(yytext, SYM_TYPEDEF, 1))
421 if (token == IDENT && yyleng == 1 && yytext[0] == 'X')
Dlex.lex.c_shipped169 /* 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. */
347 extern char *yytext;
348 #define yytext_ptr yytext
356 * corresponding action - sets up yytext.
538 char *yytext;
663 #define ECHO fwrite( yytext, yyleng, 1, yyout )
733 /* Code executed at the beginning of each rule, after yytext and yyleng
748 (yytext[yyleng - 1] == '\n'); \
[all …]
/linux-4.4.14/tools/perf/util/
Dparse-events.l213 . { unput(*yytext); BEGIN(INITIAL); }
/linux-4.4.14/Documentation/sound/oss/
DMultiSound1039 [0-9A-Fa-f]+H { int n; sscanf(yytext, "%xH", &n); printf("%c", n); }