Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 25 of 48) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_alloc.h67 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.h76 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.c38 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.h63 _CharT* allocate(size_type __n, const void* __ptr = 0) {
65 return _Base::allocate(__n, __ptr);
D_vector.c74 __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()
D_deque.c52 _M_map._M_data = _M_map.allocate(_M_map_size._M_data); in _M_initialize_map()
74 *__cur = _M_map_size.allocate(this->buffer_size()); in _M_create_nodes()
384 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); in _M_push_back_aux_v()
399 *(this->_M_finish._M_node + 1) = this->_M_map_size.allocate(this->buffer_size()); in _M_push_back_aux()
414 *(this->_M_start._M_node - 1) = this->_M_map_size.allocate(this->buffer_size()); in _M_push_front_aux_v()
430 *(this->_M_start._M_node - 1) = this->_M_map_size.allocate(this->buffer_size()); in _M_push_front_aux()
752 *(this->_M_start._M_node - __i) = this->_M_map_size.allocate(this->buffer_size()); in _M_new_elements_at_front()
766 *(this->_M_finish._M_node + __i) = this->_M_map_size.allocate(this->buffer_size()); in _M_new_elements_at_back()
792 _Map_pointer __new_map = this->_M_map.allocate(__new_map_size); in _M_reallocate_map()
D_string.c171 pointer __new_start = this->_M_start_of_storage.allocate(__n, __n); in _M_reserve()
201 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len); in _M_append()
267 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len); in _M_insert_aux()
302 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len); in insert()
359 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len); in _M_insert()
611 this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n); in _M_allocate_block()
616 this->_M_start_of_storage._M_data = _M_start_of_storage.allocate(__n, __n); in _M_allocate_block()
D_string_sum_methods.h110 pointer __new_start = this->_M_start_of_storage.allocate(__len); in _M_append_sum()
134 pointer __new_start = this->_M_start_of_storage.allocate(__len); in _M_append_sum_pos()
D_vector.h71 _M_start = _M_end_of_storage.allocate(__n, __n); in _Vector_base()
264 this->_M_start = this->_M_end_of_storage.allocate(__n, __real_n); in _M_initialize_aux()
433 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len);
680 pointer __result = this->_M_end_of_storage.allocate(__n, __n);
702 this->_M_start = this->_M_end_of_storage.allocate(__n, __n);
D_rope.h1200 _RopeLeaf).allocate(1);
1212 _RopeConcatenation).allocate(1);
1219 _RopeFunction).allocate(1);
1226 _RopeSubstring).allocate(1);
1235 …_CharT* __buf = _STLP_CREATE_ALLOCATOR(allocator_type,__a, _CharT).allocate(_S_rounded_up_size(_p_…
1396 _CharT* __buf = _M_tree_ptr.allocate(_S_rounded_up_size(1));
1426 _CharT* __rest_buffer = _M_tree_ptr.allocate(_S_rounded_up_size(__rest));
1436 _CharT* __base_buffer = _M_tree_ptr.allocate(_S_rounded_up_size(__exponentiate_threshold));
D_rope.c380 _CharT* __new_data = __r->_M_size.allocate(_S_rounded_up_size(__old_len + __len)); in _S_leaf_concat_char_iter()
697 _CharT* __section = __base->_M_size.allocate(_S_rounded_up_size(__result_len)); in _S_substring()
827 _CharT* __buffer = __r->get_allocator().allocate(__len); in _S_apply_to_pieces()
1319 …STLP_CREATE_ALLOCATOR(allocator_type,(const allocator_type&)_M_tree_ptr, _CharT).allocate(__s + 1); in c_str()
1345 _CharT* __result = _M_tree_ptr.allocate(_S_rounded_up_size(__s)); in replace_with_c_str()
D_string_workaround.h222 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len); in _M_appendT()
378 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len); in _M_insert_overflow()
D_list.h285 _Node* __p = this->_M_node.allocate(1);
295 _Node* __p = this->_M_node.allocate(1);
D_slist.h254 _Node* __node = this->_M_head.allocate(1);
265 _Node* __node = this->_M_head.allocate(1);
D_tree.h316 _Link_type __tmp = this->_M_header.allocate(1);
/ndk/sources/cxx-stl/stlport/src/
Dallocators.cpp131 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/
Dallocator_test.cpp43 char* buf = charAllocator.allocate(0); in zero_allocation()
63 BigStructAllocType::pointer pbigStruct = bigStructAlloc.allocate(1024 * 1024 * 1024); in bad_alloc_test()
Drawriter_test.cpp46 p = a.allocate(5); in rawiter1()
Dstack_allocator.h88 _Tp* allocate(size_type n, void* = 0) {
115 return allocate(n); in _M_allocate()
Dmvctor_declaration_test.cpp105 pointer allocate(size_type, const void* = 0) { return 0; } in allocate() function in std::allocator
/ndk/tests/device/test-stlport/unit/
Dallocator_test.cpp43 char* buf = charAllocator.allocate(0); in zero_allocation()
63 BigStructAllocType::pointer pbigStruct = bigStructAlloc.allocate(1024 * 1024 * 1024); in bad_alloc_test()
Drawriter_test.cpp46 p = a.allocate(5); in rawiter1()
Dstack_allocator.h88 _Tp* allocate(size_type n, void* = 0) {
115 return allocate(n); in _M_allocate()
Dmvctor_declaration_test.cpp105 pointer allocate(size_type, const void* = 0) { return 0; } in allocate() function in std::allocator
/ndk/sources/host-tools/sed-4.2.1/m4/
Dmalloc.m432 dnl It is too dangerous to try to allocate a large amount of memory:

12