Lines Matching defs:ctx
149 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id()
155 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val()
161 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, in expr__add_id_val_source_count()
183 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref) in expr__add_ref()
222 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id()
243 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, in expr__resolve_id()
281 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id()
293 struct expr_parse_ctx *ctx; in expr__ctx_new() local
311 void expr__ctx_clear(struct expr_parse_ctx *ctx) in expr__ctx_clear()
323 void expr__ctx_free(struct expr_parse_ctx *ctx) in expr__ctx_free()
341 __expr__parse(double *val, struct expr_parse_ctx *ctx, const char *expr, in __expr__parse()
369 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse()
376 struct expr_parse_ctx *ctx) in expr__find_ids()
421 double expr__get_literal(const char *literal, const struct expr_scanner_ctx *ctx) in expr__get_literal()
489 double expr__has_event(const struct expr_parse_ctx *ctx, bool compute_ids, const char *id) in expr__has_event()