Searched defs:heap (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c152 struct { void *block; char *p; size_t len; } heap; member in union:php_cli_server_chunk::__anon222
901 return chunk->data.heap.len;
912 if (chunk->data.heap.block != chunk) {
913 pefree(chunk->data.heap.block, 1);
993 chunk->data.heap.block = block;
994 chunk->data.heap.p = buf;
995 chunk->data.heap.len = len;
1008 chunk->data.heap.block = chunk;
1009 chunk->data.heap.p = (char *)(chunk + 1);
1010 chunk->data.heap
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c71 spl_ptr_heap *heap; member in struct:_spl_heap_object
229 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
231 heap->dtor = dtor;
232 heap->ctor = ctor;
233 heap->cmp = cmp;
234 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, sizeof(zval));
235 heap->max_size = PTR_HEAP_BLOCK_SIZE;
236 heap->count = 0;
237 heap->flags = 0;
239 return heap;
243 spl_ptr_heap_insert(spl_ptr_heap *heap, zval *elem, void *cmp_userdata TSRMLS_DC) argument
269 spl_ptr_heap_top(spl_ptr_heap *heap) argument
278 spl_ptr_heap_delete_top(spl_ptr_heap *heap, zval *elem, void *cmp_userdata TSRMLS_DC) argument
319 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
351 spl_ptr_heap_count(spl_ptr_heap *heap) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_alloc.c251 zend_mm_heap *heap; member in struct:_zend_mm_chunk
347 static ZEND_NORETURN void zend_mm_safe_error(zend_mm_heap *heap, argument
358 heap->overflow = 1;
370 heap->overflow = 0;
705 static zend_always_inline void zend_mm_chunk_init(zend_mm_heap *heap, zend_mm_chunk *chunk) argument
707 chunk->heap = heap;
708 chunk->next = heap->main_chunk;
709 chunk->prev = heap->main_chunk->prev;
726 static size_t zend_mm_get_huge_block_size(zend_mm_heap *heap, voi
741 zend_mm_alloc_pages(zend_mm_heap *heap, int pages_count, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
923 zend_mm_alloc_large(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
942 zend_mm_free_pages(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count) argument
977 zend_mm_free_large(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count) argument
1040 zend_mm_alloc_small_slow(zend_mm_heap *heap, int bin_num ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1095 zend_mm_alloc_small(zend_mm_heap *heap, size_t size, int bin_num ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1115 zend_mm_free_small(zend_mm_heap *heap, void *ptr, int bin_num) argument
1140 zend_mm_get_debug_info(zend_mm_heap *heap, void *ptr) argument
1163 zend_mm_alloc_heap(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1204 zend_mm_free_heap(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1229 zend_mm_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1257 zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1449 zend_mm_add_huge_block(zend_mm_heap *heap, void *ptr, size_t size, size_t dbg_size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1468 zend_mm_del_huge_block(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1492 zend_mm_get_huge_block_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1506 zend_mm_change_huge_block_size(zend_mm_heap *heap, void *ptr, size_t size, size_t dbg_size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1528 zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1574 zend_mm_free_huge(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1596 zend_mm_heap *heap; local
1670 zend_mm_find_leaks(zend_mm_heap *heap, zend_mm_chunk *p, int i, zend_leak_info *leak) argument
1809 zend_mm_shutdown(zend_mm_heap *heap, int full, int silent TSRMLS_DC) argument
1904 _zend_mm_alloc(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1909 _zend_mm_free(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1914 _zend_mm_realloc(zend_mm_heap *heap, void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1919 _zend_mm_block_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2387 zend_mm_set_custom_handlers(zend_mm_heap *heap, void* (*_malloc)(size_t), void (*_free)(void*), void* (*_realloc)(void*, size_t)) argument
[all...]

Completed in 9 milliseconds