Lines Matching refs:fn_flags

71 	bool is_fake_closure = (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) != 0;  in zend_valid_closure_binding()
73 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
88 && !(func->common.fn_flags & ZEND_ACC_STATIC)) { in zend_valid_closure_binding()
92 && (func->common.fn_flags & ZEND_ACC_USES_THIS)) { in zend_valid_closure_binding()
145 if (closure->func.common.fn_flags & ZEND_ACC_GENERATOR) { in ZEND_METHOD()
152 my_function.common.fn_flags &= ~ZEND_ACC_CLOSURE; in ZEND_METHOD()
163 || (closure->func.common.fn_flags & ZEND_ACC_HEAP_RT_CACHE))) { in ZEND_METHOD()
166 my_function.op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in ZEND_METHOD()
189 if (fci_cache.function_handler->common.fn_flags & ZEND_ACC_GENERATOR) { in ZEND_METHOD()
193 && (fci_cache.function_handler->common.fn_flags & ZEND_ACC_HEAP_RT_CACHE)) { in ZEND_METHOD()
274 fcc.function_handler = (EX(func)->internal_function.fn_flags & ZEND_ACC_STATIC) ? in ZEND_NAMED_FUNCTION()
307 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_create_closure_from_callable()
319 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in zend_create_closure_from_callable()
331 call.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; in zend_create_closure_from_callable()
396 …if (!((lhs->func.common.fn_flags & ZEND_ACC_FAKE_CLOSURE) && (rhs->func.common.fn_flags & ZEND_ACC… in zend_closure_compare()
442 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
443 ZEND_ACC_PUBLIC | ZEND_ACC_CALL_VIA_HANDLER | (closure->func.common.fn_flags & keep_flags); in zend_get_closure_invoke_method()
444 …if (closure->func.type != ZEND_INTERNAL_FUNCTION || (closure->func.common.fn_flags & ZEND_ACC_USER… in zend_get_closure_invoke_method()
445 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
488 if (!(closure->func.op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) { in zend_closure_free_storage()
551 …bool zstr_args = (closure->func.type == ZEND_USER_FUNCTION) || (closure->func.common.fn_flags & ZE… in zend_closure_get_debug_info()
593 (closure->func.common.fn_flags & ZEND_ACC_VARIADIC))) { in zend_closure_get_debug_info()
599 if (closure->func.common.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_get_debug_info()
635 && !(closure->func.op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) ? in zend_closure_get_gc()
689 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure_ex()
690 closure->func.common.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_create_closure_ex()
717 || (func->common.fn_flags & ZEND_ACC_HEAP_RT_CACHE) in zend_create_closure_ex()
722 && (func->common.fn_flags & ZEND_ACC_CLOSURE) in zend_create_closure_ex()
724 !(func->common.fn_flags & ZEND_ACC_IMMUTABLE))) { in zend_create_closure_ex()
733 closure->func.op_array.fn_flags &= ~ZEND_ACC_HEAP_RT_CACHE; in zend_create_closure_ex()
740 closure->func.op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in zend_create_closure_ex()
746 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure_ex()
771 closure->func.common.fn_flags |= ZEND_ACC_PUBLIC; in zend_create_closure_ex()
772 …if (this_ptr && Z_TYPE_P(this_ptr) == IS_OBJECT && (closure->func.common.fn_flags & ZEND_ACC_STATI… in zend_create_closure_ex()
782 /* is_fake */ (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) != 0); in zend_create_closure()
792 closure->func.common.fn_flags |= ZEND_ACC_FAKE_CLOSURE; in zend_create_fake_closure()
805 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_closure_from_frame()
815 trampoline.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; in zend_closure_from_frame()