Lines Matching refs:shape_
18 : shape_(shape), lbounds_(shape_.size(), 1) {} in ConstantBounds()
21 : shape_(std::move(shape)), lbounds_(shape_.size(), 1) {} in ConstantBounds()
26 CHECK(lb.size() == shape_.size()); in set_lbounds()
28 for (std::size_t j{0}; j < shape_.size(); ++j) { in set_lbounds()
29 if (shape_[j] == 0) { in set_lbounds()
39 return {lbounds_[*dim] + shape_[*dim] - 1}; in ComputeUbounds()
43 ubounds[i] = lbounds_[i] + shape_[i] - 1; in ComputeUbounds()
56 return AsConstantShape(shape_); in SHAPE()
61 CHECK(GetRank(index) == GetRank(shape_)); in SubscriptsToOffset()
66 auto extent{shape_[dim++]}; in SubscriptsToOffset()
80 int rank{GetRank(shape_)}; in IncrementSubscripts()
87 if (++indices[k] < lb + shape_[k]) { in IncrementSubscripts()
90 CHECK(indices[k] == lb + std::max<ConstantSubscript>(shape_[k], 1)); in IncrementSubscripts()