Home
last modified time | relevance | path

Searched refs:Allocator (Results 1 – 7 of 7) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/fnd/
Dfnd_Allocator.h58 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 …]
Dfnd_WaitableUnitHeap.h156 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()
Dfnd_UnitHeap.h379 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()
Dfnd_ExpHeap.h502 class Allocator; variable
510 class ExpHeapTemplate<LockPolicy>::Allocator : public IAllocator
522Allocator(ExpHeapTemplate<LockPolicy>& heap, bit8 groupId = 0, AllocationMode mode = ExpHeapBase::…
527 Allocator() : m_Heap(0) {} in Allocator() function
Dfnd_BuddyHeap.h653 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-1.0.0/CTR_SDK/sources/libraries/init/
Dinit_Alloc.cpp39 …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-1.0.0/CTR_SDK/include/nn/net/osl/
Dosl_BuddyHeap.h484 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