Lines Matching refs:zval_ptr
425 ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC) /* {{{ */ in _zval_ptr_dtor()
428 …Reducing refcount for %x (%x): %d->%d\n", *zval_ptr, zval_ptr, Z_REFCOUNT_PP(zval_ptr), Z_REFCOUNT… in _zval_ptr_dtor()
430 Z_DELREF_PP(zval_ptr); in _zval_ptr_dtor()
431 if (Z_REFCOUNT_PP(zval_ptr) == 0) { in _zval_ptr_dtor()
434 if (*zval_ptr != &EG(uninitialized_zval)) { in _zval_ptr_dtor()
435 GC_REMOVE_ZVAL_FROM_BUFFER(*zval_ptr); in _zval_ptr_dtor()
436 zval_dtor(*zval_ptr); in _zval_ptr_dtor()
437 efree_rel(*zval_ptr); in _zval_ptr_dtor()
442 if (Z_REFCOUNT_PP(zval_ptr) == 1) { in _zval_ptr_dtor()
443 Z_UNSET_ISREF_PP(zval_ptr); in _zval_ptr_dtor()
446 GC_ZVAL_CHECK_POSSIBLE_ROOT(*zval_ptr); in _zval_ptr_dtor()
451 ZEND_API void _zval_internal_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC) /* {{{ */ in _zval_internal_ptr_dtor()
454 …Reducing refcount for %x (%x): %d->%d\n", *zval_ptr, zval_ptr, Z_REFCOUNT_PP(zval_ptr), Z_REFCOUNT… in _zval_internal_ptr_dtor()
456 Z_DELREF_PP(zval_ptr); in _zval_internal_ptr_dtor()
457 if (Z_REFCOUNT_PP(zval_ptr) == 0) { in _zval_internal_ptr_dtor()
458 zval_internal_dtor(*zval_ptr); in _zval_internal_ptr_dtor()
459 free(*zval_ptr); in _zval_internal_ptr_dtor()
460 } else if (Z_REFCOUNT_PP(zval_ptr) == 1) { in _zval_internal_ptr_dtor()
461 Z_UNSET_ISREF_PP(zval_ptr); in _zval_internal_ptr_dtor()