/external/icu4c/samples/coll/ |
Makefile | 12 TARGET=coll 15 OBJECTS=coll.o
|
/external/chromium/third_party/icu/source/test/intltest/ |
ucaconf.h | 38 void setCollNonIgnorable(UCollator *coll); 39 void setCollShifted(UCollator *coll); 40 void testConformance(UCollator *coll);
|
ucaconf.cpp | 88 void UCAConformanceTest::setCollNonIgnorable(UCollator *coll) 90 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 91 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); 92 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); 93 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); 94 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); 97 void UCAConformanceTest::setCollShifted(UCollator *coll) 99 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 100 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); 101 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status) [all...] |
thcoll.cpp | 17 #include "unicode/coll.h" 38 coll = Collator::createInstance(Locale("th", "TH", ""), status); 39 if (coll && U_SUCCESS(status)) { 40 //coll->setStrength(Collator::TERTIARY); 42 delete coll; 43 coll = 0; 48 delete coll; 54 if((!coll) && exec) { 76 if (coll == 0) { 106 Collator::EComparisonResult result = coll->compare(lastWord, word) [all...] |
itercoll.cpp | 11 #include "unicode/coll.h" 298 RuleBasedCollator *coll = new RuleBasedCollator(rule, status); local 302 CollationElementIterator *iter = coll->createCollationElementIterator(str); 329 delete coll; 406 RuleBasedCollator *coll = local 409 if (coll == NULL || U_FAILURE(status)) 417 coll->createCollationElementIterator(source); 432 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 434 = coll->createCollationElementIterator(source); 477 delete coll; 486 RuleBasedCollator *coll = local 543 RuleBasedCollator *coll = local [all...] |
ssearch.h | 50 virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, 53 virtual int32_t bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
|
thcoll.h | 21 Collator* coll; // Thai collator member in class:CollationThaiTest
|
/external/icu4c/test/intltest/ |
ucaconf.h | 38 void setCollNonIgnorable(UCollator *coll); 39 void setCollShifted(UCollator *coll); 40 void testConformance(UCollator *coll);
|
ucaconf.cpp | 88 void UCAConformanceTest::setCollNonIgnorable(UCollator *coll) 90 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 91 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); 92 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); 93 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); 94 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); 97 void UCAConformanceTest::setCollShifted(UCollator *coll) 99 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 100 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); 101 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status) [all...] |
thcoll.cpp | 17 #include "unicode/coll.h" 38 coll = Collator::createInstance(Locale("th", "TH", ""), status); 39 if (coll && U_SUCCESS(status)) { 40 //coll->setStrength(Collator::TERTIARY); 42 delete coll; 43 coll = 0; 48 delete coll; 54 if((!coll) && exec) { 76 if (coll == 0) { 106 Collator::EComparisonResult result = coll->compare(lastWord, word) [all...] |
itercoll.cpp | 11 #include "unicode/coll.h" 298 RuleBasedCollator *coll = new RuleBasedCollator(rule, status); local 302 CollationElementIterator *iter = coll->createCollationElementIterator(str); 329 delete coll; 406 RuleBasedCollator *coll = local 409 if (coll == NULL || U_FAILURE(status)) 417 coll->createCollationElementIterator(source); 432 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 434 = coll->createCollationElementIterator(source); 477 delete coll; 486 RuleBasedCollator *coll = local 543 RuleBasedCollator *coll = local [all...] |
ssearch.h | 51 virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, 54 virtual int32_t bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
ucol.h | 336 * @param coll collator 345 ucol_getContractions( const UCollator *coll, 352 * @param coll collator 361 ucol_getContractionsAndExpansions( const UCollator *coll, 369 * @param coll The UCollator to close. 376 ucol_close(UCollator *coll); 381 * @param coll The UCollator containing the comparison rules. 394 ucol_strcoll( const UCollator *coll, 403 * @param coll The UCollator containing the comparison rules. 415 ucol_greater(const UCollator *coll, [all...] |
/external/icu4c/i18n/unicode/ |
ucol.h | 341 * @param coll collator 350 ucol_getContractions( const UCollator *coll, 357 * @param coll collator 366 ucol_getContractionsAndExpansions( const UCollator *coll, 374 * @param coll The UCollator to close. 381 ucol_close(UCollator *coll); 405 * @param coll The UCollator containing the comparison rules. 418 ucol_strcoll( const UCollator *coll, 427 * @param coll The UCollator containing the comparison rules. 439 ucol_greater(const UCollator *coll, [all...] |
/external/webkit/JavaScriptCore/icu/unicode/ |
ucol.h | 349 * @param coll collator 358 ucol_getContractions( const UCollator *coll, 367 * @param coll The UCollator to close. 374 ucol_close(UCollator *coll); 379 * @param coll The UCollator containing the comparison rules. 392 ucol_strcoll( const UCollator *coll, 401 * @param coll The UCollator containing the comparison rules. 413 ucol_greater(const UCollator *coll, 420 * @param coll The UCollator containing the comparison rules. 432 ucol_greaterOrEqual(const UCollator *coll, [all...] |
/external/webkit/WebCore/icu/unicode/ |
ucol.h | 349 * @param coll collator 358 ucol_getContractions( const UCollator *coll, 367 * @param coll The UCollator to close. 374 ucol_close(UCollator *coll); 379 * @param coll The UCollator containing the comparison rules. 392 ucol_strcoll( const UCollator *coll, 401 * @param coll The UCollator containing the comparison rules. 413 ucol_greater(const UCollator *coll, 420 * @param coll The UCollator containing the comparison rules. 432 ucol_greaterOrEqual(const UCollator *coll, [all...] |
/external/icu4c/i18n/ |
ucol.cpp | 108 (s)->coll = (collator); 440 ucol_cloneBinary(const UCollator *coll, 452 if(coll->hasRealData == TRUE) { 453 length = coll->image->size; 455 uprv_memcpy(buffer, coll->image, length); 484 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo)); 486 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo)); 487 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo)); 488 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo)); 489 myData->jamoSpecial = coll->image->jamoSpecial 7280 const UCollator *coll = sColl->coll; local 7357 const UCollator *coll = sColl->coll; local [all...] |
/external/chromium/third_party/icu/source/i18n/ |
ucol.cpp | 107 (s)->coll = (collator); 384 ucol_cloneBinary(const UCollator *coll, 396 if(coll->hasRealData == TRUE) { 397 length = coll->image->size; 399 uprv_memcpy(buffer, coll->image, length); 428 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo)); 430 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo)); 431 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo)); 432 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo)); 433 myData->jamoSpecial = coll->image->jamoSpecial 7541 const UCollator *coll = sColl->coll; local 7626 const UCollator *coll = sColl->coll; local [all...] |
/external/stlport/test/eh/ |
test.cpp | 6 inline void printElements(const T& coll, const char* msg = "") 10 for(it = coll.begin(); it != coll.end(); ++it) {
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 92 RuleBasedCollator coll = new RuleBasedCollator(rule); local 94 assertEquals(Collator.TERTIARY, coll.getStrength()); 97 // assertEquals(Collator.NO_DECOMPOSITION, coll.getDecomposition()); 99 assertTrue(coll.equals(other)); 101 coll.setStrength(Collator.PRIMARY); 102 assertFalse(coll.equals(other)); 104 coll.setStrength(Collator.TERTIARY); 105 coll.setDecomposition(Collator.CANONICAL_DECOMPOSITION); 107 assertFalse(coll.equals(other)); 129 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l) local 134 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l); local [all...] |
OldCollationElementIteratorTest.java | 29 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); local 31 CollationElementIterator iterator = coll
|
/external/chromium/third_party/icu/source/test/cintltst/ |
cmsccoll.c | 86 UCollator *coll = NULL; local 92 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status); 101 doTest(coll, t1, t2, UCOL_LESS); 103 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); 114 ucol_close(coll); 118 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 127 doTest(coll, t1, t2, UCOL_LESS); 130 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); 141 ucol_close(coll); 189 UCollator *coll = ucol_open("en_US", &status) local 1318 UCollator *coll = NULL; local 1358 UCollator *coll = NULL; local 1416 UCollator *coll = NULL; local 1488 UCollator *coll = ucol_open("cs", &status); local 1577 UCollator *coll = ucol_open("", &status); local 1617 UCollator *coll = NULL; local 1733 UCollator *coll = ucol_openRules(rulez, 0, UCOL_OFF, UCOL_TERTIARY,NULL, &status); local 1744 UCollator *coll = ucol_open("", &status); local 2211 UCollator *coll; local 2479 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); local 2510 UCollator *coll; local 2654 UCollator *coll; local 2781 UCollator *coll; local 2903 UCollator *coll = ucol_open("", &status); local 2919 UCollator *coll = ucol_open("", &status); local 3151 UCollator *coll = ucol_open("en_US", &status); local 3549 UCollator *coll = NULL; local 3783 UCollator *coll = ucol_open("", &status); local 3849 UCollator *coll = ucol_open("", &status); local 3886 UCollator *coll = ucol_open("", &status); local 4092 UCollator *coll = ucol_open("en", &status); local 4107 UCollator *coll = ucol_openRules(r, 1, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 4216 UCollator* coll = ucol_open("root", &status); local 4254 UCollator *coll = ucol_open("", &status); local 4302 UCollator *coll = ucol_open("root", &status); local 4571 UCollator *coll = NULL; local 4704 UCollator *coll = NULL; local 4737 UCollator *coll = ucol_open("th", &status); local 4789 static UCollator *coll = NULL; local 4857 UCollator *coll =NULL; local 5027 UCollator *coll =NULL; local 5127 UCollator *coll =NULL; local 5251 static UCollator *coll = NULL; local [all...] |
capitst.c | 48 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { 60 while(strength <= UCOL_QUATERNARY && strength <= ucol_getAttribute(coll,UCOL_STRENGTH, &error_code)) { 71 if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) { 73 } else if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) { 80 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll,UCOL_ALTERNATE_HANDLING, &error_code) == UCOL_NON_IGNORABLE) { 85 if(ucol_getAttribute(coll,UCOL_STRENGTH, &error_code) == UCOL_IDENTICAL) { 140 UCollator *coll = ucol_open(NULL, &status); local 160 if (coll == NULL) { 166 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); 171 value = ucol_getAttribute(coll, currAttr, &status) 1364 UCollator *coll = NULL; local 1481 UCollator *coll = ucol_open("sh", &status); local 1665 UCollator *coll = ucol_open("root", &status); local 1694 UCollator *coll = ucol_open(NULL, &error); local 1808 UCollator *coll = NULL; local 1850 UCollator *coll = ucol_open("en", &status); local 1992 UCollator *coll = NULL, *fromNormalized = NULL; local 2132 UCollator *coll = NULL; local 2203 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 2252 UCollator *coll = ucol_open("es@collation=pinyin", &status); local 2277 UCollator *coll = ucol_open(loc, &status); local [all...] |
/external/icu4c/test/cintltst/ |
cmsccoll.c | 86 UCollator *coll = NULL; local 92 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status); 101 doTest(coll, t1, t2, UCOL_LESS); 103 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); 114 ucol_close(coll); 118 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 127 doTest(coll, t1, t2, UCOL_LESS); 130 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); 141 ucol_close(coll); 189 UCollator *coll = ucol_open("en_US", &status) local 1322 UCollator *coll = NULL; local 1362 UCollator *coll = NULL; local 1420 UCollator *coll = NULL; local 1492 UCollator *coll = ucol_open("cs", &status); local 1581 UCollator *coll = ucol_open("", &status); local 1621 UCollator *coll = NULL; local 1737 UCollator *coll = ucol_openRules(rulez, 0, UCOL_OFF, UCOL_TERTIARY,NULL, &status); local 1748 UCollator *coll = ucol_open("", &status); local 2215 UCollator *coll; local 2483 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); local 2514 UCollator *coll; local 2658 UCollator *coll; local 2785 UCollator *coll; local 2907 UCollator *coll = ucol_open("", &status); local 2923 UCollator *coll = ucol_open("", &status); local 3157 UCollator *coll = ucol_open("en_US", &status); local 3555 UCollator *coll = NULL; local 3796 UCollator *coll = ucol_open("", &status); local 3862 UCollator *coll = ucol_open("", &status); local 3899 UCollator *coll = ucol_open("", &status); local 4105 UCollator *coll = ucol_open("en", &status); local 4120 UCollator *coll = ucol_openRules(r, 1, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 4229 UCollator* coll = ucol_open("root", &status); local 4267 UCollator *coll = ucol_open("", &status); local 4315 UCollator *coll = ucol_open("root", &status); local 4584 UCollator *coll = NULL; local 4717 UCollator *coll = NULL; local 4774 static UCollator *coll = NULL; local 4842 UCollator *coll =NULL; local 5012 UCollator *coll =NULL; local 5115 UCollator *coll =NULL; local 5239 static UCollator *coll = NULL; local [all...] |
capitst.c | 48 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { 60 while(strength <= UCOL_QUATERNARY && strength <= ucol_getAttribute(coll,UCOL_STRENGTH, &error_code)) { 71 if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) { 73 } else if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) { 80 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll,UCOL_ALTERNATE_HANDLING, &error_code) == UCOL_NON_IGNORABLE) { 85 if(ucol_getAttribute(coll,UCOL_STRENGTH, &error_code) == UCOL_IDENTICAL) { 148 UCollator *coll = ucol_open(NULL, &status); local 168 if (coll == NULL) { 174 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); 179 value = ucol_getAttribute(coll, currAttr, &status) 1342 UCollator *coll = NULL; local 1459 UCollator *coll = ucol_open("sh", &status); local 1643 UCollator *coll = ucol_open("root", &status); local 1672 UCollator *coll = ucol_open(NULL, &error); local 1786 UCollator *coll = NULL; local 1828 UCollator *coll = ucol_open("en", &status); local 1980 UCollator *coll = NULL, *fromNormalized = NULL; local 2120 UCollator *coll = NULL; local 2191 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 2240 UCollator *coll = ucol_open("es@collation=pinyin", &status); local 2265 UCollator *coll = ucol_open(loc, &status); local [all...] |