Home
last modified time | relevance | path

Searched refs:yylval (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/bpf/
H A Dbpf_exp.l87 yylval.number = SKF_AD_PROTOCOL;
91 yylval.number = SKF_AD_PKTTYPE;
99 yylval.number = SKF_AD_IFINDEX;
103 yylval.number = SKF_AD_NLATTR;
111 yylval.number = SKF_AD_MARK;
115 yylval.number = SKF_AD_QUEUE;
119 yylval.number = SKF_AD_HATYPE;
123 yylval.number = SKF_AD_RXHASH;
127 yylval.number = SKF_AD_CPU;
147 yylval.number = SKF_AD_RANDOM;
[all …]
/openbmc/linux/tools/perf/util/
H A Dexpr.l14 static double __value(YYSTYPE *yylval, char *str, int token) in __value() argument
23 yylval->num = num; in __value()
29 YYSTYPE *yylval = expr_get_lval(scanner); in value() local
32 return __value(yylval, text, NUMBER); in value()
74 YYSTYPE *yylval = expr_get_lval(scanner); in str() local
77 yylval->str = normalize(strdup(text), runtime); in str()
78 if (!yylval->str) in str()
81 yylval->str = normalize(yylval->str, runtime); in str()
87 YYSTYPE *yylval = expr_get_lval(scanner); in literal() local
90 if (isnan(yylval->num)) { in literal()
[all …]
H A Dparse-events.l31 yylval->num = num; in __value()
37 YYSTYPE *yylval = parse_events_get_lval(scanner); in value() local
40 return __value(yylval, text, base, PE_VALUE); in value()
45 YYSTYPE *yylval = parse_events_get_lval(scanner); in str() local
49 yylval->str = strdup(text); in str()
83 YYSTYPE *yylval = parse_events_get_lval(scanner); in drv_str() local
87 yylval->str = strdup(text + 1); in drv_str()
107 yylval->num = (type << 16) + config; in sym()
115 yylval->num = event; in tool()
123 yylval->num = type; in term()
[all …]
H A Dpmu.l16 YYSTYPE *yylval = perf_pmu_get_lval(scanner); in value() local
25 yylval->num = num; in value()
/openbmc/u-boot/scripts/dtc/
H A Ddtc-lexer.l112 yylval.data = data_copy_escape_string(yytext+1,
157 yylval.labelref = xstrdup(yytext);
158 yylval.labelref[yyleng-1] = '\0';
167 yylval.integer = strtoull(yytext, &e, 0);
191 yylval.integer = 0;
193 yylval.integer = (unsigned char)d.val[0];
207 yylval.labelref = xstrdup(yytext+1);
214 yylval.labelref = xstrdup(yytext+2);
219 yylval.byte = strtol(yytext, NULL, 16);
220 DPRINT("Byte: %02x\n", (int)yylval.byte);
[all …]
/openbmc/linux/scripts/dtc/
H A Ddtc-lexer.l97 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 …]
/openbmc/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_scan.l280 yylval.str = string_buf;
297 yylval.sym = symtable_get(yytext);
316 yylval.str = yytext;
364 yylval.str = string_buf;
380 yylval.str = string_buf;
404 if (yylval.sym->type == MACRO) {
422 expand_macro(yylval.sym);
426 symbol_delete(yylval.sym);
428 yylval.sym =
437 if (yylval.sym->type == MACRO) {
[all …]
/openbmc/linux/scripts/kconfig/
H A Dlexer.l142 yylval.string = text;
147 yylval.string = expand_token(yytext, yyleng);
148 if (strlen(yylval.string))
150 free(yylval.string);
157 yylval.string = text;
/openbmc/u-boot/scripts/kconfig/
H A Dzconf.l108 yylval.id = id;
112 yylval.string = text;
143 yylval.id = id;
147 yylval.string = text;
/openbmc/linux/scripts/genksyms/
H A Dlex.l437 yylval = &next_node->next;