Lines Matching refs:expr_parse_ctx
21 struct expr_parse_ctx { struct
33 void expr__ctx_init(struct expr_parse_ctx *ctx); argument
34 void expr__ctx_clear(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_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
39 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
41 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
43 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
46 struct expr_parse_ctx *ids, int runtime);