/external/icu4c/stubdata/ |
D | icu-data-default.txt | 21 coll/res_index.res 22 coll/invuca.icu 23 coll/ucadata.icu 24 coll/root.res 25 coll/af.res 26 coll/af_NA.res 27 coll/af_ZA.res 28 coll/ar.res 29 coll/ar_AE.res 30 coll/ar_BH.res [all …]
|
/external/icu4c/stubdata/reduced_coll/ |
D | add.txt | 1 coll/en.res 2 coll/en_AU.res 3 coll/en_BE.res 4 coll/en_BW.res 5 coll/en_CA.res 6 coll/en_GB.res 7 coll/en_HK.res 8 coll/en_IE.res 9 coll/en_IN.res 10 coll/en_MT.res [all …]
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | RuleBasedCollatorTest.java | 50 RuleBasedCollator coll = new RuleBasedCollator(rule); in testHashCode() local 51 assertEquals(rule.hashCode(), coll.hashCode()); in testHashCode() 56 RuleBasedCollator coll = new RuleBasedCollator(rule); in testHashCode() local 57 assertEquals(rule.hashCode(), coll.hashCode()); in testHashCode() 63 RuleBasedCollator coll = (RuleBasedCollator) Collator in testClone() local 65 RuleBasedCollator clone = (RuleBasedCollator) coll.clone(); in testClone() 66 assertNotSame(coll, clone); in testClone() 67 assertEquals(coll.getRules(), clone.getRules()); in testClone() 68 assertEquals(coll.getDecomposition(), clone.getDecomposition()); in testClone() 69 assertEquals(coll.getStrength(), clone.getStrength()); in testClone() [all …]
|
/external/icu4c/i18n/ |
D | ucol.cpp | 138 (s)->coll = (collator); in IInit_collIterate() 498 ucol_cloneBinary(const UCollator *coll, in ucol_cloneBinary() argument 510 if(coll->hasRealData == TRUE) { in ucol_cloneBinary() 511 length = coll->image->size; in ucol_cloneBinary() 513 uprv_memcpy(buffer, coll->image, length); in ucol_cloneBinary() 542 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo)); in ucol_cloneBinary() 544 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo)); in ucol_cloneBinary() 545 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo)); in ucol_cloneBinary() 546 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo)); in ucol_cloneBinary() 547 myData->jamoSpecial = coll->image->jamoSpecial; in ucol_cloneBinary() [all …]
|
D | ucol_res.cpp | 52 static void ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *st… 542 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument 547 const UChar *rules = ucol_getRules(coll, &len); in ucol_getRulesEx() 551 ucaRules = coll->ucaRules; in ucol_getRulesEx() 582 ucol_getRules( const UCollator *coll, in ucol_getRules() argument 585 if(coll->rules != NULL) { in ucol_getRules() 586 *length = coll->rulesLength; in ucol_getRules() 587 return coll->rules; in ucol_getRules() 941 ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) { in ucol_getLocale() argument 942 return ucol_getLocaleByType(coll, type, status); in ucol_getLocale() [all …]
|
D | ucol_sit.cpp | 592 ucol_getShortDefinitionString(const UCollator *coll, in ucol_getShortDefinitionString() argument 599 if(coll->delegate != NULL) { in ucol_getShortDefinitionString() 600 …return ((icu::Collator*)coll->delegate)->internalGetShortDefinitionString(locale,dst,capacity,*sta… in ucol_getShortDefinitionString() 614 locale = ucol_getLocaleByType(coll, ULOC_VALID_LOCALE, status); in ucol_getShortDefinitionString() 636 attribute = ucol_getAttributeOrDefault(coll, (UColAttribute)options[i].attr, status); in ucol_getShortDefinitionString() 644 if(coll->variableTopValueisDefault == FALSE) { in ucol_getShortDefinitionString() 646 elementSize = T_CString_integerToString(tempbuff, coll->variableTopValue, 16); in ucol_getShortDefinitionString() 683 ucol_getAttributeOrDefault(const UCollator *coll, UColAttribute attr, UErrorCode *status) in ucol_getAttributeOrDefault() argument 685 if(U_FAILURE(*status) || coll == NULL) { in ucol_getAttributeOrDefault() 690 return coll->numericCollationisDefault?UCOL_DEFAULT:coll->numericCollation; in ucol_getAttributeOrDefault() [all …]
|
D | ucoleitr.cpp | 214 void init(const UCollator *coll); 224 init(elems->iteratordata_.coll); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 227 void UCollationPCE::init(const UCollator *coll) in init() argument 231 strength = ucol_getStrength(coll); in init() 232 toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; in init() 234 variableTop = coll->variableTopValue << 16; in init() 302 elems->pce->init(elems->iteratordata_.coll); in uprv_init_pce() 311 ucol_openElements(const UCollator *coll, in ucol_openElements() argument 333 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_, status); in ucol_openElements() 377 if (ci->coll->normalizationMode == UCOL_ON) { in ucol_reset() [all …]
|
D | ucol_imp.h | 293 const UCollator *coll; member 467 (s)->coll = (collator); \ 486 #define UCOL_GETMAXEXPANSION(coll, order, result) { \ argument 490 start = (coll)->endExpansionCE; \ 491 limit = (coll)->lastEndExpansionCE; \ 502 result = *((coll)->expansionCESize + (start - (coll)->endExpansionCE)); \ 505 result = *(coll->expansionCESize + (limit - coll->endExpansionCE)); \ 516 uint32_t ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, 520 uint32_t ucol_prv_getSpecialPrevCE(const UCollator *coll, UChar ch, uint32_t CE, 522 U_CAPI uint32_t U_EXPORT2 ucol_getNextCE(const UCollator *coll, [all …]
|
D | colldata.cpp | 50 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) in CEList() argument 53 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in CEList() 54 UCollationStrength strength = ucol_getStrength(coll); in CEList() 55 UBool toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; in CEList() 56 uint32_t variableTop = ucol_getVariableTop(coll, &status); in CEList() 646 : coll(NULL), charsToCEList(NULL), ceToCharsStartingWith(NULL), key(NULL) in CollData() 698 coll = ucol_safeClone(collator, NULL, NULL, &status); in CollData() 704 coll = collator; in CollData() 707 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status); in CollData() 729 CEList *ceList = new CEList(coll, *st, status); in CollData() [all …]
|
/external/icu4c/i18n/unicode/ |
D | ucol.h | 461 ucol_getContractions( const UCollator *coll, 478 ucol_getContractionsAndExpansions( const UCollator *coll, 493 ucol_close(UCollator *coll); 530 ucol_strcoll( const UCollator *coll, 556 const UCollator *coll, 578 ucol_greater(const UCollator *coll, 597 ucol_greaterOrEqual(const UCollator *coll, 616 ucol_equal(const UCollator *coll, 633 ucol_strcollIter( const UCollator *coll, 648 ucol_getStrength(const UCollator *coll); [all …]
|
/external/webkit/Source/WebCore/icu/unicode/ |
D | ucol.h | 358 ucol_getContractions( const UCollator *coll, 374 ucol_close(UCollator *coll); 392 ucol_strcoll( const UCollator *coll, 413 ucol_greater(const UCollator *coll, 432 ucol_greaterOrEqual(const UCollator *coll, 451 ucol_equal(const UCollator *coll, 468 ucol_strcollIter( const UCollator *coll, 483 ucol_getStrength(const UCollator *coll); 495 ucol_setStrength(UCollator *coll, 623 ucol_getRules( const UCollator *coll, [all …]
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
D | ucol.h | 358 ucol_getContractions( const UCollator *coll, 374 ucol_close(UCollator *coll); 392 ucol_strcoll( const UCollator *coll, 413 ucol_greater(const UCollator *coll, 432 ucol_greaterOrEqual(const UCollator *coll, 451 ucol_equal(const UCollator *coll, 468 ucol_strcollIter( const UCollator *coll, 483 ucol_getStrength(const UCollator *coll); 495 ucol_setStrength(UCollator *coll, 623 ucol_getRules( const UCollator *coll, [all …]
|
/external/icu4c/test/cintltst/ |
D | cmsccoll.c | 89 UCollator *coll = NULL; in IncompleteCntTest() local 95 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status); in IncompleteCntTest() 104 doTest(coll, t1, t2, UCOL_LESS); in IncompleteCntTest() 106 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); in IncompleteCntTest() 117 ucol_close(coll); in IncompleteCntTest() 121 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in IncompleteCntTest() 130 doTest(coll, t1, t2, UCOL_LESS); in IncompleteCntTest() 133 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); in IncompleteCntTest() 144 ucol_close(coll); in IncompleteCntTest() 192 UCollator *coll = ucol_open("en_US", &status); in BlackBirdTest() local [all …]
|
D | capitst.c | 42 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *bu… in ucol_sortKeyToString() argument 102 UCollator *coll = ucol_open(NULL, &status); in TestGetSetAttr() local 122 if (coll == NULL) { in TestGetSetAttr() 128 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr() 133 value = ucol_getAttribute(coll, currAttr, &status); in TestGetSetAttr() 139 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr() 146 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); in TestGetSetAttr() 153 ucol_setAttribute(coll, currAttr, value, &status); in TestGetSetAttr() 160 value = ucol_getAttribute(coll, UCOL_ATTRIBUTE_COUNT, &status); in TestGetSetAttr() 165 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUNT, UCOL_DEFAULT, &status); in TestGetSetAttr() [all …]
|
D | citertst.c | 80 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672() local 81 UCollationElements *pitr = ucol_openElements(coll, pattern, -1, in TestBug672() 83 UCollationElements *titer = ucol_openElements(coll, text, -1, in TestBug672() 129 ucol_close(coll); in TestBug672() 153 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize() local 157 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestBug672Normalize() 159 pitr = ucol_openElements(coll, pattern, -1, &status); in TestBug672Normalize() 160 titer = ucol_openElements(coll, text, -1, &status); in TestBug672Normalize() 205 ucol_close(coll); in TestBug672Normalize() 356 UCollator *coll; in TestNormalization() local [all …]
|
D | callcoll.c | 146 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer,… in sortKeyToString() argument 157 while(strength <= UCOL_QUATERNARY && strength <= ucol_getStrength(coll)) { in sortKeyToString() 165 …if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY &… in sortKeyToString() 167 …} else if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_OFF || doneCase == TRUE || … in sortKeyToString() 173 …if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &errorCode) == … in sortKeyToString() 178 if(ucol_getStrength(coll) == UCOL_IDENTICAL) { in sortKeyToString() 230 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials() argument 248 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); in compareUsingPartials() 249 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status); in compareUsingPartials() 593 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollati… in genericOrderingTestWithResult() argument [all …]
|
/external/icu4c/test/intltest/ |
D | ucaconf.cpp | 87 void UCAConformanceTest::setCollNonIgnorable(Collator *coll) in setCollNonIgnorable() argument 89 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in setCollNonIgnorable() 90 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status); in setCollNonIgnorable() 91 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status); in setCollNonIgnorable() 92 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_TERTIARY, status); in setCollNonIgnorable() 93 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, status); in setCollNonIgnorable() 96 void UCAConformanceTest::setCollShifted(Collator *coll) in setCollShifted() argument 98 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in setCollShifted() 99 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status); in setCollShifted() 100 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status); in setCollShifted() [all …]
|
D | itercoll.cpp | 298 RuleBasedCollator *coll = new RuleBasedCollator(rule, status); in TestMaxExpansion() local 302 CollationElementIterator *iter = coll->createCollationElementIterator(str); in TestMaxExpansion() 329 delete coll; in TestMaxExpansion() 406 RuleBasedCollator *coll = in TestAssignment() local 409 if (coll == NULL || U_FAILURE(status)) in TestAssignment() 417 coll->createCollationElementIterator(source); in TestAssignment() 432 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestAssignment() 434 = coll->createCollationElementIterator(source); in TestAssignment() 477 delete coll; in TestAssignment() 486 RuleBasedCollator *coll = in TestConstructors() local [all …]
|
D | thcoll.cpp | 39 coll = Collator::createInstance(Locale("th", "TH", ""), status); in CollationThaiTest() 40 if (coll && U_SUCCESS(status)) { in CollationThaiTest() 43 delete coll; in CollationThaiTest() 44 coll = 0; in CollationThaiTest() 49 delete coll; in ~CollationThaiTest() 55 if((!coll) && exec) { in runIndexedTest() 77 if (coll == 0) { in TestNamesList() 107 Collator::EComparisonResult result = coll->compare(lastWord, word); in TestNamesList() 108 doTest(coll, lastWord, word, result); in TestNamesList() 124 if (coll == 0) { in TestDictionary() [all …]
|
D | apicoll.cpp | 380 RuleBasedCollator *coll; in TestRules() local 384 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules() 393 coll->getRules(UCOL_TAILORING_ONLY, rules); in TestRules() 398 coll->getRules(UCOL_FULL_RULES, rules); in TestRules() 402 delete coll; in TestRules() 1315 RuleBasedCollator coll(rule, status); in TestMaxExpansion() local 1322 coll.createCollationElementIterator(str); in TestMaxExpansion() 1343 size = coll.getMaxExpansion(order); in TestMaxExpansion() 1358 size = coll.getMaxExpansion(order); in TestMaxExpansion() 1370 size = coll.getMaxExpansion(temporder); in TestMaxExpansion() [all …]
|
D | ssearch.cpp | 437 UCollator *coll = ucol_open(testCases[t].locale, &status); in udhrTest() local 446 ucd = ucd_open(coll, &status); in udhrTest() 476 ucol_close(coll); in udhrTest() 685 OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0); 710 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) in OrderList() argument 714 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in OrderList() 718 switch (ucol_getStrength(coll)) in OrderList() 1088 PCEList(UCollator *coll, const UnicodeString &string); 1111 PCEList::PCEList(UCollator *coll, const UnicodeString &string) in PCEList() argument 1114 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in PCEList() [all …]
|
D | allcoll.cpp | 160 Collator *coll = Collator::createInstance("en_US", status); in TestJB581() local 166 Collator::EComparisonResult result = coll->compare(source, target); in TestJB581() 173 coll->setStrength(Collator::PRIMARY); in TestJB581() 174 result = coll->compare(source, target); in TestJB581() 183 coll->getCollationKey(source, sourceKeyOut, status); in TestJB581() 184 coll->getCollationKey(target, targetKeyOut, status); in TestJB581() 190 delete coll; in TestJB581()
|
D | ucaconf.h | 38 void setCollNonIgnorable(Collator *coll); 39 void setCollShifted(Collator *coll); 40 void testConformance(const Collator *coll);
|
/external/icu4c/samples/coll/ |
D | readme.txt | 2 coll: a sample program which compares 2 strings with a user-defined collator. 9 coll.c Main source file 10 coll.sln Windows MSVC workspace. Double-click this to get started. 11 coll.vcproj Windows MSVC project file 13 To Build coll on Windows 15 2. In MSVC, open the workspace file icu\samples\coll\coll.sln 24 3. cd into the coll directory, e.g. 25 cd c:\icu\source\samples\coll\debug 27 coll [options*] -source source_string -target target_string 30 1. Build ICU. coll is built automatically by default unless samples are turned off. [all …]
|
/external/stlport/test/eh/ |
D | test.cpp | 6 inline void printElements(const T& coll, const char* msg = "") in printElements() argument 10 for(it = coll.begin(); it != coll.end(); ++it) { in printElements()
|