/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/default.allocator/allocator.globals/ |
eq.pass.cpp | 12 // allocator: 16 // operator==(const allocator<T1>&, const allocator<T2>&) throw(); 20 // operator!=(const allocator<T1>&, const allocator<T2>&) throw(); 27 std::allocator<int> a1; 28 std::allocator<int> a2;
|
/external/libcxx/test/std/containers/associative/map/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::map<int, int, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/associative/multimap/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::multimap<int, int, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/associative/multiset/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::multiset<int, std::less<int>, std::allocator<long> > ms;
|
/external/libcxx/test/std/containers/associative/set/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::set<int, std::less<int>, std::allocator<long> > s;
|
/external/libcxx/test/std/strings/basic.string/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::basic_string<char, std::char_traits<char>, std::allocator<int> > s;
|
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc.fail.cpp | 24 std::function<int(int)> f(std::allocator_arg, std::allocator<int>());
|
/prebuilts/misc/common/swig/include/2.0.11/std/ |
std_alloc.i | 4 * @brief The "standard" allocator, as per [20.4]. 9 * The underlying allocator behaves as follows. 18 class allocator 32 allocator() throw(); 34 allocator(const allocator&) throw(); 36 allocator(const allocator<_Tp1>&) throw(); 37 ~allocator() throw(); 65 class allocator<void [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::map<int, int, std::less<int>, std::allocator<long> > m;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/multimap/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::multimap<int, int, std::less<int>, std::allocator<long> > m;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/multiset/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::multiset<int, std::less<int>, std::allocator<long> > ms;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/set/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::set<int, std::less<int>, std::allocator<long> > s;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/basic.string/ |
allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::basic_string<char, std::char_traits<char>, std::allocator<int> > s;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
alloc.fail.cpp | 24 std::function<int(int)> f(std::allocator_arg, std::allocator<int>());
|
/art/runtime/gc/ |
allocator_type.h | 27 kAllocatorTypeBumpPointer, // Use BumpPointer allocator, has entrypoints. 28 kAllocatorTypeTLAB, // Use TLAB allocator, has entrypoints. 29 kAllocatorTypeRosAlloc, // Use RosAlloc allocator, has entrypoints. 30 kAllocatorTypeDlMalloc, // Use dlmalloc allocator, has entrypoints. 31 kAllocatorTypeNonMoving, // Special allocator for non moving objects, doesn't have entrypoints. 38 inline constexpr bool IsTLABAllocator(AllocatorType allocator) { 39 return allocator == kAllocatorTypeTLAB || allocator == kAllocatorTypeRegionTLAB;
|
/external/clang/test/SemaTemplate/ |
exception-spec-crash.cpp | 9 class allocator; 12 class allocator<char> {}; class 29 basic_string<allocator<char> > vectorFoo_;
|
/external/libcxx/test/std/containers/sequences/deque/deque.cons/ |
size_value.pass.cpp | 21 template <class T, class Allocator> 25 typedef std::deque<T, Allocator> C; 36 test<int, std::allocator<int> >(0, 5); 37 test<int, std::allocator<int> >(1, 10); 38 test<int, std::allocator<int> >(10, 11); 39 test<int, std::allocator<int> >(1023, -11); 40 test<int, std::allocator<int> >(1024, 25); 41 test<int, std::allocator<int> >(1025, 0); 42 test<int, std::allocator<int> >(2047, 110); 43 test<int, std::allocator<int> >(2048, -500) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/deque/deque.cons/ |
size_value.pass.cpp | 21 template <class T, class Allocator> 25 typedef std::deque<T, Allocator> C; 36 test<int, std::allocator<int> >(0, 5); 37 test<int, std::allocator<int> >(1, 10); 38 test<int, std::allocator<int> >(10, 11); 39 test<int, std::allocator<int> >(1023, -11); 40 test<int, std::allocator<int> >(1024, 25); 41 test<int, std::allocator<int> >(1025, 0); 42 test<int, std::allocator<int> >(2047, 110); 43 test<int, std::allocator<int> >(2048, -500) [all...] |
/system/core/libmemunreachable/ |
LeakFolding.h | 26 LeakFolding(Allocator<void> allocator, HeapWalker& heap_walker) 27 : allocator_(allocator), 29 leak_map_(allocator), 30 leak_graph_(allocator), 31 leak_scc_(allocator) {} 41 bool Leaked(allocator::vector<Leak>& leaked, size_t* num_leaks_out, size_t* leak_bytes_out); 45 Allocator<void> allocator_; 61 explicit SCCInfo(Allocator<SCCInfo> allocator) [all...] |
/bionic/linker/tests/ |
linker_block_allocator_test.cpp | 47 * this one has size below allocator cap which is 2*sizeof(void*) 64 LinkerTypeAllocator<test_struct_nominal> allocator; local 66 test_struct_nominal* ptr1 = allocator.alloc(); 69 test_struct_nominal* ptr2 = allocator.alloc(); 77 allocator.free(ptr1); 78 allocator.free(ptr2); 82 LinkerTypeAllocator<test_struct_small> allocator; local 84 char* ptr1 = reinterpret_cast<char*>(allocator.alloc()); 85 char* ptr2 = reinterpret_cast<char*>(allocator.alloc()); 95 LinkerTypeAllocator<test_struct_larger> allocator; local 120 LinkerTypeAllocator<test_struct_larger> allocator; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 /// allocator<void> specialization. 63 class allocator<void> class 74 { typedef allocator<_Tp1> other; }; 78 // 2103. std::allocator propagate_on_container_move_assignment 84 * @brief The @a standard allocator, as per [20.4]. 92 class allocator: public __allocator_base<_Tp> class in inherits:__allocator_base 105 { typedef allocator<_Tp1> other; } 113 allocator() throw() { } function in class:allocator 115 allocator(const allocator& __a) throw() function in class:allocator 119 allocator(const allocator<_Tp1>&) throw() { } function in class:allocator [all...] |
/art/runtime/base/ |
arena_bit_vector.h | 33 template <typename Allocator> 34 static ArenaBitVector* Create(Allocator* allocator, 38 void* storage = allocator->template Alloc<ArenaBitVector>(kind); 39 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind); 42 ArenaBitVector(ArenaAllocator* allocator, 46 ArenaBitVector(ScopedArenaAllocator* allocator,
|
arena_allocator_test.cc | 26 size_t NumberOfArenas(ArenaAllocator* allocator) { 28 for (Arena* a = allocator->arena_head_; a != nullptr; a = a->next_) { 37 ArenaAllocator allocator(&pool); 38 ArenaBitVector bv(&allocator, 10, true); 53 ArenaAllocator allocator(&pool); 54 small_array = allocator.AllocArray<uint32_t>(kSmallArraySize); 59 ArenaAllocator allocator(&pool); 60 uint32_t* large_array = allocator.AllocArray<uint32_t>(kLargeArraySize); 75 ArenaAllocator allocator(&pool); 77 void* alloc1 = allocator.Alloc(arena_allocator::kArenaDefaultSize * 5 / 8) [all...] |
/system/libhidl/transport/allocator/1.0/default/ |
service.cpp | 1 #define LOG_TAG "android.hidl.allocator@1.0-service" 6 #include <android/hidl/allocator/1.0/IAllocator.h> 11 using android::hidl::allocator::V1_0::IAllocator; 12 using android::hidl::allocator::V1_0::implementation::AshmemAllocator; 19 sp<IAllocator> allocator = new AshmemAllocator(); local 21 status_t status = allocator->registerAsService("ashmem"); 24 LOG(FATAL) << "Unable to register allocator service: " << status;
|