| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/ |
| H A D | pool_allocator.h | 98 _M_round_up(size_t __bytes) in _GLIBCXX_VISIBILITY() 99 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } in _GLIBCXX_VISIBILITY() 102 _M_get_free_list(size_t __bytes) throw (); in _GLIBCXX_VISIBILITY() 223 const size_t __bytes = __n * sizeof(_Tp); in _GLIBCXX_VISIBILITY() local 229 return static_cast<_Tp*>(::operator new(__bytes, __al)); in _GLIBCXX_VISIBILITY() 244 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) in _GLIBCXX_VISIBILITY() 245 __ret = static_cast<_Tp*>(::operator new(__bytes)); in _GLIBCXX_VISIBILITY() 248 _Obj* volatile* __free_list = _M_get_free_list(__bytes); in _GLIBCXX_VISIBILITY() 253 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); in _GLIBCXX_VISIBILITY() 280 const size_t __bytes = __n * sizeof(_Tp); in _GLIBCXX_VISIBILITY() local [all …]
|
| H A D | mt_allocator.h | 147 _M_check_threshold(size_t __bytes) in _GLIBCXX_VISIBILITY() 148 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } in _GLIBCXX_VISIBILITY() 151 _M_get_binmap(size_t __bytes) in _GLIBCXX_VISIBILITY() 152 { return _M_binmap[__bytes]; } in _GLIBCXX_VISIBILITY() 224 _M_reserve_block(size_t __bytes, const size_t __thread_id); in _GLIBCXX_VISIBILITY() 227 _M_reclaim_block(char* __p, size_t __bytes) throw (); in _GLIBCXX_VISIBILITY() 335 _M_reserve_block(size_t __bytes, const size_t __thread_id); in _GLIBCXX_VISIBILITY() 338 _M_reclaim_block(char* __p, size_t __bytes) throw (); in _GLIBCXX_VISIBILITY() 708 const size_type __bytes = __n * sizeof(_Tp); in _GLIBCXX_VISIBILITY() 709 if (__pool._M_check_threshold(__bytes)) in _GLIBCXX_VISIBILITY() [all …]
|
| H A D | codecvt_specializations.h | 91 int __ibom = 0, int __ebom = 0, int __bytes = 1) in _GLIBCXX_VISIBILITY() 93 _M_ext_bom(__ebom), _M_int_bom(__ibom), _M_bytes(__bytes) in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
| H A D | pool_allocator.h | 98 _M_round_up(size_t __bytes) in _GLIBCXX_VISIBILITY() 99 { return ((__bytes + (size_t)_S_align - 1) & ~((size_t)_S_align - 1)); } in _GLIBCXX_VISIBILITY() 102 _M_get_free_list(size_t __bytes) throw (); in _GLIBCXX_VISIBILITY() 223 const size_t __bytes = __n * sizeof(_Tp); in _GLIBCXX_VISIBILITY() local 229 return static_cast<_Tp*>(::operator new(__bytes, __al)); in _GLIBCXX_VISIBILITY() 244 if (__bytes > size_t(_S_max_bytes) || _S_force_new > 0) in _GLIBCXX_VISIBILITY() 245 __ret = static_cast<_Tp*>(::operator new(__bytes)); in _GLIBCXX_VISIBILITY() 248 _Obj* volatile* __free_list = _M_get_free_list(__bytes); in _GLIBCXX_VISIBILITY() 253 __ret = static_cast<_Tp*>(_M_refill(_M_round_up(__bytes))); in _GLIBCXX_VISIBILITY() 280 const size_t __bytes = __n * sizeof(_Tp); in _GLIBCXX_VISIBILITY() local [all …]
|
| H A D | mt_allocator.h | 147 _M_check_threshold(size_t __bytes) in _GLIBCXX_VISIBILITY() 148 { return __bytes > _M_options._M_max_bytes || _M_options._M_force_new; } in _GLIBCXX_VISIBILITY() 151 _M_get_binmap(size_t __bytes) in _GLIBCXX_VISIBILITY() 152 { return _M_binmap[__bytes]; } in _GLIBCXX_VISIBILITY() 224 _M_reserve_block(size_t __bytes, const size_t __thread_id); in _GLIBCXX_VISIBILITY() 227 _M_reclaim_block(char* __p, size_t __bytes) throw (); in _GLIBCXX_VISIBILITY() 335 _M_reserve_block(size_t __bytes, const size_t __thread_id); in _GLIBCXX_VISIBILITY() 338 _M_reclaim_block(char* __p, size_t __bytes) throw (); in _GLIBCXX_VISIBILITY() 708 const size_type __bytes = __n * sizeof(_Tp); in _GLIBCXX_VISIBILITY() 709 if (__pool._M_check_threshold(__bytes)) in _GLIBCXX_VISIBILITY() [all …]
|
| H A D | codecvt_specializations.h | 91 int __ibom = 0, int __ebom = 0, int __bytes = 1) in _GLIBCXX_VISIBILITY() 93 _M_ext_bom(__ebom), _M_int_bom(__ibom), _M_bytes(__bytes) in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/ |
| H A D | memory_resource | 99 allocate(size_t __bytes, size_t __alignment = _S_max_align) 100 { return do_allocate(__bytes, __alignment); } 103 deallocate(void* __p, size_t __bytes, size_t __alignment = _S_max_align) 104 { return do_deallocate(__p, __bytes, __alignment); } 112 do_allocate(size_t __bytes, size_t __alignment) = 0; 115 do_deallocate(void* __p, size_t __bytes, size_t __alignment) = 0; 413 do_allocate(size_t __bytes, size_t __alignment) override 418 return _M_allocate<alignof(max_align_t)>(__bytes); 423 return _M_alloc.allocate(__bytes); 425 return _M_allocate<2>(__bytes); [all …]
|
| H A D | internet | 269 address_v6(const bytes_type& __bytes, scope_id_type __scope = 0) 270 : _M_bytes(__bytes), _M_scope_id(__scope)
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/ |
| H A D | memory_resource | 100 allocate(size_t __bytes, size_t __alignment = _S_max_align) 101 { return do_allocate(__bytes, __alignment); } 104 deallocate(void* __p, size_t __bytes, size_t __alignment = _S_max_align) 105 { return do_deallocate(__p, __bytes, __alignment); } 113 do_allocate(size_t __bytes, size_t __alignment) = 0; 116 do_deallocate(void* __p, size_t __bytes, size_t __alignment) = 0; 414 do_allocate(size_t __bytes, size_t __alignment) override 419 return _M_allocate<alignof(max_align_t)>(__bytes); 424 return _M_alloc.allocate(__bytes); 426 return _M_allocate<2>(__bytes); [all …]
|
| H A D | internet | 316 address_v6(const bytes_type& __bytes, scope_id_type __scope = 0) 317 : _M_bytes(__bytes), _M_scope_id(__scope) 1316 address_v6::bytes_type __bytes = _M_addr.to_bytes(); 1319 __bytes[__n] = 0; 1321 __bytes[__nbytes - 1] &= 0xFF << __zbits; 1322 return address_v6(__bytes, _M_addr.scope_id()); 1331 address_v6::bytes_type __bytes = _M_addr.to_bytes(); 1334 __bytes[__n] = 0xFF; 1336 __bytes[__nbytes - 1] |= (1 << __bits) - 1; 1337 address_v6 __last(__bytes, _M_addr.scope_id());
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
| H A D | memory_resource | 98 allocate(size_t __bytes, size_t __alignment = _S_max_align) 100 { return do_allocate(__bytes, __alignment); } 103 deallocate(void* __p, size_t __bytes, size_t __alignment = _S_max_align) 105 { return do_deallocate(__p, __bytes, __alignment); } 113 do_allocate(size_t __bytes, size_t __alignment) = 0; 116 do_deallocate(void* __p, size_t __bytes, size_t __alignment) = 0; 408 allocate(size_t __bytes, size_t __alignment); 412 deallocate(void* __p, size_t __bytes, size_t __alignment); 476 do_allocate(size_t __bytes, size_t __alignment) override; 479 do_deallocate(void* __p, size_t __bytes, size_t __alignment) override; [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
| H A D | memory_resource | 120 allocate(size_t __bytes, size_t __alignment = _S_max_align) 122 { return ::operator new(__bytes, do_allocate(__bytes, __alignment)); } 125 deallocate(void* __p, size_t __bytes, size_t __alignment = _S_max_align) 127 { return do_deallocate(__p, __bytes, __alignment); } 136 do_allocate(size_t __bytes, size_t __alignment) = 0; 139 do_deallocate(void* __p, size_t __bytes, size_t __alignment) = 0; 584 allocate(size_t __bytes, size_t __alignment); 588 deallocate(void* __p, size_t __bytes, size_t __alignment); 652 do_allocate(size_t __bytes, size_t __alignment) override; 655 do_deallocate(void* __p, size_t __bytes, size_t __alignment) override; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/include/experimental/ |
| H A D | memory_resource | 107 void* allocate(size_t __bytes, size_t __align = __max_align) 108 { return do_allocate(__bytes, __align); } 111 void deallocate(void * __p, size_t __bytes, size_t __align = __max_align) 112 { do_deallocate(__p, __bytes, __align); } 385 virtual void * do_allocate(size_t __bytes, size_t) 387 if (__bytes > __max_size()) { 392 size_t __s = __aligned_allocation_size(__bytes, _MaxAlign) / _MaxAlign; 396 virtual void do_deallocate(void * __p, size_t __bytes, size_t) 398 _LIBCPP_ASSERT(__bytes <= __max_size(), 400 size_t __s = __aligned_allocation_size(__bytes, _MaxAlign) / _MaxAlign;
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| H A D | mt_allocator.cc | 119 __pool<false>::_M_reclaim_block(char* __p, size_t __bytes) throw () in _M_reclaim_block() argument 122 const size_t __which = _M_binmap[__bytes]; in _M_reclaim_block() 134 __pool<false>::_M_reserve_block(size_t __bytes, const size_t __thread_id) in _M_reserve_block() argument 137 const size_t __which = _M_binmap[__bytes]; in _M_reserve_block() 267 __pool<true>::_M_reclaim_block(char* __p, size_t __bytes) throw () in _M_reclaim_block() argument 270 const size_t __which = _M_binmap[__bytes]; in _M_reclaim_block() 352 __pool<true>::_M_reserve_block(size_t __bytes, const size_t __thread_id) in _M_reserve_block() argument 355 const size_t __which = _M_binmap[__bytes]; in _M_reserve_block()
|
| H A D | pool_allocator.cc | 49 __pool_alloc_base::_M_get_free_list(size_t __bytes) throw () in _M_get_free_list() argument 51 size_t __i = ((__bytes + (size_t)_S_align - 1) / (size_t)_S_align - 1); in _M_get_free_list()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| H A D | mt_allocator.cc | 119 __pool<false>::_M_reclaim_block(char* __p, size_t __bytes) throw () in _M_reclaim_block() argument 122 const size_t __which = _M_binmap[__bytes]; in _M_reclaim_block() 134 __pool<false>::_M_reserve_block(size_t __bytes, const size_t __thread_id) in _M_reserve_block() argument 137 const size_t __which = _M_binmap[__bytes]; in _M_reserve_block() 267 __pool<true>::_M_reclaim_block(char* __p, size_t __bytes) throw () in _M_reclaim_block() argument 270 const size_t __which = _M_binmap[__bytes]; in _M_reclaim_block() 352 __pool<true>::_M_reserve_block(size_t __bytes, const size_t __thread_id) in _M_reserve_block() argument 355 const size_t __which = _M_binmap[__bytes]; in _M_reserve_block()
|
| H A D | pool_allocator.cc | 49 __pool_alloc_base::_M_get_free_list(size_t __bytes) throw () in _M_get_free_list() argument 51 size_t __i = ((__bytes + (size_t)_S_align - 1) / (size_t)_S_align - 1); in _M_get_free_list()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ |
| H A D | memory_resource.cc | 53 do_allocate(size_t __bytes, size_t __alignment) override in do_allocate() argument 54 { return ::operator new(__bytes, std::align_val_t(__alignment)); } in do_allocate() 57 do_deallocate(void* __p, size_t __bytes, size_t __alignment) noexcept in do_deallocate() argument 59 { ::operator delete(__p, __bytes, std::align_val_t(__alignment)); } in do_deallocate() 717 size_t __bytes = __blocks * __block_size + __words * sizeof(word); in replenish() local 719 void* __p = __r->allocate(__bytes, __alignment); in replenish() 724 _M_chunks.insert(chunk(__p, __bytes, __pwords, __blocks), __r); in replenish() 728 __r->deallocate(__p, __bytes, __alignment); in replenish()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/ |
| H A D | memory_resource.cc | 49 do_allocate(size_t __bytes, size_t __alignment) override in do_allocate() argument 50 { return ::operator new(__bytes, std::align_val_t(__alignment)); } in do_allocate() 53 do_deallocate(void* __p, size_t __bytes, size_t __alignment) noexcept in do_deallocate() argument 55 { ::operator delete(__p, __bytes, std::align_val_t(__alignment)); } in do_deallocate() 688 size_t __bytes = __blocks * __block_size + __words * sizeof(word); in replenish() local 690 void* __p = __r->allocate(__bytes, __alignment); in replenish() 695 _M_chunks.insert(chunk(__p, __bytes, __pwords, __blocks), __r); in replenish() 699 __r->deallocate(__p, __bytes, __alignment); in replenish()
|
| /netbsd-src/usr.sbin/makefs/ |
| H A D | cd9660.h | 118 #define CD9660_BLOCKS(__sector_size, __bytes) \ argument 119 howmany((__bytes), (__sector_size))
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| H A D | vmwgfx_drv.h | 955 #define VMW_FIFO_RESERVE_DX(__priv, __bytes, __ctx_id) \ argument 957 vmw_fifo_reserve_dx(__priv, __bytes, __ctx_id) ? : ({ \ 959 __func__, (unsigned int) __bytes); \ 964 #define VMW_FIFO_RESERVE(__priv, __bytes) \ argument 965 VMW_FIFO_RESERVE_DX(__priv, __bytes, SVGA3D_INVALID_ID)
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| H A D | locale_conv.h | 298 char __bytes[2] = { __byte }; in _GLIBCXX_VISIBILITY() local 299 return from_bytes(__bytes, __bytes+1); in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| H A D | locale_conv.h | 320 char __bytes[2] = { __byte }; in _GLIBCXX_VISIBILITY() local 321 return from_bytes(__bytes, __bytes+1); in _GLIBCXX_VISIBILITY()
|
| H A D | shared_ptr_base.h | 870 size_t __bytes = sizeof(_Sp_counted_array); in _GLIBCXX_VISIBILITY() 874 __bytes += alignof(_Sp_counted_array) - alignof(_Tp); in _GLIBCXX_VISIBILITY() 876 return (__bytes + sizeof(_Tp) - 1) / sizeof(_Tp); in _GLIBCXX_VISIBILITY()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/ |
| H A D | simd.h | 2862 constexpr size_t __bytes = __vectorized_sizeof<_Tp>(); 2863 if constexpr (__bytes == sizeof(_Tp)) 2865 else if constexpr (__have_avx512vl || (__have_avx512f && __bytes == 64)) 2866 return static_cast<_VecBltnBtmsk<__bytes>*>(nullptr); 2868 return static_cast<_VecBuiltin<__bytes>*>(nullptr);
|