Searched refs:zend_mm_heap (Results 1 - 2 of 2) sorted by relevance
| /PHP_TRUNK/Zend/ |
| H A D | zend_alloc.h | 191 typedef struct _zend_mm_heap zend_mm_heap; typedef in typeref:struct:_zend_mm_heap 193 ZEND_API zend_mm_heap *zend_mm_startup(void); 194 ZEND_API void zend_mm_shutdown(zend_mm_heap *heap, int full_shutdown, int silent TSRMLS_DC); 195 ZEND_API void *_zend_mm_alloc(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; 196 ZEND_API void _zend_mm_free(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC); 197 ZEND_API void *_zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC); 198 ZEND_API size_t _zend_mm_block_size(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC); 233 ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, size_t block_size, size_t reserve_size, int internal, void *params); 234 ZEND_API zend_mm_heap *zend_mm_set_heap(zend_mm_heap *new_hea [all...] |
| H A D | zend_alloc.c | 477 zend_mm_panic("zend_mm_heap corrupted"); \ 571 zend_mm_panic("zend_mm_heap corrupted"); \ 608 zend_mm_panic("zend_mm_heap corrupted"); \ 648 zend_mm_panic("zend_mm_heap corrupted"); \ 652 zend_mm_panic("zend_mm_heap corrupted"); \ 661 static void *_zend_mm_alloc_int(zend_mm_heap *heap, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC ZEND_ATTRIBUTE_ALLOC_SIZE(2); 662 static void _zend_mm_free_int(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC); 663 static void *_zend_mm_realloc_int(zend_mm_heap *heap, void *p, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_ALLOC_SIZE(3); 727 static inline void zend_mm_add_to_free_list(zend_mm_heap *heap, zend_mm_free_block *mm_block) 788 static inline void zend_mm_remove_from_free_list(zend_mm_heap *hea [all...] |
Completed in 6 milliseconds