Searched refs:alloc_ (Results 1 – 5 of 5) sorted by relevance
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_piecewise_pair_evil.pass.cpp | 60 WidgetV1(int v) : value_(v), alloc_() {} in WidgetV1() 61 WidgetV1(std::allocator_arg_t, EvilAlloc<char> a, int v) : value_(v), alloc_(a) {} in WidgetV1() 64 return value_ == v && alloc_.inner_ == a; in holds() 68 EvilAlloc<char> alloc_; member 74 WidgetV2(int v) : value_(v), alloc_() {} in WidgetV2() 75 WidgetV2(int v, EvilAlloc<char> a) : value_(v), alloc_(a) {} in WidgetV2() 78 return value_ == v && alloc_.inner_ == a; in holds() 82 EvilAlloc<char> alloc_; member 88 WidgetV3(int v) : value_(v), alloc_() {} in WidgetV3() 89 WidgetV3(std::allocator_arg_t, EvilAlloc<char> a, int v) : value_(v), alloc_(a) {} in WidgetV3() [all …]
|
/external/libaom/libaom/test/ |
D | filterintra_test.cc | 51 alloc_ = new uint8_t[2 * MaxTxSize + 1]; in SetUp() 57 delete[] alloc_; in TearDown() 67 uint8_t *left = alloc_; in RunTest() 68 uint8_t *above = alloc_ + MaxTxSize; in RunTest() 84 alloc_[i] = rnd.Rand8(); in PrepareBuffer() 104 uint8_t *alloc_; member in __anond22a00060111::AV1FilterIntraPredTest
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_allocator_retry_test.cc | 133 ptr = alloc_->AllocateRaw(16, 1); in LaunchConsumerThreads() 144 alloc_->DeallocateRaw(ptr); in LaunchConsumerThreads() 171 std::unique_ptr<FakeAllocator> alloc_; member in tensorflow::__anon9dc664200111::GPUAllocatorRetryTest 186 alloc_.reset(new FakeAllocator(2, 1000)); in TEST_F() 211 alloc_.reset(new FakeAllocator(2, 0)); in TEST_F() 232 alloc_.reset(new FakeAllocator(2, 1000)); in TEST_F()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor.cc | 73 : TensorBuffer(data_ptr), alloc_(alloc) {} in BufferBase() 80 proto->set_allocator_name(alloc_->Name()); in FillAllocationDescription() 82 if (alloc_->TracksAllocationSizes()) { in FillAllocationDescription() 83 int64 ab = alloc_->AllocatedSize(data_ptr); in FillAllocationDescription() 85 int64 id = alloc_->AllocationId(data_ptr); in FillAllocationDescription() 97 LogMemory::RecordTensorDeallocation(alloc_->AllocationId(data()), in RecordDeallocation() 98 alloc_->Name()); in RecordDeallocation() 101 Allocator* const alloc_; member in tensorflow::__anonae1448e20111::BufferBase 459 alloc_->Deallocate<T>(static_cast<T*>(data()), elem_); in ~Buffer()
|
/external/protobuf/src/google/protobuf/ |
D | map.h | 719 alloc_(alloc) { in InnerMap() 959 alloc_.construct(&node->kv, kv); in insert() 979 KeyAllocator(alloc_).construct(&node->kv.key(), k); in insert() 1218 typename Allocator::template rebind<Tree>::other tree_allocator(alloc_); in TreeConvert() 1225 Tree(KeyCompare(), KeyPtrAllocator(alloc_))); in TreeConvert() 1289 return alloc_type(alloc_).allocate(n); in Alloc() 1296 alloc_type(alloc_).deallocate(t, n); in Dealloc() 1300 alloc_.destroy(&node->kv); in DestroyNode() 1305 typename Allocator::template rebind<Tree>::other tree_allocator(alloc_); in DestroyTree() 1344 Allocator alloc_; variable
|