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

/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigsafe.h14 zend_mm_heap *heap; member in struct:__anon306
H A Dphpdbg_info.c327 zend_mm_heap *heap; local
331 heap = zend_mm_set_heap(phpdbg_original_heap_sigsafe_mem());
340 zend_mm_set_heap(heap);
H A Dphpdbg.c989 zend_mm_heap *heap = phpdbg_mm_get_heap(); local
990 if (UNEXPECTED(heap == p)) {
991 /* TODO: heap maybe allocated by mmap(zend_mm_init) or malloc(USE_ZEND_ALLOC=0)
995 zend_mm_free(heap, p);
/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::__anon4
853 return chunk->data.heap.len;
864 if (chunk->data.heap.block != chunk) {
865 pefree(chunk->data.heap.block, 1);
945 chunk->data.heap.block = block;
946 chunk->data.heap.p = buf;
947 chunk->data.heap.len = len;
960 chunk->data.heap.block = chunk;
961 chunk->data.heap.p = (char *)(chunk + 1);
962 chunk->data.heap
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c71 spl_ptr_heap *heap; member in struct:_spl_heap_object
227 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
229 heap->dtor = dtor;
230 heap->ctor = ctor;
231 heap->cmp = cmp;
232 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, sizeof(zval));
233 heap->max_size = PTR_HEAP_BLOCK_SIZE;
234 heap->count = 0;
235 heap->flags = 0;
237 return heap;
241 spl_ptr_heap_insert(spl_ptr_heap *heap, zval *elem, void *cmp_userdata) argument
265 spl_ptr_heap_top(spl_ptr_heap *heap) argument
274 spl_ptr_heap_delete_top(spl_ptr_heap *heap, zval *elem, void *cmp_userdata) argument
314 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
334 spl_ptr_heap_destroy(spl_ptr_heap *heap) argument
346 spl_ptr_heap_count(spl_ptr_heap *heap) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_alloc.c266 zend_mm_heap *heap; member in struct:_zend_mm_chunk
352 static ZEND_NORETURN void zend_mm_safe_error(zend_mm_heap *heap, argument
362 heap->overflow = 1;
374 heap->overflow = 0;
769 static void *zend_mm_chunk_alloc(zend_mm_heap *heap, size_t size, size_t alignment) argument
772 if (UNEXPECTED(heap->storage)) {
773 void *ptr = heap->storage->chunk_alloc(heap->storage, size, alignment);
781 static void zend_mm_chunk_free(zend_mm_heap *heap, void *addr, size_t size) argument
784 if (UNEXPECTED(heap
792 zend_mm_chunk_truncate(zend_mm_heap *heap, void *addr, size_t old_size, size_t new_size) argument
803 zend_mm_chunk_init(zend_mm_heap *heap, zend_mm_chunk *chunk) argument
839 zend_mm_alloc_pages(zend_mm_heap *heap, int pages_count, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1028 zend_mm_alloc_large(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1047 zend_mm_free_pages(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count) argument
1082 zend_mm_free_large(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count) argument
1154 zend_mm_alloc_small_slow(zend_mm_heap *heap, int bin_num ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1209 zend_mm_alloc_small(zend_mm_heap *heap, size_t size, int bin_num ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1229 zend_mm_free_small(zend_mm_heap *heap, void *ptr, int bin_num) argument
1254 zend_mm_get_debug_info(zend_mm_heap *heap, void *ptr) argument
1277 zend_mm_alloc_heap(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1318 zend_mm_free_heap(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1343 zend_mm_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1371 zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size, size_t copy_size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1562 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
1581 zend_mm_del_huge_block(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1605 zend_mm_get_huge_block_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1619 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
1641 zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1694 zend_mm_free_huge(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1716 zend_mm_heap *heap; local
1797 zend_mm_find_leaks(zend_mm_heap *heap, zend_mm_chunk *p, int i, zend_leak_info *leak) argument
1827 zend_mm_check_leaks(zend_mm_heap *heap) argument
1936 zend_mm_shutdown(zend_mm_heap *heap, int full, int silent) argument
2044 _zend_mm_alloc(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2049 _zend_mm_free(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2054 _zend_mm_realloc(zend_mm_heap *heap, void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2059 _zend_mm_realloc2(zend_mm_heap *heap, void *ptr, size_t size, size_t copy_size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2064 _zend_mm_block_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2434 zend_mm_set_custom_handlers(zend_mm_heap *heap, void* (*_malloc)(size_t), void (*_free)(void*), void* (*_realloc)(void*, size_t)) argument
2449 zend_mm_get_custom_handlers(zend_mm_heap *heap, void* (**_malloc)(size_t), void (**_free)(void*), void* (**_realloc)(void*, size_t)) argument
2473 zend_mm_get_storage(zend_mm_heap *heap) argument
2491 zend_mm_heap *heap; local
[all...]

Completed in 13 milliseconds