Source symbols: src/allocator.h
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: master@dda2e28bae2a084760361197d87f06e685604e52 · 2026-07-13T07:13:46Z
- Declarations: 26
- Referenced calls: 43
Declared symbols
NCNN_FORCEINLINE— static at line 42; referencesalignPtr,sizeofNCNN_FORCEINLINE— static at line 51; referencesalignSizeNCNN_FORCEINLINE— static at line 56; referencesfastMalloc,_aligned_malloc,elif,defined,posix_memalign,memalign,malloc,sizeof,alignPtrNCNN_FORCEINLINE— static at line 77; referencesfastFree,_aligned_free,elif,defined,freeNCNN_FORCEINLINE— static at line 98; referencesNCNN_XADDNCNN_FORCEINLINE— static at line 126; referencesNCNN_XADDNCNN_FORCEINLINE— static at line 134; referencesNCNN_XADDNCNN_EXPORT— class at line 142; referencesAllocator,fastMalloc,fastFreePoolAllocatorPrivate— class at line 150; referencesPoolAllocator,set_size_compare_ratio,set_size_drop_threshold,clear,fastMalloc,fastFreeNCNN_EXPORT— class at line 151; referencesPoolAllocator,set_size_compare_ratio,set_size_drop_threshold,clear,fastMalloc,fastFreeUnlockedPoolAllocatorPrivate— class at line 179; referencesUnlockedPoolAllocator,set_size_compare_ratio,set_size_drop_threshold,clear,fastMalloc,fastFreeNCNN_EXPORT— class at line 180; referencesUnlockedPoolAllocator,set_size_compare_ratio,set_size_drop_threshold,clear,fastMalloc,fastFreeVulkanDevice— class at line 210NCNN_EXPORT— class at line 212NCNN_EXPORT— class at line 234NCNN_EXPORT— class at line 267; referencesVkAllocator,clear,fastMalloc,fastFree,flush,invalidate,create_buffer,allocate_memory,allocate_dedicated_memory,allocate_import_host_memory,create_image,create_imageviewVulkanDevice— const at line 284; referencescreate_buffer,allocate_memory,allocate_dedicated_memory,allocate_import_host_memory,create_image,create_imageview,VkBlobAllocator,clear,fastMalloc,fastFreeVkBlobAllocatorPrivate— class at line 301; referencesVkBlobAllocator,clear,fastMalloc,fastFreeNCNN_EXPORT— class at line 302; referencesVkBlobAllocator,clear,fastMalloc,fastFreeVkWeightAllocatorPrivate— class at line 325; referencesVkWeightAllocator,clear,fastMalloc,fastFreeNCNN_EXPORT— class at line 326; referencesVkWeightAllocator,clear,fastMalloc,fastFreeVkStagingAllocatorPrivate— class at line 354; referencesVkStagingAllocator,set_size_compare_ratio,clear,fastMalloc,fastFreeNCNN_EXPORT— class at line 355; referencesVkStagingAllocator,set_size_compare_ratio,clear,fastMalloc,fastFreeVkWeightStagingAllocatorPrivate— class at line 382; referencesVkWeightStagingAllocator,fastMalloc,fastFreeNCNN_EXPORT— class at line 383; referencesVkWeightStagingAllocator,fastMalloc,fastFreeNCNN_EXPORT— class at line 405; referencesVkAndroidHardwareBufferImageAllocator,fastMalloc,fastFree,init,width,height,external_format
File-level call references
alignPtr— line 42sizeof— line 42alignSize— line 51fastMalloc— line 56_aligned_malloc— line 59elif— line 60defined— line 60posix_memalign— line 62memalign— line 66malloc— line 68fastFree— line 77_aligned_free— line 82free— line 84NCNN_XADD— line 98_InterlockedExchangeAdd— line 106__c11_atomic_fetch_add— line 110_Atomic— line 110__atomic_fetch_add— line 112__sync_fetch_and_add— line 119Allocator— line 145PoolAllocator— line 154set_size_compare_ratio— line 159set_size_drop_threshold— line 163clear— line 166UnlockedPoolAllocator— line 183VkAllocator— line 270flush— line 277invalidate— line 278create_buffer— line 292allocate_memory— line 293allocate_dedicated_memory— line 294allocate_import_host_memory— line 295create_image— line 297create_imageview— line 298VkBlobAllocator— line 305VkWeightAllocator— line 329VkStagingAllocator— line 358VkWeightStagingAllocator— line 386VkAndroidHardwareBufferImageAllocator— line 408init— line 422width— line 424height— line 425external_format— line 426
Source: src/allocator.h