Lines Matching refs:ctx
32 void expr__ctx_clear(struct expr_parse_ctx *ctx);
33 void expr__ctx_free(struct expr_parse_ctx *ctx);
35 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
36 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
37 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val);
38 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id,
40 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
41 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
45 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
48 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
56 double expr__get_literal(const char *literal, const struct expr_scanner_ctx *ctx);
57 double expr__has_event(const struct expr_parse_ctx *ctx, bool compute_ids, const char *id);
58 double expr__strcmp_cpuid_str(const struct expr_parse_ctx *ctx, bool compute_ids, const char *id);