Searched refs:zend_mm_storage (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_alloc.h308 typedef struct _zend_mm_storage zend_mm_storage; typedef in typeref:struct:_zend_mm_storage
310 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
311 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size);
312 typedef int (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
313 typedef int (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
327 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
342 static void *apc_chunk_alloc(zend_mm_storage *storage, size_t size, size_t alignment)
369 static void apc_chunk_free(zend_mm_storage *storage, void *chunk, size_t size)
H A Dzend_alloc.c242 zend_mm_storage *storage;
2695 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap)
2712 zend_mm_storage tmp_storage, *storage;
2762 storage = _zend_mm_alloc(heap, sizeof(zend_mm_storage) + data_size ZEND_FILE_LINE_CC ZEND_FILE_LINE_CC);
2774 memcpy(storage, &tmp_storage, sizeof(zend_mm_storage));
2776 storage->data = (void*)(((char*)storage + sizeof(zend_mm_storage)));
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigsafe.c9 static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t alignment) {
27 static void zend_mm_mem_free(zend_mm_storage *storage, void *ptr, size_t size) {

Completed in 24 milliseconds