Lines Matching refs:other
16 * documentation and/or other materials provided with the distribution.
148 string::operator==(const string& other) const
150 return (length == other.length) &&
151 (memcmp(start, other.start, length) == 0);
155 string::operator==(const char *other) const
157 return strncmp(other, start, length) == 0;
161 string::operator<(const string& other) const
163 if (length < other.length) { return true; }
164 if (length > other.length) { return false; }
165 return memcmp(start, other.start, length) < 0;