Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Duniset.cpp217 delete stringSpan; in ~UnicodeSet()
262 if (o.stringSpan != nullptr && !asThawed) { in copyFrom()
263 stringSpan = new UnicodeSetStringSpan(*o.stringSpan, *strings); in copyFrom()
264 if (stringSpan == NULL) { // Check for memory allocation error. in copyFrom()
369 if (stringSpan != NULL) { in contains()
370 return stringSpan->contains(c); in contains()
2181 stringSpan = new UnicodeSetStringSpan(*this, *strings, UnicodeSetStringSpan::ALL); in freeze()
2182 if (stringSpan == nullptr) { in freeze()
2185 } else if (!stringSpan->needsStringSpanUTF16()) { in freeze()
2191 delete stringSpan; in freeze()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSet.java354 private volatile UnicodeSetStringSpan stringSpan; field in UnicodeSet
1675 if (stringSpan != null) { in contains()
1676 return stringSpan.contains(c); in contains()
3968 return (bmpSet != null || stringSpan != null); in isFrozen()
3983stringSpan = new UnicodeSetStringSpan(this, new ArrayList<>(strings), UnicodeSetStringSpan.ALL); in freeze()
3985 if (stringSpan == null || !stringSpan.needsStringSpanUTF16()) { in freeze()
4030 if (stringSpan != null) { in span()
4031 return stringSpan.span(s, start, spanCondition); in span()
4064 if (stringSpan != null) { in spanAndCount()
4067 return stringSpan.spanAndCount(s, start, spanCondition, outCount); in spanAndCount()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java358 private volatile UnicodeSetStringSpan stringSpan; field in UnicodeSet
1725 if (stringSpan != null) { in contains()
1726 return stringSpan.contains(c); in contains()
4057 return (bmpSet != null || stringSpan != null); in isFrozen()
4073stringSpan = new UnicodeSetStringSpan(this, new ArrayList<>(strings), UnicodeSetStringSpan.ALL); in freeze()
4075 if (stringSpan == null || !stringSpan.needsStringSpanUTF16()) { in freeze()
4122 if (stringSpan != null) { in span()
4123 return stringSpan.span(s, start, spanCondition); in span()
4155 if (stringSpan != null) { in spanAndCount()
4158 return stringSpan.spanAndCount(s, start, spanCondition, outCount); in spanAndCount()
[all …]
/external/icu/icu4c/source/common/unicode/
Duniset.h309 UnicodeSetStringSpan *stringSpan = nullptr; variable
1682 return (UBool)(bmpSet!=NULL || stringSpan!=NULL); in isFrozen()