/freebsd/contrib/llvm-project/libcxx/include/__string/ |
H A D | char_traits.h | 356 __str_find(const _CharT* __p, _SizeT __sz, _CharT __c, _SizeT __pos) _NOEXCEPT { 357 if (__pos >= __sz) 359 const _CharT* __r = _Traits::find(__p + __pos, __sz - __pos, __c); 405 __str_find(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT { 406 if (__pos > __sz) 412 …const _CharT* __r = std::__search_substring<_CharT, _Traits>(__p + __pos, __p + __sz, __s, __s + _… 414 if (__r == __p + __sz) 423 __str_rfind(const _CharT* __p, _SizeT __sz, _CharT __c, _SizeT __pos) _NOEXCEPT { 424 if (__sz < 1) 426 if (__pos < __sz) [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | string | 1895 …_LIBCPP_CONSTEXPR _LIBCPP_HIDE_FROM_ABI static bool __fits_in_sso(size_type __sz) { return __sz < … 1924 size_type __sz = size(); 1927 if (__cap - __sz >= __n) { 1930 size_type __n_move = __sz - __ip; 1934 __grow_by_without_replace(__cap, __sz + __n - __cap, __sz, __ip, 0, __n); 1937 __sz += __n; 1938 __set_size(__sz); 1939 traits_type::assign(__p[__sz], value_type()); 2073 …inline _LIBCPP_CONSTEXPR_SINCE_CXX20 void __init(const value_type* __s, size_type __sz, size_type … 2074 inline _LIBCPP_CONSTEXPR_SINCE_CXX20 void __init(const value_type* __s, size_type __sz); [all …]
|
H A D | new | 206 _LIBCPP_NODISCARD _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz) _THROW_BAD_ALLO… 207 _LIBCPP_NODISCARD _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, const std::noth… 212 _LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete(void* __p, std::size_t __sz) _NOEXCEPT; 215 _LIBCPP_NODISCARD _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz) _THROW_BAD_AL… 216 _LIBCPP_NODISCARD _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, const std::no… 221 _LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete[](void* __p, std::size_t __sz) _NOEXCEPT; 225 _LIBCPP_NODISCARD _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std::align_val_… 227 operator new(std::size_t __sz, std::align_val_t, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS; 231 _LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete(void* __p, std::size_t __sz, std::align_val_t) _N… 235 operator new[](std::size_t __sz, std::align_val_t) _THROW_BAD_ALLOC; [all …]
|
H A D | list | 506 _LIBCPP_HIDE_FROM_ABI size_type& __sz() _NOEXCEPT { return __size_alloc_.first(); } 507 _LIBCPP_HIDE_FROM_ABI const size_type& __sz() const _NOEXCEPT { return __size_alloc_.first(); } 524 _LIBCPP_HIDE_FROM_ABI bool empty() const _NOEXCEPT { return __sz() == 0; } 627 __sz() = 0; 650 swap(__sz(), __c.__sz()); 652 if (__sz() == 0) 656 if (__c.__sz() == 0) 756 _LIBCPP_HIDE_FROM_ABI size_type size() const _NOEXCEPT { return base::__sz(); } 983 return __n <= base::__sz() / 2 ? std::next(begin(), __n) : std::prev(end(), base::__sz() - __n); 1143 ++base::__sz(); [all …]
|
H A D | __locale | 1292 const int __sz = 32; 1293 char __buf[__sz]; 1296 … __r = do_out(__mb, (const char16_t*)__wb, (const char16_t*)__we, __wn, __buf, __buf + __sz, __bn); 1320 const int __sz = 32; 1321 char __buf[__sz]; 1324 … __r = do_out(__mb, (const char32_t*)__wb, (const char32_t*)__we, __wn, __buf, __buf + __sz, __bn); 1364 const int __sz = 32; 1365 char16_t __buf[__sz]; 1368 …_r = do_in(__mb, __nb, __ne - __nb > __sz ? __nb + __sz : __ne, __nn, __buf, __buf + … 1392 const int __sz = 32; [all …]
|
H A D | forward_list | 875 …static _LIBCPP_HIDDEN __node_pointer __sort(__node_pointer __f, difference_type __sz, _Compare& __… 1220 size_type __sz = 0; 1224 for (; __i != __e && __sz < __n; ++__p, ++__i, ++__sz) 1229 __n -= __sz; 1240 size_type __sz = 0; 1244 for (; __i != __e && __sz < __n; ++__p, ++__i, ++__sz) 1249 __n -= __sz; 1432 forward_list<_Tp, _Alloc>::__sort(__node_pointer __f1, difference_type __sz, _Compare& __comp) { 1433 switch (__sz) { 1446 difference_type __sz1 = __sz / 2; [all …]
|
H A D | vector | 753 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void resize(size_type __sz); 754 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void resize(size_type __sz, const_reference __… 1793 _LIBCPP_CONSTEXPR_SINCE_CXX20 void vector<_Tp, _Allocator>::resize(size_type __sz) { 1795 if (__cs < __sz) 1796 this->__append(__sz - __cs); 1797 else if (__cs > __sz) 1798 this->__destruct_at_end(this->__begin_ + __sz); 1802 _LIBCPP_CONSTEXPR_SINCE_CXX20 void vector<_Tp, _Allocator>::resize(size_type __sz, const_reference … 1804 if (__cs < __sz) 1805 this->__append(__sz - __cs, __x); [all …]
|
H A D | sstream | 701 typename string_type::size_type __sz = __str_.size(); 703 __hm_ = __data + __sz; 707 __hm_ = __data + __sz; 711 while (__sz > INT_MAX) { 713 __sz -= INT_MAX; 715 if (__sz > 0) 716 this->pbump(__sz);
|
H A D | bitset | 253 size_t __sz = _Size; 254 …for (size_t __i = 0; __i < sizeof(__t) / sizeof(__t[0]); ++__i, __v >>= __bits_per_word, __sz -= _… 255 if (__sz < __bits_per_word) 256 __t[__i] = static_cast<__storage_type>(__v) & (1ULL << __sz) - 1;
|
H A D | string_view | 436 size_type __sz = __size_; 438 __other.__size_ = __sz;
|
H A D | locale | 1251 streamsize __sz = __oe - __ob; 1253 if (__ns > __sz) 1254 __ns -= __sz; 1277 streamsize __sz = __oe - __ob; 1279 if (__ns > __sz) 1280 __ns -= __sz;
|
H A D | deque | 2523 const typename deque<_Tp, _Allocator>::size_type __sz = __x.size(); 2524 return __sz == __y.size() && std::equal(__x.begin(), __x.end(), __y.begin());
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | sample.h | 47 _Distance __sz = __k; in __sample() 50 if (__r < __sz) in __sample() 44 _Distance __sz = __k; __sample() local
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | align.h | 21 _LIBCPP_EXPORTED_FROM_ABI void* align(size_t __align, size_t __sz, void*& __ptr, size_t& __space);
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/ |
H A D | glue_memory_impl.h |
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | boyer_moore_searcher.h | 51 size_t __sz, value_type __default_value, _Hash __hash, _BinaryPredicate __pred) 52 : __default_value_(__default_value), __table_(__sz, __hash, __pred) {} 58 _BMSkipTable(size_t __sz,value_type __default_value,_Hash __hash,_BinaryPredicate __pred) _BMSkipTable() argument
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 962 operator new(size_t __sz, void *__p, __clang_Interpreter_NewTag) noexcept { in operator new() argument 964 return operator new(__sz, __p); in operator new()
|