MCPcopy Create free account
hub / github.com/apache/httpd / ap_expr_eval_unary_op

Function ap_expr_eval_unary_op

server/util_expr_eval.c:712–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710#endif /* AP_EXPR_DEBUG */
711
712static int ap_expr_eval_unary_op(ap_expr_eval_ctx_t *ctx, const ap_expr_t *info,
713 const ap_expr_t *arg)
714{
715 ap_expr_op_unary_t *op_func = (ap_expr_op_unary_t *)info->node_arg1;
716 const void *data = info->node_arg2;
717
718 AP_DEBUG_ASSERT(info->node_op == op_UnaryOpInfo);
719 AP_DEBUG_ASSERT(op_func != NULL);
720 AP_DEBUG_ASSERT(data != NULL);
721 return (*op_func)(ctx, data, ap_expr_eval_word(ctx, arg));
722}
723
724static int ap_expr_eval_binary_op(ap_expr_eval_ctx_t *ctx,
725 const ap_expr_t *info,

Callers 1

ap_expr_evalFunction · 0.85

Calls 1

ap_expr_eval_wordFunction · 0.85

Tested by

no test coverage detected