/external/clang/test/Modules/Inputs/cxx-lookup/ |
H A D | x.h | 1 template <class T> class allocator; 2 struct X { virtual allocator<char> f(); };
|
H A D | y.h | 4 extern allocator<ulittle32_t> *x;
|
/external/skia/src/pathops/ |
H A D | SkOpTAllocator.h | 16 static T* Allocate(SkArenaAlloc* allocator) { argument 17 return allocator->make<T>(); 20 static T* AllocateArray(SkArenaAlloc* allocator, int count) { argument 21 return allocator->makeArrayDefault<T>(count); 24 static T* New(SkArenaAlloc* allocator) { argument 25 return allocator->make<T>();
|
/external/libcxx/test/std/containers/sequences/deque/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::deque<int, std::allocator<long> > d;
|
/external/libcxx/test/std/containers/sequences/forwardlist/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::forward_list<int, std::allocator<long> > fl;
|
/external/libcxx/test/std/containers/sequences/list/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::list<int, std::allocator<long> > l;
|
/external/libcxx/test/std/containers/sequences/vector/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::vector<int, std::allocator<long> > v;
|
/external/libcxx/test/std/utilities/memory/default.allocator/ |
H A D | allocator_void.pass.cpp | 13 // class allocator<void> 20 // template <class _Up> struct rebind {typedef allocator<_Up> other;}; 28 static_assert((std::is_same<std::allocator<void>::pointer, void*>::value), ""); 29 static_assert((std::is_same<std::allocator<void>::const_pointer, const void*>::value), ""); 30 static_assert((std::is_same<std::allocator<void>::value_type, void>::value), ""); 31 static_assert((std::is_same<std::allocator<void>::rebind<int>::other, 32 std::allocator<int> >::value), ""); 33 std::allocator<void> a; 34 std::allocator<void> a2 = a;
|
H A D | allocator_types.pass.cpp | 15 // class allocator 27 // template <class U> struct rebind {typedef allocator<U> other;}; 39 static_assert((std::is_same<std::allocator<char>::size_type, std::size_t>::value), ""); 40 static_assert((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), ""); 41 static_assert((std::is_same<std::allocator<char>::pointer, char*>::value), ""); 42 static_assert((std::is_same<std::allocator<char>::const_pointer, const char*>::value), ""); 43 static_assert((std::is_same<std::allocator<char>::value_type, char>::value), ""); 44 static_assert((std::is_same<std::allocator<char>::reference, char&>::value), ""); 45 static_assert((std::is_same<std::allocator<char>::const_reference, const char&>::value), ""); 46 static_assert((std::is_same<std::allocator<cha [all...] |
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.globals/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | alloc.fail.cpp | 24 std::function<int(int)> f(std::allocator_arg, std::allocator<int>());
|
H A D | alloc_F.fail.cpp | 28 std::function<void(int)> f(std::allocator_arg, std::allocator<int>(), foo);
|
H A D | alloc_nullptr.fail.cpp | 26 std::function<int(int)> f(std::allocator_arg, std::allocator<int>(), nullptr);
|
/external/clang/test/SemaTemplate/ |
H A D | 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/ |
H A D | size_value.pass.cpp | 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); 44 test<int, std::allocator<int> >(2049, 654); 45 test<int, std::allocator<in [all...] |
/external/e2fsprogs/contrib/android/ |
H A D | basefs_allocator.c | 40 struct base_fs_allocator *allocator; local 45 allocator = malloc(sizeof(*allocator)); 46 if (!allocator) 55 allocator->cur_entry = NULL; 56 allocator->entries = entries; 58 /* Overhide the default allocator */ 60 fs->priv_data = allocator; 65 free(allocator); 76 struct base_fs_allocator *allocator local 101 struct base_fs_allocator *allocator = fs->priv_data; local 120 struct base_fs_allocator *allocator = fs->priv_data; local 137 struct base_fs_allocator *allocator = fs->priv_data; local [all...] |
/external/libcxx/test/std/containers/unord/unord.map/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_map<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_multimap<int, int, std::hash<int>, std::less<int>, std::allocator<long> > m;
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_multiset<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
|
/external/libcxx/test/std/containers/unord/unord.set/ |
H A D | allocator_mismatch.fail.cpp | 11 // The container's value type must be the same as the allocator's value type 17 std::unordered_set<int, std::hash<int>, std::less<int>, std::allocator<long> > v;
|