Home
last modified time | relevance | path

Searched refs:tst_expr (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/include/
Dtst_bool_expr.h27 struct tst_expr { struct
53 struct tst_expr *tst_bool_expr_parse(const char *expr);
61 void tst_bool_expr_print(FILE *f, struct tst_expr *expr);
75 int tst_bool_expr_eval(struct tst_expr *expr,
83 void tst_bool_expr_free(struct tst_expr *expr);
/third_party/ltp/lib/
Dtst_bool_expr.c102 void tst_bool_expr_print(FILE *f, struct tst_expr *expr) in tst_bool_expr_print()
122 static void tst_bool_expr_err(FILE *f, struct tst_expr *expr, unsigned int cnt) in tst_bool_expr_err()
221 static int shunting_yard(struct tst_expr *expr, unsigned int cnt) in shunting_yard()
337 struct tst_expr *tst_bool_expr_parse(const char *expr) in tst_bool_expr_parse()
339 struct tst_expr *ret; in tst_bool_expr_parse()
345 ret = malloc(sizeof(struct tst_expr) + sizeof(struct tst_expr_tok) * tok_cnt); in tst_bool_expr_parse()
362 int tst_bool_expr_eval(struct tst_expr *expr, in tst_bool_expr_eval()
403 void tst_bool_expr_free(struct tst_expr *expr) in tst_bool_expr_free()
Dtst_kconfig.c338 static int validate_vars(struct tst_expr *const exprs[], unsigned int expr_cnt) in validate_vars()
355 static inline unsigned int get_var_cnt(struct tst_expr *const exprs[], in get_var_cnt()
390 static inline unsigned int populate_vars(struct tst_expr *exprs[], in populate_vars()
466 static void dump_vars(const struct tst_expr *expr) in dump_vars()
496 struct tst_expr *exprs[expr_cnt]; in tst_kconfig_check()
/third_party/ltp/lib/newlib_tests/
Dtst_bool_expr.c39 struct tst_expr *res; in parse_fail()
58 struct tst_expr *expr; in do_eval_test()