Home
last modified time | relevance | path

Searched refs:rbc (Results 1 – 25 of 30) sorted by relevance

12

/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java252 RuleBasedCollator rbc = (RuleBasedCollator)coll; in TestMinMax() local
257 ces = rbc.internalGetCEs(s); in TestMinMax()
982 RuleBasedCollator rbc = (RuleBasedCollator) coll; in TestTailoredElements() local
996 ces = rbc.internalGetCEs(s); in TestTailoredElements()
1203 RuleBasedCollator rbc = (RuleBasedCollator)coll;
1206 if (rbc != null) rbc.setFrenchCollation(true);
1208 if (rbc != null) rbc.setFrenchCollation(false);
1210 if (rbc != null) rbc.setFrenchCollationDefault();
1216 if (rbc != null) rbc.setAlternateHandlingShifted(false);
1218 if (rbc != null) rbc.setAlternateHandlingShifted(true);
[all …]
DCollationRegressionTest.java487 RuleBasedCollator rbc = null; in Test4078588() local
489 rbc = new RuleBasedCollator("&9 < a < bb"); in Test4078588()
495 int result = rbc.compare("a","bb"); in Test4078588()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationTest.java255 RuleBasedCollator rbc = (RuleBasedCollator)coll; in TestMinMax() local
260 ces = rbc.internalGetCEs(s); in TestMinMax()
985 RuleBasedCollator rbc = (RuleBasedCollator) coll; in TestTailoredElements() local
999 ces = rbc.internalGetCEs(s); in TestTailoredElements()
1206 RuleBasedCollator rbc = (RuleBasedCollator)coll;
1209 if (rbc != null) rbc.setFrenchCollation(true);
1211 if (rbc != null) rbc.setFrenchCollation(false);
1213 if (rbc != null) rbc.setFrenchCollationDefault();
1219 if (rbc != null) rbc.setAlternateHandlingShifted(false);
1221 if (rbc != null) rbc.setAlternateHandlingShifted(true);
[all …]
DCollationRegressionTest.java490 RuleBasedCollator rbc = null; in Test4078588() local
492 rbc = new RuleBasedCollator("&9 < a < bb"); in Test4078588()
498 int result = rbc.compare("a","bb"); in Test4078588()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java687 … private static void setAttributesFromKeywords(ULocale loc, Collator coll, RuleBasedCollator rbc) { in setAttributesFromKeywords() argument
708 if (rbc != null) { in setAttributesFromKeywords()
709 rbc.setFrenchCollation(getYesOrNo("colBackwards", value)); in setAttributesFromKeywords()
717 if (rbc != null) { in setAttributesFromKeywords()
718 rbc.setCaseLevel(getYesOrNo("colCaseLevel", value)); in setAttributesFromKeywords()
726 if (rbc != null) { in setAttributesFromKeywords()
729 rbc.setLowerCaseFirst(false); in setAttributesFromKeywords()
730 rbc.setUpperCaseFirst(false); in setAttributesFromKeywords()
732 rbc.setLowerCaseFirst(true); in setAttributesFromKeywords()
734 rbc.setUpperCaseFirst(true); in setAttributesFromKeywords()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollator.java657 … private static void setAttributesFromKeywords(ULocale loc, Collator coll, RuleBasedCollator rbc) { in setAttributesFromKeywords() argument
678 if (rbc != null) { in setAttributesFromKeywords()
679 rbc.setFrenchCollation(getYesOrNo("colBackwards", value)); in setAttributesFromKeywords()
687 if (rbc != null) { in setAttributesFromKeywords()
688 rbc.setCaseLevel(getYesOrNo("colCaseLevel", value)); in setAttributesFromKeywords()
696 if (rbc != null) { in setAttributesFromKeywords()
699 rbc.setLowerCaseFirst(false); in setAttributesFromKeywords()
700 rbc.setUpperCaseFirst(false); in setAttributesFromKeywords()
702 rbc.setLowerCaseFirst(true); in setAttributesFromKeywords()
704 rbc.setUpperCaseFirst(true); in setAttributesFromKeywords()
[all …]
/third_party/icu/icu4c/source/i18n/
Ducol.cpp70 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_cloneBinary() local
71 if(rbc == NULL && coll != NULL) { in ucol_cloneBinary()
75 return rbc->cloneBinary(buffer, capacity, *status); in ucol_cloneBinary()
547 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRules() local
549 if(rbc != NULL || coll == NULL) { in ucol_getRules()
550 const UnicodeString &rules = rbc->getRules(); in ucol_getRules()
563 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRulesEx() local
564 if(rbc != NULL || coll == NULL) { in ucol_getRulesEx()
565 rbc->getRules(delta, rules); in ucol_getRulesEx()
589 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getLocaleByType() local
[all …]
Ducoleitr.cpp286 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_openElements() local
287 if (rbc == NULL) { in ucol_openElements()
293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements()
Ducol_sit.cpp649 const icu::RuleBasedCollator *rbc = icu::RuleBasedCollator::rbcFromUCollator(coll); in ucol_getContractionsAndExpansions() local
650 if(rbc == NULL) { in ucol_getContractionsAndExpansions()
654 rbc->internalGetContractionsAndExpansions( in ucol_getContractionsAndExpansions()
/third_party/node/deps/icu-small/source/i18n/
Ducol.cpp70 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_cloneBinary() local
71 if(rbc == NULL && coll != NULL) { in ucol_cloneBinary()
75 return rbc->cloneBinary(buffer, capacity, *status); in ucol_cloneBinary()
547 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRules() local
549 if(rbc != NULL || coll == NULL) { in ucol_getRules()
550 const UnicodeString &rules = rbc->getRules(); in ucol_getRules()
563 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRulesEx() local
564 if(rbc != NULL || coll == NULL) { in ucol_getRulesEx()
565 rbc->getRules(delta, rules); in ucol_getRulesEx()
589 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getLocaleByType() local
[all …]
Ducoleitr.cpp286 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_openElements() local
287 if (rbc == NULL) { in ucol_openElements()
293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements()
Ducol_sit.cpp649 const icu::RuleBasedCollator *rbc = icu::RuleBasedCollator::rbcFromUCollator(coll); in ucol_getContractionsAndExpansions() local
650 if(rbc == NULL) { in ucol_getContractionsAndExpansions()
654 rbc->internalGetContractionsAndExpansions( in ucol_getContractionsAndExpansions()
/third_party/skia/third_party/externals/icu/source/i18n/
Ducol.cpp70 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_cloneBinary() local
71 if(rbc == NULL && coll != NULL) { in ucol_cloneBinary()
75 return rbc->cloneBinary(buffer, capacity, *status); in ucol_cloneBinary()
547 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRules() local
549 if(rbc != NULL || coll == NULL) { in ucol_getRules()
550 const UnicodeString &rules = rbc->getRules(); in ucol_getRules()
563 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRulesEx() local
564 if(rbc != NULL || coll == NULL) { in ucol_getRulesEx()
565 rbc->getRules(delta, rules); in ucol_getRulesEx()
589 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getLocaleByType() local
[all …]
Ducoleitr.cpp286 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_openElements() local
287 if (rbc == NULL) { in ucol_openElements()
293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements()
Ducol_sit.cpp649 const icu::RuleBasedCollator *rbc = icu::RuleBasedCollator::rbcFromUCollator(coll); in ucol_getContractionsAndExpansions() local
650 if(rbc == NULL) { in ucol_getContractionsAndExpansions()
654 rbc->internalGetContractionsAndExpansions( in ucol_getContractionsAndExpansions()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ducol.cpp70 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_cloneBinary() local
71 if(rbc == NULL && coll != NULL) { in ucol_cloneBinary()
75 return rbc->cloneBinary(buffer, capacity, *status); in ucol_cloneBinary()
547 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRules() local
549 if(rbc != NULL || coll == NULL) { in ucol_getRules()
550 const UnicodeString &rules = rbc->getRules(); in ucol_getRules()
563 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getRulesEx() local
564 if(rbc != NULL || coll == NULL) { in ucol_getRulesEx()
565 rbc->getRules(delta, rules); in ucol_getRulesEx()
589 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_getLocaleByType() local
[all …]
Ducoleitr.cpp286 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); in ucol_openElements() local
287 if (rbc == NULL) { in ucol_openElements()
293 CollationElementIterator *cei = rbc->createCollationElementIterator(s); in ucol_openElements()
Ducol_sit.cpp653 const icu::RuleBasedCollator *rbc = icu::RuleBasedCollator::rbcFromUCollator(coll); in ucol_getContractionsAndExpansions() local
654 if(rbc == NULL) { in ucol_getContractionsAndExpansions()
658 rbc->internalGetContractionsAndExpansions( in ucol_getContractionsAndExpansions()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/text/
DRbnfScannerProviderImpl.java129 private RbnfLenientScannerImpl(RuleBasedCollator rbc) { in RbnfLenientScannerImpl() argument
130 this.collator = rbc; in RbnfLenientScannerImpl()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/
DRbnfScannerProviderImpl.java127 private RbnfLenientScannerImpl(RuleBasedCollator rbc) { in RbnfLenientScannerImpl() argument
128 this.collator = rbc; in RbnfLenientScannerImpl()
/third_party/icu/icu4c/source/test/intltest/
Dregcoll.cpp544 RuleBasedCollator *rbc = new RuleBasedCollator("&9 < a < bb", status); in Test4078588() local
546 if (rbc == NULL || U_FAILURE(status)) in Test4078588()
549 delete rbc; in Test4078588()
553 Collator::EComparisonResult result = rbc->compare("a","bb"); in Test4078588()
561 delete rbc; in Test4078588()
Dcollationtest.cpp164 RuleBasedCollator *rbc = dynamic_cast<RuleBasedCollator *>(coll); in TestMinMax() local
165 if(rbc == NULL) { in TestMinMax()
172 rbc->internalGetCEs(UnicodeString(FALSE, s, 2), ces, errorCode); in TestMinMax()
914 RuleBasedCollator *rbc = dynamic_cast<RuleBasedCollator *>(coll.getAlias()); in TestTailoredElements() local
915 if(rbc == NULL) { in TestTailoredElements()
932 rbc->internalGetCEs(s, ces, errorCode); in TestTailoredElements()
Dapicoll.cpp2378 RuleBasedCollator *rbc = dynamic_cast<RuleBasedCollator *>(coll.getAlias()); in TestCloneBinary() local
2379 if(rbRoot == NULL || rbc == NULL) { in TestCloneBinary()
2383 rbc->setAttribute(UCOL_STRENGTH, UCOL_PRIMARY, errorCode); in TestCloneBinary()
2386 …assertEquals("rbc/primary: u-umlaut==ue", (int32_t)UCOL_EQUAL, rbc->compare(uUmlaut, ue, errorCode… in TestCloneBinary()
2388 int32_t binLength = rbc->cloneBinary(bin, UPRV_LENGTHOF(bin), errorCode); in TestCloneBinary()
2400 assertTrue("rbc==rbc2", *rbc == rbc2); in TestCloneBinary()
2412 assertTrue("rbc==rbc3", *rbc == rbc3); in TestCloneBinary()
/third_party/skia/third_party/externals/icu/source/data/locales/
Dso.txt1550 dn{"rbc"}
1553 dn{"rbc"}
1561 one{"{0} rbc"}
1562 other{"{0} rbc"}
1565 one{"{0} rbc khr"}
1566 other{"{0} rbc khr"}
/third_party/icu/icu4c/source/data/locales/
Dso.txt1550 dn{"rbc"}
1553 dn{"rbc"}
1561 one{"{0} rbc"}
1562 other{"{0} rbc"}
1565 one{"{0} rbc khr"}
1566 other{"{0} rbc khr"}

12