/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
D | allocate_hint.pass.cpp | 27 value_type* allocate(std::size_t n) in allocate() function 39 value_type* allocate(std::size_t n) in allocate() function 44 value_type* allocate(std::size_t n, const void* p) in allocate() function 56 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == (int*)0xDEADBEEF); in main() 59 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == (int*)0xFEADBEEF); in main()
|
D | allocate.pass.cpp | 27 value_type* allocate(std::size_t n) in allocate() function 37 assert(std::allocator_traits<A<int> >::allocate(a, 10) == (int*)0xDEADBEEF); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | allocate_size_hint.pass.cpp | 30 assert(a.allocate(10, (const void*)0) == (int*)10); in main() 37 assert(a.allocate(10, (const void*)10) == (int*)10); in main() 44 assert(a.allocate(10, (const void*)20) == (int*)10); in main() 52 assert(a.allocate(10, (const void*)0) == (int*)0); in main() 59 assert(a.allocate(10, (const void*)10) == (int*)10); in main() 66 assert(a.allocate(10, (const void*)20) == (int*)20); in main()
|
D | allocate_size.pass.cpp | 30 assert(a.allocate(10) == (int*)10); in main() 37 assert(a.allocate(10) == (int*)10); in main() 44 assert(a.allocate(10) == (int*)10); in main()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _alloc.h | 67 static void* _STLP_CALL allocate(size_t __n) 92 static void* _STLP_CALL allocate(size_t __n) { return __stl_new(__n); } in allocate() function 133 static void* _STLP_CALL allocate(size_t); 157 static void* _STLP_CALL allocate(size_t& __n) in allocate() function 301 _Tp* allocate(size_type __n, const void* = 0) { 307 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size)); 348 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size)); in _M_allocate() 525 _Tp* allocate(size_type __n, size_type& __allocated_n) { 531 return allocate(__n, __allocated_n, _STLportAlloc()); 538 _Tp* allocate(size_type __n) [all …]
|
D | _pthread_alloc.h | 76 static void * _STLP_CALL allocate(size_t& __n); 83 static void * _STLP_CALL allocate(size_t& __n, __state_type* __a); 129 _Tp* allocate(size_type __n, const void* = 0) { 135 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size)); 168 _Tp* allocate(size_type __n, size_type& __allocated_n) { in allocate() function 174 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size)); in allocate() 312 _Tp* allocate(size_type __n, const void* = 0) { 318 _Tp* __ret = __REINTERPRET_CAST(_Tp*, _S_Alloc::allocate(__buf_size, _M_state)); 354 _Tp* allocate(size_type __n, size_type& __allocated_n) { 360 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size, _M_state));
|
D | _alloc.c | 38 void * _STLP_CALL __debug_alloc<_Alloc>::allocate(size_t __n) { in allocate() function 45 __alloc_header *__result = (__alloc_header *)__allocator_type::allocate(__real_n); in allocate()
|
D | _iostream_string.h | 63 _CharT* allocate(size_type __n, const void* __ptr = 0) { 65 return _Base::allocate(__n, __ptr);
|
D | _vector.c | 74 __tmp = this->_M_end_of_storage.allocate(__n, __n); in reserve() 88 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len); in _M_insert_overflow_aux() 111 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len); in _M_insert_overflow()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/ |
D | allocate.pass.cpp | 50 A* ap = a.allocate(3); in main() 57 A* ap2 = a.allocate(3, (const void*)5); in main()
|
D | construct.pass.cpp | 84 A* ap = a.allocate(3); in main() 129 move_only* ap = a.allocate(3); in main()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | allocators.cpp | 131 void* _STLP_CALL __malloc_alloc::allocate(size_t __n) in allocate() function in __malloc_alloc 835 static void * allocate(size_t& __n); 842 static void * allocate(size_t& __n, __state_type* __a); 974 _S_start_free = (char *)__malloc_alloc::allocate(__bytes_to_get); in _S_chunk_alloc() 978 _S_start_free = (char *)__malloc_alloc::allocate(__bytes_to_get); in _S_chunk_alloc() 990 void *_Pthread_alloc_impl::allocate(size_t& __n) { in allocate() function in _Pthread_alloc_impl 997 return __malloc_alloc::allocate(__n); in allocate() 1034 void *_Pthread_alloc_impl::allocate(size_t& __n, __state_type* __a) { in allocate() function in _Pthread_alloc_impl 1040 return __malloc_alloc::allocate(__n); in allocate() 1087 __result = allocate(__new_sz); in reallocate() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | allocator_test.cpp | 43 char* buf = charAllocator.allocate(0); in zero_allocation() 63 BigStructAllocType::pointer pbigStruct = bigStructAlloc.allocate(1024 * 1024 * 1024); in bad_alloc_test()
|
D | rawriter_test.cpp | 46 p = a.allocate(5); in rawiter1()
|
D | stack_allocator.h | 88 _Tp* allocate(size_type n, void* = 0) { 115 return allocate(n); in _M_allocate()
|
/ndk/tests/device/test-stlport/unit/ |
D | allocator_test.cpp | 43 char* buf = charAllocator.allocate(0); in zero_allocation() 63 BigStructAllocType::pointer pbigStruct = bigStructAlloc.allocate(1024 * 1024 * 1024); in bad_alloc_test()
|
D | rawriter_test.cpp | 46 p = a.allocate(5); in rawiter1()
|
D | stack_allocator.h | 88 _Tp* allocate(size_type n, void* = 0) { 115 return allocate(n); in _M_allocate()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
D | sp_counted_impl.hpp | 90 return std::allocator<this_type>().allocate( 1, static_cast<this_type *>(0) ); in operator new() 160 return std::allocator<this_type>().allocate( 1, static_cast<this_type *>(0) ); in operator new()
|
D | shared_count.hpp | 197 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); in shared_count() 214 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); in shared_count() 245 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); in shared_count() 262 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); in shared_count()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/ |
D | stack_allocator.h | 39 pointer allocate(size_type n, const void* = 0)
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/ |
D | test_allocator.h | 63 pointer allocate(size_type n, const void* = 0) 123 pointer allocate(size_type n, const void* = 0) 200 T* allocate(std::size_t n) in allocate() function
|
D | allocators.h | 42 T* allocate(std::size_t n) in allocate() function 98 T* allocate(std::size_t n, const void* hint) in allocate() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/ |
D | test_allocator.h | 58 pointer allocate(size_type n, const void* = 0) 133 T* allocate(std::size_t n) in allocate() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | scoped_allocator | 68 pointer allocate(size_type n); 69 pointer allocate(size_type n, const_void_pointer hint); 455 pointer allocate(size_type __n) 457 allocate(outer_allocator(), __n);} 459 pointer allocate(size_type __n, const_void_pointer __hint) 461 allocate(outer_allocator(), __n, __hint);}
|