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

/PHP_TRUNK/Zend/
H A Dzend_alloc.c232 zend_mm_storage *storage;
2499 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap)
2516 zend_mm_storage tmp_storage, *storage;
2565 storage = _zend_mm_alloc(heap, sizeof(zend_mm_storage) + data_size ZEND_FILE_LINE_CC ZEND_FILE_LINE_CC);
2577 memcpy(storage, &tmp_storage, sizeof(zend_mm_storage));
2579 storage->data = (void*)(((char*)storage + sizeof(zend_mm_storage)));
H A Dzend_alloc.h295 typedef struct _zend_mm_storage zend_mm_storage; typedef in typeref:struct:_zend_mm_storage
297 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
298 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size);
299 typedef int (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
300 typedef int (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, size_t new_size);
314 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
329 static void *apc_chunk_alloc(zend_mm_storage *storage, size_t size, size_t alignment)
356 static void apc_chunk_free(zend_mm_storage *storage, void *chunk, size_t size)
/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 8 milliseconds