Lines Matching refs:ref
64 zend_refcounted *ref; member
124 ZEND_API void ZEND_FASTCALL gc_possible_root(zend_refcounted *ref);
125 ZEND_API void ZEND_FASTCALL gc_remove_from_buffer(zend_refcounted *ref);
142 #define GC_MAY_LEAK(ref) \ argument
143 ((GC_TYPE_INFO(ref) & \
147 static zend_always_inline void gc_check_possible_root(zend_refcounted *ref)
149 if (GC_TYPE(ref) == IS_REFERENCE) {
150 zval *zv = &((zend_reference*)ref)->val;
155 ref = Z_COUNTED_P(zv);
157 if (UNEXPECTED(GC_MAY_LEAK(ref))) {
158 gc_possible_root(ref);