Lines Matching refs:zval_ptr
33 static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr) in zval_ptr_dtor_nogc() argument
35 if (Z_REFCOUNTED_P(zval_ptr) && !Z_DELREF_P(zval_ptr)) { in zval_ptr_dtor_nogc()
36 rc_dtor_func(Z_COUNTED_P(zval_ptr)); in zval_ptr_dtor_nogc()
40 static zend_always_inline void i_zval_ptr_dtor(zval *zval_ptr) in i_zval_ptr_dtor() argument
42 if (Z_REFCOUNTED_P(zval_ptr)) { in i_zval_ptr_dtor()
43 zend_refcounted *ref = Z_COUNTED_P(zval_ptr); in i_zval_ptr_dtor()
70 static zend_always_inline void zval_ptr_dtor_str(zval *zval_ptr) in zval_ptr_dtor_str() argument
72 if (Z_REFCOUNTED_P(zval_ptr) && !Z_DELREF_P(zval_ptr)) { in zval_ptr_dtor_str()
73 ZEND_ASSERT(Z_TYPE_P(zval_ptr) == IS_STRING); in zval_ptr_dtor_str()
74 ZEND_ASSERT(!ZSTR_IS_INTERNED(Z_STR_P(zval_ptr))); in zval_ptr_dtor_str()
75 ZEND_ASSERT(!(GC_FLAGS(Z_STR_P(zval_ptr)) & IS_STR_PERSISTENT)); in zval_ptr_dtor_str()
76 efree(Z_STR_P(zval_ptr)); in zval_ptr_dtor_str()
80 ZEND_API void zval_ptr_dtor(zval *zval_ptr);