Lines Matching refs:env
52 eval_word(hx509_context context, hx509_env env, struct hx_expr *word) in eval_word() argument
59 return hx509_env_find(context, env, word->arg1); in eval_word()
61 env = hx509_env_find_binding(context, env, word->arg1); in eval_word()
62 if (env == NULL) in eval_word()
65 return eval_word(context, env, word->arg2); in eval_word()
72 find_variable(hx509_context context, hx509_env env, struct hx_expr *word) in find_variable() argument
77 return hx509_env_find_binding(context, env, word->arg1); in find_variable()
79 env = hx509_env_find_binding(context, env, word->arg1); in find_variable()
80 if (env == NULL) in find_variable()
82 return find_variable(context, env, word->arg2); in find_variable()
86 eval_comp(hx509_context context, hx509_env env, struct hx_expr *expr) in eval_comp() argument
95 s1 = eval_word(context, env, expr->arg1); in eval_comp()
96 s2 = eval_word(context, env, expr->arg2); in eval_comp()
119 w = eval_word(context, env, expr->arg1); in eval_comp()
125 s1 = eval_word(context, env, subexpr->arg1); in eval_comp()
133 subenv = find_variable(context, env, subexpr); in eval_comp()
159 _hx509_expr_eval(hx509_context context, hx509_env env, struct hx_expr *expr) in _hx509_expr_eval() argument
167 return ! _hx509_expr_eval(context, env, expr->arg1); in _hx509_expr_eval()
169 return _hx509_expr_eval(context, env, expr->arg1) && in _hx509_expr_eval()
170 _hx509_expr_eval(context, env, expr->arg2); in _hx509_expr_eval()
172 return _hx509_expr_eval(context, env, expr->arg1) || in _hx509_expr_eval()
173 _hx509_expr_eval(context, env, expr->arg2); in _hx509_expr_eval()
175 return eval_comp(context, env, expr->arg1); in _hx509_expr_eval()