Lines Matching refs:__cap
1041 const size_type __cap = capacity();
1042 if (__cap >= __ms / 2)
1044 return std::max<size_type>(2 * __cap, __new_size);
1848 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 size_type& __cap() _NOEXCEPT { return __cap_al…
1849 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 const size_type& __cap() const _NOEXCEPT {
1888 __storage_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.__cap());
1989 return __internal_cap_to_external(__cap());
2150 __storage_traits::deallocate(__alloc(), __begin_, __cap());
2174 // Precondition: __begin_ == __end_ == __cap() == 0
2184 __cap() = __allocation.count;
2186 for (size_type __i = 0; __i != __cap(); ++__i)
2259 __storage_traits::deallocate(this->__alloc(), this->__begin_, __cap());
2261 this->__size_ = this->__cap() = 0;
2282 const size_type __cap = capacity();
2283 if (__cap >= __ms / 2)
2285 return std::max(2 * __cap, __align_it(__new_size));
2480 __v.__cap() = 0;
2490 this->__cap() = __v.__cap();
2492 __v.__cap() = __v.__size_ = 0;
2522 this->__cap() = __c.__cap();
2524 __c.__cap() = __c.__size_ = 0;
2597 if (__external_cap_to_internal(size()) > __cap()) {
2777 std::swap(this->__cap(), __x.__cap());
2823 if (this->__size_ != 0 || this->__cap() != 0)
2826 if (this->__cap() == 0)