Lines Matching refs:elements
48 void *elements; member
82 return (void *) ((char *) heap->elements + heap->elem_size * i); in spl_heap_elem()
258 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, elem_size); in spl_ptr_heap_init()
274 heap->elements = safe_erealloc(heap->elements, 2, alloc_size, 0); in spl_ptr_heap_insert()
275 memset((char *) heap->elements + alloc_size, 0, alloc_size); in spl_ptr_heap_insert()
299 return heap->elements; in spl_ptr_heap_top()
361 heap->elements = safe_emalloc(from->elem_size, from->max_size, 0); in spl_ptr_heap_clone()
362 memcpy(heap->elements, from->elements, from->elem_size * from->max_size); in spl_ptr_heap_clone()
384 efree(heap->elements); in spl_ptr_heap_destroy()
546 *gc_data = (zval *) intern->heap->elements; in spl_heap_object_get_gc()
556 *gc_data = (zval *) intern->heap->elements; in spl_pqueue_object_get_gc()