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

/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c1789 ** [sqlite3_malloc|heap allocations].
1790 ** This can help [Robson proof|prevent memory allocation failures] due to heap
1975 ** that specifies the maximum size of the created heap.
4296 ** undesirable behavior such as segfaults and heap corruption.
5375 ** of heap memory by deallocating non-essential memory allocations
5391 ** ^The sqlite3_db_release_memory(D) interface attempts to free as much heap
5405 ** soft limit on the amount of heap memory that may be allocated by SQLite.
5406 ** ^SQLite strives to keep heap memory utilization below the soft heap
5408 ** as heap memor
61665 u32 *heap = 0; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c71 spl_ptr_heap *heap; member in struct:_spl_heap_object
225 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
227 heap->dtor = dtor;
228 heap->ctor = ctor;
229 heap->cmp = cmp;
230 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, sizeof(zval));
231 heap->max_size = PTR_HEAP_BLOCK_SIZE;
232 heap->count = 0;
233 heap->flags = 0;
235 return heap;
239 spl_ptr_heap_insert(spl_ptr_heap *heap, zval *elem, void *cmp_userdata) argument
264 spl_ptr_heap_top(spl_ptr_heap *heap) argument
273 spl_ptr_heap_delete_top(spl_ptr_heap *heap, zval *elem, void *cmp_userdata) argument
313 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); local
333 spl_ptr_heap_destroy(spl_ptr_heap *heap) argument
345 spl_ptr_heap_count(spl_ptr_heap *heap) argument
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c148 struct { void *block; char *p; size_t len; } heap; member in union:php_cli_server_chunk::__anon2
852 return chunk->data.heap.len;
863 if (chunk->data.heap.block != chunk) {
864 pefree(chunk->data.heap.block, 1);
944 chunk->data.heap.block = block;
945 chunk->data.heap.p = buf;
946 chunk->data.heap.len = len;
959 chunk->data.heap.block = chunk;
960 chunk->data.heap.p = (char *)(chunk + 1);
961 chunk->data.heap
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigsafe.h11 zend_mm_heap *heap; member in struct:__anon5
H A Dphpdbg.c1254 zend_mm_heap *heap = zend_mm_get_heap(); local
1255 if (UNEXPECTED(heap == p)) {
1256 /* TODO: heap maybe allocated by mmap(zend_mm_init) or malloc(USE_ZEND_ALLOC=0)
1261 return _zend_mm_free(heap, p ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
H A Dphpdbg_info.c337 zend_mm_heap *heap; local
341 heap = zend_mm_set_heap(phpdbg_original_heap_sigsafe_mem());
350 zend_mm_set_heap(heap);
/PHP_TRUNK/Zend/
H A Dzend_alloc.c285 zend_mm_heap *heap; member in struct:_zend_mm_chunk
371 static ZEND_COLD ZEND_NORETURN void zend_mm_safe_error(zend_mm_heap *heap, argument
381 heap->overflow = 1;
393 heap->overflow = 0;
784 static void *zend_mm_chunk_alloc(zend_mm_heap *heap, size_t size, size_t alignment) argument
787 if (UNEXPECTED(heap->storage)) {
788 void *ptr = heap->storage->handlers.chunk_alloc(heap->storage, size, alignment);
796 static void zend_mm_chunk_free(zend_mm_heap *heap, void *addr, size_t size) argument
799 if (UNEXPECTED(heap
807 zend_mm_chunk_truncate(zend_mm_heap *heap, void *addr, size_t old_size, size_t new_size) argument
826 zend_mm_chunk_extend(zend_mm_heap *heap, void *addr, size_t old_size, size_t new_size) argument
844 zend_mm_chunk_init(zend_mm_heap *heap, zend_mm_chunk *chunk) argument
880 zend_mm_alloc_pages(zend_mm_heap *heap, int pages_count, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1077 zend_mm_alloc_large(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1096 zend_mm_delete_chunk(zend_mm_heap *heap, zend_mm_chunk *chunk) argument
1121 zend_mm_free_pages_ex(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count, int free_chunk) argument
1135 zend_mm_free_pages(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count) argument
1140 zend_mm_free_large(zend_mm_heap *heap, zend_mm_chunk *chunk, int page_num, int pages_count) argument
1212 zend_mm_alloc_small_slow(zend_mm_heap *heap, int bin_num ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1267 zend_mm_alloc_small(zend_mm_heap *heap, size_t size, int bin_num ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1287 zend_mm_free_small(zend_mm_heap *heap, void *ptr, int bin_num) argument
1312 zend_mm_get_debug_info(zend_mm_heap *heap, void *ptr) argument
1335 zend_mm_alloc_heap(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1376 zend_mm_free_heap(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1401 zend_mm_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1429 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
1621 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
1640 zend_mm_del_huge_block(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1664 zend_mm_get_huge_block_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1678 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
1700 zend_mm_alloc_huge(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1760 zend_mm_free_huge(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
1782 zend_mm_heap *heap; local
1831 zend_mm_gc(zend_mm_heap *heap) argument
1976 zend_mm_find_leaks(zend_mm_heap *heap, zend_mm_chunk *p, int i, zend_leak_info *leak) argument
2006 zend_mm_check_leaks(zend_mm_heap *heap) argument
2115 zend_mm_shutdown(zend_mm_heap *heap, int full, int silent) argument
2218 _zend_mm_alloc(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2223 _zend_mm_free(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2228 _zend_mm_realloc(zend_mm_heap *heap, void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2233 _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
2238 _zend_mm_block_size(zend_mm_heap *heap, void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) argument
2639 zend_mm_set_custom_handlers(zend_mm_heap *heap, void* (*_malloc)(size_t), void (*_free)(void*), void* (*_realloc)(void*, size_t)) argument
2654 zend_mm_get_custom_handlers(zend_mm_heap *heap, void* (**_malloc)(size_t), void (**_free)(void*), void* (**_realloc)(void*, size_t)) argument
2679 zend_mm_set_custom_debug_handlers(zend_mm_heap *heap, void* (*_malloc)(size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC), void (*_free)(void* ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC), void* (*_realloc)(void*, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)) argument
2695 zend_mm_get_storage(zend_mm_heap *heap) argument
2714 zend_mm_heap *heap; local
[all...]

Completed in 242 milliseconds