/external/icu4c/test/intltest/ |
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;
|
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...] |
regcoll.cpp | 11 #include "unicode/coll.h" 809 Collator *coll = NULL; local 811 coll = Collator::createInstance(Locale::getJapan(), status); 813 if (coll == NULL || U_FAILURE(status)) 816 delete coll; 823 coll->getCollationKey(test, key, status); 830 delete coll; 1084 static int32_t calcKeyIncremental(UCollator *coll, const UChar* text, int32_t len, uint8_t *keyBuf, int32_t /*keyBufLen*/, UErrorCode& status) { 1093 int32_t keyPartLen = ucol_nextSortKeyPart(coll, &uiter, state, &keyBuf[keyLen], count, &status); 1107 UCollator *coll; local [all...] |
srchtest.cpp | 1677 RuleBasedCollator* coll = NULL; local [all...] |
/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...] |
CollationElementIteratorTest.java | 36 private RuleBasedCollator coll; field in class:CollationElementIteratorTest 39 coll = (RuleBasedCollator) Collator.getInstance(Locale.US); 44 CollationElementIterator iterator = coll 59 CollationElementIterator iterator = coll 83 CollationElementIterator iterator = coll
|
/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/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);
|
oldcol.cpp | 30 UCollator *coll = ucol_open(locale, &status); local 34 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); 35 ucol_close(coll);
|
/external/icu4c/test/perf/strsrchperf/ |
strsrchperf.cpp | 70 UCollator *coll = ucol_open(locale, &status); local 71 CollData *data = CollData::open(coll, status); 89 UCollator *coll = data->getCollator(); local 94 ucol_close(coll);
|
/external/webkit/Source/WebCore/html/ |
HTMLMapElement.cpp | 85 RefPtr<HTMLCollection> coll = document()->images(); local 86 for (Node* curr = coll->firstItem(); curr; curr = coll->nextItem()) {
|
/external/icu4c/i18n/unicode/ |
colldata.h | 72 * @param coll - the Collator used to collect the CEs. 82 CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status); 434 UCollator *coll; member in class:CollData
|
/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...] |
CertStore1Test.java | 386 Collection<?> coll; local 388 coll = certS[i].getCertificates(null); 389 assertTrue("Result collection not empty",coll.isEmpty()); 390 coll = certS[i].getCRLs(null); 391 assertTrue("Result collection not empty",coll.isEmpty());
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStore1Test.java | 402 Collection coll; local 404 coll = certS[i].getCertificates(null); 405 assertTrue("Result collection not empty",coll.isEmpty()); 406 coll = certS[i].getCRLs(null); 407 assertTrue("Result collection not empty",coll.isEmpty());
|
/external/icu4c/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 23 #include "unicode/coll.h" 402 Collator *coll = Collator::createInstance(Locale(locale), status); local 409 if(coll->compare(collation_strings[j], collation_strings[j+1]) == UCOL_LESS) { 415 delete coll;
|
/external/icu4c/i18n/ |
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...] |
bmsearch.cpp | 17 #include "unicode/coll.h" 83 UCollator *coll; member in class:Target 96 strengthMask(0), strength(UCOL_PRIMARY), variableTop(0), toShift(FALSE), coll(theCollator), 100 strength = ucol_getStrength(coll); 101 toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; 102 variableTop = ucol_getVariableTop(coll, &status); 106 for (const uint8_t *expansion = coll->expansionCESize; *expansion != 0; expansion += 1) { 164 elements = ucol_openElements(coll, target->getBuffer(), target->length(), &status); 167 charBreakIterator = ubrk_open(UBRK_CHARACTER, ucol_getLocaleByType(coll, ULOC_VALID_LOCALE, &status), 337 if (U_IS_LEAD(ch) || ! ucol_unsafeCP(ch, coll)) { [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...] |
/external/sqlite/android/ |
sqlite3_android.cpp | 40 UCollator *coll = (UCollator *) p; local 41 UCollationResult result = ucol_strcoll(coll, (const UChar *) v1, n1, 55 UCollator *coll = (UCollator *) p; local 62 UCollationResult result = ucol_strcollIter(coll, &i1, &i2, &status);
|
/libcore/luni/src/main/java/java/lang/ |
Class.java | 313 Collection<Annotation> coll = map.values(); local 314 return coll.toArray(new Annotation[coll.size()]); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ArrayListTest.java | 443 Collection coll = Arrays.asList(new String[] { "1", "2" }); local 455 list.addAll(6, coll); [all...] |
/external/icu4c/test/cintltst/ |
callcoll.c | 146 static char* U_EXPORT2 sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { 157 while(strength <= UCOL_QUATERNARY && strength <= ucol_getStrength(coll)) { 165 if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) { 167 } else if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) { 173 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &errorCode) == UCOL_NON_IGNORABLE) { 178 if(ucol_getStrength(coll) == UCOL_IDENTICAL) { 217 UResourceBundle *loc = ures_open(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING "coll", locName, &status);; 230 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode *status) { 248 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); 249 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status) 602 UCollator *coll = ucol_open(locale, &status); local 619 UCollator *coll = ucol_open(locale, &status); local 641 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); local 662 UCollator *coll = ucol_open(locale, &status); local 689 UCollator *coll = NULL; local 1156 UCollator* coll=0; local 1236 UCollator *coll = ucol_open("es", &status); local [all...] |