Searched refs:__bytes (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/libstdc++/include/ext/ |
| H A D | pool_allocator.h | 103 _M_round_up(size_t __bytes) in _M_round_up() argument 104 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } in _M_round_up() 107 _M_get_free_list(size_t __bytes); 214 const size_t __bytes = __n * sizeof(_Tp); in allocate() local 215 if (__bytes > size_t(_S_max_bytes) || _S_force_new == 1) in allocate() 216 __ret = static_cast<_Tp*>(::operator new(__bytes)); in allocate() 219 _Obj* volatile* __free_list = _M_get_free_list(__bytes); in allocate() 224 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); in allocate() 243 const size_t __bytes = __n * sizeof(_Tp); in deallocate() local 244 if (__bytes > static_cast<size_t>(_S_max_bytes) || _S_force_new == 1) in deallocate() [all …]
|
| H A D | mt_allocator.h | 147 _M_check_threshold(size_t __bytes) in _M_check_threshold() 151 _M_get_binmap(size_t __bytes) in _M_get_binmap() 152 { return _M_binmap[__bytes]; } in _M_get_binmap() 227 _M_reclaim_block(char* __p, size_t __bytes); 338 _M_reclaim_block(char* __p, size_t __bytes); 680 const size_t __bytes = __n * sizeof(_Tp); 681 if (__pool._M_check_threshold(__bytes)) 683 void* __ret = ::operator new(__bytes); 709 __c = __pool._M_reserve_block(__bytes, __thread_id); 724 const size_t __bytes = __n * sizeof(_Tp); [all …]
|
| H A D | codecvt_specializations.h | 101 int __ibom = 0, int __ebom = 0, int __bytes = 1) in _GLIBCXX_BEGIN_NAMESPACE() 103 _M_ext_bom(__ebom), _M_int_bom(__ibom), _M_bytes(__bytes) in _GLIBCXX_BEGIN_NAMESPACE()
|
| /freebsd-12.1/contrib/libc++/include/experimental/ |
| H A D | memory_resource | 108 void* allocate(size_t __bytes, size_t __align = __max_align) 109 { return do_allocate(__bytes, __align); } 112 void deallocate(void * __p, size_t __bytes, size_t __align = __max_align) 113 { do_deallocate(__p, __bytes, __align); } 386 virtual void * do_allocate(size_t __bytes, size_t) 388 if (__bytes > __max_size()) { 393 size_t __s = __aligned_allocation_size(__bytes, _MaxAlign) / _MaxAlign; 397 virtual void do_deallocate(void * __p, size_t __bytes, size_t) 399 _LIBCPP_ASSERT(__bytes <= __max_size(), 401 size_t __s = __aligned_allocation_size(__bytes, _MaxAlign) / _MaxAlign;
|
| H A D | simd | 724 template <class _Tp, size_t __bytes> 727 typedef _Tp type __attribute__((vector_size(__ceil_pow_of_2(__bytes))));
|
| /freebsd-12.1/contrib/libstdc++/src/ |
| H A D | mt_allocator.cc | 103 __pool<false>::_M_reclaim_block(char* __p, size_t __bytes) in _M_reclaim_block() argument 106 const size_t __which = _M_binmap[__bytes]; in _M_reclaim_block() 118 __pool<false>::_M_reserve_block(size_t __bytes, const size_t __thread_id) in _M_reserve_block() argument 121 const size_t __which = _M_binmap[__bytes]; in _M_reserve_block() 251 __pool<true>::_M_reclaim_block(char* __p, size_t __bytes) in _M_reclaim_block() argument 254 const size_t __which = _M_binmap[__bytes]; in _M_reclaim_block() 336 __pool<true>::_M_reserve_block(size_t __bytes, const size_t __thread_id) in _M_reserve_block() argument 339 const size_t __which = _M_binmap[__bytes]; in _M_reserve_block()
|
| H A D | pool_allocator.cc | 47 __pool_alloc_base::_M_get_free_list(size_t __bytes) in _GLIBCXX_BEGIN_NAMESPACE() 49 size_t __i = ((__bytes + (size_t)_S_align - 1) / (size_t)_S_align - 1); in _GLIBCXX_BEGIN_NAMESPACE()
|
| /freebsd-12.1/usr.sbin/makefs/ |
| H A D | cd9660.h | 119 #define CD9660_BLOCKS(__sector_size, __bytes) \ argument 120 howmany((__bytes), (__sector_size))
|