| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/ |
| 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 …]
|
| D | mt_allocator.h | 147 _M_check_threshold(size_t __bytes) in _M_check_threshold() 148 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } in _M_check_threshold() 151 _M_get_binmap(size_t __bytes) in _M_get_binmap() 152 { return _M_binmap[__bytes]; } in _M_get_binmap() 224 _M_reserve_block(size_t __bytes, const size_t __thread_id); 227 _M_reclaim_block(char* __p, size_t __bytes); 335 _M_reserve_block(size_t __bytes, const size_t __thread_id); 338 _M_reclaim_block(char* __p, size_t __bytes); 680 const size_t __bytes = __n * sizeof(_Tp); 681 if (__pool._M_check_threshold(__bytes)) [all …]
|
| 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()
|
| /openbsd/src/gnu/llvm/libcxx/include/experimental/ |
| D | memory_resource | 113 void* allocate(size_t __bytes, size_t __align = __max_align) 114 { return do_allocate(__bytes, __align); } 117 void deallocate(void * __p, size_t __bytes, size_t __align = __max_align) 118 { do_deallocate(__p, __bytes, __align); } 391 void * do_allocate(size_t __bytes, size_t) override 393 if (__bytes > __max_size()) 395 size_t __s = __aligned_allocation_size(__bytes, _MaxAlign) / _MaxAlign; 399 void do_deallocate(void * __p, size_t __bytes, size_t) override 401 _LIBCPP_ASSERT(__bytes <= __max_size(), 403 size_t __s = __aligned_allocation_size(__bytes, _MaxAlign) / _MaxAlign;
|
| D | simd | 728 template <class _Tp, size_t __bytes> 731 typedef _Tp type __attribute__((vector_size(__ceil_pow_of_2(__bytes))));
|
| /openbsd/src/gnu/gcc/libstdc++-v3/src/ |
| 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()
|
| 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()
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/ |
| D | pthread_allocimpl.h | 124 static size_t _S_round_up(size_t __bytes) { in _S_round_up() argument 125 return (((__bytes) + (int) _S_ALIGN-1) & ~((int) _S_ALIGN - 1)); in _S_round_up() 127 static size_t _S_freelist_index(size_t __bytes) { in _S_freelist_index() argument 128 return (((__bytes) + (int) _S_ALIGN-1)/(int)_S_ALIGN - 1); in _S_freelist_index()
|
| D | stl_alloc.h | 356 _S_round_up(size_t __bytes) in _S_round_up() argument 357 { return (((__bytes) + (size_t) _ALIGN-1) & ~((size_t) _ALIGN - 1)); } in _S_round_up() 360 _S_freelist_index(size_t __bytes) in _S_freelist_index() argument 361 { return (((__bytes) + (size_t)_ALIGN - 1)/(size_t)_ALIGN - 1); } in _S_freelist_index()
|
| D | basic_string.tcc | 1052 size_type __bytes = std::min(__strsize, __bufsiz - 1); in _S_string_copy() local 1053 _Traits::copy(__buf, __str.data(), __bytes); in _S_string_copy() 1054 __buf[__bytes] = _CharT(); in _S_string_copy()
|
| /openbsd/src/usr.sbin/makefs/ |
| D | cd9660.h | 90 #define CD9660_BLOCKS(__sector_size, __bytes) \ argument 91 howmany((__bytes), (__sector_size))
|