/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CollatorServiceShim.java | 23 import android.icu.impl.coll.CollationLoader; 24 import android.icu.impl.coll.CollationTailoring; 40 Collator coll = (Collator)service.get(locale, actualLoc); local 41 if (coll == null) { 43 //Can't really change coll after it's been initialized 47 return (Collator) coll.clone(); 77 Object coll = delegate.createCollator(loc); local 78 return coll;
|
CollationElementIterator.java | 17 import android.icu.impl.coll.Collation; 18 import android.icu.impl.coll.CollationData; 19 import android.icu.impl.coll.CollationIterator; 20 import android.icu.impl.coll.ContractionsAndExpansions; 21 import android.icu.impl.coll.FCDIterCollationIterator; 22 import android.icu.impl.coll.FCDUTF16CollationIterator; 23 import android.icu.impl.coll.IterCollationIterator; 24 import android.icu.impl.coll.UTF16CollationIterator; 25 import android.icu.impl.coll.UVector32;
|
/external/icu/icu4c/source/test/intltest/ |
allcoll.cpp | 13 #include "unicode/coll.h" 163 Collator *coll = Collator::createInstance("en_US", status); local 169 Collator::EComparisonResult result = coll->compare(source, target); 176 coll->setStrength(Collator::PRIMARY); 177 result = coll->compare(source, target); 186 coll->getCollationKey(source, sourceKeyOut, status); 187 coll->getCollationKey(target, targetKeyOut, status); 193 delete coll;
|
itercoll.cpp | 13 #include "unicode/coll.h" 353 RuleBasedCollator *coll = new RuleBasedCollator(rule, status); local 357 CollationElementIterator *iter = coll->createCollationElementIterator(str); 384 delete coll; 461 RuleBasedCollator *coll = local 464 if (coll == NULL || U_FAILURE(status)) 472 coll->createCollationElementIterator(source); 487 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 489 = coll->createCollationElementIterator(source); 532 delete coll; 541 RuleBasedCollator *coll = local 598 RuleBasedCollator *coll = local [all...] |
ssearch.cpp | 18 #include "unicode/coll.h" 335 OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0); 360 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) 364 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 368 switch (ucol_getStrength(coll)) 724 UCollator *coll = NULL; local 732 coll = ucol_openFromShortString("LEN_S1", FALSE, NULL, &status); 740 coll, 746 coll, 775 ucol_close(coll); 781 UCollator *coll = NULL; local 1050 UCollator *coll; member in class:StringSetMonkey 1359 UCollator *coll = ucol_openFromShortString("S1", FALSE, NULL, &status); local [all...] |
colldata.h | 62 * @param coll - the Collator used to collect the CEs. 70 CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status); 294 UCollator *coll; member in class:CollData
|
colldata.cpp | 18 #include "unicode/coll.h" 41 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) 44 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 45 UCollationStrength strength = ucol_getStrength(coll); 46 UBool toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; 47 uint32_t variableTop = ucol_getVariableTop(coll, &status); 314 : coll(NULL), ceToCharsStartingWith(NULL) 343 coll = ucol_safeClone(collator, NULL, NULL, &status); 349 coll = collator; 352 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status) [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
CollatorServiceShim.java | 22 import com.ibm.icu.impl.coll.CollationLoader; 23 import com.ibm.icu.impl.coll.CollationTailoring; 39 Collator coll = (Collator)service.get(locale, actualLoc); local 40 if (coll == null) { 42 //Can't really change coll after it's been initialized 46 return (Collator) coll.clone(); 76 Object coll = delegate.createCollator(loc); local 77 return coll;
|
CollationElementIterator.java | 16 import com.ibm.icu.impl.coll.Collation; 17 import com.ibm.icu.impl.coll.CollationData; 18 import com.ibm.icu.impl.coll.CollationIterator; 19 import com.ibm.icu.impl.coll.ContractionsAndExpansions; 20 import com.ibm.icu.impl.coll.FCDIterCollationIterator; 21 import com.ibm.icu.impl.coll.FCDUTF16CollationIterator; 22 import com.ibm.icu.impl.coll.IterCollationIterator; 23 import com.ibm.icu.impl.coll.UTF16CollationIterator; 24 import com.ibm.icu.impl.coll.UVector32;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationAPITest.java | 660 RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(new Locale("","","")); //root local 664 String rules = coll.getRules(); 721 RuleBasedCollator coll; local 727 coll = new RuleBasedCollator(rules[i]); 728 set = coll.getTailoredSet(); 1008 RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(ULocale.ROOT); local 1051 RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(ULocale.ROOT); local 1075 Collator coll = Collator.getInstance(new ULocale("root")); local 1203 Collator coll = Collator.getInstance(new Locale("sh", "")); local 1422 RuleBasedCollator coll = null; local 1499 RuleBasedCollator coll = new RuleBasedCollator("[reorder Hang Hani]"); local 1704 Collator coll = new RuleBasedCollator("&[before 1]\\uFDD1?<*\\u4E00-\\u9FFF"); local [all...] |
CollationThaiTest.java | 86 RuleBasedCollator coll = null; local 88 coll = getThaiCollator(); 93 compareArray(coll, TESTS); 129 RuleBasedCollator coll = null; local 131 coll = getThaiCollator(); 172 // CollationTest.doTest(this, coll, lastWord, word, -1); 173 int result = coll.compare(lastWord, word); 181 k1 = coll.getCollationKey(lastWord); 182 k2 = coll.getCollationKey(word);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationAPITest.java | 657 RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(new Locale("","","")); //root local 661 String rules = coll.getRules(); 718 RuleBasedCollator coll; local 724 coll = new RuleBasedCollator(rules[i]); 725 set = coll.getTailoredSet(); 1005 RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(ULocale.ROOT); local 1048 RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(ULocale.ROOT); local 1072 Collator coll = Collator.getInstance(new ULocale("root")); local 1200 Collator coll = Collator.getInstance(new Locale("sh", "")); local 1419 RuleBasedCollator coll = null; local 1496 RuleBasedCollator coll = new RuleBasedCollator("[reorder Hang Hani]"); local 1701 Collator coll = new RuleBasedCollator("&[before 1]\\uFDD1?<*\\u4E00-\\u9FFF"); local [all...] |
CollationThaiTest.java | 83 RuleBasedCollator coll = null; local 85 coll = getThaiCollator(); 90 compareArray(coll, TESTS); 126 RuleBasedCollator coll = null; local 128 coll = getThaiCollator(); 169 // CollationTest.doTest(this, coll, lastWord, word, -1); 170 int result = coll.compare(lastWord, word); 178 k1 = coll.getCollationKey(lastWord); 179 k2 = coll.getCollationKey(word);
|
/external/icu/icu4c/source/samples/legacy/ |
oldcol.cpp | 36 UCollator *coll = ucol_open(locale, &status); local 40 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); 41 ucol_close(coll);
|
/external/icu/icu4c/source/test/cintltst/ |
callcoll.c | 148 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { 159 while(strength <= UCOL_QUATERNARY && strength <= ucol_getStrength(coll)) { 167 if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) { 169 } else if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) { 175 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &errorCode) == UCOL_NON_IGNORABLE) { 180 if(ucol_getStrength(coll) == UCOL_IDENTICAL) { 219 UResourceBundle *loc = ures_open(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING "coll", locName, &status);; 232 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode *status) { 250 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); 251 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status) 633 UCollator *coll = ucol_open(locale, &status); local 650 UCollator *coll = ucol_open(locale, &status); local 672 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); local 693 UCollator *coll = ucol_open(locale, &status); local 720 UCollator *coll = NULL; local 1196 UCollator* coll=0; local 1279 UCollator *coll = ucol_open("es", &status); local [all...] |
callcoll.h | 49 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result); 50 void genericOrderingTest(UCollator *coll, const char * const s[], uint32_t size);
|
sorttest.c | 127 const UCollator *coll=(const UCollator *)context; local 131 return ucol_strcoll(coll, leftLine->s, STR_LEN, rightLine->s, STR_LEN); 136 UCollator *coll; local 141 coll=ucol_open("root", &errorCode); 167 linesComparator, coll, TRUE, &errorCode); 189 diff=ucol_strcoll(coll, p->s, STR_LEN, q->s, STR_LEN); 200 ucol_close(coll);
|
/frameworks/base/core/java/android/hardware/radio/ |
Utils.java | 122 @Nullable Collection<T> coll) { 124 if (coll != null) { 125 if (coll instanceof ArrayList) { 126 list = (ArrayList) coll; 128 list = new ArrayList<>(coll);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
CollationElementIteratorTest.java | 36 private RuleBasedCollator coll; field in class:CollationElementIteratorTest 40 coll = (RuleBasedCollator) Collator.getInstance(Locale.US); 47 CollationElementIterator iterator = coll.getCollationElementIterator(text); 61 CollationElementIterator iterator = coll.getCollationElementIterator(text); 85 RuleBasedCollator coll = (RuleBasedCollator) Collator.getInstance(Locale.US); local 87 CollationElementIterator iterator = coll 113 CollationElementIterator iterator = coll.getCollationElementIterator(text);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
Util.java | 246 public boolean containsAll(Collection<?> coll) { 247 return s.containsAll(coll); 249 public boolean removeAll(Collection<?> coll) { 250 return s.removeAll(coll); 252 public boolean retainAll(Collection<?> coll) { 253 return s.retainAll(coll); 259 public boolean addAll(Collection<? extends E> coll) {
|
/external/annotation-tools/scene-lib/src/annotations/util/coll/ |
VivifyingMap.java | 1 package annotations.util.coll;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
IterCollationIterator.java | 15 package android.icu.impl.coll;
|
UVector32.java | 13 package android.icu.impl.coll;
|
UVector64.java | 13 package android.icu.impl.coll;
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
IterCollationIterator.java | 14 package com.ibm.icu.impl.coll;
|