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

/PHP_TRUNK/Zend/
H A Dzend_alloc.c237 HANDLE heap = HeapCreate(HEAP_NO_SERIALIZE, 0, 0); local
240 if (heap == NULL) {
245 HeapDestroy(heap);
248 storage->data = (void*) heap;
320 # define ZEND_MM_STORAGE_DTOR() heap->storage->handlers->dtor(heap->storage)
321 # define ZEND_MM_STORAGE_ALLOC(size) heap->storage->handlers->_alloc(heap->storage, size)
322 # define ZEND_MM_STORAGE_REALLOC(ptr, size) heap->storage->handlers->_realloc(heap
727 zend_mm_add_to_free_list(zend_mm_heap *heap, zend_mm_free_block *mm_block) argument
788 zend_mm_remove_from_free_list(zend_mm_heap *heap, zend_mm_free_block *mm_block) argument
861 zend_mm_add_to_rest_list(zend_mm_heap *heap, zend_mm_free_block *mm_block) argument
892 zend_mm_init(zend_mm_heap *heap) argument
919 zend_mm_del_segment(zend_mm_heap *heap, zend_mm_segment *segment) argument
932 zend_mm_free_cache(zend_mm_heap *heap) argument
1045 zend_mm_heap *heap; local
1170 zend_mm_heap *heap; local
1335 zend_mm_check_ptr(zend_mm_heap *heap, void *ptr, int silent ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1559 zend_mm_check_heap(zend_mm_heap *heap, int silent ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1601 zend_mm_shutdown(zend_mm_heap *heap, int full_shutdown, int silent TSRMLS_DC) argument
1743 zend_mm_safe_error(zend_mm_heap *heap, const char *format, size_t limit, const char *filename, uint lineno, size_t size) argument
1807 zend_mm_search_large_block(zend_mm_heap *heap, size_t true_size) argument
1880 _zend_mm_alloc_int(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2060 _zend_mm_free_int(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2123 _zend_mm_realloc_int(zend_mm_heap *heap, void *p, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2370 _zend_mm_alloc(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2375 _zend_mm_free(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2380 _zend_mm_realloc(zend_mm_heap *heap, void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2385 _zend_mm_block_size(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2760 zend_mm_get_storage(zend_mm_heap *heap) argument
2765 zend_mm_set_custom_handlers(zend_mm_heap *heap, void* (*_malloc)(size_t), void (*_free)(void*), void* (*_realloc)(void*, size_t)) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c73 spl_ptr_heap *heap; member in struct:_spl_heap_object
226 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
228 heap->dtor = dtor;
229 heap->ctor = ctor;
230 heap->cmp = cmp;
231 heap->elements = safe_emalloc(sizeof(spl_ptr_heap_element), PTR_HEAP_BLOCK_SIZE, 0);
232 heap->max_size = PTR_HEAP_BLOCK_SIZE;
233 heap->count = 0;
234 heap->flags = 0;
236 return heap;
240 spl_ptr_heap_insert(spl_ptr_heap *heap, spl_ptr_heap_element elem, void *cmp_userdata TSRMLS_DC) argument
266 spl_ptr_heap_top(spl_ptr_heap *heap) argument
275 spl_ptr_heap_delete_top(spl_ptr_heap *heap, void *cmp_userdata TSRMLS_DC) argument
318 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
350 spl_ptr_heap_count(spl_ptr_heap *heap) argument
[all...]
/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::__anon2
910 return chunk->data.heap.len;
921 if (chunk->data.heap.block != chunk) {
922 pefree(chunk->data.heap.block, 1);
1002 chunk->data.heap.block = block;
1003 chunk->data.heap.p = buf;
1004 chunk->data.heap.len = len;
1017 chunk->data.heap.block = chunk;
1018 chunk->data.heap.p = (char *)(chunk + 1);
1019 chunk->data.heap
[all...]

Completed in 9 milliseconds