Home
last modified time | relevance | path

Searched refs:bmpSet (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Duniset.cpp212 delete bmpSet; in ~UnicodeSet()
245 if (o.bmpSet != nullptr && !asThawed) { in copyFrom()
246 bmpSet = new BMPSet(*o.bmpSet, list, len); in copyFrom()
247 if (bmpSet == NULL) { // Check for memory allocation error. in copyFrom()
366 if (bmpSet != NULL) { in contains()
367 return bmpSet->contains(c); in contains()
2197 bmpSet=new BMPSet(list, len); in freeze()
2198 if (bmpSet == NULL) { // Check for memory allocation error. in freeze()
2207 if(length>0 && bmpSet!=NULL) { in span()
2208 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); in span()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSet.java353 private volatile BMPSet bmpSet; // The set is frozen if bmpSet or stringSpan is not null. field in UnicodeSet
1672 if (bmpSet != null) { in contains()
1673 return bmpSet.contains(c); in contains()
3968 return (bmpSet != null || stringSpan != null); in isFrozen()
3992 bmpSet = new BMPSet(list, len); in freeze()
4026 if (bmpSet != null) { in span()
4028 return bmpSet.span(s, start, spanCondition, null); in span()
4068 } else if (bmpSet != null) { in spanAndCount()
4069 return bmpSet.span(s, start, spanCondition, outCount); in spanAndCount()
4130 if (bmpSet != null) { in spanBack()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java357 private volatile BMPSet bmpSet; // The set is frozen if bmpSet or stringSpan is not null. field in UnicodeSet
1722 if (bmpSet != null) { in contains()
1723 return bmpSet.contains(c); in contains()
4057 return (bmpSet != null || stringSpan != null); in isFrozen()
4082 bmpSet = new BMPSet(list, len); in freeze()
4118 if (bmpSet != null) { in span()
4120 return bmpSet.span(s, start, spanCondition, null); in span()
4159 } else if (bmpSet != null) { in spanAndCount()
4160 return bmpSet.span(s, start, spanCondition, outCount); in spanAndCount()
4223 if (bmpSet != null) { in spanBack()
[all …]
/external/icu/icu4c/source/common/unicode/
Duniset.h292 BMPSet *bmpSet = nullptr; // The set is frozen iff either bmpSet or stringSpan is not NULL. variable
1682 return (UBool)(bmpSet!=NULL || stringSpan!=NULL); in isFrozen()