Lines Matching refs:other

44 RegexPattern::RegexPattern(const RegexPattern &other) :  UObject(other) {
46 *this = other;
56 RegexPattern &RegexPattern::operator = (const RegexPattern &other) {
57 if (this == &other) {
69 if ( other.fPatternString == NULL ) {
71 fPattern = utext_clone(fPattern, other.fPattern, FALSE, TRUE, &fDeferredStatus);
73 fPatternString = new UnicodeString(*(other.fPatternString));
81 fFlags = other.fFlags;
82 fLiteralText = other.fLiteralText;
83 fDeferredStatus = other.fDeferredStatus;
84 fMinMatchLen = other.fMinMatchLen;
85 fFrameSize = other.fFrameSize;
86 fDataSize = other.fDataSize;
87 fMaxCaptureDigits = other.fMaxCaptureDigits;
88 fStaticSets = other.fStaticSets;
89 fStaticSets8 = other.fStaticSets8;
91 fStartType = other.fStartType;
92 fInitialStringIdx = other.fInitialStringIdx;
93 fInitialStringLen = other.fInitialStringLen;
94 *fInitialChars = *other.fInitialChars;
95 fInitialChar = other.fInitialChar;
96 *fInitialChars8 = *other.fInitialChars8;
97 fNeedsAltInput = other.fNeedsAltInput;
100 fCompiledPat->assign(*other.fCompiledPat, fDeferredStatus);
101 fGroupMap->assign(*other.fGroupMap, fDeferredStatus);
108 int32_t numSets = other.fSets->size();
118 UnicodeSet *sourceSet = (UnicodeSet *)other.fSets->elementAt(i);
125 fSets8[i] = other.fSets8[i];
247 UBool RegexPattern::operator ==(const RegexPattern &other) const {
248 if (this->fFlags == other.fFlags && this->fDeferredStatus == other.fDeferredStatus) {
249 if (this->fPatternString != NULL && other.fPatternString != NULL) {
250 return *(this->fPatternString) == *(other.fPatternString);
252 if (other.fPattern == NULL) {
255 } else if (other.fPattern != NULL) {
257 UTEXT_SETNATIVEINDEX(other.fPattern, 0);
258 return utext_equals(this->fPattern, other.fPattern);