HomeSort by relevance Sort by last modified time
    Searched defs:Alloc (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /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>>;
  /frameworks/compile/mclinker/include/mcld/MC/
InputFactory.h 35 typedef GCFactory<Input, 0> Alloc;
  /frameworks/compile/mclinker/include/mcld/Support/
RegionFactory.h 29 typedef GCFactory<MemoryRegion, MCLD_REGION_CHUNK_SIZE> Alloc;
UniqueGCFactory.h 30 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
66 DataType* data = Alloc::allocate();
79 DataType* data = Alloc::allocate();
  /art/runtime/mirror/
stack_trace_element.cc 40 StackTraceElement* StackTraceElement::Alloc(Thread* self,
object_array-inl.h 32 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, int32_t length) {
33 Array* array = Array::Alloc(self, object_array_class, length, sizeof(Object*));
137 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length);
  /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...]
  /external/chromium_org/gpu/command_buffer/client/
ring_buffer.cc 52 RingBuffer::Offset RingBuffer::Alloc(unsigned int size) {
55 << "Attempt to alloc another block before freeing the previous.";
mapped_memory.cc 40 void* MappedMemoryManager::Alloc(
52 void* mem = chunk->Alloc(size);
65 TRACE_EVENT0("gpu", "MappedMemoryManager::Alloc::wait");
69 void* mem = chunk->Alloc(size);
91 void* mem = mc->Alloc(size);
  /frameworks/av/media/libstagefright/codecs/common/include/
voMem.h 43 VO_U32 (VO_API * Alloc) (VO_S32 uID, VO_MEM_INFO * pMemInfo);
56 pMemOP->Alloc(ID, &voMemInfo); \
  /frameworks/compile/mclinker/unittests/
LinearAllocatorTest.h 67 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
69 Alloc* m_pTestee;
  /external/chromium_org/third_party/skia/src/core/
SkTRefArray.h 25 static SkTRefArray<T>* Alloc(int count) {
42 SkTRefArray<T>* obj = Alloc(count);
56 SkTRefArray<T>* obj = Alloc(count);
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
system-alloc_unittest.cc 34 #include "system-alloc.h"
58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) {
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
system-alloc_unittest.cc 34 #include "system-alloc.h"
58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) {
  /external/clang/include/clang/Lex/
PTHManager.h 42 /// Alloc - Allocator used for IdentifierInfo objects.
43 llvm::BumpPtrAllocator Alloc;
  /external/llvm/unittests/Support/
AllocatorTest.cpp 19 BumpPtrAllocator Alloc;
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());
36 BumpPtrAllocator Alloc(4096, 4096);
37 Alloc.Allocate(3000, 0);
38 EXPECT_EQ(1U, Alloc.GetNumSlabs());
39 Alloc.Allocate(3000, 0);
40 EXPECT_EQ(2U, Alloc.GetNumSlabs())
    [all...]
  /external/skia/src/core/
SkTRefArray.h 25 static SkTRefArray<T>* Alloc(int count) {
42 SkTRefArray<T>* obj = Alloc(count);
56 SkTRefArray<T>* obj = Alloc(count);
  /frameworks/compile/mclinker/include/mcld/ADT/
TreeAllocator.h 35 typedef GCFactory<Node<DataType>, 64> Alloc;
39 typedef typename Alloc::iterator iterator;
40 typedef typename Alloc::const_iterator const_iterator;
45 NodeType* result = Alloc::allocate();
46 Alloc::construct(result);
60 if (Alloc::empty()) {
74 { Alloc::reset(); }
78 Alloc::m_pRoot = pClient.Alloc::m_pRoot;
79 Alloc::m_pCurrent = pClient.Alloc::m_pCurrent
    [all...]

Completed in 1662 milliseconds

1 2 3 4