/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/text/ |
D | RbnfScannerProviderImpl.java | 17 import ohos.global.icu.text.CollationElementIterator; 134 CollationElementIterator iter = collator.getCollationElementIterator(s); in allIgnorable() 137 while (o != CollationElementIterator.NULLORDER in allIgnorable() 138 && CollationElementIterator.primaryOrder(o) == 0) { in allIgnorable() 141 return o == CollationElementIterator.NULLORDER; in allIgnorable() 174 CollationElementIterator strIter = collator.getCollationElementIterator(str); in findText2() 175 CollationElementIterator keyIter = collator.getCollationElementIterator(key); in findText2() 183 while (oKey != CollationElementIterator.NULLORDER) { in findText2() 184 while (oStr != CollationElementIterator.NULLORDER && in findText2() 185 CollationElementIterator.primaryOrder(oStr) == 0) { in findText2() [all …]
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/ |
D | RbnfScannerProviderImpl.java | 16 import com.ibm.icu.text.CollationElementIterator; 132 CollationElementIterator iter = collator.getCollationElementIterator(s); in allIgnorable() 135 while (o != CollationElementIterator.NULLORDER in allIgnorable() 136 && CollationElementIterator.primaryOrder(o) == 0) { in allIgnorable() 139 return o == CollationElementIterator.NULLORDER; in allIgnorable() 172 CollationElementIterator strIter = collator.getCollationElementIterator(str); in findText2() 173 CollationElementIterator keyIter = collator.getCollationElementIterator(key); in findText2() 181 while (oKey != CollationElementIterator.NULLORDER) { in findText2() 182 while (oStr != CollationElementIterator.NULLORDER && in findText2() 183 CollationElementIterator.primaryOrder(oStr) == 0) { in findText2() [all …]
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | coleitr.h | 121 class U_I18N_API CollationElementIterator final : public UObject { 142 CollationElementIterator(const CollationElementIterator& other); 148 virtual ~CollationElementIterator(); 159 bool operator==(const CollationElementIterator& other) const; 168 bool operator!=(const CollationElementIterator& other) const; 293 static inline CollationElementIterator *fromUCollationElements(UCollationElements *uc) { in fromUCollationElements() 294 return reinterpret_cast<CollationElementIterator *>(uc); in fromUCollationElements() 297 …static inline const CollationElementIterator *fromUCollationElements(const UCollationElements *uc)… in fromUCollationElements() 298 return reinterpret_cast<const CollationElementIterator *>(uc); in fromUCollationElements() 323 CollationElementIterator(const UnicodeString& sourceText, [all …]
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | coleitr.h | 121 class U_I18N_API CollationElementIterator U_FINAL : public UObject { 142 CollationElementIterator(const CollationElementIterator& other); 148 virtual ~CollationElementIterator(); 159 bool operator==(const CollationElementIterator& other) const; 168 bool operator!=(const CollationElementIterator& other) const; 293 static inline CollationElementIterator *fromUCollationElements(UCollationElements *uc) { in fromUCollationElements() 294 return reinterpret_cast<CollationElementIterator *>(uc); in fromUCollationElements() 297 …static inline const CollationElementIterator *fromUCollationElements(const UCollationElements *uc)… in fromUCollationElements() 298 return reinterpret_cast<const CollationElementIterator *>(uc); in fromUCollationElements() 323 CollationElementIterator(const UnicodeString& sourceText, [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | coleitr.h | 121 class U_I18N_API CollationElementIterator U_FINAL : public UObject { 142 CollationElementIterator(const CollationElementIterator& other); 148 virtual ~CollationElementIterator(); 159 UBool operator==(const CollationElementIterator& other) const; 168 UBool operator!=(const CollationElementIterator& other) const; 293 static inline CollationElementIterator *fromUCollationElements(UCollationElements *uc) { in fromUCollationElements() 294 return reinterpret_cast<CollationElementIterator *>(uc); in fromUCollationElements() 297 …static inline const CollationElementIterator *fromUCollationElements(const UCollationElements *uc)… in fromUCollationElements() 298 return reinterpret_cast<const CollationElementIterator *>(uc); in fromUCollationElements() 323 CollationElementIterator(const UnicodeString& sourceText, [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | coleitr.cpp | 51 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationElementIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 55 CollationElementIterator::CollationElementIterator( in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 56 const CollationElementIterator& other) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 61 CollationElementIterator::~CollationElementIterator() in ~CollationElementIterator() 83 int32_t CollationElementIterator::getOffset() const in getOffset() 104 int32_t CollationElementIterator::next(UErrorCode& status) in next() 140 bool CollationElementIterator::operator!=( in operator !=() 141 const CollationElementIterator& other) const in operator !=() 146 bool CollationElementIterator::operator==( in operator ==() 147 const CollationElementIterator& that) const in operator ==() [all …]
|
D | ucoleitr.cpp | 190 UCollationPCE::UCollationPCE(CollationElementIterator *iter) { init(iter); } in UCollationPCE() 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 196 void UCollationPCE::init(CollationElementIterator *iter) in init() 293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements() 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 376 return CollationElementIterator::fromUCollationElements(elems)->previous(*status); in ucol_previous() 466 return CollationElementIterator::fromUCollationElements(elems)->getMaxExpansion(order); in ucol_getMaxExpansion() 492 return CollationElementIterator::fromUCollationElements(elems)->setText(s, *status); in ucol_setText() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | coleitr.cpp | 51 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationElementIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 55 CollationElementIterator::CollationElementIterator( in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 56 const CollationElementIterator& other) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 61 CollationElementIterator::~CollationElementIterator() in ~CollationElementIterator() 83 int32_t CollationElementIterator::getOffset() const in getOffset() 104 int32_t CollationElementIterator::next(UErrorCode& status) in next() 140 bool CollationElementIterator::operator!=( in operator !=() 141 const CollationElementIterator& other) const in operator !=() 146 bool CollationElementIterator::operator==( in operator ==() 147 const CollationElementIterator& that) const in operator ==() [all …]
|
D | ucoleitr.cpp | 190 UCollationPCE::UCollationPCE(CollationElementIterator *iter) { init(iter); } in UCollationPCE() 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 196 void UCollationPCE::init(CollationElementIterator *iter) in init() 293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements() 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 376 return CollationElementIterator::fromUCollationElements(elems)->previous(*status); in ucol_previous() 466 return CollationElementIterator::fromUCollationElements(elems)->getMaxExpansion(order); in ucol_getMaxExpansion() 492 return CollationElementIterator::fromUCollationElements(elems)->setText(s, *status); in ucol_setText() [all …]
|
D | usrchimp.h | 53 class CollationElementIterator; variable 82 CollationElementIterator *cei; 90 UCollationPCE(CollationElementIterator *iter); 94 void init(CollationElementIterator *iter);
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | coleitr.cpp | 51 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationElementIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 55 CollationElementIterator::CollationElementIterator( in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 56 const CollationElementIterator& other) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 61 CollationElementIterator::~CollationElementIterator() in ~CollationElementIterator() 83 int32_t CollationElementIterator::getOffset() const in getOffset() 104 int32_t CollationElementIterator::next(UErrorCode& status) in next() 140 UBool CollationElementIterator::operator!=( in operator !=() 141 const CollationElementIterator& other) const in operator !=() 146 UBool CollationElementIterator::operator==( in operator ==() 147 const CollationElementIterator& that) const in operator ==() [all …]
|
D | ucoleitr.cpp | 190 UCollationPCE::UCollationPCE(CollationElementIterator *iter) { init(iter); } in UCollationPCE() 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 196 void UCollationPCE::init(CollationElementIterator *iter) in init() 293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements() 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 376 return CollationElementIterator::fromUCollationElements(elems)->previous(*status); in ucol_previous() 466 return CollationElementIterator::fromUCollationElements(elems)->getMaxExpansion(order); in ucol_getMaxExpansion() 492 return CollationElementIterator::fromUCollationElements(elems)->setText(s, *status); in ucol_setText() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | itercoll.cpp | 50 CollationElementIterator *iter; in TestUnicodeChar() 87 CollationElementIterator *iter = en_us->createCollationElementIterator(test1); in TestPrevious() 175 CollationElementIterator *iter = en_us->createCollationElementIterator(test1); in TestOffset() 179 if (U_FAILURE(status) || iter->previous(status) != CollationElementIterator::NULLORDER) { in TestOffset() 184 if (U_FAILURE(status) || iter->next(status) != CollationElementIterator::NULLORDER) { in TestOffset() 204 CollationElementIterator *pristine = en_us->createCollationElementIterator(test1); in TestOffset() 284 CollationElementIterator *iter1 = en_us->createCollationElementIterator(test1); in TestSetText() 285 CollationElementIterator *iter2 = en_us->createCollationElementIterator(test2); in TestSetText() 292 while ( ++i < 10 && c != CollationElementIterator::NULLORDER) in TestSetText() 332 || iter1->next(status) != (int32_t)CollationElementIterator::NULLORDER) { in TestSetText() [all …]
|
D | regcoll.cpp | 50 CollationElementIterator *i1 = en_us->createCollationElementIterator(test1); in Test4048446() 51 CollationElementIterator *i2 = en_us->createCollationElementIterator(test1); in Test4048446() 62 while (i1->next(status) != CollationElementIterator::NULLORDER) in Test4048446() 151 CollationElementIterator *i1 = c->createCollationElementIterator(test3); in Test4054238() 430 CollationElementIterator *i1 = c1->createCollationElementIterator(test1); in Test4066189() 434 CollationElementIterator *i2 = c2->createCollationElementIterator(test2); in Test4066189() 723 CollationElementIterator *i = c->createCollationElementIterator(nothing); in Test4101940() 726 if (i->next(status) != CollationElementIterator::NULLORDER) in Test4101940() 995 CollationElementIterator *iter = coll.createCollationElementIterator(testText); in Test4179216() 999 int32_t elt4 = CollationElementIterator::primaryOrder(iter->next(errorCode)); in Test4179216() [all …]
|
D | itercoll.h | 109 UnicodeString &orderString(CollationElementIterator &iter, UnicodeString &target); 111 void assertEqual(CollationElementIterator &i1, CollationElementIterator &i2);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 29 import ohos.global.icu.text.CollationElementIterator; 57 CollationElementIterator i = c.getCollationElementIterator(source); in TestClearBuffers() 116 CollationElementIterator iter = coll.getCollationElementIterator(str); in TestMaxExpansion() 130 while (iter.previous() != CollationElementIterator.NULLORDER) { in TestMaxExpansion() 226 CollationElementIterator iter = en_us.getCollationElementIterator(test1); in TestOffset() 229 if (iter.previous() != CollationElementIterator.NULLORDER) { in TestOffset() 234 if (iter.next() != CollationElementIterator.NULLORDER) { in TestOffset() 252 CollationElementIterator pristine = en_us.getCollationElementIterator(test1); in TestOffset() 309 void assertEqual(CollationElementIterator i1, CollationElementIterator i2) { in assertEqual() 320 } while (c1 != CollationElementIterator.NULLORDER); in assertEqual() [all …]
|
D | CollationRegressionTest.java | 28 import ohos.global.icu.text.CollationElementIterator; 46 CollationElementIterator i1 = en_us.getCollationElementIterator(test1); in Test4048446() 47 CollationElementIterator i2 = en_us.getCollationElementIterator(test1); in Test4048446() 54 while (i1.next() != CollationElementIterator.NULLORDER) { in Test4048446() 62 void assertEqual(CollationElementIterator i1, CollationElementIterator i2) { in assertEqual() 81 } while (c1 != CollationElementIterator.NULLORDER); in assertEqual() 144 CollationElementIterator i1 = c.getCollationElementIterator(test3); in Test4054238() 435 CollationElementIterator i1 = c1.getCollationElementIterator(test1); in Test4066189() 439 CollationElementIterator i2 = c2.getCollationElementIterator(test2); in Test4066189() 639 CollationElementIterator i = c.getCollationElementIterator(nothing); in Test4101940() [all …]
|
D | CollationAPITest.java | 33 import ohos.global.icu.text.CollationElementIterator; 295 …CollationElementIterator iterator1 = ((RuleBasedCollator)col).getCollationElementIterator(testStri… in TestElemIter() 299 …CollationElementIterator iterator2 = ((RuleBasedCollator)col).getCollationElementIterator(chariter… in TestElemIter() 301 …CollationElementIterator iterator3 = ((RuleBasedCollator)col).getCollationElementIterator(ucharite… in TestElemIter() 331 doAssert((CollationElementIterator.primaryOrder(order1) == in TestElemIter() 332 … CollationElementIterator.primaryOrder(order3)), "The primary orders should be the same"); in TestElemIter() 333 doAssert((CollationElementIterator.secondaryOrder(order1) == in TestElemIter() 334 … CollationElementIterator.secondaryOrder(order3)), "The secondary orders should be the same"); in TestElemIter() 335 doAssert((CollationElementIterator.tertiaryOrder(order1) == in TestElemIter() 336 … CollationElementIterator.tertiaryOrder(order3)), "The tertiary orders should be the same"); in TestElemIter() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 28 import com.ibm.icu.text.CollationElementIterator; 54 CollationElementIterator i = c.getCollationElementIterator(source); in TestClearBuffers() 113 CollationElementIterator iter = coll.getCollationElementIterator(str); in TestMaxExpansion() 127 while (iter.previous() != CollationElementIterator.NULLORDER) { in TestMaxExpansion() 223 CollationElementIterator iter = en_us.getCollationElementIterator(test1); in TestOffset() 226 if (iter.previous() != CollationElementIterator.NULLORDER) { in TestOffset() 231 if (iter.next() != CollationElementIterator.NULLORDER) { in TestOffset() 249 CollationElementIterator pristine = en_us.getCollationElementIterator(test1); in TestOffset() 306 void assertEqual(CollationElementIterator i1, CollationElementIterator i2) { in assertEqual() 317 } while (c1 != CollationElementIterator.NULLORDER); in assertEqual() [all …]
|
D | CollationRegressionTest.java | 27 import com.ibm.icu.text.CollationElementIterator; 43 CollationElementIterator i1 = en_us.getCollationElementIterator(test1); in Test4048446() 44 CollationElementIterator i2 = en_us.getCollationElementIterator(test1); in Test4048446() 51 while (i1.next() != CollationElementIterator.NULLORDER) { in Test4048446() 59 void assertEqual(CollationElementIterator i1, CollationElementIterator i2) { in assertEqual() 78 } while (c1 != CollationElementIterator.NULLORDER); in assertEqual() 141 CollationElementIterator i1 = c.getCollationElementIterator(test3); in Test4054238() 432 CollationElementIterator i1 = c1.getCollationElementIterator(test1); in Test4066189() 436 CollationElementIterator i2 = c2.getCollationElementIterator(test2); in Test4066189() 636 CollationElementIterator i = c.getCollationElementIterator(nothing); in Test4101940() [all …]
|
D | CollationAPITest.java | 32 import com.ibm.icu.text.CollationElementIterator; 292 …CollationElementIterator iterator1 = ((RuleBasedCollator)col).getCollationElementIterator(testStri… in TestElemIter() 296 …CollationElementIterator iterator2 = ((RuleBasedCollator)col).getCollationElementIterator(chariter… in TestElemIter() 298 …CollationElementIterator iterator3 = ((RuleBasedCollator)col).getCollationElementIterator(ucharite… in TestElemIter() 328 doAssert((CollationElementIterator.primaryOrder(order1) == in TestElemIter() 329 … CollationElementIterator.primaryOrder(order3)), "The primary orders should be the same"); in TestElemIter() 330 doAssert((CollationElementIterator.secondaryOrder(order1) == in TestElemIter() 331 … CollationElementIterator.secondaryOrder(order3)), "The secondary orders should be the same"); in TestElemIter() 332 doAssert((CollationElementIterator.tertiaryOrder(order1) == in TestElemIter() 333 … CollationElementIterator.tertiaryOrder(order3)), "The tertiary orders should be the same"); in TestElemIter() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | StringSearch.java | 140 private CollationElementIterator textIter_; 145 private CollationElementIterator utilIter_; 201 textIter_ = new CollationElementIterator(target, collator); in StringSearch() 322 textIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 323 utilIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 621 sourcece = CollationElementIterator.IGNORABLE; in getCE() 624 … } else if (strength_ >= Collator.QUATERNARY && sourcece == CollationElementIterator.IGNORABLE) { in getCE() 692 CollationElementIterator coleiter = utilIter_; in initializePatternCETable() 695 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternCETable() 705 while ((ce = coleiter.next()) != CollationElementIterator.NULLORDER) { in initializePatternCETable() [all …]
|
D | CollationElementIterator.java | 108 public final class CollationElementIterator class 192 private CollationElementIterator(RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 210 CollationElementIterator(String source, RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 233 CollationElementIterator(CharacterIterator source, RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 248 CollationElementIterator(UCharacterIterator source, RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 662 if (that instanceof CollationElementIterator) { in equals() 663 CollationElementIterator thatceiter = (CollationElementIterator) that; in equals()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | StringSearch.java | 140 private CollationElementIterator textIter_; 145 private CollationElementIterator utilIter_; 202 textIter_ = new CollationElementIterator(target, collator); in StringSearch() 329 textIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 330 utilIter_ = new CollationElementIterator(pattern_.text_, collator); in setCollator() 638 sourcece = CollationElementIterator.IGNORABLE; in getCE() 641 … } else if (strength_ >= Collator.QUATERNARY && sourcece == CollationElementIterator.IGNORABLE) { in getCE() 709 CollationElementIterator coleiter = utilIter_; in initializePatternCETable() 712 coleiter = new CollationElementIterator(pattern_.text_, collator_); in initializePatternCETable() 722 while ((ce = coleiter.next()) != CollationElementIterator.NULLORDER) { in initializePatternCETable() [all …]
|
D | CollationElementIterator.java | 108 public final class CollationElementIterator class 197 private CollationElementIterator(RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 216 CollationElementIterator(String source, RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 240 CollationElementIterator(CharacterIterator source, RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 256 CollationElementIterator(UCharacterIterator source, RuleBasedCollator collator) { in CollationElementIterator() method in CollationElementIterator 681 if (that instanceof CollationElementIterator) { in equals() 682 CollationElementIterator thatceiter = (CollationElementIterator) that; in equals()
|