| /art/compiler/optimizing/ |
| parallel_move_test.cc | 55 explicit TestParallelMoveResolverWithSwap(ArenaAllocator* allocator) 56 : ParallelMoveResolverWithSwap(allocator) {} 98 explicit TestParallelMoveResolverNoSwap(ArenaAllocator* allocator) 99 : ParallelMoveResolverNoSwap(allocator), scratch_index_(kScratchRegisterStartIndexForTest) {} 153 static HParallelMove* BuildParallelMove(ArenaAllocator* allocator, 156 HParallelMove* moves = new (allocator) HParallelMove(allocator); 184 ArenaAllocator allocator(&pool); 187 TypeParam resolver(&allocator); 189 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves))) [all...] |
| /hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/ |
| GrallocLoader.h | 25 #include <allocator-hal/2.0/Allocator.h> 26 #include <allocator-passthrough/2.0/Gralloc0Hal.h> 27 #include <allocator-passthrough/2.0/Gralloc1Hal.h> 35 namespace allocator { namespace in namespace:android::hardware::graphics 90 auto allocator = std::make_unique<hal::Allocator>(); local 91 return allocator->init(std::move(hal)) ? allocator.release() : nullptr; 97 } // namespace allocator [all...] |
| /external/clang/test/Analysis/ |
| NewDelete-custom.cpp | 10 void *allocator(std::size_t size); 12 void *operator new[](std::size_t size) throw() { return allocator(size); } 13 void *operator new(std::size_t size) throw() { return allocator(size); } 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
|
| /external/clang/test/Modules/Inputs/PR27401/ |
| a.h | 16 class allocator {}; class
|
| /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
| derive_from.fail.cpp | 24 S f2(std::allocator_arg, std::allocator<int>{}, f1);
|
| /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| alloc_function.fail.cpp | 29 F f2(std::allocator_arg, std::allocator<int>(), f1);
|
| /external/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/ |
| uses_allocator.pass.cpp | 53 test<false, int, std::allocator<int> >(); 54 test<true, std::vector<int>, std::allocator<int> >(); 55 test<false, A, std::allocator<int> >(); 56 test<false, B, std::allocator<int> >(); 65 // static_assert((!std::uses_allocator<int, std::allocator<int> >::value), ""); 66 // static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), ""); 67 // static_assert((!std::uses_allocator<A, std::allocator<int> >::value), ""); 68 // static_assert((!std::uses_allocator<B, std::allocator<int> >::value), "");
|
| /external/tensorflow/tensorflow/contrib/image/kernels/ |
| adjust_hsv_in_yiq_op_test.cc | 29 Tensor matrix(allocator(), DT_FLOAT, TensorShape({9})); 32 Tensor expected(allocator(), DT_FLOAT, TensorShape({9})); 39 Tensor matrix(allocator(), DT_FLOAT, TensorShape({9})); 42 Tensor expected(allocator(), DT_FLOAT, TensorShape({9}));
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
| derive_from.fail.cpp | 24 S f2(std::allocator_arg, std::allocator<int>{}, f1);
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| alloc_function.fail.cpp | 29 F f2(std::allocator_arg, std::allocator<int>(), f1);
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.uses/allocator.uses.trait/ |
| uses_allocator.pass.cpp | 53 test<false, int, std::allocator<int> >(); 54 test<true, std::vector<int>, std::allocator<int> >(); 55 test<false, A, std::allocator<int> >(); 56 test<false, B, std::allocator<int> >(); 65 // static_assert((!std::uses_allocator<int, std::allocator<int> >::value), ""); 66 // static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), ""); 67 // static_assert((!std::uses_allocator<A, std::allocator<int> >::value), ""); 68 // static_assert((!std::uses_allocator<B, std::allocator<int> >::value), "");
|
| /system/core/libmemunreachable/ |
| ProcessMappings.h | 20 #include "Allocator.h" 36 bool ProcessMappings(pid_t pid, allocator::vector<Mapping>& mappings);
|
| HeapWalker.h | 24 #include "Allocator.h" 49 explicit HeapWalker(Allocator<HeapWalker> allocator) 50 : allocator_(allocator), 51 allocations_(allocator), 53 roots_(allocator), 54 root_vals_(allocator), 55 segv_handler_(allocator), 69 void Root(const allocator::vector<uintptr_t>& vals); 73 bool Leaked(allocator::vector<Range>&, size_t limit, size_t* num_leaks, size_t* leak_bytes) [all...] |
| /system/core/libmemunreachable/tests/ |
| Allocator_test.cpp | 17 #include <Allocator.h> 42 Allocator<char[100]> allocator(heap); 43 void* ptr = allocator.allocate(); 45 allocator.deallocate(ptr); 49 Allocator<char[100]> allocator(heap); 50 void* ptr1 = allocator.allocate(); 52 void* ptr2 = allocator.allocate(); 55 allocator.deallocate(ptr1) [all...] |
| /external/clang/test/SemaCXX/ |
| PR9902.cpp | 24 struct allocator {}; struct 28 allocator_traits<allocator<char>>::rebind_alloc<int> a;
|
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| alloc_const_Types.fail.cpp | 30 return {std::allocator_arg, std::allocator<void>{}, e}; 36 return {std::allocator_arg, std::allocator<void>{}, e};
|
| alloc_convert_copy.fail.cpp | 30 return {std::allocator_arg, std::allocator<void>{}, t1}; 36 return {std::allocator_arg, std::allocator<void>{}, t1};
|
| /external/tensorflow/tensorflow/compiler/xla/tests/ |
| local_client_allocation_test.cc | 45 TestAllocator* allocator = GetOrCreateAllocator(local_client_->platform()); local 52 // Override the allocator via 'options'. Tests that allocation and 53 // deallocation happen on the right allocator. 55 options.set_allocator(allocator); 82 TestAllocator* allocator = GetOrCreateAllocator(local_client_->platform()); local 88 int64 device_allocation_count_before = allocator->allocation_count(d); 89 int64 allocation_count_before = allocator->allocation_count(); 93 ExecutableRunOptions().set_device_ordinal(d).set_allocator(allocator)); 99 EXPECT_GT(allocator->allocation_count(), allocation_count_before); 100 EXPECT_GT(allocator->allocation_count(d), device_allocation_count_before) [all...] |
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| alloc_const_Types.fail.cpp | 30 return {std::allocator_arg, std::allocator<void>{}, e}; 36 return {std::allocator_arg, std::allocator<void>{}, e};
|
| alloc_convert_copy.fail.cpp | 30 return {std::allocator_arg, std::allocator<void>{}, t1}; 36 return {std::allocator_arg, std::allocator<void>{}, t1};
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/ |
| vstring_fwd.h | 37 #include <bits/allocator.h> 50 typename _Alloc = std::allocator<_CharT>, 59 std::allocator<char>, __rc_string_base> __rc_string; 66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; 76 std::allocator<char16_t>, __rc_string_base> __u16rc_string; 82 std::allocator<char32_t>, __rc_string_base> __u32rc_string;
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/ |
| vstring_fwd.h | 37 #include <bits/allocator.h> 50 typename _Alloc = std::allocator<_CharT>, 59 std::allocator<char>, __rc_string_base> __rc_string; 66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; 76 std::allocator<char16_t>, __rc_string_base> __u16rc_string; 82 std::allocator<char32_t>, __rc_string_base> __u32rc_string;
|
| /frameworks/base/libs/hwui/ |
| BakedOpState.cpp | 33 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 56 clipState = snapshot.serializeIntersectedClip(allocator, recordedOp.localClip, 81 auto localMask = allocator.create<SkPath>(); 88 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 91 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform)); 97 ResolvedRenderState::ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot) 99 , clipState(snapshot.mutateClipArea().serializeClip(allocator)) 113 BakedOpState* BakedOpState::tryConstruct(LinearAllocator& allocator, Snapshot& snapshot, 117 allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp, false, false) [all...] |
| BakedOpState.h | 55 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 60 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, 64 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot); 103 static BakedOpState* tryConstruct(LinearAllocator& allocator, Snapshot& snapshot, 106 static BakedOpState* tryConstructUnbounded(LinearAllocator& allocator, Snapshot& snapshot, 116 static BakedOpState* tryStrokeableOpConstruct(LinearAllocator& allocator, Snapshot& snapshot, 121 static BakedOpState* tryShadowOpConstruct(LinearAllocator& allocator, Snapshot& snapshot, 124 static BakedOpState* directConstruct(LinearAllocator& allocator, const ClipRect* clip, 141 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, 143 : computedState(allocator, snapshot, recordedOp, expandForStroke, expandForPathTexture [all...] |
| /external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
| size.pass.cpp | 23 template <class T, class Allocator> 28 typedef std::deque<T, Allocator> C; 32 C d(n, Allocator()); 45 template <class T, class Allocator> 49 typedef std::deque<T, Allocator> C; 65 template <class T, class Allocator> 67 test3(unsigned n, Allocator const &alloc = Allocator()) 70 typedef std::deque<T, Allocator> C; 82 template <class T, class Allocator> [all...] |