/external/icu4c/samples/coll/ |
Makefile | 12 TARGET=coll 15 OBJECTS=coll.o
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
RuleBasedCollatorTest.java | 50 RuleBasedCollator coll = new RuleBasedCollator(rule); local 51 assertEquals(rule.hashCode(), coll.hashCode()); 56 RuleBasedCollator coll = new RuleBasedCollator(rule); local 57 assertEquals(rule.hashCode(), coll.hashCode()); 63 RuleBasedCollator coll = (RuleBasedCollator) Collator local 65 RuleBasedCollator clone = (RuleBasedCollator) coll.clone(); 66 assertNotSame(coll, clone); 67 assertEquals(coll.getRules(), clone.getRules()); 68 assertEquals(coll.getDecomposition(), clone.getDecomposition()); 69 assertEquals(coll.getStrength(), clone.getStrength()) 77 RuleBasedCollator coll = new RuleBasedCollator(rule); local 97 RuleBasedCollator coll = new RuleBasedCollator(rule); local 102 RuleBasedCollator coll = (RuleBasedCollator) Collator local 117 RuleBasedCollator coll = new RuleBasedCollator(rule); local 128 RuleBasedCollator coll = (RuleBasedCollator) Collator local 146 RuleBasedCollator coll = (RuleBasedCollator) Collator local 177 RuleBasedCollator coll = (RuleBasedCollator) Collator local 197 RuleBasedCollator coll = (RuleBasedCollator) Collator local 223 RuleBasedCollator coll = (RuleBasedCollator) Collator local 233 RuleBasedCollator coll = (RuleBasedCollator) Collator local 242 Collator coll = Collator.getInstance(); local 260 Collator coll = Collator.getInstance(Locale.US); local [all...] |
/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,
|
thcoll.h | 21 Collator* coll; // Thai collator member in class:CollationThaiTest
|
allcoll.cpp | 11 #include "unicode/coll.h" 160 Collator *coll = Collator::createInstance("en_US", status); local 166 Collator::EComparisonResult result = coll->compare(source, target); 173 coll->setStrength(Collator::PRIMARY); 174 result = coll->compare(source, target); 183 coll->getCollationKey(source, sourceKeyOut, status); 184 coll->getCollationKey(target, targetKeyOut, status); 190 delete coll;
|
/external/icu4c/i18n/unicode/ |
ucol.h | 355 * @param coll collator 364 ucol_getContractions( const UCollator *coll, 371 * @param coll collator 380 ucol_getContractionsAndExpansions( const UCollator *coll, 388 * @param coll The UCollator to close. 395 ucol_close(UCollator *coll); 419 * @param coll The UCollator containing the comparison rules. 432 ucol_strcoll( const UCollator *coll, 441 * @param coll The UCollator containing the comparison rules. 453 ucol_greater(const UCollator *coll, [all...] |
stsearch.h | 103 * from <tt>getCollator</tt> and using the APIs in <tt>coll.h</tt>. 176 * @param coll A <tt>RuleBasedCollator</tt> object which defines 193 RuleBasedCollator *coll, 237 * @param coll A <tt>RuleBasedCollator</tt> object which defines 253 RuleBasedCollator *coll, 378 * @param coll collator 382 void setCollator(RuleBasedCollator *coll, UErrorCode &status);
|
/external/webkit/Source/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/Source/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 | 121 (s)->coll = (collator); 476 ucol_cloneBinary(const UCollator *coll, 488 if(coll->hasRealData == TRUE) { 489 length = coll->image->size; 491 uprv_memcpy(buffer, coll->image, length); 520 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo)); 522 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo)); 523 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo)); 524 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo)); 525 myData->jamoSpecial = coll->image->jamoSpecial 7386 const UCollator *coll = sColl->coll; local 7463 const UCollator *coll = sColl->coll; local [all...] |
ucol_res.cpp | 28 #include "unicode/coll.h" 52 static void ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *status); 529 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { 534 const UChar *rules = ucol_getRules(coll, &len); 538 ucaRules = coll->ucaRules; 543 ucaRules = ures_getStringByKey(coll->rb,"UCARules",&UCAlen,&status); 544 UResourceBundle* cresb = ures_getByKeyWithFallback(coll->rb, "collations", NULL, &status); 569 ucol_getRules( const UCollator *coll, 572 if(coll->rules != NULL) { 573 *length = coll->rulesLength [all...] |
ucol_sit.cpp | 554 ucol_getShortDefinitionString(const UCollator *coll, 573 locale = ucol_getLocaleByType(coll, ULOC_VALID_LOCALE, status); 595 attribute = ucol_getAttributeOrDefault(coll, (UColAttribute)options[i].attr, status); 603 if(coll->variableTopValueisDefault == FALSE) { 604 //s.variableTopValue = ucol_getVariableTop(coll, status); 605 elementSize = T_CString_integerToString(tempbuff, coll->variableTopValue, 16); 642 ucol_getAttributeOrDefault(const UCollator *coll, UColAttribute attr, UErrorCode *status) 644 if(U_FAILURE(*status) || coll == NULL) { 649 return coll->numericCollationisDefault?UCOL_DEFAULT:coll->numericCollation 674 const UCollator *coll; member in struct:contContext 688 const UCollator *coll = context->coll; local [all...] |
ucoleitr.cpp | 214 void init(const UCollator *coll); 224 init(elems->iteratordata_.coll); 227 void UCollationPCE::init(const UCollator *coll) 231 strength = ucol_getStrength(coll); 232 toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; 234 variableTop = coll->variableTopValue << 16; 302 elems->pce->init(elems->iteratordata_.coll); 311 ucol_openElements(const UCollator *coll, 333 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_, status); 377 if (ci->coll->normalizationMode == UCOL_ON) 430 const UCollator *coll = elems->iteratordata_.coll; local 511 const UCollator *coll = elems->iteratordata_.coll; local 613 const UCollator *coll = elems->iteratordata_.coll; local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 92 RuleBasedCollator coll = new RuleBasedCollator(rule); local 94 assertEquals(Collator.TERTIARY, coll.getStrength()); 95 assertEquals(Collator.NO_DECOMPOSITION, coll.getDecomposition()); 97 assertTrue(coll.equals(other)); 99 coll.setStrength(Collator.PRIMARY); 100 assertFalse(coll.equals(other)); 102 coll.setStrength(Collator.TERTIARY); 103 coll.setDecomposition(Collator.CANONICAL_DECOMPOSITION); 105 assertFalse(coll.equals(other)); 127 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l) local 132 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(l); local [all...] |
OldCollationElementIteratorTest.java | 29 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); local 31 CollationElementIterator iterator = coll
|
/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) {
|
/external/icu4c/test/cintltst/ |
cmsccoll.c | 88 UCollator *coll = NULL; local 94 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL,&status); 103 doTest(coll, t1, t2, UCOL_LESS); 105 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); 116 ucol_close(coll); 120 coll = ucol_openRules(temp, u_strlen(temp), UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 129 doTest(coll, t1, t2, UCOL_LESS); 132 iter = ucol_openElements(coll, t2, u_strlen(t2), &status); 143 ucol_close(coll); 191 UCollator *coll = ucol_open("en_US", &status) local 1335 UCollator *coll = NULL; local 1375 UCollator *coll = NULL; local 1453 UCollator *coll = NULL; local 1525 UCollator *coll = ucol_open("cs", &status); local 1614 UCollator *coll = ucol_open("", &status); local 1654 UCollator *coll = NULL; local 1770 UCollator *coll = ucol_openRules(rulez, 0, UCOL_OFF, UCOL_TERTIARY,NULL, &status); local 1781 UCollator *coll = ucol_open("", &status); local 2248 UCollator *coll; local 2516 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); local 2547 UCollator *coll; local 2691 UCollator *coll; local 2818 UCollator *coll; local 2940 UCollator *coll = ucol_open("", &status); local 2956 UCollator *coll = ucol_open("", &status); local 3203 UCollator *coll = ucol_open("en_US", &status); local 3601 UCollator *coll = NULL; local 3865 UCollator *coll = ucol_open("", &status); local 3931 UCollator *coll = ucol_open("", &status); local 3968 UCollator *coll = ucol_open("", &status); local 4174 UCollator *coll = ucol_open("en", &status); local 4189 UCollator *coll = ucol_openRules(r, 1, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 4298 UCollator* coll = ucol_open("root", &status); local 4336 UCollator *coll = ucol_open("", &status); local 4384 UCollator *coll = ucol_open("root", &status); local 4653 UCollator *coll = NULL; local 4786 UCollator *coll = NULL; local 4843 static UCollator *coll = NULL; local 4911 UCollator *coll =NULL; local 5081 UCollator *coll =NULL; local 5184 UCollator *coll =NULL; local 5308 static UCollator *coll = NULL; local [all...] |
capitst.c | 49 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { 61 while(strength <= UCOL_QUATERNARY && strength <= ucol_getAttribute(coll,UCOL_STRENGTH, &error_code)) { 72 if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) { 74 } else if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) { 81 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll,UCOL_ALTERNATE_HANDLING, &error_code) == UCOL_NON_IGNORABLE) { 86 if(ucol_getAttribute(coll,UCOL_STRENGTH, &error_code) == UCOL_IDENTICAL) { 149 UCollator *coll = ucol_open(NULL, &status); local 169 if (coll == NULL) { 175 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); 180 value = ucol_getAttribute(coll, currAttr, &status) 1346 UCollator *coll = NULL; local 1463 UCollator *coll = ucol_open("sh", &status); local 1647 UCollator *coll = ucol_open("root", &status); local 1676 UCollator *coll = ucol_open(NULL, &error); local 1790 UCollator *coll = NULL; local 1832 UCollator *coll = ucol_open("en", &status); local 1984 UCollator *coll = NULL, *fromNormalized = NULL; local 2123 UCollator *coll = NULL; local 2194 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 2243 UCollator *coll = ucol_open("es@collation=pinyin", &status); local 2268 UCollator *coll = ucol_open(loc, &status); local [all...] |
citertst.c | 78 UCollator *coll = ucol_open(LOCALES[i], &status); local 79 UCollationElements *pitr = ucol_openElements(coll, pattern, -1, 81 UCollationElements *titer = ucol_openElements(coll, text, -1, 127 ucol_close(coll); 151 UCollator *coll = ucol_open(LOCALES[i], &status); local 155 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 157 pitr = ucol_openElements(coll, pattern, -1, &status); 158 titer = ucol_openElements(coll, text, -1, &status); 203 ucol_close(coll); 354 UCollator *coll; local 422 UCollator *coll=NULL; local 786 UCollator *coll ;\/*= ucol_open("en_US", &status);*\/ local 943 UCollator *coll; local 1270 UCollator *coll = ucol_open("", &status); local 1397 UCollator *coll; local 1472 UCollator *coll; local 1692 UCollator *coll = ucol_open("root", &status); local 1902 UCollator *coll = ucol_open("en_US", &status); local [all...] |
/external/icu4c/samples/legacy/ |
newcol.cpp | 29 UCollator *coll = ucol_open(locale, &status); local 33 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); 34 ucol_close(coll);
|
/libcore/luni/src/test/java/tests/security/cert/ |
X509Certificate2Test.java | 354 Collection<List<?>> coll = cert.getSubjectAlternativeNames(); local 356 assertNotNull(coll); 359 coll.clear(); 365 if (coll.size() > 0) { 366 coll.remove(0); 372 assertTrue(coll.size() < 10); 384 Collection<List<?>> coll = cert.getIssuerAlternativeNames(); 386 assertNotNull(coll); 389 coll.clear(); 395 if (coll.size() > 0) [all...] |