Home
last modified time | relevance | path

Searched refs:scanner (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/
Dparse-events.l36 static int value(yyscan_t scanner, int base) in value() argument
38 YYSTYPE *yylval = parse_events_get_lval(scanner); in value()
39 char *text = parse_events_get_text(scanner); in value()
44 static int str(yyscan_t scanner, int token) in str() argument
46 YYSTYPE *yylval = parse_events_get_lval(scanner); in str()
47 char *text = parse_events_get_text(scanner); in str()
67 static int raw(yyscan_t scanner) in raw() argument
69 YYSTYPE *yylval = parse_events_get_lval(scanner); in raw()
70 char *text = parse_events_get_text(scanner); in raw()
73 return str(scanner, PE_NAME); in raw()
[all …]
Dexpr.l26 static int value(yyscan_t scanner) in value() argument
28 YYSTYPE *yylval = expr_get_lval(scanner); in value()
29 char *text = expr_get_text(scanner); in value()
70 static int str(yyscan_t scanner, int token, int runtime) in str() argument
72 YYSTYPE *yylval = expr_get_lval(scanner); in str()
73 char *text = expr_get_text(scanner); in str()
127 int expr_wrap(void *scanner __maybe_unused)
Dexpr.c240 void *scanner; in __expr__parse() local
245 ret = expr_lex_init_extra(&scanner_ctx, &scanner); in __expr__parse()
249 buffer = expr__scan_string(expr, scanner); in __expr__parse()
253 expr_set_debug(1, scanner); in __expr__parse()
256 ret = expr_parse(val, ctx, scanner); in __expr__parse()
258 expr__flush_buffer(buffer, scanner); in __expr__parse()
259 expr__delete_buffer(buffer, scanner); in __expr__parse()
260 expr_lex_destroy(scanner); in __expr__parse()
Dexpr.y27 %parse-param {void *scanner}
28 %lex-param {void* scanner}
53 void *scanner,
Dparse-events.y3 %parse-param {void *scanner}
4 %lex-param {void* scanner}
21 void parse_events_error(YYLTYPE *loc, void *parse_state, void *scanner, char const *msg);
966 void *scanner __maybe_unused,
Dparse-events.c49 int parse_events_parse(void *parse_state, void *scanner);
2198 void *scanner; in parse_events__scanner() local
2201 ret = parse_events_lex_init_extra(parse_state, &scanner); in parse_events__scanner()
2205 buffer = parse_events__scan_string(str, scanner); in parse_events__scanner()
2209 parse_events_set_debug(1, scanner); in parse_events__scanner()
2211 ret = parse_events_parse(parse_state, scanner); in parse_events__scanner()
2213 parse_events__flush_buffer(buffer, scanner); in parse_events__scanner()
2214 parse_events__delete_buffer(buffer, scanner); in parse_events__scanner()
2215 parse_events_lex_destroy(scanner); in parse_events__scanner()