Searched refs:elem_size (Results 1 – 1 of 1) sorted by relevance
58 size_t elem_size; member85 return (void *) ((char *) heap->elements + heap->elem_size * i); in spl_heap_elem()93 if (heap->elem_size == sizeof(spl_pqueue_elem)) { in spl_heap_elem_copy()96 ZEND_ASSERT(heap->elem_size == sizeof(zval)); in spl_heap_elem_copy()254 …cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_ptr_heap_dtor_func dtor, size_t elem_size) /* {{{ */ in spl_ptr_heap_init() argument261 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, elem_size); in spl_ptr_heap_init()265 heap->elem_size = elem_size; in spl_ptr_heap_init()275 size_t alloc_size = heap->max_size * heap->elem_size; in spl_ptr_heap_insert()370 heap->elem_size = from->elem_size; in spl_ptr_heap_clone()372 heap->elements = safe_emalloc(from->elem_size, from->max_size, 0); in spl_ptr_heap_clone()[all …]
Completed in 6 milliseconds