Lines Matching refs:expr_parse_ctx
21 struct expr_parse_ctx { struct
45 void expr__ctx_init(struct expr_parse_ctx *ctx); argument
46 void expr__ctx_clear(struct expr_parse_ctx *ctx);
47 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
48 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
49 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val);
50 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
51 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
53 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
55 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
58 struct expr_parse_ctx *ids, int runtime);