Lines Matching defs:size
179 #define ZEND_MM_ALIGNED_OFFSET(size, alignment) \ argument
181 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument
183 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument
274 size_t size; /* current memory usage */ member
345 size_t size; member
355 #define _BIN_DATA_SIZE(num, size, elements, pages, x, y) size, argument
360 #define _BIN_DATA_ELEMENTS(num, size, elements, pages, x, y) elements, argument
365 #define _BIN_DATA_PAGES(num, size, elements, pages, x, y) pages, argument
408 size_t size) in zend_mm_safe_error()
449 static void zend_mm_munmap(void *addr, size_t size) in zend_mm_munmap()
487 static void *zend_mm_mmap_fixed(void *addr, size_t size) in zend_mm_mmap_fixed()
528 static void *zend_mm_mmap(size_t size) in zend_mm_mmap()
735 static zend_always_inline void zend_mm_hugepage(void* ptr, size_t size)
747 static void *zend_mm_chunk_alloc_int(size_t size, size_t alignment)
807 static void *zend_mm_chunk_alloc(zend_mm_heap *heap, size_t size, size_t alignment)
819 static void zend_mm_chunk_free(zend_mm_heap *heap, void *addr, size_t size)
1076 size_t size = heap->real_size + ZEND_MM_CHUNK_SIZE; local
1133 size_t size = heap->size + pages_count * ZEND_MM_PAGE_SIZE; local
1217 static zend_always_inline int zend_mm_small_size_to_bit(int size)
1248 static zend_always_inline int zend_mm_small_size_to_bin(size_t size)
1276 #define ZEND_MM_SMALL_SIZE_TO_BIN(size) zend_mm_small_size_to_bin(size) argument
1401 size_t size = heap->size + bin_data_size[bin_num]; local
1570 static zend_never_inline void *zend_mm_realloc_slow(zend_mm_heap *heap, void *ptr, size_t size, siz…
1588 static zend_never_inline void *zend_mm_realloc_huge(zend_mm_heap *heap, void *ptr, size_t size, siz…
1675 static zend_always_inline void *zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size, bo…
1802 size_t size = heap->size + (new_size - old_size); local
1838 static void zend_mm_add_huge_block(zend_mm_heap *heap, void *ptr, size_t size, size_t dbg_size ZEND…
1863 size_t size; local
1895 static void zend_mm_change_huge_block_size(zend_mm_heap *heap, void *ptr, size_t size, size_t dbg_s…
1973 size_t size = heap->real_size + new_size; local
1979 size_t size = heap->size + new_size; local
1992 size_t size; local
2543 void* ZEND_FASTCALL _zend_mm_realloc2(zend_mm_heap *heap, void *ptr, size_t size, size_t copy_size …
2634 # define ZEND_MM_CUSTOM_ALLOCATOR(size) do { \ argument
2646 # define ZEND_MM_CUSTOM_ALLOCATOR(size) argument
2667 ZEND_API void* ZEND_FASTCALL _emalloc_huge(size_t size)
2725 ZEND_API void ZEND_FASTCALL _efree_huge(void *ptr, size_t size)
2764 ZEND_API void* ZEND_FASTCALL _erealloc2(void *ptr, size_t size, size_t copy_size ZEND_FILE_LINE_DC …
2779 ZEND_API void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_…
2784 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset)
2789 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZEN…
2794 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset)
2934 static zend_always_inline void tracked_add(zend_mm_heap *heap, void *ptr, size_t size) {