Searched refs:yylval (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/tools/bpf/ |
D | bpf_exp.l | 87 yylval.number = SKF_AD_PROTOCOL; 91 yylval.number = SKF_AD_PKTTYPE; 95 yylval.number = SKF_AD_PAY_OFFSET; 99 yylval.number = SKF_AD_IFINDEX; 103 yylval.number = SKF_AD_NLATTR; 107 yylval.number = SKF_AD_NLATTR_NEST; 111 yylval.number = SKF_AD_MARK; 115 yylval.number = SKF_AD_QUEUE; 119 yylval.number = SKF_AD_HATYPE; 123 yylval.number = SKF_AD_RXHASH; [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | expr.l | 13 static double __value(YYSTYPE *yylval, char *str, int token) in __value() argument 22 yylval->num = num; in __value() 28 YYSTYPE *yylval = expr_get_lval(scanner); in value() local 31 return __value(yylval, text, NUMBER); in value() 72 YYSTYPE *yylval = expr_get_lval(scanner); in str() local 75 yylval->str = normalize(strdup(text), runtime); in str() 76 if (!yylval->str) in str() 79 yylval->str = normalize(yylval->str, runtime); in str()
|
D | parse-events.l | 23 static int __value(YYSTYPE *yylval, char *str, int base, int token) in __value() argument 32 yylval->num = num; in __value() 38 YYSTYPE *yylval = parse_events_get_lval(scanner); in value() local 41 return __value(yylval, text, base, PE_VALUE); in value() 46 YYSTYPE *yylval = parse_events_get_lval(scanner); in str() local 50 yylval->str = strdup(text); in str() 61 yylval->str = strndup(&text[1], strlen(text) - 2); in str() 69 YYSTYPE *yylval = parse_events_get_lval(scanner); in raw() local 75 return __value(yylval, text + 1, 16, PE_RAW); in raw() 115 YYSTYPE *yylval = parse_events_get_lval(scanner); in drv_str() local [all …]
|
/Linux-v5.10/scripts/dtc/ |
D | dtc-lexer.l | 97 yylval.data = data_copy_escape_string(yytext+1, 149 yylval.labelref = xstrdup(yytext); 150 yylval.labelref[yyleng-1] = '\0'; 159 yylval.integer = strtoull(yytext, &e, 0); 183 yylval.integer = 0; 185 yylval.integer = (unsigned char)d.val[0]; 199 yylval.labelref = xstrdup(yytext+1); 206 yylval.labelref = xstrdup(yytext+2); 211 yylval.byte = strtol(yytext, NULL, 16); 212 DPRINT("Byte: %02x\n", (int)yylval.byte); [all …]
|
/Linux-v5.10/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_scan.l | 107 yylval.sym = symtable_get(string_buf); 246 yylval.value = strtol(yytext, NULL, 8); 251 yylval.value = strtoul(yytext + 2, NULL, 16); 256 yylval.value = strtol(yytext, NULL, 10); 280 yylval.str = string_buf; 297 yylval.sym = symtable_get(yytext); 311 yylval.sym = symtable_get(yytext); 316 yylval.str = yytext; 364 yylval.str = string_buf; 380 yylval.str = string_buf; [all …]
|
/Linux-v5.10/scripts/kconfig/ |
D | lexer.l | 147 yylval.string = text; 152 yylval.string = expand_token(yytext, yyleng); 153 if (strlen(yylval.string)) 155 free(yylval.string); 162 yylval.string = text;
|
/Linux-v5.10/scripts/genksyms/ |
D | lex.l | 466 yylval = &next_node->next;
|