Lines Matching refs:ast_ptr
97 static void zend_eval_const_expr(zend_ast **ast_ptr);
7472 static void zend_property_hook_find_property_usage(zend_ast **ast_ptr, void *_context) /* {{{ */ in zend_property_hook_find_property_usage() argument
7474 zend_ast *ast = *ast_ptr; in zend_property_hook_find_property_usage()
11056 static void zend_compile_const_expr_class_const(zend_ast **ast_ptr) /* {{{ */ in zend_compile_const_expr_class_const() argument
11058 zend_ast *ast = *ast_ptr; in zend_compile_const_expr_class_const()
11094 static void zend_compile_const_expr_class_name(zend_ast **ast_ptr) /* {{{ */ in zend_compile_const_expr_class_name() argument
11096 zend_ast *ast = *ast_ptr; in zend_compile_const_expr_class_name()
11122 static void zend_compile_const_expr_const(zend_ast **ast_ptr) /* {{{ */ in zend_compile_const_expr_const() argument
11124 zend_ast *ast = *ast_ptr; in zend_compile_const_expr_const()
11139 *ast_ptr = zend_ast_create_zval(&result); in zend_compile_const_expr_const()
11144 *ast_ptr = zend_ast_create_constant(resolved_name, in zend_compile_const_expr_const()
11149 static void zend_compile_const_expr_magic_const(zend_ast **ast_ptr) /* {{{ */ in zend_compile_const_expr_magic_const() argument
11151 zend_ast *ast = *ast_ptr; in zend_compile_const_expr_magic_const()
11157 *ast_ptr = zend_ast_create(ZEND_AST_CONSTANT_CLASS); in zend_compile_const_expr_magic_const()
11161 static void zend_compile_const_expr_new(zend_ast **ast_ptr) in zend_compile_const_expr_new() argument
11163 zend_ast *class_ast = (*ast_ptr)->child[0]; in zend_compile_const_expr_new()
11186 static void zend_compile_const_expr_args(zend_ast **ast_ptr) in zend_compile_const_expr_args() argument
11188 zend_ast_list *list = zend_ast_get_list(*ast_ptr); in zend_compile_const_expr_args()
11213 static void zend_compile_const_expr(zend_ast **ast_ptr, void *context) /* {{{ */ in zend_compile_const_expr() argument
11216 zend_ast *ast = *ast_ptr; in zend_compile_const_expr()
11227 zend_compile_const_expr_class_const(ast_ptr); in zend_compile_const_expr()
11230 zend_compile_const_expr_class_name(ast_ptr); in zend_compile_const_expr()
11233 zend_compile_const_expr_const(ast_ptr); in zend_compile_const_expr()
11236 zend_compile_const_expr_magic_const(ast_ptr); in zend_compile_const_expr()
11243 zend_compile_const_expr_new(ast_ptr); in zend_compile_const_expr()
11246 zend_compile_const_expr_args(ast_ptr); in zend_compile_const_expr()
11254 void zend_const_expr_to_zval(zval *result, zend_ast **ast_ptr, bool allow_dynamic) /* {{{ */ in zend_const_expr_to_zval() argument
11259 zend_eval_const_expr(ast_ptr); in zend_const_expr_to_zval()
11260 zend_compile_const_expr(ast_ptr, &context); in zend_const_expr_to_zval()
11261 if ((*ast_ptr)->kind != ZEND_AST_ZVAL) { in zend_const_expr_to_zval()
11264 ZVAL_AST(&ast_zv, zend_ast_copy(*ast_ptr)); in zend_const_expr_to_zval()
11265 zend_ast_destroy(*ast_ptr); in zend_const_expr_to_zval()
11266 *ast_ptr = zend_ast_create_zval(&ast_zv); in zend_const_expr_to_zval()
11268 ZVAL_COPY(result, zend_ast_get_zval(*ast_ptr)); in zend_const_expr_to_zval()
11657 static void zend_eval_const_expr(zend_ast **ast_ptr) /* {{{ */ in zend_eval_const_expr() argument
11659 zend_ast *ast = *ast_ptr; in zend_eval_const_expr()
11757 *ast_ptr = ast->child[1]; in zend_eval_const_expr()
11761 *ast_ptr = ast->child[0]; in zend_eval_const_expr()
11786 *ast_ptr = child_ast; in zend_eval_const_expr()
11787 zend_eval_const_expr(ast_ptr); in zend_eval_const_expr()
11947 *ast_ptr = zend_ast_create_zval(&result); in zend_eval_const_expr()