Lines Matching refs:other
59 KPath::KPath(const KPath& other)
69 *this = other;
108 KPath::Adopt(KPath& other)
112 fBuffer = other.fBuffer;
113 fBufferSize = other.fBufferSize;
114 fPathLength = other.fPathLength;
115 fLazy = other.fLazy;
116 fFailed = other.fFailed;
117 fIsNull = other.fIsNull;
119 other.fBuffer = NULL;
120 if (!other.fLazy)
121 other.fBufferSize = 0;
122 other.fPathLength = 0;
123 other.fFailed = false;
124 other.fIsNull = other.fLazy;
370 KPath::operator=(const KPath& other)
372 if (other.fBuffer == fBuffer)
375 SetTo(other.fBuffer, fLazy ? KPath::LAZY_ALLOC : KPath::DEFAULT,
376 other.fBufferSize);
390 KPath::operator==(const KPath& other) const
393 return !other.fBuffer;
395 return other.fBuffer != NULL
396 && fPathLength == other.fPathLength
397 && strcmp(fBuffer, other.fBuffer) == 0;
412 KPath::operator!=(const KPath& other) const
414 return !(*this == other);