Lines Matching refs:gc_buffer
2133 zend_get_gc_buffer *gc_buffer = &EG(get_gc_buffer); in zend_get_gc_buffer_create() local
2134 gc_buffer->cur = gc_buffer->start; in zend_get_gc_buffer_create()
2135 return gc_buffer; in zend_get_gc_buffer_create()
2138 ZEND_API void zend_get_gc_buffer_grow(zend_get_gc_buffer *gc_buffer) { in zend_get_gc_buffer_grow() argument
2139 size_t old_capacity = gc_buffer->end - gc_buffer->start; in zend_get_gc_buffer_grow()
2141 gc_buffer->start = erealloc(gc_buffer->start, new_capacity * sizeof(zval)); in zend_get_gc_buffer_grow()
2142 gc_buffer->end = gc_buffer->start + new_capacity; in zend_get_gc_buffer_grow()
2143 gc_buffer->cur = gc_buffer->start + old_capacity; in zend_get_gc_buffer_grow()
2147 zend_get_gc_buffer *gc_buffer = &EG(get_gc_buffer); in zend_get_gc_buffer_release() local
2148 efree(gc_buffer->start); in zend_get_gc_buffer_release()
2149 gc_buffer->start = gc_buffer->end = gc_buffer->cur = NULL; in zend_get_gc_buffer_release()