Home
last modified time | relevance | path

Searched refs:UCOL_TERTIARY (Results 1 – 25 of 34) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dusrchdat.c47 …{"xxxxxxxxxxxxxxxxxxxx", "fisher", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL,…
48 …{"silly spring string", "string", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL, …
50 …{"silly spring string string", "string", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON,…
52 …{"silly string spring string", "string", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON,…
54 …{"string spring string", "string", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL,…
56 …{"Scott Ganyo", "c", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL, {1, -1}, {1}},
57 …{"Scott Ganyo", " ", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL, {5, -1}, {1}},
58 …{"\\u0300\\u0325", "\\u0300", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL, {-1}…
59 …{"a\\u0300\\u0325", "\\u0300", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NULL, {-1…
62 …{"a\\u0300\\u0325", "\\u0300\\u0325", NULL, UCOL_TERTIARY, USEARCH_STANDARD_ELEMENT_COMPARISON, NU…
[all …]
Dcmsccoll.c220 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in BlackBirdTest()
272 ucol_setStrength(myCollation, UCOL_TERTIARY); in FunkyATest()
300 UCOL_TERTIARY,
694 UCollator *coll = ucol_openRules(rulez, 0, UCOL_OFF, UCOL_TERTIARY,NULL, &status); in TestEmptyRule()
721 UCAfromRules = ucol_openRules(rules, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestUCARules()
871 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestCase()
885 myCollation = ucol_openRules(gRules, u_strlen(gRules), UCOL_OFF, UCOL_TERTIARY,NULL, &status); in TestCase()
891 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestCase()
1013 ucol_setStrength(coll, UCOL_TERTIARY); /* Do test with default strength, which runs*/ in TestIncrementalNormalize()
1029 ucol_setStrength(coll, UCOL_TERTIARY); in TestIncrementalNormalize()
[all …]
Dcjaptst.c128 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
196 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestSmallLarge()
Dcfintst.c88 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
Dcturtst.c105 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
Dcestst.c98 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
Dusrchtst.c74 DE_ = ucol_openRules(rules, u_strlen(rules), UCOL_ON, UCOL_TERTIARY, in open()
80 ES_ = ucol_openRules(rules, u_strlen(rules), UCOL_ON, UCOL_TERTIARY, in open()
566 ucol_setStrength(collator, UCOL_TERTIARY); in assertEqual()
570 ucol_setStrength(collator, UCOL_TERTIARY); in assertEqual()
601 ucol_setStrength(collator, UCOL_TERTIARY); in assertCanonicalEqual()
609 ucol_setStrength(collator, UCOL_TERTIARY); in assertCanonicalEqual()
641 ucol_setStrength(collator, UCOL_TERTIARY); in assertEqualWithAttribute()
645 ucol_setStrength(collator, UCOL_TERTIARY); in assertEqualWithAttribute()
794 ucol_setStrength(collator, UCOL_TERTIARY); in TestBreakIterator()
1112 ucol_setStrength(EN_US_, UCOL_TERTIARY); in TestPattern()
[all …]
Dcdetst.c114 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
Dcapitst.c109 …{UCOL_STRENGTH, {UCOL_PRIMARY, UCOL_SECONDARY, UCOL_TERTIARY, UCOL_QUATERNARY, UCOL_IDENTI… in TestGetSetAttr()
350 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty()
355 …doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary diff… in TestProperty()
420 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty()
424 ucol_setStrength(col, UCOL_TERTIARY); in TestProperty()
425 …doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object's strength is not tertiary d… in TestProperty()
673 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err); in TestSafeClone()
799 ucol_setStrength(someClonedCollators[idx], UCOL_TERTIARY); in TestSafeClone()
1190 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKey()
1734 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKeyBufferOverrun()
[all …]
Dcfrtst.c212 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestExtra()
Dcallcoll.c754 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
854 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestExtra()
1126 UCOL_TERTIARY,NULL, &status); in TestSurrogates()
Dencoll.c278 ucol_setStrength(myCollation, UCOL_TERTIARY); in TestTertiary()
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp320 U_ASSERT(UCOL_PRIMARY <= strength && strength <= UCOL_TERTIARY); in addReset()
369 if(strength >= UCOL_TERTIARY) { in addReset()
370 index = findCommonNode(index, UCOL_TERTIARY); in addReset()
444 if(strengthFromNode(node) == UCOL_TERTIARY) { in getWeight16Before()
499 int32_t index = findOrInsertNodeForRootCE(0, UCOL_TERTIARY, errorCode); in getSpecialResetPosition()
504 U_ASSERT(strengthFromNode(node) <= UCOL_TERTIARY); in getSpecialResetPosition()
505 if(isTailoredNode(node) && strengthFromNode(node) == UCOL_TERTIARY) { in getSpecialResetPosition()
506 return tempCEFromIndexAndStrength(index, UCOL_TERTIARY); in getSpecialResetPosition()
514 strength = UCOL_TERTIARY; in getSpecialResetPosition()
810 if(strength >= UCOL_TERTIARY) { in findOrInsertNodeForRootCE()
[all …]
Dcollationcompare.cpp302 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
Dcollationsettings.cpp276 case UCOL_TERTIARY: in setStrength()
Dcollationruleparser.cpp225 strength = UCOL_TERTIARY; in parseRelationOperator()
242 strength = UCOL_TERTIARY; in parseRelationOperator()
Dcollationfastlatin.cpp399 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16()
750 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp250 case UCOL_TERTIARY : in getECollationStrength()
498 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqual()
509 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqual()
516 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqual()
565 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertCanonicalEqual()
613 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqualWithAttribute()
617 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqualWithAttribute()
933 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in TestBreakIterator()
1130 m_en_us_->setStrength(getECollationStrength(UCOL_TERTIARY)); in TestPattern()
1140 m_en_us_->setStrength(getECollationStrength(UCOL_TERTIARY)); in TestPattern()
[all …]
Ducaconf.cpp96 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_TERTIARY, status); in setCollNonIgnorable()
Dssearch.cpp164 if (strength==NULL) { collatorStrength = UCOL_TERTIARY;} in searchTest()
167 else if (*strength=="TERTIARY") { collatorStrength = UCOL_TERTIARY;} in searchTest()
1398 UCollationStrength strengths[] = {UCOL_PRIMARY, UCOL_SECONDARY, UCOL_TERTIARY}; in monkeyTest()
Dapicoll.cpp985 col->setAttribute(UCOL_STRENGTH, UCOL_TERTIARY, success); in TestCompare()
1493 coll->setAttribute(UCOL_STRENGTH, UCOL_TERTIARY, error); in TestAttribute()
1494 if (coll->getAttribute(UCOL_STRENGTH, error) != UCOL_TERTIARY || in TestAttribute()
2258 TestCollator col3(UCOL_TERTIARY, UNORM_NONE); in TestSubclass()
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp170 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, in processCollator()
219 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_TERTIARY, &status); in processCollator()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp160 collator = ucol_openRules(rules, -1, UCOL_OFF, UCOL_TERTIARY, in processCollator()
209 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_TERTIARY, &status); in processCollator()
/external/icu/icu4c/source/i18n/unicode/
Ducol.h98 UCOL_TERTIARY = 2, enumerator
100 UCOL_DEFAULT_STRENGTH = UCOL_TERTIARY,
Dcoll.h199 TERTIARY = UCOL_TERTIARY, // 2

12