Lines Matching refs:this_ptr

38 	zval              this_ptr;  member
93 } else if (!is_fake_closure && !Z_ISUNDEF(closure->this_ptr) in zend_valid_closure_binding()
421 return &closure->this_ptr; in zend_get_closure_this_ptr()
483 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_free_storage()
484 zval_ptr_dtor(&closure->this_ptr); in zend_closure_free_storage()
509 closure->func.common.scope, closure->called_scope, &closure->this_ptr); in zend_closure_clone()
520 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_closure()
521 *obj_ptr = Z_OBJ(closure->this_ptr); in zend_closure_get_closure()
556 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_debug_info()
557 Z_ADDREF(closure->this_ptr); in zend_closure_get_debug_info()
558 zend_hash_update(debug_info, ZSTR_KNOWN(ZEND_STR_THIS), &closure->this_ptr); in zend_closure_get_debug_info()
606 *table = Z_TYPE(closure->this_ptr) != IS_NULL ? &closure->this_ptr : NULL; in zend_closure_get_gc()
607 *n = Z_TYPE(closure->this_ptr) != IS_NULL ? 1 : 0; in zend_closure_get_gc()
687 …_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ in zend_create_closure() argument
695 if ((scope == NULL) && this_ptr && (Z_TYPE_P(this_ptr) != IS_UNDEF)) { in zend_create_closure()
761 this_ptr = NULL; in zend_create_closure()
766 ZVAL_UNDEF(&closure->this_ptr); in zend_create_closure()
773 …if (this_ptr && Z_TYPE_P(this_ptr) == IS_OBJECT && (closure->func.common.fn_flags & ZEND_ACC_STATI… in zend_create_closure()
774 Z_ADDREF_P(this_ptr); in zend_create_closure()
775 ZVAL_OBJ(&closure->this_ptr, Z_OBJ_P(this_ptr)); in zend_create_closure()
781 …_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ in zend_create_fake_closure() argument
785 zend_create_closure(res, func, scope, called_scope, this_ptr); in zend_create_fake_closure()