Home
last modified time | relevance | path

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

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_sigsafe.c9 static void* zend_mm_mem_alloc(zend_mm_storage *storage, size_t size, size_t alignment) { in ZEND_EXTERN_MODULE_GLOBALS()
27 static void zend_mm_mem_free(zend_mm_storage *storage, void *ptr, size_t size) { in zend_mm_mem_free()
/PHP-7.4/Zend/
H A Dzend_alloc.h294 typedef struct _zend_mm_storage zend_mm_storage; typedef
296 typedef void* (*zend_mm_chunk_alloc_t)(zend_mm_storage *storage, size_t size, size_t alignment);
297 typedef void (*zend_mm_chunk_free_t)(zend_mm_storage *storage, void *chunk, size_t size);
298 typedef int (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, s…
299 typedef int (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, siz…
313 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
H A Dzend_alloc.c237 zend_mm_storage *storage;
2881 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap)
2898 zend_mm_storage tmp_storage, *storage;
2950 …storage = _zend_mm_alloc(heap, sizeof(zend_mm_storage) + data_size ZEND_FILE_LINE_CC ZEND_FILE_LIN…
2962 memcpy(storage, &tmp_storage, sizeof(zend_mm_storage));
2964 storage->data = (void*)(((char*)storage + sizeof(zend_mm_storage)));

Completed in 16 milliseconds