/external/clang/test/CXX/temp/temp.decls/temp.alias/ |
p2.cpp | 18 template<class T> struct Alloc {}; 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>>;
|
/art/runtime/gc/allocator/ |
rosalloc-inl.h | 27 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated) {
|
/frameworks/compile/mclinker/include/mcld/MC/ |
InputFactory.h | 32 typedef GCFactory<Input, 0> Alloc;
|
/art/runtime/mirror/ |
stack_trace_element.cc | 42 StackTraceElement* StackTraceElement::Alloc(Thread* self, Handle<String> declaring_class,
|
/external/libcxx/test/containers/unord/unord.map/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.multimap/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 33 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 76 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.multiset/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.set/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/libcxx/test/containers/unord/unord.set/unord.set.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/llvm/unittests/ADT/ |
ArrayRefTest.cpp | 19 BumpPtrAllocator Alloc; 24 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc); 25 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc);;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 33 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 76 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 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; 62 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 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; 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/art/compiler/utils/ |
arena_bit_vector.cc | 28 virtual void* Alloc(size_t size) { 29 return arena_->Alloc(size, kArenaAllocGrowableBitMap); 35 return arena->Alloc(sizeof(ArenaBitVectorAllocator), kArenaAllocGrowableBitMap);
|
/art/runtime/gc/space/ |
bump_pointer_space-inl.h | 26 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated,
|
valgrind_malloc_space-inl.h | 50 mirror::Object* ValgrindMallocSpace<S, A>::Alloc(Thread* self, size_t num_bytes, 53 void* obj_with_rdz = S::Alloc(self, num_bytes + 2 * kValgrindRedZoneBytes, bytes_allocated,
|
/external/chromium_org/gpu/command_buffer/client/ |
ring_buffer.cc | 55 void* RingBuffer::Alloc(unsigned int size) { 58 << "Attempt to alloc another block before freeing the previous.";
|