Searched refs:yytext (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/scripts/dtc/ |
D | dtc-lexer.l | 102 DPRINT("String: %s\n", yytext); 103 yylval.data = data_copy_escape_string(yytext+1, 142 DPRINT("Label: %s\n", yytext); 143 yylval.labelref = xstrdup(yytext); 149 yylval.literal = xstrdup(yytext); 155 yytext[yyleng-1] = '\0'; 156 yylval.literal = xstrdup(yytext+1); 162 DPRINT("Ref: %s\n", yytext+1); 163 yylval.labelref = xstrdup(yytext+1); 168 yytext[yyleng-1] = '\0'; [all …]
|
D | dtc-lexer.lex.c_shipped | 179 /* Undo effects of setting up yytext. */ \ 185 YY_DO_BEFORE_ACTION; /* set up yytext again */ \ 281 /* 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. 609 char *yytext; 645 srcpos_update(&yylloc, yytext, yyleng); \ 759 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) 829 /* Code executed at the beginning of each rule, after yytext and yyleng [all …]
|
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_scan.l | 122 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.1.27/tools/net/ |
D | bpf_exp.l | 115 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.1.27/scripts/genksyms/ |
D | lex.l | 90 . 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')
|
D | lex.lex.c_shipped | 169 /* 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.1.27/scripts/kconfig/ |
D | zconf.l | 90 unput(yytext[0]); 97 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); 105 alloc_string(yytext, yyleng); 126 str = yytext[0]; 133 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); 138 alloc_string(yytext, yyleng);
|
D | zconf.lex.c | 21 #define yytext zconftext macro
|
D | zconf.lex.c_shipped | 21 #define yytext zconftext
|
/linux-4.1.27/tools/perf/util/ |
D | parse-events.l | 171 . { unput(*yytext); BEGIN(INITIAL); }
|
/linux-4.1.27/Documentation/sound/oss/ |
D | MultiSound | 1039 [0-9A-Fa-f]+H { int n; sscanf(yytext, "%xH", &n); printf("%c", n); }
|