/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
pool_allocator.h | 96 _M_round_up(size_t __bytes) 97 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 100 _M_get_free_list(size_t __bytes); 217 const size_t __bytes = __n * sizeof(_Tp); local 218 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 219 __ret = static_cast<_Tp*>(::operator new(__bytes)); 222 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 227 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 246 const size_t __bytes = __n * sizeof(_Tp); local 247 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 144 _M_check_threshold(size_t __bytes) 145 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 148 _M_get_binmap(size_t __bytes) 149 { return _M_binmap[__bytes]; } 221 _M_reserve_block(size_t __bytes, const size_t __thread_id); 224 _M_reclaim_block(char* __p, size_t __bytes); 332 _M_reserve_block(size_t __bytes, const size_t __thread_id); 335 _M_reclaim_block(char* __p, size_t __bytes); 685 const size_t __bytes = __n * sizeof(_Tp); local 686 if (__pool._M_check_threshold(__bytes)) 729 const size_t __bytes = __n * sizeof(_Tp); local 733 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
pool_allocator.h | 98 _M_round_up(size_t __bytes) 99 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 102 _M_get_free_list(size_t __bytes) throw (); 219 const size_t __bytes = __n * sizeof(_Tp); local 220 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 221 __ret = static_cast<_Tp*>(::operator new(__bytes)); 224 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 229 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 248 const size_t __bytes = __n * sizeof(_Tp); local 249 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 146 _M_check_threshold(size_t __bytes) 147 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 150 _M_get_binmap(size_t __bytes) 151 { return _M_binmap[__bytes]; } 223 _M_reserve_block(size_t __bytes, const size_t __thread_id); 226 _M_reclaim_block(char* __p, size_t __bytes) throw (); 334 _M_reserve_block(size_t __bytes, const size_t __thread_id); 337 _M_reclaim_block(char* __p, size_t __bytes) throw (); 687 const size_t __bytes = __n * sizeof(_Tp); local 688 if (__pool._M_check_threshold(__bytes)) 731 const size_t __bytes = __n * sizeof(_Tp); local 735 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
pool_allocator.h | 98 _M_round_up(size_t __bytes) 99 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 102 _M_get_free_list(size_t __bytes) throw (); 219 const size_t __bytes = __n * sizeof(_Tp); local 220 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 221 __ret = static_cast<_Tp*>(::operator new(__bytes)); 224 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 229 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 248 const size_t __bytes = __n * sizeof(_Tp); local 249 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 146 _M_check_threshold(size_t __bytes) 147 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 150 _M_get_binmap(size_t __bytes) 151 { return _M_binmap[__bytes]; } 223 _M_reserve_block(size_t __bytes, const size_t __thread_id); 226 _M_reclaim_block(char* __p, size_t __bytes) throw (); 334 _M_reserve_block(size_t __bytes, const size_t __thread_id); 337 _M_reclaim_block(char* __p, size_t __bytes) throw (); 687 const size_t __bytes = __n * sizeof(_Tp); local 688 if (__pool._M_check_threshold(__bytes)) 731 const size_t __bytes = __n * sizeof(_Tp); local 735 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
pool_allocator.h | 96 _M_round_up(size_t __bytes) 97 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 100 _M_get_free_list(size_t __bytes); 217 const size_t __bytes = __n * sizeof(_Tp); local 218 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 219 __ret = static_cast<_Tp*>(::operator new(__bytes)); 222 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 227 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 246 const size_t __bytes = __n * sizeof(_Tp); local 247 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 144 _M_check_threshold(size_t __bytes) 145 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 148 _M_get_binmap(size_t __bytes) 149 { return _M_binmap[__bytes]; } 221 _M_reserve_block(size_t __bytes, const size_t __thread_id); 224 _M_reclaim_block(char* __p, size_t __bytes); 332 _M_reserve_block(size_t __bytes, const size_t __thread_id); 335 _M_reclaim_block(char* __p, size_t __bytes); 685 const size_t __bytes = __n * sizeof(_Tp); local 686 if (__pool._M_check_threshold(__bytes)) 729 const size_t __bytes = __n * sizeof(_Tp); local 733 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
pool_allocator.h | 96 _M_round_up(size_t __bytes) 97 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 100 _M_get_free_list(size_t __bytes); 217 const size_t __bytes = __n * sizeof(_Tp); local 218 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 219 __ret = static_cast<_Tp*>(::operator new(__bytes)); 222 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 227 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 246 const size_t __bytes = __n * sizeof(_Tp); local 247 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 144 _M_check_threshold(size_t __bytes) 145 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 148 _M_get_binmap(size_t __bytes) 149 { return _M_binmap[__bytes]; } 221 _M_reserve_block(size_t __bytes, const size_t __thread_id); 224 _M_reclaim_block(char* __p, size_t __bytes); 332 _M_reserve_block(size_t __bytes, const size_t __thread_id); 335 _M_reclaim_block(char* __p, size_t __bytes); 685 const size_t __bytes = __n * sizeof(_Tp); local 686 if (__pool._M_check_threshold(__bytes)) 729 const size_t __bytes = __n * sizeof(_Tp); local 733 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
pool_allocator.h | 96 _M_round_up(size_t __bytes) 97 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 100 _M_get_free_list(size_t __bytes); 217 const size_t __bytes = __n * sizeof(_Tp); local 218 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 219 __ret = static_cast<_Tp*>(::operator new(__bytes)); 222 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 227 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 246 const size_t __bytes = __n * sizeof(_Tp); local 247 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 144 _M_check_threshold(size_t __bytes) 145 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 148 _M_get_binmap(size_t __bytes) 149 { return _M_binmap[__bytes]; } 221 _M_reserve_block(size_t __bytes, const size_t __thread_id); 224 _M_reclaim_block(char* __p, size_t __bytes); 332 _M_reserve_block(size_t __bytes, const size_t __thread_id); 335 _M_reclaim_block(char* __p, size_t __bytes); 685 const size_t __bytes = __n * sizeof(_Tp); local 686 if (__pool._M_check_threshold(__bytes)) 729 const size_t __bytes = __n * sizeof(_Tp); local 733 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
pool_allocator.h | 96 _M_round_up(size_t __bytes) 97 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 100 _M_get_free_list(size_t __bytes); 217 const size_t __bytes = __n * sizeof(_Tp); local 218 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 219 __ret = static_cast<_Tp*>(::operator new(__bytes)); 222 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 227 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 246 const size_t __bytes = __n * sizeof(_Tp); local 247 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 144 _M_check_threshold(size_t __bytes) 145 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 148 _M_get_binmap(size_t __bytes) 149 { return _M_binmap[__bytes]; } 221 _M_reserve_block(size_t __bytes, const size_t __thread_id); 224 _M_reclaim_block(char* __p, size_t __bytes); 332 _M_reserve_block(size_t __bytes, const size_t __thread_id); 335 _M_reclaim_block(char* __p, size_t __bytes); 685 const size_t __bytes = __n * sizeof(_Tp); local 686 if (__pool._M_check_threshold(__bytes)) 729 const size_t __bytes = __n * sizeof(_Tp); local 733 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
pool_allocator.h | 98 _M_round_up(size_t __bytes) 99 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 102 _M_get_free_list(size_t __bytes) throw (); 219 const size_t __bytes = __n * sizeof(_Tp); local 220 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 221 __ret = static_cast<_Tp*>(::operator new(__bytes)); 224 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 229 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 248 const size_t __bytes = __n * sizeof(_Tp); local 249 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 146 _M_check_threshold(size_t __bytes) 147 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 150 _M_get_binmap(size_t __bytes) 151 { return _M_binmap[__bytes]; } 223 _M_reserve_block(size_t __bytes, const size_t __thread_id); 226 _M_reclaim_block(char* __p, size_t __bytes) throw (); 334 _M_reserve_block(size_t __bytes, const size_t __thread_id); 337 _M_reclaim_block(char* __p, size_t __bytes) throw (); 687 const size_t __bytes = __n * sizeof(_Tp); local 688 if (__pool._M_check_threshold(__bytes)) 731 const size_t __bytes = __n * sizeof(_Tp); local 735 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
pool_allocator.h | 99 _M_round_up(size_t __bytes) 100 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 103 _M_get_free_list(size_t __bytes) throw (); 226 const size_t __bytes = __n * sizeof(_Tp); local 227 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 228 __ret = static_cast<_Tp*>(::operator new(__bytes)); 231 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 236 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 255 const size_t __bytes = __n * sizeof(_Tp); local 256 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 146 _M_check_threshold(size_t __bytes) 147 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 150 _M_get_binmap(size_t __bytes) 151 { return _M_binmap[__bytes]; } 223 _M_reserve_block(size_t __bytes, const size_t __thread_id); 226 _M_reclaim_block(char* __p, size_t __bytes) throw (); 334 _M_reserve_block(size_t __bytes, const size_t __thread_id); 337 _M_reclaim_block(char* __p, size_t __bytes) throw (); 691 const size_t __bytes = __n * sizeof(_Tp); local 692 if (__pool._M_check_threshold(__bytes)) 735 const size_t __bytes = __n * sizeof(_Tp); local 739 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
pool_allocator.h | 98 _M_round_up(size_t __bytes) 99 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 102 _M_get_free_list(size_t __bytes) throw (); 219 const size_t __bytes = __n * sizeof(_Tp); local 220 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 221 __ret = static_cast<_Tp*>(::operator new(__bytes)); 224 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 229 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 248 const size_t __bytes = __n * sizeof(_Tp); local 249 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 146 _M_check_threshold(size_t __bytes) 147 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 150 _M_get_binmap(size_t __bytes) 151 { return _M_binmap[__bytes]; } 223 _M_reserve_block(size_t __bytes, const size_t __thread_id); 226 _M_reclaim_block(char* __p, size_t __bytes) throw (); 334 _M_reserve_block(size_t __bytes, const size_t __thread_id); 337 _M_reclaim_block(char* __p, size_t __bytes) throw (); 687 const size_t __bytes = __n * sizeof(_Tp); local 688 if (__pool._M_check_threshold(__bytes)) 731 const size_t __bytes = __n * sizeof(_Tp); local 735 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
pool_allocator.h | 99 _M_round_up(size_t __bytes) 100 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 103 _M_get_free_list(size_t __bytes) throw (); 226 const size_t __bytes = __n * sizeof(_Tp); local 227 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 228 __ret = static_cast<_Tp*>(::operator new(__bytes)); 231 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 236 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 255 const size_t __bytes = __n * sizeof(_Tp); local 256 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 146 _M_check_threshold(size_t __bytes) 147 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 150 _M_get_binmap(size_t __bytes) 151 { return _M_binmap[__bytes]; } 223 _M_reserve_block(size_t __bytes, const size_t __thread_id); 226 _M_reclaim_block(char* __p, size_t __bytes) throw (); 334 _M_reserve_block(size_t __bytes, const size_t __thread_id); 337 _M_reclaim_block(char* __p, size_t __bytes) throw (); 691 const size_t __bytes = __n * sizeof(_Tp); local 692 if (__pool._M_check_threshold(__bytes)) 735 const size_t __bytes = __n * sizeof(_Tp); local 739 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/ |
pool_allocator.h | 100 _M_round_up(size_t __bytes) 101 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } 104 _M_get_free_list(size_t __bytes) throw (); 233 const size_t __bytes = __n * sizeof(_Tp); local 234 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) 235 __ret = static_cast<_Tp*>(::operator new(__bytes)); 238 _Obj* volatile* __free_list = _M_get_free_list(__bytes); 243 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); 262 const size_t __bytes = __n * sizeof(_Tp); local 263 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new > 0 [all...] |
mt_allocator.h | 148 _M_check_threshold(size_t __bytes) 149 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } 152 _M_get_binmap(size_t __bytes) 153 { return _M_binmap[__bytes]; } 225 _M_reserve_block(size_t __bytes, const size_t __thread_id); 228 _M_reclaim_block(char* __p, size_t __bytes) throw (); 336 _M_reserve_block(size_t __bytes, const size_t __thread_id); 339 _M_reclaim_block(char* __p, size_t __bytes) throw (); 699 const size_t __bytes = __n * sizeof(_Tp); local 700 if (__pool._M_check_threshold(__bytes)) 743 const size_t __bytes = __n * sizeof(_Tp); local 747 __pool._M_reclaim_block(reinterpret_cast<char*>(__p), __bytes); local [all...] |
/external/stlport/src/ |
allocators.cpp | 60 inline char* __stlp_new_chunk(size_t __bytes) { 61 void *__chunk = _STLP_CHECK_NULL_ALLOC(::operator new(__bytes, __FILE__, __LINE__)); 68 inline char* __stlp_new_chunk(size_t __bytes) { 70 void *__chunk = _STLP_VENDOR_CSTD::malloc(__bytes); 78 inline char* __stlp_new_chunk(size_t __bytes) 79 { return __STATIC_CAST(char*, _STLP_STD::__stl_new(__bytes)); } 120 #define _S_FREELIST_INDEX(__bytes) ((__bytes - size_t(1)) >> (int)_ALIGN_SHIFT) 247 static inline size_t _STLP_CALL _S_round_up(size_t __bytes) 248 { return (((__bytes) + (size_t)_ALIGN-1) & ~((size_t)_ALIGN - 1)); [all...] |