Lines Matching refs:zval_ptr
32 static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr) in zval_ptr_dtor_nogc() argument
34 if (Z_REFCOUNTED_P(zval_ptr) && !Z_DELREF_P(zval_ptr)) { in zval_ptr_dtor_nogc()
35 rc_dtor_func(Z_COUNTED_P(zval_ptr)); in zval_ptr_dtor_nogc()
39 static zend_always_inline void i_zval_ptr_dtor(zval *zval_ptr) in i_zval_ptr_dtor() argument
41 if (Z_REFCOUNTED_P(zval_ptr)) { in i_zval_ptr_dtor()
42 zend_refcounted *ref = Z_COUNTED_P(zval_ptr); in i_zval_ptr_dtor()
69 static zend_always_inline void zval_ptr_dtor_str(zval *zval_ptr) in zval_ptr_dtor_str() argument
71 if (Z_REFCOUNTED_P(zval_ptr) && !Z_DELREF_P(zval_ptr)) { in zval_ptr_dtor_str()
72 ZEND_ASSERT(Z_TYPE_P(zval_ptr) == IS_STRING); in zval_ptr_dtor_str()
73 ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zval_ptr))); in zval_ptr_dtor_str()
74 ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); in zval_ptr_dtor_str()
75 efree(Z_STR_P(zval_ptr)); in zval_ptr_dtor_str()
79 ZEND_API void zval_ptr_dtor(zval *zval_ptr);