Searched refs:size_ (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215/libkern/libkern/c++/ |
| H A D | safe_allocation.h | 218 size_ = 0; 236 size_ = 0; 261 other.size_ = 0; 275 size_ = 0; 302 size_ = other.size_; 304 other.size_ = 0; 373 return iterator(data_ + size_, data_, data_ + size_); 382 return const_iterator(data_ + size_, data_, data_ + size_); 393 return size_; 440 sa_detail::generic_swap(a.size_, b.size_); [all …]
|
| H A D | bounded_array_ref.h | 70 explicit constexpr bounded_array_ref() noexcept : data_(nullptr), size_(0) in bounded_array_ref() 81 : data_(data.unsafe_discard_bounds()), size_(static_cast<uint32_t>(n)) in bounded_array_ref() 97 …explicit constexpr bounded_array_ref(T* data, size_t n) : data_(data), size_(static_cast<uint32_t>… in bounded_array_ref() 110 …explicit constexpr bounded_array_ref(T* first, T* last) : data_(first), size_(static_cast<uint32_t… in bounded_array_ref() 125 …constexpr bounded_array_ref(bounded_array<T, N, TrappingPolicy>& data) : data_(data.data()), size_… in bounded_array_ref() 137 constexpr bounded_array_ref(T (&array)[N]) : data_(array), size_(static_cast<uint32_t>(N)) in bounded_array_ref() 184 return iterator(data_, data_, data_ + size_); in begin() 189 return iterator(data_ + size_, data_, data_ + size_); in end() 200 return size_; in size() 208 return size_; in length() [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | safe_allocation.h | 218 size_ = 0; 236 size_ = 0; 261 other.size_ = 0; 275 size_ = 0; 302 size_ = other.size_; 304 other.size_ = 0; 373 return iterator(data_ + size_, data_, data_ + size_); 382 return const_iterator(data_ + size_, data_, data_ + size_); 393 return size_; 440 sa_detail::generic_swap(a.size_, b.size_); [all …]
|
| H A D | bounded_array_ref.h | 70 explicit constexpr bounded_array_ref() noexcept : data_(nullptr), size_(0) in bounded_array_ref() 81 : data_(data.unsafe_discard_bounds()), size_(static_cast<uint32_t>(n)) in bounded_array_ref() 97 …explicit constexpr bounded_array_ref(T* data, size_t n) : data_(data), size_(static_cast<uint32_t>… in bounded_array_ref() 110 …explicit constexpr bounded_array_ref(T* first, T* last) : data_(first), size_(static_cast<uint32_t… in bounded_array_ref() 125 …constexpr bounded_array_ref(bounded_array<T, N, TrappingPolicy>& data) : data_(data.data()), size_… in bounded_array_ref() 137 constexpr bounded_array_ref(T (&array)[N]) : data_(array), size_(static_cast<uint32_t>(N)) in bounded_array_ref() 184 return iterator(data_, data_, data_ + size_); in begin() 189 return iterator(data_ + size_, data_, data_ + size_); in end() 200 return size_; in size() 208 return size_; in length() [all …]
|