/third_party/gn/src/base/ |
D | stl_util.h | 141 template <typename CharT, typename Traits, typename Allocator, typename Value> 142 void Erase(std::basic_string<CharT, Traits, Allocator>& container, in Erase() 148 template <typename CharT, typename Traits, typename Allocator, class Predicate> 149 void EraseIf(std::basic_string<CharT, Traits, Allocator>& container, in EraseIf() 155 template <class T, class Allocator, class Value> 156 void Erase(std::deque<T, Allocator>& container, const Value& value) { in Erase() 161 template <class T, class Allocator, class Predicate> 162 void EraseIf(std::deque<T, Allocator>& container, Predicate pred) { in EraseIf() 167 template <class T, class Allocator, class Value> 168 void Erase(std::vector<T, Allocator>& container, const Value& value) { in Erase() [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | block_allocator_test.cc | 32 using Allocator = BlockAllocator<int>; in TEST_F() typedef 34 Allocator allocator; in TEST_F() 42 for (int* i : static_cast<const Allocator&>(allocator).Objects()) { in TEST_F() 51 using Allocator = BlockAllocator<LifetimeCounter>; in TEST_F() typedef 55 Allocator allocator; in TEST_F() 68 using Allocator = BlockAllocator<LifetimeCounter>; in TEST_F() typedef 73 Allocator allocator_a; in TEST_F() 79 Allocator allocator_b{std::move(allocator_a)}; in TEST_F() 87 using Allocator = BlockAllocator<LifetimeCounter>; in TEST_F() typedef 93 Allocator allocator_a; in TEST_F() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 148 : CurPtr(nullptr), End(nullptr), BytesAllocated(0), Allocator() {} in BumpPtrAllocatorImpl() 150 BumpPtrAllocatorImpl(T &&Allocator) in BumpPtrAllocatorImpl() argument 152 Allocator(std::forward<T &&>(Allocator)) {} in BumpPtrAllocatorImpl() 160 Allocator(std::move(Old.Allocator)) { in BumpPtrAllocatorImpl() 181 Allocator = std::move(RHS.Allocator); 237 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() 312 AllocatorT Allocator; variable 327 void *NewSlab = Allocator.Allocate(AllocatedSlabSize, 0); in StartNewSlab() 343 Allocator.Deallocate(*I, AllocatedSlabSize); in DeallocateSlabs() 352 Allocator.Deallocate(Ptr, Size); in DeallocateCustomSizedSlabs() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Allocator.h | 153 BumpPtrAllocatorImpl(T &&Allocator) in BumpPtrAllocatorImpl() argument 154 : Allocator(std::forward<T &&>(Allocator)) {} in BumpPtrAllocatorImpl() 162 Allocator(std::move(Old.Allocator)) { in BumpPtrAllocatorImpl() 184 Allocator = std::move(RHS.Allocator); 244 void *NewSlab = Allocator.Allocate(PaddedSize, 0); in Allocate() 390 AllocatorT Allocator; variable 405 void *NewSlab = Allocator.Allocate(AllocatedSlabSize, 0); in StartNewSlab() 421 Allocator.Deallocate(*I, AllocatedSlabSize); in DeallocateSlabs() 430 Allocator.Deallocate(Ptr, Size); in DeallocateCustomSizedSlabs() 447 BumpPtrAllocator Allocator; variable [all …]
|
D | RecyclingAllocator.h | 34 AllocatorType Allocator; variable 37 ~RecyclingAllocator() { Base.clear(Allocator); } in ~RecyclingAllocator() 43 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } in Allocate() 45 T *Allocate() { return Base.Allocate(Allocator); } in Allocate() 51 void Deallocate(SubClass* E) { return Base.Deallocate(Allocator, E); } in Deallocate() 54 Allocator.PrintStats(); in PrintStats() 64 T, Size, Align> &Allocator) { in new() argument 66 return Allocator.Allocate(); in new()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | osfiber_asm.h | 65 inline OSFiber(Allocator*); 70 MARL_NO_EXPORT static inline Allocator::unique_ptr<OSFiber> 71 createFiberFromCurrentThread(Allocator* allocator); 76 MARL_NO_EXPORT static inline Allocator::unique_ptr<OSFiber> createFiber( 77 Allocator* allocator, 89 Allocator* allocator; 95 OSFiber::OSFiber(Allocator* allocator) : allocator(allocator) {} in OSFiber() 103 Allocator::unique_ptr<OSFiber> OSFiber::createFiberFromCurrentThread( in createFiberFromCurrentThread() 104 Allocator* allocator) { in createFiberFromCurrentThread() 110 Allocator::unique_ptr<OSFiber> OSFiber::createFiber( in createFiber() [all …]
|
D | osfiber_ucontext.h | 38 inline OSFiber(Allocator*); 43 static inline Allocator::unique_ptr<OSFiber> createFiberFromCurrentThread( 44 Allocator* allocator); 49 static inline Allocator::unique_ptr<OSFiber> createFiber( 50 Allocator* allocator, 59 Allocator* allocator; 65 OSFiber::OSFiber(Allocator* allocator) : allocator(allocator) {} in OSFiber() 73 Allocator::unique_ptr<OSFiber> OSFiber::createFiberFromCurrentThread( in createFiberFromCurrentThread() 74 Allocator* allocator) { in createFiberFromCurrentThread() 81 Allocator::unique_ptr<OSFiber> OSFiber::createFiber( in createFiber() [all …]
|
D | osfiber_windows.h | 32 static inline Allocator::unique_ptr<OSFiber> createFiberFromCurrentThread( 33 Allocator* allocator); 38 static inline Allocator::unique_ptr<OSFiber> createFiber( 39 Allocator* allocator, 64 Allocator::unique_ptr<OSFiber> OSFiber::createFiberFromCurrentThread( in createFiberFromCurrentThread() 65 Allocator* allocator) { in createFiberFromCurrentThread() 75 Allocator::unique_ptr<OSFiber> OSFiber::createFiber( in createFiber() 76 Allocator* allocator, in createFiber()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | memory.h | 88 class Allocator { 92 MARL_EXPORT static Allocator* Default; 99 MARL_NO_EXPORT inline Deleter(Allocator* allocator, size_t count); 104 Allocator* allocator = nullptr; 112 virtual ~Allocator() = default; 150 Allocator() = default; 156 Allocator::Deleter::Deleter() : allocator(nullptr) {} in Deleter() 157 Allocator::Deleter::Deleter(Allocator* allocator, size_t count) in Deleter() 161 void Allocator::Deleter::operator()(T* object) { in operator() 176 T* Allocator::create(ARGS&&... args) { in create() [all …]
|
D | thread.h | 76 Allocator* allocator = Allocator::Default); 84 Allocator* allocator = Allocator::Default); 88 Allocator* allocator) const = 0; 91 MARL_EXPORT Affinity(Allocator*); 95 MARL_EXPORT Affinity(const Affinity&, Allocator* allocator); 98 MARL_EXPORT static Affinity all(Allocator* allocator = Allocator::Default); 100 MARL_EXPORT Affinity(std::initializer_list<Core>, Allocator* allocator);
|
D | dag.h | 33 Allocator::unique_ptr<DAGCounter> counters; 42 Allocator::unique_ptr<DAGCounter> counters; 113 Allocator* allocator); 141 void DAGBase<T>::initCounters(RunContext* ctx, Allocator* allocator) { 248 MARL_NO_EXPORT inline DAGBuilder(Allocator* allocator = Allocator::Default); 285 MARL_NO_EXPORT inline Allocator::unique_ptr<DAG<T>> build(); 292 Allocator::unique_ptr<DAG<T>> dag; 299 DAGBuilder<T>::DAGBuilder(Allocator* allocator /* = Allocator::Default */) 342 Allocator::unique_ptr<DAG<T>> DAGBuilder<T>::build() { 369 Allocator* allocator = Allocator::Default); [all …]
|
D | scheduler.h | 73 Allocator* allocator = Allocator::Default; 85 MARL_NO_EXPORT inline Config& setAllocator(Allocator*); 222 friend class Allocator; 246 Fiber(Allocator::unique_ptr<OSFiber>&&, uint32_t id); 254 static Allocator::unique_ptr<Fiber> create( 255 Allocator* allocator, 262 static Allocator::unique_ptr<Fiber> createFromCurrentThread( 263 Allocator* allocator, 270 Allocator::unique_ptr<OSFiber> const impl; 286 inline WaitingFibers(Allocator*); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/ |
D | MappedBlockStream.h | 45 BinaryStreamRef MsfData, BumpPtrAllocator &Allocator); 49 uint32_t StreamIndex, BumpPtrAllocator &Allocator); 53 BumpPtrAllocator &Allocator); 57 BumpPtrAllocator &Allocator); 70 BumpPtrAllocator &getAllocator() { return Allocator; } in getAllocator() 80 BinaryStreamRef MsfData, BumpPtrAllocator &Allocator); 103 BumpPtrAllocator &Allocator; variable 111 WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator); 115 uint32_t StreamIndex, BumpPtrAllocator &Allocator); 120 BumpPtrAllocator &Allocator); [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | flat_hash_set.h | 100 class Allocator = std::allocator<T>> 103 absl::container_internal::FlatHashSetPolicy<T>, Hash, Eq, Allocator> { 460 template <class Allocator, class... Args> 461 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct() 462 absl::allocator_traits<Allocator>::construct(*alloc, slot, in construct() 466 template <class Allocator> 467 static void destroy(Allocator* alloc, slot_type* slot) { in destroy() 468 absl::allocator_traits<Allocator>::destroy(*alloc, slot); in destroy() 471 template <class Allocator> 472 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/ |
D | MappedBlockStream.cpp | 48 BumpPtrAllocator &Allocator) in MappedBlockStream() argument 50 Allocator(Allocator) {} in MappedBlockStream() 54 BumpPtrAllocator &Allocator) { in createStream() argument 56 BlockSize, Layout, MsfData, Allocator); in createStream() 61 BumpPtrAllocator &Allocator) { in createIndexedStream() argument 67 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream() 73 BumpPtrAllocator &Allocator) { in createDirectoryStream() argument 77 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream() 83 BumpPtrAllocator &Allocator) { in createFpmStream() argument 85 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createFpmStream() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_memorypool.h | 66 struct Allocator { struct 69 Allocator() = default; argument 70 Allocator(const Allocator& other) = default; 73 Allocator(const Allocator<U>& other) {(void)other;} in Allocator() function 84 friend bool operator == (const Allocator<T>& lhs, const Allocator<T>& rhs) { argument
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | container_memory.h | 380 template <class Allocator, class... Args> 381 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { 384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value, 387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 393 template <class Allocator> 394 static void construct(Allocator* alloc, slot_type* slot, slot_type* other) { 397 absl::allocator_traits<Allocator>::construct( 400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 405 template <class Allocator> 406 static void destroy(Allocator* alloc, slot_type* slot) { [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceMemory.cpp | 32 ArenaAllocator *Allocator = in set_current() local 33 Manager == nullptr ? nullptr : Manager->Allocator.get(); in set_current() 34 set_current(Allocator); in set_current() 37 void CfgAllocatorTraits::set_current(ArenaAllocator *Allocator) { in set_current() argument 38 ICE_TLS_SET_FIELD(CfgAllocator, Allocator); in set_current() 53 ArenaAllocator *Allocator = in set_current() local 55 ICE_TLS_SET_FIELD(LivenessAllocator, Allocator); in set_current()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringMap.h | 158 static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator, in Create() argument 169 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create() 203 void Destroy(AllocatorTy &Allocator) { in Destroy() argument 208 Allocator.Deallocate(static_cast<void *>(this), AllocSize); in Destroy() 224 AllocatorTy Allocator; variable 234 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {} in StringMap() 238 Allocator(A) {} in StringMap() 248 : StringMapImpl(std::move(RHS)), Allocator(std::move(RHS.Allocator)) {} in StringMap() 252 std::swap(Allocator, RHS.Allocator); 258 Allocator(RHS.Allocator) { in StringMap() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | ScopedHashTable.h | 67 AllocatorTy &Allocator) { in Create() argument 68 ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>(); in Create() 76 template <typename AllocatorTy> void Destroy(AllocatorTy &Allocator) { in Destroy() argument 79 Allocator.Deallocate(this); in Destroy() 165 AllocatorTy Allocator; variable 169 ScopedHashTable(AllocatorTy A) : Allocator(A) {} in ScopedHashTable() 178 AllocatorTy &getAllocator() { return Allocator; } in getAllocator() 179 const AllocatorTy &getAllocator() const { return Allocator; } in getAllocator() 220 Allocator); in insertIntoScope() 227 template <typename K, typename V, typename KInfo, typename Allocator> [all …]
|
D | StringMap.h | 178 static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator, in Create() argument 188 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); in Create() 223 void Destroy(AllocatorTy &Allocator) { in Destroy() argument 227 Allocator.Deallocate(static_cast<void *>(this), AllocSize); in Destroy() 243 AllocatorTy Allocator; variable 254 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {} in StringMap() 258 Allocator(A) {} in StringMap() 268 : StringMapImpl(std::move(RHS)), Allocator(std::move(RHS.Allocator)) {} in StringMap() 272 Allocator(RHS.Allocator) { in StringMap() 292 static_cast<MapEntryTy *>(Bucket)->getKey(), Allocator, in StringMap() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiBufferAndImageAllocationUtil.hpp | 34 class Allocator; 53 Allocator& allocator, 65 Allocator& allocator, 77 Allocator& allocator, 89 Allocator& allocator, 102 Allocator& allocator, 115 Allocator& allocator,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferAndImageAllocationUtil.hpp | 34 class Allocator; 53 Allocator& allocator, 65 Allocator& allocator, 77 Allocator& allocator, 89 Allocator& allocator, 102 Allocator& allocator, 115 Allocator& allocator,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawImageObjectUtil.hpp | 70 vk::Allocator& allocator, 75 vk::Allocator& allocator, 85 vk::Allocator& allocator, 95 vk::Allocator& allocator, 104 vk::Allocator& allocator, 123 vk::Allocator& allocator, 136 vk::Allocator& allocator, 158 vk::Allocator& allocator, 167 vk::Allocator& allocator, 176 vk::Allocator& allocator, [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.hpp | 70 vk::Allocator& allocator, 75 vk::Allocator& allocator, 85 vk::Allocator& allocator, 95 vk::Allocator& allocator, 104 vk::Allocator& allocator, 123 vk::Allocator& allocator, 136 vk::Allocator& allocator, 158 vk::Allocator& allocator, 167 vk::Allocator& allocator, 176 vk::Allocator& allocator, [all …]
|