/external/icu/icu4c/source/samples/coll/ |
H A D | Makefile | 12 TARGET=coll 15 OBJECTS=coll.o
|
/external/icu/icu4c/source/i18n/ |
H A D | ucol.cpp | 24 #include "unicode/coll.h" 45 RuleBasedCollator *coll = new RuleBasedCollator( local 49 if(coll == NULL) { 54 delete coll; 57 return coll->toUCollator(); 61 ucol_cloneBinary(const UCollator *coll, argument 68 const RuleBasedCollator *rbc = RuleBasedCollator::rbcFromUCollator(coll); 69 if(rbc == NULL && coll != NULL) { 77 ucol_safeClone(const UCollator *coll, void * /*stackBuffer*/, int32_t * pBufferSize, UErrorCode *status) argument 82 if (coll 103 ucol_close(UCollator *coll) argument 189 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument 210 ucol_nextSortKeyPart(const UCollator *coll, UCharIterator *iter, uint32_t state[2], uint8_t *dest, int32_t count, UErrorCode *status) argument 303 ucol_setMaxVariable(UCollator *coll, UColReorderCode group, UErrorCode *pErrorCode) argument 309 ucol_getMaxVariable(const UCollator *coll) argument 314 ucol_setVariableTop(UCollator *coll, const UChar *varTop, int32_t len, UErrorCode *status) argument 321 ucol_getVariableTop(const UCollator *coll, UErrorCode *status) argument 329 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status) argument 337 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status) argument 346 ucol_getAttribute(const UCollator *coll, UColAttribute attr, UErrorCode *status) argument 355 ucol_setStrength( UCollator *coll, UCollationStrength strength) argument 363 ucol_getStrength(const UCollator *coll) argument 370 ucol_getReorderCodes(const UCollator *coll, int32_t *dest, int32_t destCapacity, UErrorCode *status) argument 382 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument 402 ucol_getVersion(const UCollator* coll, UVersionInfo versionInfo) argument 409 ucol_strcollIter( const UCollator *coll, UCharIterator *sIter, UCharIterator *tIter, UErrorCode *status) argument 438 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 461 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument 493 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 505 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 517 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 528 ucol_getUCAVersion(const UCollator* coll, UVersionInfo info) argument 547 ucol_getRules(const UCollator *coll, int32_t *length) argument 562 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) argument 577 ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) argument 582 ucol_getLocaleByType(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) argument 604 ucol_getTailoredSet(const UCollator *coll, UErrorCode *status) argument [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | ucaconf.h | 38 void setCollNonIgnorable(UCollator *coll); 39 void setCollShifted(UCollator *coll); 40 void testConformance(UCollator *coll);
|
H A D | ucaconf.cpp | 88 void UCAConformanceTest::setCollNonIgnorable(UCollator *coll) argument 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) argument 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_LEVE 152 testConformance(UCollator *coll) argument [all...] |
H A D | 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 [all...] |
H A D | 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...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | ucaconf.h | 38 void setCollNonIgnorable(Collator *coll); 39 void setCollShifted(Collator *coll); 40 void testConformance(const Collator *coll);
|
H A D | ucaconf.cpp | 89 void UCAConformanceTest::setCollNonIgnorable(Collator *coll) argument 91 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 92 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status); 93 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status); 94 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_TERTIARY, status); 95 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, status); 98 void UCAConformanceTest::setCollShifted(Collator *coll) argument 100 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); 101 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status); 102 coll 171 testConformance(const Collator *coll) argument [all...] |
H A D | thcoll.cpp | 17 #include "unicode/coll.h" 40 coll = Collator::createInstance(Locale("th", "TH", ""), status); 41 if (coll && U_SUCCESS(status)) { 42 //coll->setStrength(Collator::TERTIARY); 44 delete coll; 45 coll = 0; 50 delete coll; 56 if((!coll) && exec) { 78 if (coll == 0) { 108 Collator::EComparisonResult result = coll [all...] |
H A D | apicoll.cpp | 35 #include "unicode/coll.h" 331 RuleBasedCollator *coll; local 335 coll = (RuleBasedCollator *)Collator::createInstance(Locale::getEnglish(), status); 344 coll->getRules(UCOL_TAILORING_ONLY, rules); 349 coll->getRules(UCOL_FULL_RULES, rules); 353 delete coll; 1293 RuleBasedCollator coll(rule, status); 1300 coll.createCollationElementIterator(str); 1321 size = coll.getMaxExpansion(order); 1336 size = coll 1404 Collator *coll = Collator::createInstance("en_US", error); local 1428 Collator *coll = Collator::createInstance(error); local 1535 Collator *coll = Collator::createInstance(Locale::getRoot(), status); local 1617 Collator *coll = Collator::createInstance("root", status); local 1771 Collator *coll = Collator::createInstance(Locale("sh"), status); local 1949 RuleBasedCollator *coll local 2293 RuleBasedCollator *coll = new RuleBasedCollator(UnicodeString(buf, len), status); local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | ucol.h | 470 * @param coll collator 479 ucol_getContractions( const UCollator *coll, 487 * @param coll collator 496 ucol_getContractionsAndExpansions( const UCollator *coll, 504 * @param coll The UCollator to close. 511 ucol_close(UCollator *coll); 535 * @param coll The UCollator containing the comparison rules. 548 ucol_strcoll( const UCollator *coll, 559 * @param coll The UCollator containing the comparison rules. 574 const UCollator *coll, [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | 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...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol.cpp | 121 (s)->coll = (collator); 476 ucol_cloneBinary(const UCollator *coll, argument 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 537 ucol_safeClone(const UCollator *coll, void *stackBuffer, int32_t * pBufferSize, UErrorCode *status) argument 648 ucol_close(UCollator *coll) argument 699 ucol_cloneRuleData(const UCollator *coll, int32_t *length, UErrorCode *status) argument 798 ucol_contractionEndCP(UChar c, const UCollator *coll) argument 824 i_getCombiningClass(UChar32 c, const UCollator *coll) argument 1434 ucol_IGetNextCE(const UCollator *coll, collIterate *collationSource, UErrorCode *status) argument 1625 ucol_getNextCE(const UCollator *coll, collIterate *collationSource, UErrorCode *status) argument 1934 ucol_IGetPrevCE(const UCollator *coll, collIterate *data, UErrorCode *status) argument 2133 ucol_getPrevCE(const UCollator *coll, collIterate *data, UErrorCode *status) argument 2141 ucol_getFirstCE(const UCollator *coll, UChar u, UErrorCode *status) argument 2407 getDiscontiguous(const UCollator *coll, collIterate *source, const UChar *constart) argument 2679 ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, collIterate *source, UErrorCode *status) argument 3327 ucol_prv_getSpecialPrevCE(const UCollator *coll, UChar ch, uint32_t CE, collIterate *source, UErrorCode *status) argument 4251 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument 4293 ucol_getSortKeyWithAllocation(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t **pResult, UErrorCode *pErrorCode) argument 4313 ucol_getSortKeySize(const UCollator *coll, collIterate *s, int32_t currentSize, UColAttributeValue strength, int32_t len) argument 4656 ucol_calcSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t **result, uint32_t resultLength, UBool allocateSKBuffer, UErrorCode *status) argument 5293 ucol_calcSortKeySimpleTertiary(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t **result, uint32_t resultLength, UBool allocateSKBuffer, UErrorCode *status) argument 5769 ucol_nextSortKeyPart(const UCollator *coll, UCharIterator *iter, uint32_t state[2], uint8_t *dest, int32_t count, UErrorCode *status) argument 6606 ucol_addLatinOneEntry(UCollator *coll, UChar ch, uint32_t CE, int32_t *primShift, int32_t *secShift, int32_t *terShift) argument 6660 ucol_resizeLatinOneTable(UCollator *coll, int32_t size, UErrorCode *status) argument 6679 ucol_setUpLatinOne(UCollator *coll, UErrorCode *status) argument 6834 ucol_updateInternalState(UCollator *coll, UErrorCode *status) argument 6897 ucol_setVariableTop(UCollator *coll, const UChar *varTop, int32_t len, UErrorCode *status) argument 6942 ucol_getVariableTop(const UCollator *coll, UErrorCode *status) argument 6950 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status) argument 6962 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status) argument 7099 ucol_getAttribute(const UCollator *coll, UColAttribute attr, UErrorCode *status) argument 7129 ucol_setStrength( UCollator *coll, UCollationStrength strength) argument 7137 ucol_getStrength(const UCollator *coll) argument 7144 ucol_getReorderCodes(const UCollator *coll, int32_t *dest, int32_t destCapacity, UErrorCode *pErrorCode) argument 7168 ucol_setReorderCodes(UCollator *coll, const int32_t *reorderCodes, int32_t reorderCodesLength, UErrorCode *pErrorCode) argument 7213 ucol_getVersion(const UCollator* coll, UVersionInfo versionInfo) argument 7245 ucol_isTailored(const UCollator *coll, const UChar u, UErrorCode *status) argument 7405 const UCollator *coll = sColl->coll; local 7482 const UCollator *coll = sColl->coll; local 7967 ucol_strcollRegular(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument 7982 ucol_getLatinOneContraction(const UCollator *coll, int32_t strength, uint32_t CE, const UChar *s, int32_t *index, int32_t len) argument 8041 ucol_strcollUseLatin1( const UCollator *coll, const UChar *source, int32_t sLen, const UChar *target, int32_t tLen, UErrorCode *status) argument 8339 ucol_strcollIter( const UCollator *coll, UCharIterator *sIter, UCharIterator *tIter, UErrorCode *status) argument 8447 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 8571 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 8583 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 8595 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument 8606 ucol_getUCAVersion(const UCollator* coll, UVersionInfo info) argument [all...] |
H A D | 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) { argument 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, argument 572 if(coll->rules != NULL) { 573 *length = coll 928 ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) argument 933 ucol_getLocaleByType(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) argument 960 ucol_setReqValidLocales(UCollator *coll, char *requestedLocaleToAdopt, char *validLocaleToAdopt, char *actualLocaleToAdopt) argument 979 ucol_getTailoredSet(const UCollator *coll, UErrorCode *status) argument 1030 ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *status) argument 1049 ucol_getLeadBytesForReorderCode(UCollator *coll, int reorderCode, uint16_t* returnLeadBytes, int returnCapacity) argument 1076 ucol_getReorderCodesForLeadByte(UCollator *coll, int leadByte, int16_t* returnReorderCodes, int returnCapacity) argument 1101 ucol_buildPermutationTable(UCollator *coll, UErrorCode *status) argument [all...] |
H A D | ucol_sit.cpp | 554 ucol_getShortDefinitionString(const UCollator *coll, argument 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) argument 644 if(U_FAILURE(*status) || coll == NULL) { 649 return coll->numericCollationisDefault?UCOL_DEFAULT:coll 674 const UCollator *coll; member in struct:contContext 688 const UCollator *coll = context->coll; local 805 ucol_getContractions( const UCollator *coll, USet *contractions, UErrorCode *status) argument 824 ucol_getContractionsAndExpansions( const UCollator *coll, USet *contractions, USet *expansions, UBool addPrefixes, UErrorCode *status) argument 864 ucol_getUnsafeSet( const UCollator *coll, USet *unsafe, UErrorCode *status) argument [all...] |
/external/icu/icu4c/source/test/perf/collperf2/ |
H A D | collperf2.cpp | 12 #include "unicode/coll.h" 57 Strcoll(const UCollator* coll, const CA_uchar* source, UBool useLen); 63 const UCollator *coll; member in class:Strcoll 69 Strcoll::Strcoll(const UCollator* coll, const CA_uchar* source, UBool useLen) argument 70 : coll(coll), 97 cmp += ucol_strcoll(coll, source->dataOf(i), srcLen, source->dataOf(j), tgtLen); 117 Strcoll_2(const UCollator* coll, const CA_uchar* source, const CA_uchar* target, UBool useLen); 123 const UCollator *coll; member in class:Strcoll_2 129 Strcoll_2::Strcoll_2(const UCollator* coll, cons argument 175 const UCollator *coll; member in class:StrcollUTF8 181 StrcollUTF8(const UCollator* coll, const CA_char* source, UBool useLen) argument 235 const UCollator *coll; member in class:StrcollUTF8_2 241 StrcollUTF8_2(const UCollator* coll, const CA_char* source, const CA_char* target, UBool useLen) argument 286 const UCollator *coll; member in class:GetSortKey 291 GetSortKey(const UCollator* coll, const CA_uchar* source, UBool useLen) argument 341 const UCollator *coll; member in class:NextSortKeyPart 349 NextSortKeyPart(const UCollator* coll, const CA_uchar* source, int32_t bufSize, int32_t maxIteration ) argument 408 const UCollator *coll; member in class:NextSortKeyPartUTF8 416 NextSortKeyPartUTF8(const UCollator* coll, const CA_char* source, int32_t bufSize, int32_t maxIteration ) argument 475 const Collator *coll; member in class:CppCompare 481 CppCompare(const Collator* coll, const CA_uchar* source, UBool useLen) argument 534 const Collator *coll; member in class:CppCompare_2 540 CppCompare_2(const Collator* coll, const CA_uchar* source, const CA_uchar* target, UBool useLen) argument 585 const Collator *coll; member in class:CppCompareUTF8 591 CppCompareUTF8(const Collator* coll, const CA_char* source, UBool useLen) argument 655 const Collator *coll; member in class:CppCompareUTF8_2 661 CppCompareUTF8_2(const Collator* coll, const CA_char* source, const CA_char* target, UBool useLen) argument 712 const Collator *coll; member in class:CppGetCollationKey 717 CppGetCollationKey(const Collator* coll, const CA_uchar* source, UBool useLen) argument 745 CollatorAndCounter(const Collator& coll) argument 746 CollatorAndCounter(const Collator& coll, const UCollator *ucoll) argument 748 const Collator& coll; member in struct:__anon21379::CollatorAndCounter 767 CollPerfFunction(const Collator& coll, const UCollator *ucoll) argument 774 const Collator& coll; member in class:CollPerfFunction 789 UniStrCollPerfFunction(const Collator& coll, const UCollator *ucoll, const CA_uchar* data16) argument 815 UniStrSort(const Collator& coll, const UCollator *ucoll, const CA_uchar* data16) argument 868 StringPieceCollPerfFunction(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 888 StringPieceSort(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 906 StringPieceSortCpp(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 930 StringPieceSortC(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 954 UniStrBinSearch(const Collator& coll, const UCollator *ucoll, const CA_uchar* data16) argument 977 StringPieceBinSearch(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 990 StringPieceBinSearchCpp(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 1017 StringPieceBinSearchC(const Collator& coll, const UCollator *ucoll, const CA_char* data8) argument 1048 UCollator* coll; member in class:CollPerf2Test 1388 const Collator& coll; member in struct:__anon21381::ArrayAndColl [all...] |
/external/lldb/source/Core/ |
H A D | VMRange.cpp | 20 VMRange::ContainsValue(const VMRange::collection& coll, lldb::addr_t value) argument 24 VMRange::const_iterator end = coll.end(); 25 pos = std::find_if( coll.begin(), end, in_range_predicate ); 32 VMRange::ContainsRange(const VMRange::collection& coll, const VMRange& range) argument 36 VMRange::const_iterator end = coll.end(); 37 pos = std::find_if( coll.begin(), end, in_range_predicate ); 44 VMRange::FindRangeIndexThatContainsValue (const VMRange::collection& coll, lldb::addr_t value) argument 47 VMRange::const_iterator begin = coll.begin(); 48 VMRange::const_iterator end = coll.end();
|
/external/stlport/test/eh/ |
H A D | test.cpp | 6 inline void printElements(const T& coll, const char* msg = "") argument 10 for(it = coll.begin(); it != coll.end(); ++it) {
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | 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 local 443 UCollator *coll = ucol_open("cs", &status); local 539 UCollator *coll = ucol_open("", &status); local 579 UCollator *coll = NULL; local 695 UCollator *coll = ucol_openRules(rulez, 0, UCOL_OFF, UCOL_TERTIARY,NULL, &status); local 706 UCollator *coll = ucol_open("", &status); local 974 UCollator *coll; local 1242 UCollator *coll = ucol_openRules(rlz, rlen, UCOL_DEFAULT, UCOL_DEFAULT,NULL, &status); local 1280 UCollator *coll; local 1433 UCollator *coll; local 1576 UCollator *coll; local 1698 UCollator *coll = ucol_open("", &status); local 1714 UCollator *coll = ucol_open("", &status); local 1825 UCollator *coll; local 1937 UCollator *coll = ucol_open("en_US", &status); local 2335 UCollator *coll = NULL; local 2611 UCollator *coll = ucol_open("", &status); local 2679 UCollator *coll = ucol_open("", &status); local 2716 UCollator *coll = ucol_open("", &status); local 2918 UCollator *coll = ucol_open("en", &status); local 2933 UCollator *coll = ucol_openRules(r, 1, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 3042 UCollator* coll = ucol_open("root", &status); local 3080 UCollator *coll = ucol_open("", &status); local 3323 UCollator *coll = NULL; local 3456 UCollator *coll = NULL; local 3513 static UCollator *coll = NULL; local 3581 UCollator *coll =NULL; local 3766 UCollator *coll =NULL; local 3873 UCollator *coll =NULL; local 3997 static UCollator *coll = NULL; local 5784 UCollator *coll; local [all...] |
H A D | capitst.c | 44 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t len) { argument 96 UCollator *coll = ucol_open(NULL, &status); local 116 if (coll == NULL) { 122 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); 127 value = ucol_getAttribute(coll, currAttr, &status); 133 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); 140 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); 147 ucol_setAttribute(coll, currAttr, value, &status); 154 value = ucol_getAttribute(coll, UCOL_ATTRIBUTE_COUNT, &status); 159 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUN 177 doStrcoll(const UCollator* coll, const UChar* src, int32_t srcLen, const UChar* tgt, int32_t tgtLen, UCollationResult expected, const char *message) argument 1385 UCollator *coll = NULL; local 1506 UCollator *coll = ucol_open("sh", &status); local 1660 doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) argument 1692 UCollator *coll = ucol_open("root", &status); local 1721 UCollator *coll = ucol_open(NULL, &error); local 1835 UCollator *coll = NULL; local 1877 UCollator *coll = ucol_open("en", &status); local 2035 UCollator *coll = NULL, *fromNormalized = NULL; local 2188 UCollator *coll = NULL; local 2276 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 2332 UCollator *coll = ucol_open("es@collation=pinyin", &status); local 2357 UCollator *coll = ucol_open(loc, &status); local 2464 UCollator *coll; local [all...] |
H A D | citertst.c | 75 UCollator *coll = ucol_open(LOCALES[i], &status); local 76 UCollationElements *pitr = ucol_openElements(coll, pattern, -1, 78 UCollationElements *titer = ucol_openElements(coll, text, -1, 124 ucol_close(coll); 148 UCollator *coll = ucol_open(LOCALES[i], &status); local 152 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); 154 pitr = ucol_openElements(coll, pattern, -1, &status); 155 titer = ucol_openElements(coll, text, -1, &status); 200 ucol_close(coll); 351 UCollator *coll; local 419 UCollator *coll=NULL; local 778 UCollator *coll ;/*= ucol_open("en_US", &status);*/ local 936 UCollator *coll; local 1043 UCollator *coll; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | 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 local 530 testCollator(UCollator *coll, UErrorCode *status) argument 915 testAgainstUCA(UCollator *coll, UCollator *UCA, const char *refName, UBool error, UErrorCode *status) argument 1079 testCEs(UCollator *coll, UErrorCode *status) argument 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...] |
H A D | capitst.c | 49 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) { argument 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) { 141 UCollator *coll = ucol_open(NULL, &status); local 161 if (coll == NULL) { 167 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); 172 value = ucol_getAttribute(coll, currAtt 1332 UCollator *coll = NULL; local 1449 UCollator *coll = ucol_open("sh", &status); local 1601 doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) argument 1633 UCollator *coll = ucol_open("root", &status); local 1662 UCollator *coll = ucol_open(NULL, &error); local 1776 UCollator *coll = NULL; local 1818 UCollator *coll = ucol_open("en", &status); local 1970 UCollator *coll = NULL, *fromNormalized = NULL; local 2109 UCollator *coll = NULL; local 2180 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local 2229 UCollator *coll = ucol_open("es@collation=pinyin", &status); local 2254 UCollator *coll = ucol_open(loc, &status); local [all...] |
/external/icu/icu4c/source/samples/legacy/ |
H A D | 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);
|
/external/lldb/include/lldb/Core/ |
H A D | STLUtils.h | 65 inline void PrintAllCollectionElements (std::ostream &s, const T& coll, const char* header_cstr=NULL, const char* separator_cstr=" ") argument 71 for (pos=coll.begin(); pos!=coll.end(); ++pos) {
|