/frameworks/compile/mclinker/include/mcld/ADT/ |
TreeAllocator.h | 37 typedef GCFactory<Node<DataType>, 64> Alloc; 41 typedef typename Alloc::iterator iterator; 42 typedef typename Alloc::const_iterator const_iterator; 47 NodeType* result = Alloc::allocate(); 48 Alloc::construct(result); 62 if (Alloc::empty()) { 76 { Alloc::reset(); } 80 Alloc::m_pRoot = pClient.Alloc::m_pRoot; 81 Alloc::m_pCurrent = pClient.Alloc::m_pCurrent [all...] |
/external/llvm/unittests/Support/ |
AllocatorTest.cpp | 20 BumpPtrAllocator Alloc; 21 int *a = (int*)Alloc.Allocate(sizeof(int), 0); 22 int *b = (int*)Alloc.Allocate(sizeof(int) * 10, 0); 23 int *c = (int*)Alloc.Allocate(sizeof(int), 0); 32 EXPECT_EQ(1U, Alloc.GetNumSlabs()); 37 BumpPtrAllocator Alloc(4096, 4096); 38 Alloc.Allocate(3000, 0); 39 EXPECT_EQ(1U, Alloc.GetNumSlabs()); 40 Alloc.Allocate(3000, 0); 41 EXPECT_EQ(2U, Alloc.GetNumSlabs()) [all...] |
/external/clang/test/CodeCompletion/ |
templates.cpp | 8 template<typename T, typename Alloc = std::allocator<T> > 9 class vector : Alloc { 14 template<typename Alloc> class vector<bool, Alloc>; 22 // CHECK-CC1-NEXT: vector<<#typename T#>{#, <#typename Alloc#>#}>
|
/frameworks/compile/mclinker/include/mcld/Support/ |
GCFactory.h | 114 template<typename Alloc> 115 class GCFactoryBase : public Alloc 118 typedef DataIterator<typename Alloc::chunk_type, 120 typename Alloc::value_type> > iterator; 121 typedef DataIterator<typename Alloc::chunk_type, 123 typename Alloc::value_type> > const_iterator; 125 typedef typename Alloc::value_type value_type; 126 typedef typename Alloc::pointer pointer; 127 typedef typename Alloc::reference reference; 128 typedef typename Alloc::size_type size_type [all...] |
/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>>;
|
/external/clang/test/SemaCXX/ |
PR9902.cpp | 15 template <class Alloc> 18 template <class T> using rebind_alloc = typename __allocator_traits_rebind<Alloc, T>::type;
|
PR9908.cpp | 9 template <class Alloc> 12 typedef Alloc allocator_type;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/ |
container_base_dispatch.hpp | 108 typename Policy_Tl, typename Alloc> 111 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 113 Policy_Tl, Alloc> 122 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type; 125 template<typename Key, typename Policy_Tl, typename Alloc> 127 Policy_Tl, Alloc> 136 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type; 139 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc> 140 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc> 147 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type [all...] |
types_traits.hpp | 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type; 58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra> 60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type 62 typedef typename Alloc::template rebind<Key>::other key_allocator; 68 typedef typename Alloc::size_type size_type;
|
/frameworks/compile/mclinker/unittests/ |
LinearAllocatorTest.h | 67 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc; 69 Alloc* m_pTestee;
|
/external/clang/test/CodeGenCXX/ |
mangle-alias-template.cpp | 3 template<typename T> struct alloc {}; struct 4 template<typename T> using Alloc = alloc<T>; 5 template<typename T, typename A = Alloc<T>> struct vector {}; 31 Alloc<int> AC; 35 h<Alloc>(AC);
|
/external/skia/src/core/ |
SkRegionPriv.h | 25 static RunHead* Alloc(int count) 28 //SkDEBUGF(("************** gRgnAllocCounter::alloc %d\n", gRgnAllocCounter)); 62 // We need to alloc & copy the current region before we call 65 writable = Alloc(fRunCount);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
BlockCounter.h | 46 Factory(llvm::BumpPtrAllocator& Alloc);
|