Searched refs:Allocator (Results 1 – 7 of 7) sorted by relevance
| /CTR-SDK-0.14.4/include/nn/fnd/ |
| D | fnd_Allocator.h | 58 template <typename Allocator, typename Tag> 63 static void SetAllocator(Allocator allocator) { s_Allocator = allocator; } in SetAllocator() 64 static Allocator GetAllocator() { return s_Allocator; } in GetAllocator() 67 static Allocator s_Allocator; 70 template <typename Allocator, typename T, typename Tag = void> 71 class StdAllocatorAdapter : public StdAllocatorAdapterHolder<Allocator, Tag> 82 template <class U> struct rebind { typedef StdAllocatorAdapter<Allocator, U, Tag> other; }; 85 template <class U> StdAllocatorAdapter(const StdAllocatorAdapter<Allocator, U, Tag>&) throw() {} in StdAllocatorAdapter() argument 89 …e_type n, void* = 0) { return static_cast<T*>(StdAllocatorAdapterHolder<Allocator, Tag>::GetAlloca… 90 …void deallocate(pointer p, size_type) { StdAllocatorAdapterHolder<Allocator, Tag>::GetAllocator()-… in deallocate() [all …]
|
| D | fnd_WaitableUnitHeap.h | 156 class Allocator; variable 161 class WaitableUnitHeap<LockPolicy, Semaphore>::Allocator : public IAllocator 165 Allocator(WaitableUnitHeap& heap) : m_Heap(&heap) {} in Allocator() function 167 Allocator() : m_Heap(0) {} in Allocator() function 184 inline void* WaitableUnitHeap<LockPolicy, Semaphore>::Allocator::Allocate(size_t size, s32 alignmen… in Allocate()
|
| D | fnd_UnitHeap.h | 379 class Allocator; variable 387 class UnitHeapTemplate<LockPolicy>::Allocator : public IAllocator 396 Allocator(UnitHeapTemplate<LockPolicy>& heap) : m_Heap(&heap) {} in Allocator() function 401 Allocator() : m_Heap(0) {} in Allocator() function 443 inline void* UnitHeapTemplate<LockPolicy>::Allocator::Allocate(size_t size, s32 alignment) in Allocate() 456 inline void UnitHeapTemplate<LockPolicy>::Allocator::Free(void* p) in Free()
|
| D | fnd_ExpHeap.h | 502 class Allocator; variable 510 class ExpHeapTemplate<LockPolicy>::Allocator : public IAllocator 522 …Allocator(ExpHeapTemplate<LockPolicy>& heap, bit8 groupId = 0, AllocationMode mode = ExpHeapBase::… 527 Allocator() : m_Heap(0) {} in Allocator() function
|
| D | fnd_BuddyHeap.h | 653 class Allocator; variable 657 class BuddyHeapTemplate<PageSize, MaxOrder, LockPolicy>::Allocator : public nn::fnd::IAllocator 664 Allocator(BuddyHeap& heap) : m_Heap(0) { Initialize(heap); } in Allocator() function 669 Allocator() : m_Heap(0) {} in Allocator() function
|
| /CTR-SDK-0.14.4/sources/libraries/init/ |
| D | init_Alloc.cpp | 39 …n::util::aligned_storage<sizeof(SystemExpHeap::Allocator), nn::util::alignment_of<SystemExpHeap::A… 40 SystemExpHeap::Allocator* s_pSystemAllocator = 0; //<! システムヒープ用アロケータ 120 s_pSystemAllocator = new (&s_SystemAllocatorBuffer) SystemExpHeap::Allocator(*s_pSystemHeap); in InitializeAllocator()
|
| /CTR-SDK-0.14.4/include/nn/net/osl/ |
| D | osl_BuddyHeap.h | 484 class Allocator; variable 488 class BuddyHeapTemplate<PageSize, MaxOrder, LockPolicy>::Allocator : public nn::fnd::IAllocator 495 Allocator(BuddyHeap& heap) : m_Heap(0) { Initialize(heap); } in Allocator() function 500 Allocator() : m_Heap(0) {} in Allocator() function
|