Lines Matching refs:Size
156 size_t Size() const { in Size() function
162 return Size() > 0; in IsEmpty()
167 assert(offset < Size()); in GetToken()
179 if (Size() != other.Size()) {
188 assert(index >= 0 && static_cast<size_t>(index) < Size());
198 if (Size() < other.Size()) { in StartsWith()
202 auto& smaller = Size() < other.Size() ? *this : other; in StartsWith()
203 auto& greater = Size() < other.Size() ? other : *this; in StartsWith()
244 assert(offset < Size());
246 if (length != std::string::npos && offset + length > Size()) {
247 length = Size() - offset;