/external/icu4c/stubdata/cfg-zh/ |
D | icudt38l.txt | 13 coll/cs.res 14 coll/cs_CZ.res 15 coll/de.res 16 coll/de_.res 17 coll/de_AT.res 18 coll/de_BE.res 19 coll/de_CH.res 20 coll/de_DE.res 21 coll/de_LU.res 22 coll/de__PHONEBOOK.res [all …]
|
/external/icu4c/stubdata/cfg-large/ |
D | icudt38l.txt | 15 coll/cs.res 16 coll/cs_CZ.res 17 coll/de.res 18 coll/de_.res 19 coll/de_AT.res 20 coll/de_BE.res 21 coll/de_CH.res 22 coll/de_DE.res 23 coll/de_LU.res 24 coll/de__PHONEBOOK.res [all …]
|
/external/icu4c/stubdata/cfg-us-euro/ |
D | icudt38l.txt | 13 coll/cs.res 14 coll/cs_CZ.res 15 coll/de.res 16 coll/de_.res 17 coll/de_AT.res 18 coll/de_BE.res 19 coll/de_CH.res 20 coll/de_DE.res 21 coll/de_LU.res 22 coll/de__PHONEBOOK.res [all …]
|
/external/icu4c/stubdata/cfg-default/ |
D | icudt38l.txt | 13 coll/cs.res 14 coll/cs_CZ.res 15 coll/de.res 16 coll/de_.res 17 coll/de_AT.res 18 coll/de_BE.res 19 coll/de_CH.res 20 coll/de_DE.res 21 coll/de_LU.res 22 coll/de__PHONEBOOK.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/icu4c/i18n/ |
D | ucol.cpp | 134 (s)->coll = (collator); in IInit_collIterate() 411 ucol_safeClone(const UCollator *coll, void *stackBuffer, int32_t * pBufferSize, UErrorCode *status) in ucol_safeClone() argument 427 if ((stackBuffer && !pBufferSize) || !coll){ in ucol_safeClone() 431 if (coll->rules && coll->freeRulesOnClose) { in ucol_safeClone() 432 rulesSize = (int32_t)(coll->rulesLength + 1)*sizeof(UChar); in ucol_safeClone() 470 imageSize = ucol_cloneBinary(coll, NULL, 0, &tempStatus); in ucol_safeClone() 472 if (coll->freeImageOnClose) { in ucol_safeClone() 474 ucol_cloneBinary(coll, image, imageSize, status); in ucol_safeClone() 478 image = (uint8_t *)coll->image; in ucol_safeClone() 480 localCollator = ucol_initFromBinary(image, imageSize, coll->UCA, localCollator, status); in ucol_safeClone() [all …]
|
D | ucol_res.cpp | 50 ucol_prv_closeResources(UCollator *coll) { in ucol_prv_closeResources() argument 51 if(coll->rb != NULL) { /* pointing to read-only memory */ in ucol_prv_closeResources() 52 ures_close(coll->rb); in ucol_prv_closeResources() 54 if(coll->elements != NULL) { in ucol_prv_closeResources() 55 ures_close(coll->elements); in ucol_prv_closeResources() 371 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument 376 const UChar *rules = ucol_getRules(coll, &len); in ucol_getRulesEx() 380 ucaRules = ures_getStringByKey(coll->rb,"UCARules",&UCAlen,&status); in ucol_getRulesEx() 407 ucol_getRules( const UCollator *coll, in ucol_getRules() argument 410 if(coll->rules != NULL) { in ucol_getRules() [all …]
|
D | ucol_sit.cpp | 581 ucol_getShortDefinitionString(const UCollator *coll, in ucol_getShortDefinitionString() argument 600 locale = ucol_getLocale(coll, ULOC_VALID_LOCALE, status); in ucol_getShortDefinitionString() 622 attribute = ucol_getAttributeOrDefault(coll, (UColAttribute)options[i].attr, status); in ucol_getShortDefinitionString() 630 if(coll->variableTopValueisDefault == FALSE) { in ucol_getShortDefinitionString() 632 elementSize = T_CString_integerToString(tempbuff, coll->variableTopValue, 16); in ucol_getShortDefinitionString() 753 ucol_collatorToIdentifier(const UCollator *coll, in ucol_collatorToIdentifier() argument 762 if(coll->variableTopValueisDefault != TRUE) { in ucol_collatorToIdentifier() 767 locale = ucol_getLocale(coll, ULOC_VALID_LOCALE, status); in ucol_collatorToIdentifier() 773 attrValue = ucol_getAttributeOrDefault(coll, attributesToBits[i].attribute, status); in ucol_collatorToIdentifier() 841 UCollator *coll = ucol_openFromIdentifier(identifier, forceDefaults, status); in ucol_identifierToShortString() local [all …]
|
D | ucol_imp.h | 276 const UCollator *coll; member 374 (s)->coll = (collator); \ 393 #define UCOL_GETMAXEXPANSION(coll, order, result) { \ argument 397 start = (coll)->endExpansionCE; \ 398 limit = (coll)->lastEndExpansionCE; \ 409 result = *((coll)->expansionCESize + (start - (coll)->endExpansionCE)); \ 412 result = *(coll->expansionCESize + (limit - coll->endExpansionCE)); \ 423 uint32_t ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, collIterate *source, U… 426 uint32_t ucol_prv_getSpecialPrevCE(const UCollator *coll, UChar ch, uint32_t CE, 428 U_CAPI uint32_t U_EXPORT2 ucol_getNextCE(const UCollator *coll, collIterate *collationSource, UErro… [all …]
|
D | ucoleitr.cpp | 35 ucol_openElements(const UCollator *coll, in ucol_openElements() argument 59 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_); in ucol_openElements() 89 if (ci->coll->normalizationMode == UCOL_ON) { in ucol_reset() 112 result = (int32_t)ucol_getNextCE(elems->iteratordata_.coll, in ucol_next() 146 result = (int32_t)ucol_getPrevCE(elems->iteratordata_.coll, in ucol_previous() 163 UCOL_GETMAXEXPANSION(elems->iteratordata_.coll, (uint32_t)order, result); in ucol_getMaxExpansion() 187 uprv_init_collIterate(elems->iteratordata_.coll, text, textLength, in ucol_setText()
|
/external/icu4c/stubdata/cfg-us/ |
D | icudt38l.txt | 13 coll/en.res 14 coll/en_AU.res 15 coll/en_BE.res 16 coll/en_BW.res 17 coll/en_CA.res 18 coll/en_GB.res 19 coll/en_HK.res 20 coll/en_IE.res 21 coll/en_IN.res 22 coll/en_MT.res [all …]
|
/external/icu4c/stubdata/cfg-us-japan/ |
D | icudt38l.txt | 15 coll/en.res 16 coll/en_AU.res 17 coll/en_BE.res 18 coll/en_BW.res 19 coll/en_CA.res 20 coll/en_GB.res 21 coll/en_HK.res 22 coll/en_IE.res 23 coll/en_IN.res 24 coll/en_MT.res [all …]
|
/external/icu4c/test/cintltst/ |
D | cmsccoll.c | 83 UCollator *coll = NULL; in IncompleteCntTest() local 89 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status); in IncompleteCntTest() 98 doTest(coll, t1, t2, UCOL_LESS); in IncompleteCntTest() 100 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); in IncompleteCntTest() 111 ucol_close(coll); in IncompleteCntTest() 115 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in IncompleteCntTest() 124 doTest(coll, t1, t2, UCOL_LESS); in IncompleteCntTest() 127 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); in IncompleteCntTest() 138 ucol_close(coll); in IncompleteCntTest() 186 UCollator *coll = ucol_open("en_US", &status); in BlackBirdTest() local [all …]
|
D | capitst.c | 45 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *bu… in ucol_sortKeyToString() argument 57 …while(strength <= UCOL_QUATERNARY && strength <= ucol_getAttribute(coll,UCOL_STRENGTH, &error_code… in ucol_sortKeyToString() 68 …if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_ON && strength == UCOL_SECONDARY &… in ucol_sortKeyToString() 70 …} else if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_OFF || doneCase == TRUE || … in ucol_sortKeyToString() 77 …if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll,UCOL_ALTERNATE_HANDLING, &error_code) == … in ucol_sortKeyToString() 82 if(ucol_getAttribute(coll,UCOL_STRENGTH, &error_code) == UCOL_IDENTICAL) { in ucol_sortKeyToString() 134 UCollator *coll = ucol_open(NULL, &status); in TestGetSetAttr() local 156 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr() 161 value = ucol_getAttribute(coll, currAttr, &status); in TestGetSetAttr() 167 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr() [all …]
|
D | citertst.c | 77 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672() local 78 UCollationElements *pitr = ucol_openElements(coll, pattern, -1, in TestBug672() 80 UCollationElements *titer = ucol_openElements(coll, text, -1, in TestBug672() 126 ucol_close(coll); in TestBug672() 150 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize() local 154 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestBug672Normalize() 156 pitr = ucol_openElements(coll, pattern, -1, &status); in TestBug672Normalize() 157 titer = ucol_openElements(coll, text, -1, &status); in TestBug672Normalize() 202 ucol_close(coll); in TestBug672Normalize() 353 UCollator *coll; in TestNormalization() local [all …]
|
D | callcoll.c | 142 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer,… in sortKeyToString() argument 152 while(strength <= UCOL_QUATERNARY && strength <= coll->strength) { in sortKeyToString() 160 if(coll->caseLevel == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) { in sortKeyToString() 162 } else if(coll->caseLevel == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) { in sortKeyToString() 166 if(strength == UCOL_QUATERNARY && coll->alternateHandling == UCOL_NON_IGNORABLE) { in sortKeyToString() 171 if(coll->strength == UCOL_IDENTICAL) { in sortKeyToString() 229 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials() argument 247 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); in compareUsingPartials() 248 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status); in compareUsingPartials() 546 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollati… in genericOrderingTestWithResult() argument [all …]
|
/external/icu4c/i18n/unicode/ |
D | ucol.h | 345 ucol_getContractions( const UCollator *coll, 361 ucol_getContractionsAndExpansions( const UCollator *coll, 376 ucol_close(UCollator *coll); 394 ucol_strcoll( const UCollator *coll, 415 ucol_greater(const UCollator *coll, 434 ucol_greaterOrEqual(const UCollator *coll, 453 ucol_equal(const UCollator *coll, 470 ucol_strcollIter( const UCollator *coll, 485 ucol_getStrength(const UCollator *coll); 497 ucol_setStrength(UCollator *coll, [all …]
|
/external/webkit/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/webkit/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/icu4c/test/intltest/ |
D | ucaconf.cpp | 88 void UCAConformanceTest::setCollNonIgnorable(UCollator *coll) in setCollNonIgnorable() argument 90 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in setCollNonIgnorable() 91 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); in setCollNonIgnorable() 92 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); in setCollNonIgnorable() 93 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in setCollNonIgnorable() 94 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); in setCollNonIgnorable() 97 void UCAConformanceTest::setCollShifted(UCollator *coll) in setCollShifted() argument 99 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in setCollShifted() 100 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); in setCollShifted() 101 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); in setCollShifted() [all …]
|
D | thcoll.cpp | 38 coll = Collator::createInstance(Locale("th", "TH", ""), status); in CollationThaiTest() 39 if (coll && U_SUCCESS(status)) { in CollationThaiTest() 42 delete coll; in CollationThaiTest() 43 coll = 0; in CollationThaiTest() 48 delete coll; in ~CollationThaiTest() 54 if((!coll) && exec) { in runIndexedTest() 76 if (coll == 0) { in TestNamesList() 106 Collator::EComparisonResult result = coll->compare(lastWord, word); in TestNamesList() 107 doTest(coll, lastWord, word, result); in TestNamesList() 123 if (coll == 0) { in TestDictionary() [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 | apicoll.cpp | 353 RuleBasedCollator *coll; in TestRules() local 357 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); in TestRules() 366 coll->getRules(UCOL_TAILORING_ONLY, rules); in TestRules() 371 coll->getRules(UCOL_FULL_RULES, rules); in TestRules() 375 delete coll; in TestRules() 1293 RuleBasedCollator coll(rule, status); in TestMaxExpansion() local 1300 coll.createCollationElementIterator(str); in TestMaxExpansion() 1321 size = coll.getMaxExpansion(order); in TestMaxExpansion() 1336 size = coll.getMaxExpansion(order); in TestMaxExpansion() 1349 if (U_FAILURE(status) || coll.getMaxExpansion(temporder) != 3) { in TestMaxExpansion() [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()
|
/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 …]
|