/external/icu4c/test/intltest/ |
apicoll.cpp | 35 #include "unicode/coll.h" 380 RuleBasedCollator *coll; local 384 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); 393 coll->getRules(UCOL_TAILORING_ONLY, rules); 398 coll->getRules(UCOL_FULL_RULES, rules); 402 delete coll; 1426 Collator *coll = Collator::createInstance("en_US", error); local 1450 Collator *coll = Collator::createInstance(error); local 1555 Collator *coll = Collator::createInstance(status); local 1589 Collator *coll = NULL; local 1695 Collator *coll = Collator::createInstance(Locale("sh"), status); local 1839 RuleBasedCollator *coll = NULL; local 1872 RuleBasedCollator *coll local 2250 RuleBasedCollator *coll = new RuleBasedCollator(UnicodeString(buf, len), status); local [all...] |
ssearch.cpp | 18 #include "unicode/coll.h" 437 UCollator *coll = ucol_open(testCases[t].locale, &status); local 446 ucd = ucd_open(coll, &status); 476 ucol_close(coll); 685 OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset = 0); 710 OrderList::OrderList(UCollator *coll, const UnicodeString &string, int32_t stringOffset) 714 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 718 switch (ucol_getStrength(coll)) 1228 UCollator *coll = NULL; local 1376 UCollator *coll = NULL; local 1452 UCollator *coll = NULL; local 1755 UCollator *coll; member in class:StringSetMonkey 2210 UCollator *coll = ucol_openFromShortString("S1", FALSE, NULL, &status); local 2349 UCollator *coll = ucol_openFromShortString("LEN_S1", FALSE, NULL, &status); local [all...] |
tscoll.h | 19 #include "unicode/coll.h" 52 UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &status);
|
tsmthred.cpp | 844 const UCollator *coll; member in class:CollatorThreadTest 849 coll(NULL), 856 coll = c; 870 resLen = ucol_getSortKey(coll, lines[i].buff, lines[i].buflen, newSk, 1024); 876 cmpres = ucol_strcoll(coll, lines[i-1].buff, lines[i-1].buflen, lines[i].buff, lines[i].buflen); 877 cmpres2 = ucol_strcoll(coll, lines[i].buff, lines[i].buflen, lines[i-1].buff, lines[i-1].buflen); 1005 UCollator *coll = ucol_open("root", &status); local 1010 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 1011 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); 1012 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status) [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...] |
/external/icu4c/samples/legacy/ |
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/cintltst/ |
callcoll.h | 47 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result); 48 void genericOrderingTest(UCollator *coll, const char * const s[], uint32_t size);
|
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...] |
usrchtst.c | 1743 UCollator *coll = NULL; local 2425 UCollator *coll = NULL; local 2458 UCollator *coll = NULL; local 2512 UCollator *coll; local 2601 UCollator *coll; local 2821 UCollator *coll; local 2924 UCollator *coll; local [all...] |
/external/icu4c/i18n/ |
ucol_imp.h | 40 #define U_ICUDATA_COLL U_ICUDATA_NAME U_TREE_SEPARATOR_STRING "coll" 305 const UCollator *coll; member in struct:collIterate 488 (s)->coll = (collator); \ 502 * @param coll const UCollator pointer 507 #define UCOL_GETMAXEXPANSION(coll, order, result) { \ 511 start = (coll)->endExpansionCE; \ 512 limit = (coll)->lastEndExpansionCE; \ 523 result = *((coll)->expansionCESize + (start - (coll)->endExpansionCE)); \ 526 result = *(coll->expansionCESize + (limit - coll->endExpansionCE)); [all...] |
coleitr.cpp | 50 m_data_ = ucol_openElements(other.m_data_->iteratordata_.coll, NULL, 0, 94 if (m_data_->iteratordata_.coll != that.m_data_->iteratordata_.coll) 202 uprv_init_collIterate(m_data_->iteratordata_.coll, string, length, 249 uprv_init_collIterate(m_data_->iteratordata_.coll, buffer, length, 256 UCollationStrength s = ucol_getStrength(m_data_->iteratordata_.coll); 474 coliter->coll = othercoliter->coll;
|
stsearch.cpp | 65 RuleBasedCollator *coll, 76 if (coll == NULL) { 84 m_text_.length(), coll->ucollator, 128 RuleBasedCollator *coll, 139 if (coll == NULL) { 147 m_text_.length(), coll->ucollator, 280 void StringSearch::setCollator(RuleBasedCollator *coll, UErrorCode &status) 283 usearch_setCollator(m_strsrch_, coll->getUCollator(), &status);
|
colldata.cpp | 17 #include "unicode/coll.h" 49 CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) 52 UCollationElements *elems = ucol_openElements(coll, string.getBuffer(), string.length(), &status); 53 UCollationStrength strength = ucol_getStrength(coll); 54 UBool toShift = ucol_getAttribute(coll, UCOL_ALTERNATE_HANDLING, &status) == UCOL_SHIFTED; 55 uint32_t variableTop = ucol_getVariableTop(coll, &status); 641 : coll(NULL), charsToCEList(NULL), ceToCharsStartingWith(NULL), key(NULL) 693 coll = ucol_safeClone(collator, NULL, NULL, &status); 699 coll = collator; 702 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status) [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...] |
bms.cpp | 29 ucd_open(UCollator *coll, UErrorCode *status) 31 return STATIC_CAST(UCD *, CollData::open(coll, *status));
|
/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/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/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
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
|
/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
|
bms.h | 40 * @param coll - the collator 52 ucd_open(UCollator *coll, UErrorCode *status);
|
alphaindex.h | 545 void hackName(UnicodeString &dest, const UnicodeString &name, const Collator *coll); 546 void initPinyinBounds(const Collator *coll, UErrorCode &status);
|
ucoleitr.h | 73 * . UCollatorOld *coll; 77 * . coll = ucol_open(NULL, &success); 78 * . c = ucol_openElements(coll, str, u_strlen(str), &status); 83 * . ucol_close(coll); 111 * @param coll The collator containing the desired collation rules. 119 ucol_openElements(const UCollator *coll,
|
/external/webkit/Source/WebCore/icu/unicode/ |
ucoleitr.h | 65 * . UCollatorOld *coll; 69 * . coll = ucol_open(NULL, &success); 70 * . c = ucol_openElements(coll, str, u_strlen(str), &status); 75 * . ucol_close(coll); 103 * @param coll The collator containing the desired collation rules. 111 ucol_openElements(const UCollator *coll,
|
/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());
|
/libcore/luni/src/test/java/tests/security/cert/ |
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());
|