/external/swiftshader/src/OpenGL/compiler/ |
PoolAlloc.h | 23 // This header defines an allocator that can be used to efficiently 35 // Individual classes can use this allocator by supplying their own 38 // STL containers can use this allocator by using the pool_allocator 39 // class as the allocator (second) template argument. 228 // with everyone using the same global allocator. 234 // This STL compatible allocator is intended to be used as the allocator 258 pool_allocator() : allocator(GetGlobalPoolAllocator()) { } 259 pool_allocator(TPoolAllocator& a) : allocator(&a) { } 260 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { 305 TPoolAllocator *allocator; member in class:pool_allocator [all...] |
/art/compiler/optimizing/ |
codegen_test.cc | 417 ArenaAllocator allocator(&pool); 419 HGraph* graph = CreateGraph(&allocator); 421 HBasicBlock* entry = new (&allocator) HBasicBlock(graph); 424 entry->AddInstruction(new (&allocator) HGoto()); 426 HBasicBlock* first_block = new (&allocator) HBasicBlock(graph); 431 HEqual* equal = new (&allocator) HEqual(constant0, constant0); 433 first_block->AddInstruction(new (&allocator) HIf(equal)); 435 HBasicBlock* then_block = new (&allocator) HBasicBlock(graph); 436 HBasicBlock* else_block = new (&allocator) HBasicBlock(graph); 437 HBasicBlock* exit_block = new (&allocator) HBasicBlock(graph) [all...] |
stack_map_stream.h | 63 explicit StackMapStream(ArenaAllocator* allocator, 65 : allocator_(allocator), 67 stack_maps_(allocator->Adapter(kArenaAllocStackMapStream)), 68 location_catalog_entries_(allocator->Adapter(kArenaAllocStackMapStream)), 69 location_catalog_entries_indices_(allocator->Adapter(kArenaAllocStackMapStream)), 70 dex_register_locations_(allocator->Adapter(kArenaAllocStackMapStream)), 71 inline_infos_(allocator->Adapter(kArenaAllocStackMapStream)), 72 stack_masks_(allocator->Adapter(kArenaAllocStackMapStream)), 73 register_masks_(allocator->Adapter(kArenaAllocStackMapStream)), 74 method_indices_(allocator->Adapter(kArenaAllocStackMapStream)) [all...] |
/external/clang/test/CodeGenCXX/ |
global-init.cpp | 58 struct allocator { allocator(); ~allocator(); }; struct in namespace:test2 59 struct A { A(const allocator &a = allocator()); ~A(); };
|
mangle-subst-std.cpp | 25 template<typename> struct allocator { }; struct in namespace:std 29 void f(std::allocator<char>, std::allocator<int>) { } 41 typedef std::basic_string<char, std::char_traits<char>, std::allocator<char> > string; 96 typedef basic_string<char, std::char_traits<char>, std::allocator<char> > not_string;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_posix_libcdep.cc | 278 LowLevelAllocator *allocator) 279 : addr2line_path_(addr2line_path), allocator_(allocator), 412 static SymbolizerTool *ChooseExternalSymbolizer(LowLevelAllocator *allocator) { 420 return new(*allocator) LLVMSymbolizer(path, allocator); 424 return new(*allocator) AtosSymbolizer(path, allocator); 431 return new(*allocator) Addr2LinePool(path, allocator); 443 return new(*allocator) LLVMSymbolizer(found_path, allocator) [all...] |
sanitizer_symbolizer_mac.h | 35 explicit AtosSymbolizer(const char *path, LowLevelAllocator *allocator);
|
/art/runtime/base/ |
allocator.h | 34 class Allocator { 36 static Allocator* GetMallocAllocator(); 37 static Allocator* GetNoopAllocator(); 39 Allocator() {} 40 virtual ~Allocator() {} 46 DISALLOW_COPY_AND_ASSIGN(Allocator); 105 // Tracking allocator for use with STL types, tracks how much memory is used. 107 class TrackingAllocatorImpl : public std::allocator<T> { 109 typedef typename std::allocator<T>::value_type value_type; 110 typedef typename std::allocator<T>::size_type size_type [all...] |
/external/google-breakpad/src/common/ |
memory.h | 56 // This is very simple allocator which fetches pages from the kernel directly. 103 // Checks whether the page allocator owns the passed-in pointer. 164 struct PageStdAllocator : public std::allocator<T> { 165 typedef typename std::allocator<T>::pointer pointer; 166 typedef typename std::allocator<T>::size_type size_type; 168 explicit PageStdAllocator(PageAllocator& allocator): allocator_(allocator) {} 199 wasteful_vector(PageAllocator* allocator, unsigned size_hint = 16) 200 : std::vector<T, PageStdAllocator<T> >(PageStdAllocator<T>(*allocator)) { 208 google_breakpad::PageAllocator& allocator) { [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
ClipAreaTests.cpp | 124 LinearAllocator allocator; local 127 EXPECT_EQ(nullptr, area.serializeClip(allocator)); 132 auto serializedClip = area.serializeClip(allocator); 137 EXPECT_EQ(serializedClip, area.serializeClip(allocator)) 146 auto serializedClip = area.serializeClip(allocator); 153 EXPECT_EQ(serializedClip, area.serializeClip(allocator)) 162 auto serializedClip = area.serializeClip(allocator); 170 EXPECT_EQ(serializedClip, area.serializeClip(allocator)) 177 LinearAllocator allocator; local 182 auto serializedClip = area.serializeClip(allocator); 189 LinearAllocator allocator; local 258 LinearAllocator allocator; local 281 LinearAllocator allocator; local [all...] |
/external/skia/src/core/ |
SkLinearBitmapPipeline.cpp | 354 SkArenaAlloc* allocator) 382 auto blenderStage = this->chooseBlenderForShading(alphaType, postAlpha, allocator); 384 blenderStage, filterQuality, xTile, yTile, srcPixmap, paintColor, allocator); 386 samplerStage, dimensions, xTile, yTile, filterQuality, dx, allocator); 387 fFirstStage = this->chooseMatrix(tilerStage, adjustedInverse, allocator); 396 SkArenaAlloc* allocator) 404 auto sampler = allocator->make<RGBA8888UnitRepeatSrc>( 409 auto sampler = allocator->make<RGBA8888UnitRepeatSrcOver>( 415 auto tilerStage = pipeline.fTileStageCloner(sampleStage, allocator); 416 auto matrixStage = pipeline.fMatrixStageCloner(tilerStage, allocator); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiComputeInstanceResultBuffer.hpp | 48 vk::Allocator &allocator, 62 vk::Allocator &allocator,
|
vktApiComputeInstanceResultBuffer.cpp | 36 Allocator &allocator, 41 m_buffer(createResultBuffer(m_vki, m_device, allocator, &m_bufferMem, initValue)), 60 Allocator &allocator, 79 de::MovePtr<Allocation> allocation = allocator.allocate(requirements, MemoryRequirement::HostVisible);
|
/external/dng_sdk/source/ |
dng_area_task.h | 130 /// \param allocator dng_memory_allocator to use for allocating temporary buffers, etc. 135 dng_memory_allocator *allocator, 142 /// There is no allocator parameter as all allocation should be done in Start. 184 /// \param allocator dng_memory_allocator to use for allocating temporary buffers, etc. 189 dng_memory_allocator *allocator,
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
max_size.pass.cpp | 66 std::allocator<int> a; 67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
|
/external/v8/src/ |
splay-tree.h | 24 // (Allocator). The policy is used for allocating lists in the C free 28 // template <typename Config, class Allocator = FreeStoreAllocationPolicy> 38 explicit SplayTree(AllocationPolicy allocator = AllocationPolicy()) 39 : root_(NULL), allocator_(allocator) {} 43 AllocationPolicy allocator = AllocationPolicy())) { 44 return allocator.New(static_cast<int>(size)); 54 AllocationPolicy allocator() { return allocator_; } function in class:v8::internal::SplayTree 108 INLINE(void* operator new(size_t size, AllocationPolicy allocator)) { 109 return allocator.New(static_cast<int>(size)); 116 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { [all...] |
/hardware/interfaces/graphics/allocator/2.0/ |
IAllocator.hal | 17 package android.hardware.graphics.allocator@2.0;
|
/hardware/interfaces/graphics/allocator/2.0/default/ |
Gralloc0Allocator.h | 20 #include <android/hardware/graphics/allocator/2.0/IAllocator.h> 27 namespace allocator { namespace in namespace:android::hardware::graphics 54 } // namespace allocator
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
memorybuffer.h | 33 \tparam Allocator type for allocating memory buffer. 36 template <typename Allocator = CrtAllocator> 40 GenericMemoryBuffer(Allocator* allocator = 0, size_t capacity = kDefaultCapacity) : stack_(allocator, capacity) {} 57 mutable internal::Stack<Allocator> stack_;
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
max_size.pass.cpp | 66 std::allocator<int> a; 67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
max_size.pass.cpp | 66 std::allocator<int> a; 67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/Include/ |
PoolAlloc.h | 45 // This header defines an allocator that can be used to efficiently 57 // Individual classes can use this allocator by supplying their own 60 // STL containers can use this allocator by using the pool_allocator 61 // class as the allocator (second) template argument. 252 // with everyone using the same global allocator. 265 // This STL compatible allocator is intended to be used as the allocator 288 pool_allocator() : allocator(GetThreadPoolAllocator()) { } 289 pool_allocator(TPoolAllocator& a) : allocator(a) { } 290 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { 320 TPoolAllocator& allocator; member in class:glslang::pool_allocator [all...] |
/external/libchrome/base/containers/ |
hash_tables.h | 48 class Alloc = std::allocator<std::pair<const Key, T>>> 56 class Alloc = std::allocator<std::pair<const Key, T>>> 63 class Alloc = std::allocator<Key>> 70 class Alloc = std::allocator<Key>>
|
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
alloc.pass.cpp | 21 template <class T, class Allocator> 23 test(const Allocator& a) 25 std::deque<T, Allocator> d(a); 32 test<int>(std::allocator<int>());
|
default.pass.cpp | 21 template <class T, class Allocator> 25 std::deque<T, Allocator> d; 28 std::deque<T, Allocator> d1 = {}; 35 test<int, std::allocator<int> >();
|