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
1818 zend_mm_search_large_block(zend_mm_heap *heap, size_t true_size) argument
1891 _zend_mm_alloc_int(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2071 _zend_mm_free_int(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2134 _zend_mm_realloc_int(zend_mm_heap *heap, void *p, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2381 _zend_mm_alloc(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2386 _zend_mm_free(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2391 _zend_mm_realloc(zend_mm_heap *heap, void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2396 _zend_mm_block_size(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2771 zend_mm_get_storage(zend_mm_heap *heap) argument
2776 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.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/sapi/cli/
H A Dphp_cli_server.c152 struct { void *block; char *p; size_t len; } heap; member in union:php_cli_server_chunk::__anon221
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...]

Completed in 9 milliseconds