Lines Matching refs:bounds_
1204 bounds_type bounds_;
1258 bounds_(std::move(bounds))
1260 Expects((bounds_.size() > 0 && data != nullptr) || bounds_.size() == 0);
1355 bounds_(other.bounds_)
1448 constexpr size_type size() const noexcept { return bounds_.size(); }
1468 return bounds_.template extent<Dim>();
1474 return bounds_.extent(dim);
1477 constexpr bounds_type bounds() const noexcept { return bounds_; }
1497 return data_[bounds_.linearize(idx)];
1503 Expects(idx >= 0 && idx < bounds_.size()); // index is out of bounds of the array
1504 const size_type ridx = idx * bounds_.stride();
1507 Expects(ridx < bounds_.total_size());
1508 return Ret{data_ + ridx, bounds_.slice()};
1545 return bounds_.size() == other.bounds_.size() &&
1775 bounds_type bounds_;
1785 : data_(ptr), bounds_(std::move(bounds))
1787 Expects((bounds_.size() > 0 && ptr != nullptr) || bounds_.size() == 0);
1814 : data_(other.data_), bounds_(other.bounds_)
1845 return data_[bounds_.linearize(idx)];
1851 Expects(idx < bounds_.size()); // index is out of bounds of the array
1852 const size_type ridx = idx * bounds_.stride();
1855 Expects(ridx < bounds_.total_size());
1856 return {data_ + ridx, bounds_.slice().total_size(), bounds_.slice()};
1859 constexpr bounds_type bounds() const noexcept { return bounds_; }
1866 return bounds_.template extent<Dim>();
1869 constexpr size_type size() const noexcept { return bounds_.size(); }
1902 return bounds_.size() == other.bounds_.size() &&