Home
last modified time | relevance | path

Searched refs:__cap (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dto_chars_integral.h128 ptrdiff_t __cap = __last - __first;
130 if (__n > __cap)
164 ptrdiff_t __cap = __last - __first;
166 if (__n > __cap)
200 ptrdiff_t __cap = __last - __first;
202 if (__n > __cap)
289 ptrdiff_t __cap = __last - __first;
291 if (__n > __cap)
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstring1925 size_type __cap = capacity();
1927 if (__cap - __sz >= __n) {
1934 __grow_by_without_replace(__cap, __sz + __n - __cap, __sz, __ip, 0, __n);
2485 size_type __cap =
2488 auto __allocation = std::__allocate_at_least(__alloc(), __cap + 1);
2528 size_type __cap =
2531 auto __allocation = std::__allocate_at_least(__alloc(), __cap + 1);
2568 size_type __cap = __is_short ? static_cast<size_type>(__min_cap) : __get_long_cap();
2569 if (__n < __cap) {
2581 __grow_by_and_replace(__cap - 1, __n - __cap + 1, __sz, 0, __sz, __n, __s);
[all …]
H A Dvector1117 const size_type __cap = capacity();
1118 if (__cap >= __ms / 2)
1120 return std::max<size_type>(2 * __cap, __new_size);
1894 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 size_type& __cap() _NOEXCEPT { return __cap_al…
1895 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 const size_type& __cap() const _NOEXCEPT {
1934 __storage_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.__cap());
2035 return __internal_cap_to_external(__cap());
2196 __storage_traits::deallocate(__alloc(), __begin_, __cap());
2220 // Precondition: __begin_ == __end_ == __cap() == 0
2230 __cap() = __allocation.count;
[all …]
H A D__split_buffer100 __split_buffer(size_type __cap, size_type __start, __alloc_rr& __a);
348 __split_buffer<_Tp, _Allocator>::__split_buffer(size_type __cap, size_type __start, __alloc_rr& __a)
350 if (__cap == 0) {
353 auto __allocation = std::__allocate_at_least(__alloc(), __cap);
355 __cap = __allocation.count;
358 __end_cap() = __first_ + __cap;
/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c3760 #define CAP16_TO_CAP32(__cap) \ in fwcaps16_to_caps32() argument
3762 if (caps16 & FW_PORT_CAP_##__cap) \ in fwcaps16_to_caps32()
3763 caps32 |= FW_PORT_CAP32_##__cap; \ in fwcaps16_to_caps32()
3800 #define CAP32_TO_CAP16(__cap) \ in fwcaps32_to_caps16() argument
3802 if (caps32 & FW_PORT_CAP32_##__cap) \ in fwcaps32_to_caps16()
3803 caps16 |= FW_PORT_CAP_##__cap; \ in fwcaps32_to_caps16()