Searched defs:Alloc (Results 1 - 25 of 81) sorted by relevance

1234

/external/clang/test/CXX/temp/temp.decls/temp.alias/
H A Dp2.cpp18 template<class T> struct Alloc {}; struct in namespace:StdExample
19 template<class T> using Vec = vector<T, Alloc<T>>;
27 void process(vector<T, Alloc<T>>& w) // expected-error {{redefinition of 'process'}}
34 void g(TT<int, Alloc<int>>);
42 // v's type is same as vector<int, Alloc<int>>.
43 using VTest = vector<int, Alloc<int>>;
/external/libcxx/test/containers/unord/unord.map/
H A Dswap_member.pass.cpp13 // class Alloc = allocator<pair<const Key, T>>>
32 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
44 assert(c1.get_allocator() == Alloc(1));
53 assert(c2.get_allocator() == Alloc(2));
61 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(
109 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
151 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
213 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
242 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
290 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
332 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
394 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
423 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
471 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
513 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.map/unord.map.swap/
H A Dswap_non_member.pass.cpp13 // class Alloc = allocator<pair<const Key, T>>>
32 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
44 assert(c1.get_allocator() == Alloc(1));
53 assert(c2.get_allocator() == Alloc(2));
61 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(
109 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
151 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
213 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
242 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
290 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
332 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
394 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
423 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
471 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
513 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.multimap/
H A Dswap_member.pass.cpp13 // class Alloc = allocator<pair<const Key, T>>>
33 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
36 C c1(0, Hash(1), Compare(1), Alloc(1));
37 C c2(0, Hash(2), Compare(2), Alloc(2));
45 assert(c1.get_allocator() == Alloc(1));
54 assert(c2.get_allocator() == Alloc(2));
62 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
76 C c1(0, Hash(1), Compare(1), Alloc(
110 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
154 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
218 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
247 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
295 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
339 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
403 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
432 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
480 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
524 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/
H A Dswap_non_member.pass.cpp13 // class Alloc = allocator<pair<const Key, T>>>
32 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
33 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
35 C c1(0, Hash(1), Compare(1), Alloc(1));
36 C c2(0, Hash(2), Compare(2), Alloc(2));
44 assert(c1.get_allocator() == Alloc(1));
53 assert(c2.get_allocator() == Alloc(2));
61 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(
109 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
153 typedef test_allocator<std::pair<const int, std::string> > Alloc; typedef
217 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
246 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
294 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
338 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
402 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
431 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
479 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
523 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.multiset/
H A Dswap_member.pass.cpp13 // class Alloc = allocator<Value>>
31 typedef test_allocator<int> Alloc; typedef
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.get_allocator() == Alloc(1));
52 assert(c2.get_allocator() == Alloc(2));
60 typedef test_allocator<int> Alloc; typedef
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(
108 typedef test_allocator<int> Alloc; typedef
150 typedef test_allocator<int> Alloc; typedef
212 typedef other_allocator<int> Alloc; typedef
241 typedef other_allocator<int> Alloc; typedef
289 typedef other_allocator<int> Alloc; typedef
331 typedef other_allocator<int> Alloc; typedef
393 typedef min_allocator<int> Alloc; typedef
422 typedef min_allocator<int> Alloc; typedef
470 typedef min_allocator<int> Alloc; typedef
512 typedef min_allocator<int> Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/
H A Dswap_non_member.pass.cpp13 // class Alloc = allocator<Value>>
31 typedef test_allocator<int> Alloc; typedef
32 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.get_allocator() == Alloc(1));
52 assert(c2.get_allocator() == Alloc(2));
60 typedef test_allocator<int> Alloc; typedef
61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(
108 typedef test_allocator<int> Alloc; typedef
150 typedef test_allocator<int> Alloc; typedef
212 typedef other_allocator<int> Alloc; typedef
241 typedef other_allocator<int> Alloc; typedef
289 typedef other_allocator<int> Alloc; typedef
331 typedef other_allocator<int> Alloc; typedef
393 typedef min_allocator<int> Alloc; typedef
422 typedef min_allocator<int> Alloc; typedef
470 typedef min_allocator<int> Alloc; typedef
512 typedef min_allocator<int> Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.set/
H A Dswap_member.pass.cpp13 // class Alloc = allocator<Value>>
31 typedef test_allocator<int> Alloc; typedef
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.get_allocator() == Alloc(1));
52 assert(c2.get_allocator() == Alloc(2));
60 typedef test_allocator<int> Alloc; typedef
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(
108 typedef test_allocator<int> Alloc; typedef
150 typedef test_allocator<int> Alloc; typedef
212 typedef other_allocator<int> Alloc; typedef
241 typedef other_allocator<int> Alloc; typedef
289 typedef other_allocator<int> Alloc; typedef
331 typedef other_allocator<int> Alloc; typedef
393 typedef min_allocator<int> Alloc; typedef
422 typedef min_allocator<int> Alloc; typedef
470 typedef min_allocator<int> Alloc; typedef
512 typedef min_allocator<int> Alloc; typedef
[all...]
/external/libcxx/test/containers/unord/unord.set/unord.set.swap/
H A Dswap_non_member.pass.cpp13 // class Alloc = allocator<Value>>
31 typedef test_allocator<int> Alloc; typedef
32 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.get_allocator() == Alloc(1));
52 assert(c2.get_allocator() == Alloc(2));
60 typedef test_allocator<int> Alloc; typedef
61 typedef std::unordered_set<int, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(
108 typedef test_allocator<int> Alloc; typedef
150 typedef test_allocator<int> Alloc; typedef
212 typedef other_allocator<int> Alloc; typedef
241 typedef other_allocator<int> Alloc; typedef
289 typedef other_allocator<int> Alloc; typedef
331 typedef other_allocator<int> Alloc; typedef
393 typedef min_allocator<int> Alloc; typedef
422 typedef min_allocator<int> Alloc; typedef
470 typedef min_allocator<int> Alloc; typedef
512 typedef min_allocator<int> Alloc; typedef
[all...]
/external/llvm/unittests/ADT/
H A DArrayRefTest.cpp19 BumpPtrAllocator Alloc; local
24 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc);
25 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc);;
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cc25 typedef DenseSlabAlloc<int, 128, 128> Alloc; typedef
26 typedef Alloc::Cache Cache;
27 typedef Alloc::IndexT IndexT;
30 Alloc alloc;
37 IndexT idx = alloc.Alloc(&cache);
/external/chromium_org/gpu/command_buffer/client/
H A Dring_buffer.cc55 void* RingBuffer::Alloc(unsigned int size) { function in class:gpu::RingBuffer
H A Dmapped_memory.cc45 void* MappedMemoryManager::Alloc( function in class:gpu::MappedMemoryManager
57 void* mem = chunk->Alloc(size);
70 TRACE_EVENT0("gpu", "MappedMemoryManager::Alloc::wait");
74 void* mem = chunk->Alloc(size);
98 void* mem = mc->Alloc(size);
/external/llvm/unittests/Support/
H A DAllocatorTest.cpp19 BumpPtrAllocator Alloc; local
20 int *a = (int*)Alloc.Allocate(sizeof(int), 0);
21 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0);
22 int *c = (int*)Alloc.Allocate(sizeof(int), 0);
31 EXPECT_EQ(1U, Alloc.GetNumSlabs());
33 BumpPtrAllocator Alloc2 = std::move(Alloc);
34 EXPECT_EQ(0U, Alloc.GetNumSlabs());
44 Alloc = std::move(Alloc2);
46 EXPECT_EQ(1U, Alloc.GetNumSlabs());
51 BumpPtrAllocator Alloc; local
63 BumpPtrAllocator Alloc; local
78 BumpPtrAllocator Alloc; local
99 BumpPtrAllocator Alloc; local
112 BumpPtrAllocator Alloc; local
155 BumpPtrAllocatorImpl<MockSlabAllocator> Alloc; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkRegionPriv.h62 static RunHead* Alloc(int count) { function in struct:SkRegion::RunHead
77 static RunHead* Alloc(int count, int yspancount, int intervalCount) { function in struct:SkRegion::RunHead
81 RunHead* head = Alloc(count);
102 writable = Alloc(fRunCount, fYSpanCount, fIntervalCount);
H A DSkTRefArray.h25 static SkTRefArray<T>* Alloc(int count) { function in class:SkTRefArray
42 SkTRefArray<T>* obj = Alloc(count);
56 SkTRefArray<T>* obj = Alloc(count);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmemfs_malloc.cc99 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
117 void* HugetlbSysAllocator::Alloc(size_t size, size_t *actual_size, function in class:HugetlbSysAllocator
120 return fallback_->Alloc(size, actual_size, alignment);
126 return fallback_->Alloc(size, actual_size, alignment);
135 return fallback_->Alloc(size, actual_size, alignment);
148 return fallback_->Alloc(size, actual_size, alignment);
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dsystem-alloc_unittest.cc58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) { function in class:ArraySysAllocator
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmemfs_malloc.cc99 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
117 void* HugetlbSysAllocator::Alloc(size_t size, size_t *actual_size, function in class:HugetlbSysAllocator
120 return fallback_->Alloc(size, actual_size, alignment);
126 return fallback_->Alloc(size, actual_size, alignment);
135 return fallback_->Alloc(size, actual_size, alignment);
148 return fallback_->Alloc(size, actual_size, alignment);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dsystem-alloc_unittest.cc58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) { function in class:ArraySysAllocator
/external/chromium_org/tools/android/heap_profiler/
H A Dheap_profiler.h35 // sum of Alloc instances' length which .bt == this.
46 typedef struct Alloc { struct
47 RB_ENTRY(Alloc) rb_node; // Anchor for the RB-tree;
52 struct Alloc* next_free;
53 } Alloc; typedef in typeref:struct:Alloc
62 Alloc* allocs; // Start of the the Alloc pool.
/external/clang/include/clang/Lex/
H A DPTHManager.h42 /// Alloc - Allocator used for IdentifierInfo objects.
43 llvm::BumpPtrAllocator Alloc; member in class:clang::PTHManager
/external/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp65 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { argument
66 F = new CountMap::Factory(Alloc);
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h61 IndexT Alloc(Cache *c) { function in class:__tsan::DenseSlabAlloc
/external/llvm/lib/CodeGen/
H A DLiveIntervalUnion.cpp184 void LiveIntervalUnion::Array::init(LiveIntervalUnion::Allocator &Alloc, argument
194 new(LIUs + i) LiveIntervalUnion(Alloc);

Completed in 632 milliseconds

1234