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

123

/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/llvm/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
/external/libcxx/test/std/containers/unord/unord.map/
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_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
241 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
289 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
331 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
393 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
421 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
469 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
511 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
[all...]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.swap/
H A Dswap_non_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_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
241 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
289 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
331 typedef other_allocator<std::pair<const int, std::string> > Alloc; typedef
393 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
421 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
469 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
511 typedef min_allocator<std::pair<const int, std::string> > Alloc; typedef
[all...]
/external/libcxx/test/std/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/std/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/std/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/std/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/std/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/std/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/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/skia/src/core/
H A DSkVarAlloc.cpp14 static Block* Alloc(Block* prev, size_t size) { function in struct:SkVarAlloc::Block
53 fBlock = Block::Alloc(fBlock, alloc);
H A DSkRegionPriv.h62 static RunHead* Alloc(int count) { function in struct:SkRegion::RunHead
80 static RunHead* Alloc(int count, int yspancount, int intervalCount) { function in struct:SkRegion::RunHead
84 RunHead* head = Alloc(count);
105 writable = Alloc(fRunCount, fYSpanCount, fIntervalCount);
/external/llvm/include/llvm/MC/
H A DMCWin64EH.h31 static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) { function in struct:llvm::Win64EH::Instruction
/external/llvm/unittests/Support/
H A DAllocatorTest.cpp19 BumpPtrAllocator Alloc; local
20 int *a = (int*)Alloc.Allocate(sizeof(int), 1);
21 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 1);
22 int *c = (int*)Alloc.Allocate(sizeof(int), 1);
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
85 BumpPtrAllocator Alloc; local
106 BumpPtrAllocator Alloc; local
119 BumpPtrAllocator Alloc; local
127 BumpPtrAllocator Alloc; local
175 BumpPtrAllocatorImpl<MockSlabAllocator> Alloc; local
[all...]
/external/clang/include/clang/Lex/
H A DPTHManager.h51 /// Alloc - Allocator used for IdentifierInfo objects.
52 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/sanitizer_common/
H A Dsanitizer_flag_parser.h99 static LowLevelAllocator Alloc; member in class:__sanitizer::FlagParser
114 FlagHandler<T> *fh = new (FlagParser::Alloc) FlagHandler<T>(var); // NOLINT
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h61 IndexT Alloc(Cache *c) { function in class:__tsan::DenseSlabAlloc
/external/dng_sdk/source/
H A Ddng_auto_ptr.h67 void Alloc ();
174 void AutoPtr<T>::Alloc () function in class:AutoPtr
/external/llvm/lib/CodeGen/
H A DLiveIntervalUnion.cpp184 void LiveIntervalUnion::Array::init(LiveIntervalUnion::Allocator &Alloc, argument
194 new(LIUs + i) LiveIntervalUnion(Alloc);
H A DLiveRangeCalc.h41 VNInfo::Allocator *Alloc; member in class:llvm::LiveRangeCalc
139 DomTree(nullptr), Alloc(nullptr) {}
/external/llvm/lib/LibDriver/
H A DLibDriver.cpp104 BumpPtrAllocator Alloc; local
105 StringSaver Saver(Alloc);
/external/llvm/unittests/ADT/
H A DArrayRefTest.cpp37 BumpPtrAllocator Alloc; local
42 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc);
43 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc);
58 ArrayRef<NonAssignable> Array3Copy = makeArrayRef(Array3Src).copy(Alloc);
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_memmgr.cpp48 void* CFX_GrowOnlyPool::Alloc(size_t size) { function in class:CFX_GrowOnlyPool

Completed in 1625 milliseconds

123