Lines Matching refs:bounds_
1257 bounds_type bounds_;
1321 : data_(data), bounds_(std::move(bounds))
1323 Expects((bounds_.size() > 0 && data != nullptr) || bounds_.size() == 0);
1417 : data_(other.data_), bounds_(other.bounds_)
1505 constexpr size_type size() const noexcept { return bounds_.size(); }
1528 return bounds_.template extent<Dim>();
1534 return bounds_.extent(dim);
1537 constexpr bounds_type bounds() const noexcept { return bounds_; }
1558 return data_[bounds_.linearize(idx)];
1566 Expects(idx >= 0 && idx < bounds_.size()); // index is out of bounds of the array
1567 const size_type ridx = idx * bounds_.stride();
1570 Expects(ridx < bounds_.total_size());
1571 return Ret{data_ + ridx, bounds_.slice()};
1608 return bounds_.size() == other.bounds_.size() &&
1835 bounds_type bounds_;
1845 : data_(ptr), bounds_(std::move(bounds))
1847 Expects((bounds_.size() > 0 && ptr != nullptr) || bounds_.size() == 0);
1873 : data_(other.data_), bounds_(other.bounds_)
1907 return data_[bounds_.linearize(idx)];
1914 Expects(idx < bounds_.size()); // index is out of bounds of the array
1915 const size_type ridx = idx * bounds_.stride();
1918 Expects(ridx < bounds_.total_size());
1919 return {data_ + ridx, bounds_.slice().total_size(), bounds_.slice()};
1922 constexpr bounds_type bounds() const noexcept { return bounds_; }
1929 return bounds_.template extent<Dim>();
1932 constexpr size_type size() const noexcept { return bounds_.size(); }
1967 return bounds_.size() == other.bounds_.size() &&