Lines Matching refs:GC_REFCOUNT
67 GC_REFCOUNT(str) = 1; \ in END_EXTERN_C()
99 return GC_REFCOUNT(s); in zend_string_refcount()
107 return ++GC_REFCOUNT(s); in zend_string_addref()
115 return --GC_REFCOUNT(s); in zend_string_delref()
124 GC_REFCOUNT(ret) = 1; in zend_string_alloc()
142 GC_REFCOUNT(ret) = 1; in zend_string_safe_alloc()
168 GC_REFCOUNT(s)++; in zend_string_copy()
187 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_realloc()
193 GC_REFCOUNT(s)--; in zend_string_realloc()
207 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_extend()
213 GC_REFCOUNT(s)--; in zend_string_extend()
227 if (EXPECTED(GC_REFCOUNT(s) == 1)) { in zend_string_truncate()
233 GC_REFCOUNT(s)--; in zend_string_truncate()
246 if (GC_REFCOUNT(s) == 1) { in zend_string_safe_realloc()
252 GC_REFCOUNT(s)--; in zend_string_safe_realloc()
263 ZEND_ASSERT(GC_REFCOUNT(s) <= 1); in zend_string_free()
271 if (--GC_REFCOUNT(s) == 0) { in zend_string_release()