Lines Matching refs:mData
123 constexpr TSpan(T *ptr, size_type size) : mData(ptr), mSize(size) {} in TSpan()
125 constexpr TSpan(const TSpan &that) : mData(that.mData), mSize(that.mSize) {} in TSpan()
128 mData = that.mData;
136 TSpan(const TVector<S> &vec) : mData(vec.data()), mSize(vec.size()) in TSpan()
141 mData = vec.data();
153 if (mData == that.mData)
160 if (mData[index] != that.mData[index])
170 constexpr T *data() const { return mData; } in data()
174 constexpr T &operator[](size_type index) const { return mData[index]; }
175 constexpr T &front() const { return mData[0]; } in front()
176 constexpr T &back() const { return mData[mSize - 1]; } in back()
178 constexpr T *begin() const { return mData; } in begin()
179 constexpr T *end() const { return mData + mSize; } in end()
193 return count == 0 ? TSpan() : TSpan(mData, count); in first()
198 return count == 0 ? TSpan() : TSpan(mData + mSize - count, count); in last()
203 return count == 0 ? TSpan() : TSpan(mData + offset, count); in subspan()
207 T *mData = nullptr;