/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...] |
/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/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 | 16 template <class Alloc> 19 template <class T> using rebind_alloc = typename __allocator_traits_rebind<Alloc, T>::type;
|
PR9908.cpp | 10 template <class Alloc> 13 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++/4.4.3/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++/4.6/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/9/sources/cxx-stl/gnu-libstdc++/4.6/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;
|