Lines Matching defs:size
153 #define ZEND_MM_ALIGNED_OFFSET(size, alignment) \ argument
155 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument
157 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument
242 size_t size; /* current memory usage */ member
315 size_t size; member
325 #define _BIN_DATA_SIZE(num, size, elements, pages, x, y) size, argument
330 #define _BIN_DATA_ELEMENTS(num, size, elements, pages, x, y) elements, argument
335 #define _BIN_DATA_PAGES(num, size, elements, pages, x, y) pages, argument
378 size_t size) in zend_mm_safe_error()
420 static void zend_mm_munmap(void *addr, size_t size) in zend_mm_munmap()
458 static void *zend_mm_mmap_fixed(void *addr, size_t size) in zend_mm_mmap_fixed()
499 static void *zend_mm_mmap(size_t size) in zend_mm_mmap()
706 static zend_always_inline void zend_mm_hugepage(void* ptr, size_t size)
718 static void *zend_mm_chunk_alloc_int(size_t size, size_t alignment)
772 static void *zend_mm_chunk_alloc(zend_mm_heap *heap, size_t size, size_t alignment)
784 static void zend_mm_chunk_free(zend_mm_heap *heap, void *addr, size_t size)
1041 size_t size = heap->real_size + ZEND_MM_CHUNK_SIZE; local
1095 size_t size = heap->size + pages_count * ZEND_MM_PAGE_SIZE; local
1183 static zend_always_inline int zend_mm_small_size_to_bit(int size)
1214 static zend_always_inline int zend_mm_small_size_to_bin(size_t size)
1242 #define ZEND_MM_SMALL_SIZE_TO_BIN(size) zend_mm_small_size_to_bin(size) argument
1304 size_t size = heap->size + bin_data_size[bin_num]; local
1466 static zend_never_inline void *zend_mm_realloc_slow(zend_mm_heap *heap, void *ptr, size_t size, siz…
1484 static zend_never_inline void *zend_mm_realloc_huge(zend_mm_heap *heap, void *ptr, size_t size, siz…
1571 static zend_always_inline void *zend_mm_realloc_heap(zend_mm_heap *heap, void *ptr, size_t size, bo…
1693 size_t size = heap->size + (new_size - old_size); local
1729 static void zend_mm_add_huge_block(zend_mm_heap *heap, void *ptr, size_t size, size_t dbg_size ZEND…
1754 size_t size; local
1786 static void zend_mm_change_huge_block_size(zend_mm_heap *heap, void *ptr, size_t size, size_t dbg_s…
1864 size_t size = heap->real_size + new_size; local
1870 size_t size = heap->size + new_size; local
1883 size_t size; local
2395 void* ZEND_FASTCALL _zend_mm_realloc2(zend_mm_heap *heap, void *ptr, size_t size, size_t copy_size …
2504 # define ZEND_MM_CUSTOM_ALLOCATOR(size) do { \ argument
2516 # define ZEND_MM_CUSTOM_ALLOCATOR(size) argument
2534 ZEND_API void* ZEND_FASTCALL _emalloc_huge(size_t size)
2584 ZEND_API void ZEND_FASTCALL _efree_huge(void *ptr, size_t size)
2623 ZEND_API void* ZEND_FASTCALL _erealloc2(void *ptr, size_t size, size_t copy_size ZEND_FILE_LINE_DC …
2643 ZEND_API void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_…
2648 ZEND_API void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t offset)
2653 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZEN…
2658 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset)
2798 static zend_always_inline void tracked_add(zend_mm_heap *heap, void *ptr, size_t size) {
2827 static void *tracked_malloc(size_t size)