Home
last modified time | relevance | path

Searched refs:__bytes (Results 1 – 11 of 11) sorted by relevance

/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Dpool_allocator.h103 _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 …]
Dmt_allocator.h147 _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 …]
Dcodecvt_specializations.h101 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/
Dmemory_resource113 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;
Dsimd728 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/
Dmt_allocator.cc103 __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()
Dpool_allocator.cc47 __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/
Dpthread_allocimpl.h124 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()
Dstl_alloc.h356 _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()
Dbasic_string.tcc1052 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/
Dcd9660.h90 #define CD9660_BLOCKS(__sector_size, __bytes) \ argument
91 howmany((__bytes), (__sector_size))