Lines Matching refs:expr_parse_ctx
19 struct expr_parse_ctx { struct
35 struct expr_parse_ctx *expr__ctx_new(void); argument
36 void expr__ctx_clear(struct expr_parse_ctx *ctx);
37 void expr__ctx_free(struct expr_parse_ctx *ctx);
39 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
40 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
41 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val);
42 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id,
44 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
45 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
47 bool expr__subset_of_ids(struct expr_parse_ctx *haystack,
48 struct expr_parse_ctx *needles);
49 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
52 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
56 struct expr_parse_ctx *ids);