Lines Matching refs:other
74 constexpr StringView(const StringView& other) : in StringView() argument
75 mString(other.data()), mSize(other.size()) {} in StringView()
157 void set(const StringView& other) { in set() argument
158 mString = other.mString; in set()
159 mSize = other.mSize; in set()
163 int compare(const StringView& other) const;
165 StringView& operator=(const StringView& other) {
166 set(other);
172 size_t find(StringView other, size_t off = 0) {
174 if (!other.mSize) return 0;
183 other.mString, other.mString + other.mSize);
190 StringView getSubstr(StringView other, size_t off = 0) {
191 size_t loc = find(other, off);