Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 2 of 2) sorted by relevance

/PHP-5.4/ext/spl/
H A Dspl_heap.c64 int max_size; member
232 heap->max_size = PTR_HEAP_BLOCK_SIZE; in spl_ptr_heap_init()
243 if (heap->count+1 > heap->max_size) { in spl_ptr_heap_insert()
245 …elements, sizeof(spl_ptr_heap_element), (heap->max_size), (sizeof(spl_ptr_heap_element) * (heap->m… in spl_ptr_heap_insert()
246 heap->max_size *= 2; in spl_ptr_heap_insert()
323 heap->max_size = from->max_size; in spl_ptr_heap_clone()
327 heap->elements = safe_emalloc(sizeof(spl_ptr_heap_element),from->max_size,0); in spl_ptr_heap_clone()
328 memcpy(heap->elements, from->elements, sizeof(spl_ptr_heap_element)*from->max_size); in spl_ptr_heap_clone()
/PHP-5.4/Zend/
H A Dzend_alloc.c1627 size_t size, true_size, min_size, max_size; in zend_mm_shutdown() local
1643 max_size = size-1; in zend_mm_shutdown()
1647 max_size = size-1; in zend_mm_shutdown()
1654 …, "%2d %8d %8d %9d %8d %8d %8d\n", i, (int)min_size, (int)max_size, ZEND_MM_TRUE_SIZE(max_size), h… in zend_mm_shutdown()

Completed in 17 milliseconds