/external/icu4c/stubdata/ |
D | icudt48l-default.txt | 25 coll/res_index.res 26 coll/invuca.icu 27 coll/ucadata.icu 28 coll/root.res 29 coll/af.res 30 coll/af_NA.res 31 coll/af_ZA.res 32 coll/ar.res 33 coll/ar_AE.res 34 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 | 122 (s)->coll = (collator); in IInit_collIterate() 477 ucol_cloneBinary(const UCollator *coll, in ucol_cloneBinary() argument 489 if(coll->hasRealData == TRUE) { in ucol_cloneBinary() 490 length = coll->image->size; in ucol_cloneBinary() 492 uprv_memcpy(buffer, coll->image, length); in ucol_cloneBinary() 521 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo)); in ucol_cloneBinary() 523 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo)); in ucol_cloneBinary() 524 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo)); in ucol_cloneBinary() 525 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo)); in ucol_cloneBinary() 526 myData->jamoSpecial = coll->image->jamoSpecial; in ucol_cloneBinary() [all …]
|
D | ucol_res.cpp | 52 static void ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *st… 543 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { in ucol_getRulesEx() argument 548 const UChar *rules = ucol_getRules(coll, &len); in ucol_getRulesEx() 552 ucaRules = coll->ucaRules; in ucol_getRulesEx() 583 ucol_getRules( const UCollator *coll, in ucol_getRules() argument 586 if(coll->rules != NULL) { in ucol_getRules() 587 *length = coll->rulesLength; in ucol_getRules() 588 return coll->rules; in ucol_getRules() 942 ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) { in ucol_getLocale() argument 943 return ucol_getLocaleByType(coll, type, status); in ucol_getLocale() [all …]
|
D | ucol_sit.cpp | 554 ucol_getShortDefinitionString(const UCollator *coll, in ucol_getShortDefinitionString() argument 573 locale = ucol_getLocaleByType(coll, ULOC_VALID_LOCALE, status); in ucol_getShortDefinitionString() 595 attribute = ucol_getAttributeOrDefault(coll, (UColAttribute)options[i].attr, status); in ucol_getShortDefinitionString() 603 if(coll->variableTopValueisDefault == FALSE) { in ucol_getShortDefinitionString() 605 elementSize = T_CString_integerToString(tempbuff, coll->variableTopValue, 16); in ucol_getShortDefinitionString() 642 ucol_getAttributeOrDefault(const UCollator *coll, UColAttribute attr, UErrorCode *status) in ucol_getAttributeOrDefault() argument 644 if(U_FAILURE(*status) || coll == NULL) { in ucol_getAttributeOrDefault() 649 return coll->numericCollationisDefault?UCOL_DEFAULT:coll->numericCollation; in ucol_getAttributeOrDefault() 651 return coll->hiraganaQisDefault?UCOL_DEFAULT:coll->hiraganaQ; in ucol_getAttributeOrDefault() 653 return coll->frenchCollationisDefault?UCOL_DEFAULT:coll->frenchCollation; 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 | 305 const UCollator *coll; member 488 (s)->coll = (collator); \ 507 #define UCOL_GETMAXEXPANSION(coll, order, result) { \ argument 511 start = (coll)->endExpansionCE; \ 512 limit = (coll)->lastEndExpansionCE; \ 523 result = *((coll)->expansionCESize + (start - (coll)->endExpansionCE)); \ 526 result = *(coll->expansionCESize + (limit - coll->endExpansionCE)); \ 537 uint32_t ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, 541 uint32_t ucol_prv_getSpecialPrevCE(const UCollator *coll, UChar ch, uint32_t CE, 543 U_CAPI uint32_t U_EXPORT2 ucol_getNextCE(const UCollator *coll, [all …]
|
D | colldata.cpp | 49 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) in CEList() argument 52 … UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); in CEList() 53 UCollationStrength strength = ucol_getStrength(coll); in CEList() 54 UBool toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; in CEList() 55 uint32_t variableTop = ucol_getVariableTop(coll, &status); in CEList() 641 : coll(NULL), charsToCEList(NULL), ceToCharsStartingWith(NULL), key(NULL) in CollData() 693 coll = ucol_safeClone(collator, NULL, NULL, &status); in CollData() 699 coll = collator; in CollData() 702 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status); in CollData() 724 CEList *ceList = new CEList(coll, *st, status); in CollData() [all …]
|
/external/icu4c/i18n/unicode/ |
D | ucol.h | 415 ucol_getContractions( const UCollator *coll, 431 ucol_getContractionsAndExpansions( const UCollator *coll, 446 ucol_close(UCollator *coll); 483 ucol_strcoll( const UCollator *coll, 504 ucol_greater(const UCollator *coll, 523 ucol_greaterOrEqual(const UCollator *coll, 542 ucol_equal(const UCollator *coll, 559 ucol_strcollIter( const UCollator *coll, 574 ucol_getStrength(const UCollator *coll); 586 ucol_setStrength(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 | capitst.c | 50 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *bu… in ucol_sortKeyToString() argument 62 …while(strength <= UCOL_QUATERNARY && strength <= ucol_getAttribute(coll,UCOL_STRENGTH, &error_code… in ucol_sortKeyToString() 73 …if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_ON && strength == UCOL_SECONDARY &… in ucol_sortKeyToString() 75 …} else if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_OFF || doneCase == TRUE || … in ucol_sortKeyToString() 82 …if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll,UCOL_ALTERNATE_HANDLING, &error_code) == … in ucol_sortKeyToString() 87 if(ucol_getAttribute(coll,UCOL_STRENGTH, &error_code) == UCOL_IDENTICAL) { in ucol_sortKeyToString() 151 UCollator *coll = ucol_open(NULL, &status); in TestGetSetAttr() local 171 if (coll == NULL) { in TestGetSetAttr() 177 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr() 182 value = ucol_getAttribute(coll, currAttr, &status); in TestGetSetAttr() [all …]
|
D | cmsccoll.c | 88 UCollator *coll = NULL; in IncompleteCntTest() local 94 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status); in IncompleteCntTest() 103 doTest(coll, t1, t2, UCOL_LESS); in IncompleteCntTest() 105 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); in IncompleteCntTest() 116 ucol_close(coll); in IncompleteCntTest() 120 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); in IncompleteCntTest() 129 doTest(coll, t1, t2, UCOL_LESS); in IncompleteCntTest() 132 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); in IncompleteCntTest() 143 ucol_close(coll); in IncompleteCntTest() 191 UCollator *coll = ucol_open("en_US", &status); in BlackBirdTest() local [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() 565 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollati… in genericOrderingTestWithResult() argument [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 | 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() 1089 PCEList(UCollator *coll, const UnicodeString &string); 1112 PCEList::PCEList(UCollator *coll, const UnicodeString &string) in PCEList() argument 1115 … 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(UCollator *coll); 39 void setCollShifted(UCollator *coll); 40 void testConformance(UCollator *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()
|