Lines Matching defs:slice
191 /// slice(n, m) - Chop off the first N elements of the array, and keep M
193 ArrayRef<T> slice(size_t N, size_t M) const {
198 /// slice(n) - Chop off the first N elements of the array.
199 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
204 return slice(N, size() - N);
210 return slice(0, size() - N);
372 /// slice(n, m) - Chop off the first N elements of the array, and keep M
374 MutableArrayRef<T> slice(size_t N, size_t M) const {
379 /// slice(n) - Chop off the first N elements of the array.
380 MutableArrayRef<T> slice(size_t N) const {
381 return slice(N, this->size() - N);
387 return slice(N, this->size() - N);
392 return slice(0, this->size() - N);