/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.cons/ |
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> >();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/ |
default.pass.cpp | 35 typedef std::allocator<char> AllocT; // Is default constructible
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
PR23256_constrain_UTypes_ctor.pass.cpp | 73 std::allocator_arg_t, std::allocator<void>, 78 std::allocator_arg_t, std::allocator<void>, 83 std::allocator_arg_t, std::allocator<void>, 88 std::allocator_arg_t, std::allocator<void>,
|
/art/compiler/optimizing/ |
graph_visualizer.h | 57 explicit DisassemblyInformation(ArenaAllocator* allocator) 59 instruction_intervals_(std::less<const HInstruction*>(), allocator->Adapter()), 60 slow_path_intervals_(allocator->Adapter()) {}
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkYCbCrImageWithMemory.cpp | 35 vk::Allocator& allocator, 48 m_allocations.push_back(AllocationSp(allocator.allocate(reqs, requirement).release())); 56 m_allocations.push_back(AllocationSp(allocator.allocate(reqs, requirement).release()));
|
/external/libxcam/xcore/ |
image_handler.cpp | 38 ImageHandler::set_allocator (const SmartPtr<BufferPool> &allocator) 41 ERROR, allocator.ptr (), false, 42 "softhandler(%s) set allocator(is NULL)", XCAM_STR(get_name ())); 43 _allocator = allocator; 91 "softhandler(%s) get free buffer failed since allocator was not initilized", XCAM_STR(get_name ()));
|
/external/tensorflow/tensorflow/compiler/xla/ |
executable_run_options.cc | 29 DeviceMemoryAllocator* allocator) { 30 allocator_ = allocator; 34 DeviceMemoryAllocator* ExecutableRunOptions::allocator() const { function in class:xla::ExecutableRunOptions
|
/external/tensorflow/tensorflow/core/kernels/ |
crop_and_resize_op_test.cc | 16 #include "tensorflow/core/framework/allocator.h" 57 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); \ 84 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); 100 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); 116 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); 137 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); 160 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 2, 1})); 185 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 2, 1})); 209 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); 230 Tensor expected(allocator(), DT_FLOAT, TensorShape({0, 3, 3, 1})) [all...] |
guarantee_const_op_test.cc | 44 Tensor expected(allocator(), DT_INT32, TensorShape({6})); 53 Tensor expected(allocator(), DT_INT32, TensorShape({2, 3})); 62 Tensor expected(allocator(), DT_STRING, TensorShape({6}));
|
identity_op_test.cc | 43 Tensor expected(allocator(), DT_INT32, TensorShape({6})); 52 Tensor expected(allocator(), DT_INT32, TensorShape({2, 3})); 61 Tensor expected(allocator(), DT_STRING, TensorShape({6}));
|
quantize_down_and_shrink_range_op_test.cc | 16 #include "tensorflow/core/framework/allocator.h" 59 Tensor expected(allocator(), DT_QUINT8, TensorShape({value_count})); 62 Tensor expected_min(allocator(), DT_FLOAT, TensorShape({})); 65 Tensor expected_max(allocator(), DT_FLOAT, TensorShape({}));
|
logging_ops_test.cc | 49 Tensor expected(allocator(), DT_INT32, TensorShape({6})); 60 Tensor expected(allocator(), DT_INT32, TensorShape({6})); 71 Tensor expected(allocator(), DT_INT32, TensorShape({6})); 82 Tensor expected(allocator(), DT_INT32, TensorShape({6})); 94 Tensor expected(allocator(), DT_INT32, TensorShape({6}));
|
dynamic_partition_op_test.cc | 20 #include "tensorflow/core/framework/allocator.h" 63 Tensor expected(allocator(), DT_FLOAT, TensorShape({2})); 68 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); 73 Tensor expected(allocator(), DT_FLOAT, TensorShape({2})); 78 Tensor expected(allocator(), DT_FLOAT, TensorShape({1})); 96 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 3})); 101 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3})); 106 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 3})); 111 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3})); 127 Tensor expected_empty(allocator(), DT_FLOAT, empty_one_dim) [all...] |
roll_op_test.cc | 22 #include "tensorflow/core/framework/allocator.h" 61 Tensor expected(allocator(), DT_FLOAT, TensorShape({5})); 76 Tensor expected(allocator(), DT_STRING, TensorShape({5})); 94 Tensor expected(allocator(), DT_COMPLEX64, TensorShape({5})); 113 Tensor expected(allocator(), DT_FLOAT, TensorShape({3, 5})); 131 Tensor expected(allocator(), DT_STRING, TensorShape({3, 5})); 148 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 3})); 165 Tensor expected(allocator(), DT_STRING, TensorShape({2, 2, 3})); 182 Tensor expected(allocator(), DT_FLOAT, TensorShape({5, 3})); 200 Tensor expected(allocator(), DT_STRING, TensorShape({5, 3})) [all...] |
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/ |
Allocator.h | 20 #warning "Allocator.h included without LOG_TAG" 25 #include <allocator-hal/2.0/AllocatorHal.h> 26 #include <android/hardware/graphics/allocator/2.0/IAllocator.h> 33 namespace allocator { namespace in namespace:android::hardware::graphics 82 using Allocator = detail::AllocatorImpl<IAllocator, AllocatorHal>; 86 } // namespace allocator
|
/external/libcxx/test/std/containers/sequences/list/ |
types.pass.cpp | 12 // template <class T, class Alloc = allocator<T> > 37 static_assert((std::is_same<C::allocator_type, std::allocator<int> >::value), ""); 38 static_assert((std::is_same<C::reference, std::allocator<int>::reference>::value), ""); 39 static_assert((std::is_same<C::const_reference, std::allocator<int>::const_reference>::value), ""); 40 static_assert((std::is_same<C::pointer, std::allocator<int>::pointer>::value), ""); 41 static_assert((std::is_same<C::const_pointer, std::allocator<int>::const_pointer>::value), "");
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
valuetest.cpp | 77 Value::AllocatorType allocator;
local 80 x.Reserve(4u, allocator);
81 x.PushBack(1, allocator).PushBack(2, allocator).PushBack(3, allocator).PushBack(4, allocator);
160 Value::AllocatorType allocator;
local 162 x.AddMember("hello", "world", allocator)
163 .AddMember("t", Value(true).Move(), allocator)
164 .AddMember("f", Value(false).Move(), allocator)
619 MemoryPoolAllocator<> allocator; local 718 Value::AllocatorType allocator; local 768 y.PushBack(Value(true), allocator); local 911 Value::AllocatorType allocator; local 983 o.AddMember(Value("true"), Value(true), allocator); local 1192 Value::AllocatorType allocator; local 1210 MemoryPoolAllocator<> allocator; local 1231 MemoryPoolAllocator<> allocator; local 1273 rapidjson::Document::AllocatorType& allocator = doc.GetAllocator(); local 1287 V::AllocatorType allocator; local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/list/ |
types.pass.cpp | 12 // template <class T, class Alloc = allocator<T> > 37 static_assert((std::is_same<C::allocator_type, std::allocator<int> >::value), ""); 38 static_assert((std::is_same<C::reference, std::allocator<int>::reference>::value), ""); 39 static_assert((std::is_same<C::const_reference, std::allocator<int>::const_reference>::value), ""); 40 static_assert((std::is_same<C::pointer, std::allocator<int>::pointer>::value), ""); 41 static_assert((std::is_same<C::const_pointer, std::allocator<int>::const_pointer>::value), "");
|
/art/test/130-hprof/src/ |
Main.java | 48 Class<?> allocator = loader.loadClass("Allocator"); local 49 return allocator.getDeclaredMethod("allocObject", null).invoke(null); 135 Allocator allocator = new Allocator(); local 136 Dumper dumper = new Dumper(allocator); 137 allocator.start(); 140 allocator.join(); 147 private static class Allocator extends Thread 167 Allocator allocator; field in class:Main.Dumper [all...] |
/external/swiftshader/src/OpenGL/compiler/ |
Compiler.cpp | 28 TScopedPoolAllocator(TPoolAllocator* allocator, bool pushPop) 29 : mAllocator(allocator), mPushPopAllocator(pushPop) 77 allocator.push(); 78 SetGlobalPoolAllocator(&allocator); 84 allocator.popAll(); 91 TScopedPoolAllocator scopedAlloc(&allocator, false); 105 TScopedPoolAllocator scopedAlloc(&allocator, true);
|
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. 234 // with everyone using the same global allocator. 240 // This STL compatible allocator is intended to be used as the allocator 264 pool_allocator() : allocator(GetGlobalPoolAllocator()) { } 265 pool_allocator(TPoolAllocator& a) : allocator(&a) { } 266 pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { 311 TPoolAllocator *allocator; member in class:pool_allocator [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
shaped_buffer.cc | 109 ShapedBuffer* shaped_buffer, DeviceMemoryAllocator* allocator) { 112 allocator, shaped_buffer->device_ordinal())); 121 DeviceMemoryAllocator* allocator, 123 : ShapedBuffer(on_host_shape, on_device_shape, allocator->platform(), 125 allocator_(allocator) {} 128 DeviceMemoryAllocator* allocator) 129 : ShapedBuffer(std::move(shaped_buffer)), allocator_(allocator) {}
|
/external/v8/src/wasm/ |
function-body-decoder.h | 53 V8_EXPORT_PRIVATE DecodeResult VerifyWasmCode(AccountingAllocator* allocator, 56 DecodeResult BuildTFGraph(AccountingAllocator* allocator, TFBuilder* builder, 58 bool PrintRawWasmCode(AccountingAllocator* allocator, const FunctionBody& body, 64 inline DecodeResult VerifyWasmCode(AccountingAllocator* allocator, 68 return VerifyWasmCode(allocator, module, body); 71 inline DecodeResult BuildTFGraph(AccountingAllocator* allocator, 75 return BuildTFGraph(allocator, builder, body);
|
/hardware/google/av/codec2/vndk/ |
C2Store.cpp | 46 * The platform allocator store provides basic allocator-types for the framework based on ion and 49 * \todo Provide allocator based on ashmem 51 * \todo Make this allocator store extendable 58 id_t id, std::shared_ptr<C2Allocator> *const allocator) override; 66 return "android.allocator-store"; 74 /// returns a shared-singleton ion allocator 77 /// returns a shared-singleton gralloc allocator 80 /// returns a shared-singleton bufferqueue supporting gralloc allocator 94 id_t id, std::shared_ptr<C2Allocator> *const allocator) { 189 std::shared_ptr<C2AllocatorIon> allocator; local 201 std::shared_ptr<C2AllocatorIon> allocator = gIonAllocator.lock(); local 219 std::shared_ptr<C2Allocator> allocator = grallocAllocator.lock(); local 231 std::shared_ptr<C2Allocator> allocator = grallocAllocator.lock(); local 298 std::shared_ptr<C2Allocator> allocator; local 403 std::shared_ptr<C2Allocator> allocator; local [all...] |
/external/libchrome/base/metrics/ |
sparse_histogram.cc | 29 // Try to create the histogram using a "persistent" allocator. As of 31 // that is off by default. If the allocator doesn't exist or if 36 PersistentHistogramAllocator* allocator = GlobalHistogramAllocator::Get(); local 37 if (allocator) { 38 tentative_histogram = allocator->AllocateHistogram( 42 // Handle the case where no persistent allocator is present or the 46 DCHECK(!allocator); // Shouldn't have failed. 62 allocator->FinalizeHistogram(histogram_ref, 77 PersistentHistogramAllocator* allocator, 82 new SparseHistogram(allocator, name, meta, logged_meta)) [all...] |