Lines Matching refs:__cap
1117 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;
2232 for (size_type __i = 0; __i != __cap(); ++__i)
2305 __storage_traits::deallocate(this->__alloc(), this->__begin_, __cap());
2307 this->__size_ = this->__cap() = 0;
2328 const size_type __cap = capacity();
2329 if (__cap >= __ms / 2)
2331 return std::max(2 * __cap, __align_it(__new_size));
2526 __v.__cap() = 0;
2536 this->__cap() = __v.__cap();
2538 __v.__cap() = __v.__size_ = 0;
2568 this->__cap() = __c.__cap();
2570 __c.__cap() = __c.__size_ = 0;
2643 if (__external_cap_to_internal(size()) > __cap()) {
2823 std::swap(this->__cap(), __x.__cap());
2869 if (this->__size_ != 0 || this->__cap() != 0)
2872 if (this->__cap() == 0)