Home
last modified time | relevance | path

Searched refs:__size_ (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dbuffer.h112 __size_ += __n; in __copy()
143 __size_ += __n; in __transform()
183 __size_ = 0; in __flush()
189 size_t __size_{0};
399 return __size_;
421 __size_ += __n;
430 _Size __size_{0};
476 __size_ += __n;
485 _Size __size_{0};
578 ++__size_;
[all …]
H A Dformat_args.h36 : __size_(sizeof...(_Args)) { in basic_format_args()
47 if (__id >= __size_) in get()
50 if (__format::__use_packed_format_arg_store(__size_)) in get()
56 _LIBCPP_HIDE_FROM_ABI size_t __size() const noexcept { return __size_; } in __size()
59 size_t __size_{0};
H A Dformatter_floating_point.h170 __size_ = __formatter::__float_buffer_size<_Fp>(__precision_);
171 if (__size_ > _Traits::__stack_buffer_size)
173 __begin_ = allocator<char>{}.allocate(__size_);
179 if (__size_ > _Traits::__stack_buffer_size)
180 allocator<char>{}.deallocate(__begin_, __size_);
186 _LIBCPP_HIDE_FROM_ABI char* end() const { return __begin_ + __size_; }
196 size_t __size_;
H A Dformat_functions.h121 : __args_(__args), __handles_(__handles), __size_(__size) {} in __compile_time_basic_format_context()
132 if (__id >= __size_) in arg()
138 if (__id >= __size_) in __handle()
149 size_t __size_; member
/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dvalarray.cpp22 valarray<size_t> __indices(__size_.size()); in __init()
23 size_t __k = __size_.size() != 0; in __init()
24 for (size_t __i = 0; __i < __size_.size(); ++__i) in __init()
25 __k *= __size_[__i]; in __init()
33 if (++__indices[__i] < __size_[__i]) { in __init()
37 __1d_[__k] -= __stride_[__j] * (__size_[__j] - 1); in __init()
H A Dmemory_resource.cpp459 … (__initial_.__start_ != nullptr) ? (__initial_.__end_ - __initial_.__start_) : __initial_.__size_; in do_allocate()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Ddestruct_n.h25 size_t __size_;
29 for (size_t __i = 0; __i < __size_; ++__i, ++__p) in __process()
36 _LIBCPP_HIDE_FROM_ABI void __incr(false_type) _NOEXCEPT { ++__size_; } in __incr()
39 _LIBCPP_HIDE_FROM_ABI void __set(size_t __s, false_type) _NOEXCEPT { __size_ = __s; } in __set()
43 _LIBCPP_HIDE_FROM_ABI explicit __destruct_n(size_t __s) _NOEXCEPT : __size_(__s) {} in __destruct_n()
H A Dbuiltin_new_allocator.h32 : __size_(__size), __align_(__align) {} in __builtin_new_deleter()
35 std::__libcpp_deallocate(__p, __size_, __align_); in operator()
39 size_t __size_;
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dinitializer_list61 size_t __size_;
65 __size_(__s) {}
76 …M_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 initializer_list() _NOEXCEPT : __begin_(nullptr), __size_(0) {}
78 …IBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 size_t size() const _NOEXCEPT { return __size_; }
82 …M_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 const _Ep* end() const _NOEXCEPT { return __begin_ + __size_; }
H A Dvector2463 __size_ = __v.__size_;
2476 __size_(__v.__size_),
2489 this->__size_ = __v.__size_;
2521 this->__size_ = __c.__size_;
2529 __size_ = 0;
2643 __v.__size_ = __size_ + 1;
2665 __v.__size_ = __size_ + __n;
2739 __v.__size_ = __size_ + __n;
2753 --__size_;
2776 std::swap(this->__size_, __x.__size_);
[all …]
H A Dspan408 _LIBCPP_HIDE_FROM_ABI constexpr span() noexcept : __data_{nullptr}, __size_{0} {}
413 : __data_{__il.begin()}, __size_{__il.size()} {}
421 : __data_{std::to_address(__first)}, __size_{__count} {}
425 : __data_(std::to_address(__first)), __size_(__last - __first) {
431 : __data_{__arr}, __size_{_Sz} {}
435 : __data_{__arr.data()}, __size_{_Sz} {}
440 : __data_{__arr.data()}, __size_{_Sz} {}
447 : __data_{__other.data()}, __size_{__other.size()} {}
489 _LIBCPP_HIDE_FROM_ABI constexpr size_type size() const noexcept { return __size_; }
491 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool empty() const noexcept { return __size_ == 0; }
[all …]
H A Dstring_view308 __size_(__len) {
324 : __data_(std::to_address(__begin)), __size_(__end - __begin) {
337 : __data_(ranges::data(__r)), __size_(ranges::size(__r)) {}
364 return __data_ + __size_;
394 return __size_ == 0;
420 __size_ -= __n;
425 __size_ -= __n;
433 size_type __sz = __size_;
434 __size_ = __other.__size_;
435 __other.__size_ = __sz;
[all …]
H A Dvalarray387 size_t __size_;
625 size_t __size_;
658 size_t __size_;
693 size_t __size_;
699 __n %= static_cast<int>(__size_);
701 __m_ = __size_ - __n;
703 __o2_ = __n - __size_;
706 __o1_ = __n + __size_;
983 size_t __size_;
1150 valarray<size_t> __size_;
[all …]
H A Ddeque555 __compressed_pair<size_type, allocator_type> __size_;
560 : __start_(0), __size_(0, __default_init_tag()) {
574 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {
586 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {
1263 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {
1287 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {
1296 __size_(0, __map_.__alloc()) {
1303 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {
1327 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {
1334 …__map_(std::move(__c.__map_)), __start_(std::move(__c.__start_)), __size_(std::move(__c.__size_)) {
[all …]
H A D__bit_reference655 difference_type __size_;
661 …E_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit __bit_array(difference_type __s) : __size_(__s) {
671 …return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]) + __size_ / __bits_per_w…
672 static_cast<unsigned>(__size_ % __bits_per_word));
H A Dstring752 size_type __size_;
762 unsigned char __size_ : 7;
802 size_type __size_;
811 unsigned char __size_ : 7;
1832 __r_.first().__s.__size_ = __s;
1839 return __r_.first().__s.__size_;
1843 __r_.first().__l.__size_ = __s;
1846 return __r_.first().__l.__size_;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__mdspan/
H A Dextents.h129 static constexpr size_t __size_ = sizeof...(_Values);
168 static_assert((sizeof...(_DynVals) == __size_), "Invalid number of values.");
169 _TDynamic __values[__size_] = {static_cast<_TDynamic>(__vals)...};
170 for (size_t __i = 0; __i < __size_; __i++) {
188 static_assert((_Size == __size_) || (__size_ == dynamic_extent));
189 for (size_t __i = 0; __i < __size_; __i++) {
206 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__i < __size_, "extents access: index must be less than rank");
211 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__i < __size_, "extents access: index must be less than rank");
216 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__i < __size_, "extents access: index must be less than rank");
221 _LIBCPP_HIDE_FROM_ABI static constexpr size_t __size() { return __size_; }
/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Dsubrange.h88 _LIBCPP_NO_UNIQUE_ADDRESS _Size __size_ = 0; variable
102 : __begin_(std::move(__iter)), __end_(std::move(__sent)), __size_(__n) { in subrange()
155 return __size_; in size()
186 __size_ += std::__to_unsigned_like(-__n); in advance()
193 __size_ -= std::__to_unsigned_like(__d); in advance()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory_resource/
H A Dmonotonic_buffer_resource.h50 size_t __size_; member
79 __initial_.__size_ = __buffer_size; in monotonic_buffer_resource()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Ddirectory_entry.cpp58 __data_.__size_ = static_cast<uintmax_t>(full_st.st_size); in __do_refresh()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/
H A Ddirectory_entry.h209 uintmax_t __size_; member
223 __size_ = __nlink_ = uintmax_t(-1); in __reset()
367 return __data_.__size_;