Lines Matching refs:this_ptr

43 	zval              this_ptr;  member
294 return &closure->this_ptr; in zend_get_closure_this_ptr()
357 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_free_storage()
358 zval_ptr_dtor(&closure->this_ptr); in zend_closure_free_storage()
383 closure->func.common.scope, closure->called_scope, &closure->this_ptr); in zend_closure_clone()
401 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_closure()
402 *obj_ptr = Z_OBJ(closure->this_ptr); in zend_closure_get_closure()
430 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_debug_info()
431 Z_ADDREF(closure->this_ptr); in zend_closure_get_debug_info()
432 zend_hash_str_update(debug_info, "this", sizeof("this")-1, &closure->this_ptr); in zend_closure_get_debug_info()
480 *table = Z_TYPE(closure->this_ptr) != IS_NULL ? &closure->this_ptr : NULL; in zend_closure_get_gc()
481 *n = Z_TYPE(closure->this_ptr) != IS_NULL ? 1 : 0; in zend_closure_get_gc()
557 …_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ in zend_create_closure() argument
565 if ((scope == NULL) && this_ptr && (Z_TYPE_P(this_ptr) != IS_UNDEF)) { in zend_create_closure()
605 this_ptr = NULL; in zend_create_closure()
610 ZVAL_UNDEF(&closure->this_ptr); in zend_create_closure()
617 …if (this_ptr && Z_TYPE_P(this_ptr) == IS_OBJECT && (closure->func.common.fn_flags & ZEND_ACC_STATI… in zend_create_closure()
618 ZVAL_COPY(&closure->this_ptr, this_ptr); in zend_create_closure()
624 …_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ in zend_create_fake_closure() argument
628 zend_create_closure(res, func, scope, called_scope, this_ptr); in zend_create_fake_closure()