Home | History | Annotate | Download | only in i18n

Lines Matching refs:other

45 RegexPattern::RegexPattern(const RegexPattern &other) :  UObject(other) {
47 *this = other;
57 RegexPattern &RegexPattern::operator = (const RegexPattern &other) {
58 if (this == &other) {
70 fDeferredStatus = other.fDeferredStatus;
76 if (other.fPatternString == NULL) {
78 fPattern = utext_clone(fPattern, other.fPattern, FALSE, TRUE, &fDeferredStatus);
80 fPatternString = new UnicodeString(*(other.fPatternString));
91 fFlags = other.fFlags;
92 fLiteralText = other.fLiteralText;
93 fMinMatchLen = other.fMinMatchLen;
94 fFrameSize = other.fFrameSize;
95 fDataSize = other.fDataSize;
96 fStaticSets = other.fStaticSets;
97 fStaticSets8 = other.fStaticSets8;
99 fStartType = other.fStartType;
100 fInitialStringIdx = other.fInitialStringIdx;
101 fInitialStringLen = other.fInitialStringLen;
102 *fInitialChars = *other.fInitialChars;
103 fInitialChar = other.fInitialChar;
104 *fInitialChars8 = *other.fInitialChars8;
105 fNeedsAltInput = other.fNeedsAltInput;
108 fCompiledPat->assign(*other.fCompiledPat, fDeferredStatus);
109 fGroupMap->assign(*other.fGroupMap, fDeferredStatus);
116 int32_t numSets = other.fSets->size();
126 UnicodeSet *sourceSet = (UnicodeSet *)other.fSets->elementAt(i);
133 fSets8[i] = other.fSets8[i];
138 while (const UHashElement *hashEl = uhash_nextElement(other.fNamedCaptureMap, &hashPos)) {
279 UBool RegexPattern::operator ==(const RegexPattern &other) const {
280 if (this->fFlags == other.fFlags && this->fDeferredStatus == other.fDeferredStatus) {
281 if (this->fPatternString != NULL && other.fPatternString != NULL) {
282 return *(this->fPatternString) == *(other.fPatternString);
284 if (other.fPattern == NULL) {
287 } else if (other.fPattern != NULL) {
289 UTEXT_SETNATIVEINDEX(other.fPattern, 0);
290 return utext_equals(this->fPattern, other.fPattern);