/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.cons/ |
construct_size_value_alloc.pass.cpp | 32 test<std::vector<int> >(50, 3, std::allocator<int>());
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector.bool/ |
construct_size_value_alloc.pass.cpp | 33 test<std::vector<bool> >(50, 3, std::allocator<bool>());
|
types.pass.cpp | 14 // template <class Allocator> 15 // class vector<bool, Allocator 19 // typedef Allocator allocator_type; 37 template <class Allocator> 41 typedef std::vector<bool, Allocator> C; 44 static_assert((std::is_same<typename C::value_type, typename Allocator::value_type>::value), ""); 45 static_assert((std::is_same<typename C::allocator_type, Allocator>::value), ""); 46 static_assert((std::is_same<typename C::size_type, typename Allocator::size_type>::value), ""); 47 static_assert((std::is_same<typename C::difference_type, typename Allocator::difference_type>::value), ""); 65 test<std::allocator<bool> >() [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
extptr_allocator.h | 29 * An example allocator which uses an alternative pointer type from 44 * @brief An example allocator which uses a non-standard pointer type. 47 * This allocator specifies that containers use a 'relative pointer' as it's 49 * is still performed using std::allocator. 135 const std::allocator<_Tp>& 140 std::allocator<_Tp> _M_real_alloc; 162 std::allocator<void> _M_real_alloc; 169 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
extptr_allocator.h | 31 * An example allocator which uses an alternative pointer type from 48 * @brief An example allocator which uses a non-standard pointer type. 51 * This allocator specifies that containers use a 'relative pointer' as it's 53 * is still performed using std::allocator. 139 const std::allocator<_Tp>& 144 std::allocator<_Tp> _M_real_alloc; 166 std::allocator<void> _M_real_alloc; 173 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
extptr_allocator.h | 31 * An example allocator which uses an alternative pointer type from 48 * @brief An example allocator which uses a non-standard pointer type. 51 * This allocator specifies that containers use a 'relative pointer' as it's 53 * is still performed using std::allocator. 139 const std::allocator<_Tp>& 144 std::allocator<_Tp> _M_real_alloc; 166 std::allocator<void> _M_real_alloc; 173 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
extptr_allocator.h | 29 * An example allocator which uses an alternative pointer type from 44 * @brief An example allocator which uses a non-standard pointer type. 47 * This allocator specifies that containers use a 'relative pointer' as it's 49 * is still performed using std::allocator. 135 const std::allocator<_Tp>& 140 std::allocator<_Tp> _M_real_alloc; 162 std::allocator<void> _M_real_alloc; 169 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
extptr_allocator.h | 29 * An example allocator which uses an alternative pointer type from 44 * @brief An example allocator which uses a non-standard pointer type. 47 * This allocator specifies that containers use a 'relative pointer' as it's 49 * is still performed using std::allocator. 135 const std::allocator<_Tp>& 140 std::allocator<_Tp> _M_real_alloc; 162 std::allocator<void> _M_real_alloc; 169 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
extptr_allocator.h | 29 * An example allocator which uses an alternative pointer type from 44 * @brief An example allocator which uses a non-standard pointer type. 47 * This allocator specifies that containers use a 'relative pointer' as it's 49 * is still performed using std::allocator. 135 const std::allocator<_Tp>& 140 std::allocator<_Tp> _M_real_alloc; 162 std::allocator<void> _M_real_alloc; 169 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
extptr_allocator.h | 29 * An example allocator which uses an alternative pointer type from 44 * @brief An example allocator which uses a non-standard pointer type. 47 * This allocator specifies that containers use a 'relative pointer' as it's 49 * is still performed using std::allocator. 135 const std::allocator<_Tp>& 140 std::allocator<_Tp> _M_real_alloc; 162 std::allocator<void> _M_real_alloc; 169 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
extptr_allocator.h | 31 * An example allocator which uses an alternative pointer type from 48 * @brief An example allocator which uses a non-standard pointer type. 51 * This allocator specifies that containers use a 'relative pointer' as it's 53 * is still performed using std::allocator. 139 const std::allocator<_Tp>& 144 std::allocator<_Tp> _M_real_alloc; 166 std::allocator<void> _M_real_alloc; 173 std::allocator<_Tp> __tmp( __rarg._M_real_alloc );
|
/external/clang/test/Analysis/ |
cfref_PR2519.c | 19 extern CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks); 23 extern CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
|
/external/clang/test/CodeGenCXX/ |
2007-09-10-RecursiveTypeResolution.cpp | 28 template < typename _Tp > struct allocator struct in namespace:std 50 template < typename _Tp, typename _Alloc = std::allocator < _Tp > >
|
thunk-use-after-free.cpp | 12 template < typename _Tp > struct allocator:new_allocator < _Tp > { struct in inherits:new_allocator 26 allocator < _Tp > >struct vector:_Vector_base < _Tp, _Alloc > { };
|
/external/clang/test/Misc/ |
diagnostic-crash.cpp | 3 template <typename _Alloc> class allocator; 6 typename _Alloc = allocator<_CharT> >
|
/external/stlport/stlport/stl/ |
_sstream.h | 107 _STLP_EXPORT_TEMPLATE_CLASS basic_stringbuf<char, char_traits<char>, allocator<char> >; 109 _STLP_EXPORT_TEMPLATE_CLASS basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 246 _STLP_EXPORT_TEMPLATE_CLASS basic_istringstream<char, char_traits<char>, allocator<char> >; 247 _STLP_EXPORT_TEMPLATE_CLASS basic_ostringstream<char, char_traits<char>, allocator<char> >; 248 _STLP_EXPORT_TEMPLATE_CLASS basic_stringstream<char, char_traits<char>, allocator<char> >; 250 _STLP_EXPORT_TEMPLATE_CLASS basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 251 _STLP_EXPORT_TEMPLATE_CLASS basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 252 _STLP_EXPORT_TEMPLATE_CLASS basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
|
/external/stlport/test/unit/ |
mvctor_declaration_test.cpp | 79 class allocator<specially_allocated_struct> { class in namespace:std 80 //This allocator just represent what a STLport could do and in this 83 //allocator. 94 typedef allocator<_Tp1> other; 97 allocator() _STLP_NOTHROW {} 99 template <class _Tp1> allocator(const allocator<_Tp1>&) _STLP_NOTHROW {} 101 allocator(const allocator&) _STLP_NOTHROW {} 102 ~allocator() _STLP_NOTHROW { [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/priority.queue/ |
types.pass.cpp | 57 static_assert((std::uses_allocator<std::priority_queue<int>, std::allocator<int> >::value), ""); 58 static_assert((!std::uses_allocator<std::priority_queue<int, C>, std::allocator<int> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/queue/queue.defn/ |
types.pass.cpp | 55 static_assert((std::uses_allocator<std::queue<int>, std::allocator<int> >::value), ""); 56 static_assert((!std::uses_allocator<std::queue<int, C>, std::allocator<int> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/stack/stack.defn/ |
types.pass.cpp | 56 static_assert((std::uses_allocator<std::stack<int>, std::allocator<int> >::value), ""); 57 static_assert((!std::uses_allocator<std::stack<int, C>, std::allocator<int> >::value), "");
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_sstream.h | 107 _STLP_EXPORT_TEMPLATE_CLASS basic_stringbuf<char, char_traits<char>, allocator<char> >; 109 _STLP_EXPORT_TEMPLATE_CLASS basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 246 _STLP_EXPORT_TEMPLATE_CLASS basic_istringstream<char, char_traits<char>, allocator<char> >; 247 _STLP_EXPORT_TEMPLATE_CLASS basic_ostringstream<char, char_traits<char>, allocator<char> >; 248 _STLP_EXPORT_TEMPLATE_CLASS basic_stringstream<char, char_traits<char>, allocator<char> >; 250 _STLP_EXPORT_TEMPLATE_CLASS basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 251 _STLP_EXPORT_TEMPLATE_CLASS basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >; 252 _STLP_EXPORT_TEMPLATE_CLASS basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
|
/ndk/tests/device/test-gnustl-full/unit/ |
mvctor_declaration_test.cpp | 79 class allocator<specially_allocated_struct> { class in namespace:std 80 //This allocator just represent what a STLport could do and in this 83 //allocator. 94 typedef allocator<_Tp1> other; 97 allocator() _STLP_NOTHROW {} 99 template <class _Tp1> allocator(const allocator<_Tp1>&) _STLP_NOTHROW {} 101 allocator(const allocator&) _STLP_NOTHROW {} 102 ~allocator() _STLP_NOTHROW { [all...] |
/ndk/tests/device/test-stlport/unit/ |
mvctor_declaration_test.cpp | 79 class allocator<specially_allocated_struct> { class in namespace:std 80 //This allocator just represent what a STLport could do and in this 83 //allocator. 94 typedef allocator<_Tp1> other; 97 allocator() _STLP_NOTHROW {} 99 template <class _Tp1> allocator(const allocator<_Tp1>&) _STLP_NOTHROW {} 101 allocator(const allocator&) _STLP_NOTHROW {} 102 ~allocator() _STLP_NOTHROW { [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
stl_construct.h | 73 // 402. wrong new expression in [some_]allocator::construct 121 * Destroy a range of objects using the supplied allocator. For 126 template <typename _Tp> class allocator; 140 allocator<_Tp>&)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/ |
list_update_policy.hpp | 54 #define PB_DS_CLASS_T_DEC template<typename Allocator> 55 #define PB_DS_CLASS_C_DEC move_to_front_lu_policy<Allocator> 59 template<typename Allocator = std::allocator<char> > 63 typedef Allocator allocator_type; 90 #define PB_DS_CLASS_T_DEC template<size_t Max_Count, class Allocator> 91 #define PB_DS_CLASS_C_DEC counter_lu_policy<Max_Count, Allocator> 95 template<size_t Max_Count = 5, typename Allocator = std::allocator<char> > 97 : private detail::counter_lu_policy_base<typename Allocator::size_type [all...] |