Searched refs:coll (Results 1 - 25 of 127) sorted by relevance

123456

/external/icu4c/samples/coll/
H A DMakefile12 TARGET=coll
15 OBJECTS=coll.o
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DRuleBasedCollatorTest.java50 RuleBasedCollator coll = new RuleBasedCollator(rule);
51 assertEquals(rule.hashCode(), coll.hashCode());
56 RuleBasedCollator coll = new RuleBasedCollator(rule);
57 assertEquals(rule.hashCode(), coll.hashCode());
63 RuleBasedCollator coll = (RuleBasedCollator) Collator
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
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ducaconf.h38 void setCollNonIgnorable(UCollator *coll);
39 void setCollShifted(UCollator *coll);
40 void testConformance(UCollator *coll);
H A Ducaconf.cpp88 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 Dthcoll.cpp17 #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 Ditercoll.cpp11 #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/icu4c/test/intltest/
H A Ducaconf.h38 void setCollNonIgnorable(Collator *coll);
39 void setCollShifted(Collator *coll);
40 void testConformance(const Collator *coll);
H A Ducaconf.cpp87 void UCAConformanceTest::setCollNonIgnorable(Collator *coll) argument
89 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
90 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status);
91 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, status);
92 coll->setAttribute(UCOL_STRENGTH, isAtLeastUCA62 ? UCOL_IDENTICAL : UCOL_TERTIARY, status);
93 coll->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, status);
96 void UCAConformanceTest::setCollShifted(Collator *coll) argument
98 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
99 coll->setAttribute(UCOL_CASE_FIRST, UCOL_OFF, status);
100 coll
180 testConformance(const Collator *coll) argument
[all...]
H A Dthcoll.cpp17 #include "unicode/coll.h"
39 coll = Collator::createInstance(Locale("th", "TH", ""), status);
40 if (coll && U_SUCCESS(status)) {
41 //coll->setStrength(Collator::TERTIARY);
43 delete coll;
44 coll = 0;
49 delete coll;
55 if((!coll) && exec) {
77 if (coll == 0) {
107 Collator::EComparisonResult result = coll
[all...]
H A Ditercoll.cpp11 #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/icu4c/i18n/unicode/
H A Ducol.h452 * @param coll collator
461 ucol_getContractions( const UCollator *coll,
469 * @param coll collator
478 ucol_getContractionsAndExpansions( const UCollator *coll,
486 * @param coll The UCollator to close.
493 ucol_close(UCollator *coll);
517 * @param coll The UCollator containing the comparison rules.
530 ucol_strcoll( const UCollator *coll,
542 * @param coll The UCollator containing the comparison rules.
557 const UCollator *coll,
[all...]
/external/icu4c/i18n/
H A Ducol.cpp42 #include "unicode/coll.h"
138 (s)->coll = (collator);
498 ucol_cloneBinary(const UCollator *coll, argument
510 if(coll->hasRealData == TRUE) {
511 length = coll->image->size;
513 uprv_memcpy(buffer, coll->image, length);
542 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo));
544 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo));
545 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo));
546 uprv_memcpy(myData->formatVersion, coll
559 ucol_safeClone(const UCollator *coll, void *stackBuffer, int32_t * pBufferSize, UErrorCode *status) argument
711 ucol_close(UCollator *coll) argument
770 ucol_cloneRuleData(const UCollator *coll, int32_t *length, UErrorCode *status) argument
869 ucol_contractionEndCP(UChar c, const UCollator *coll) argument
895 i_getCombiningClass(UChar32 c, const UCollator *coll) argument
1509 ucol_IGetNextCE(const UCollator *coll, collIterate *collationSource, UErrorCode *status) argument
1700 ucol_getNextCE(const UCollator *coll, collIterate *collationSource, UErrorCode *status) argument
2009 ucol_IGetPrevCE(const UCollator *coll, collIterate *data, UErrorCode *status) argument
2208 ucol_getPrevCE(const UCollator *coll, collIterate *data, UErrorCode *status) argument
2216 ucol_getFirstCE(const UCollator *coll, UChar u, UErrorCode *status) argument
2482 getDiscontiguous(const UCollator *coll, collIterate *source, const UChar *constart) argument
2754 ucol_prv_getSpecialCE(const UCollator *coll, UChar ch, uint32_t CE, collIterate *source, UErrorCode *status) argument
3402 ucol_prv_getSpecialPrevCE(const UCollator *coll, UChar ch, uint32_t CE, collIterate *source, UErrorCode *status) argument
4516 ucol_getSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength) argument
4563 ucol_getCollationKey(const UCollator *coll, const UChar *source, int32_t sourceLength, CollationKey &key, UErrorCode &errorCode) argument
4634 ucol_calcSortKey(const UCollator *coll, const UChar *source, int32_t sourceLength, SortKeyByteSink &result, UErrorCode *status) argument
5038 ucol_calcSortKeySimpleTertiary(const UCollator *coll, const UChar *source, int32_t sourceLength, SortKeyByteSink &result, UErrorCode *status) argument
5376 ucol_nextSortKeyPart(const UCollator *coll, UCharIterator *iter, uint32_t state[2], uint8_t *dest, int32_t count, UErrorCode *status) argument
6213 ucol_addLatinOneEntry(UCollator *coll, UChar ch, uint32_t CE, int32_t *primShift, int32_t *secShift, int32_t *terShift) argument
6267 ucol_resizeLatinOneTable(UCollator *coll, int32_t size, UErrorCode *status) argument
6286 ucol_setUpLatinOne(UCollator *coll, UErrorCode *status) argument
6442 ucol_updateInternalState(UCollator *coll, UErrorCode *status) argument
6505 ucol_setVariableTop(UCollator *coll, const UChar *varTop, int32_t len, UErrorCode *status) argument
6555 ucol_getVariableTop(const UCollator *coll, UErrorCode *status) argument
6566 ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status) argument
6578 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status) argument
6717 ucol_getAttribute(const UCollator *coll, UColAttribute attr, UErrorCode *status) argument
6752 ucol_setStrength( UCollator *coll, UCollationStrength strength) argument
6760 ucol_getStrength(const UCollator *coll) argument
6767 ucol_getReorderCodes(const UCollator *coll, int32_t *dest, int32_t destCapacity, UErrorCode *status) argument
6800 ucol_setReorderCodes(UCollator* coll, const int32_t* reorderCodes, int32_t reorderCodesLength, UErrorCode *status) argument
6912 ucol_getVersion(const UCollator* coll, UVersionInfo versionInfo) argument
6948 ucol_isTailored(const UCollator *coll, const UChar u, UErrorCode *status) argument
7108 const UCollator *coll = sColl->coll; local
7185 const UCollator *coll = sColl->coll; local
7670 ucol_strcollRegular(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength, UErrorCode *status) argument
7685 ucol_getLatinOneContraction(const UCollator *coll, int32_t strength, uint32_t CE, const UChar *s, int32_t *index, int32_t len) argument
7744 ucol_strcollUseLatin1( const UCollator *coll, const UChar *source, int32_t sLen, const UChar *target, int32_t tLen, UErrorCode *status) argument
8045 ucol_strcollRegularUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
8093 ucol_getLatinOneContractionUTF8(const UCollator *coll, int32_t strength, uint32_t CE, const char *s, int32_t *index, int32_t len) argument
8136 ucol_strcollUseLatin1UTF8( const UCollator *coll, const char *source, int32_t sLen, const char *target, int32_t tLen, UErrorCode *status) argument
8434 ucol_strcollIter( const UCollator *coll, UCharIterator *sIter, UCharIterator *tIter, UErrorCode *status) argument
8542 ucol_strcoll( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8670 ucol_strcollUTF8( const UCollator *coll, const char *source, int32_t sourceLength, const char *target, int32_t targetLength, UErrorCode *status) argument
8845 ucol_greater( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8857 ucol_greaterOrEqual( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8869 ucol_equal( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength) argument
8880 ucol_getUCAVersion(const UCollator* coll, UVersionInfo info) argument
[all...]
H A Ducol_res.cpp28 #include "unicode/coll.h"
52 static void ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *status);
542 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) { argument
547 const UChar *rules = ucol_getRules(coll, &len);
551 ucaRules = coll->ucaRules;
556 ucaRules = ures_getStringByKey(coll->rb,"UCARules",&UCAlen,&status);
557 UResourceBundle* cresb = ures_getByKeyWithFallback(coll->rb, "collations", NULL, &status);
582 ucol_getRules( const UCollator *coll, argument
585 if(coll->rules != NULL) {
586 *length = coll
941 ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) argument
946 ucol_getLocaleByType(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status) argument
976 ucol_setReqValidLocales(UCollator *coll, char *requestedLocaleToAdopt, char *validLocaleToAdopt, char *actualLocaleToAdopt) argument
995 ucol_getTailoredSet(const UCollator *coll, UErrorCode *status) argument
1046 ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *status) argument
1161 ucol_buildPermutationTable(UCollator *coll, UErrorCode *status) argument
[all...]
H A Ducol_sit.cpp25 #include "unicode/coll.h"
592 ucol_getShortDefinitionString(const UCollator *coll, argument
599 if(coll->delegate != NULL) {
600 return ((icu::Collator*)coll->delegate)->internalGetShortDefinitionString(locale,dst,capacity,*status);
614 locale = ucol_getLocaleByType(coll, ULOC_VALID_LOCALE, status);
636 attribute = ucol_getAttributeOrDefault(coll, (UColAttribute)options[i].attr, status);
644 if(coll->variableTopValueisDefault == FALSE) {
645 //s.variableTopValue = ucol_getVariableTop(coll, status);
646 elementSize = T_CString_integerToString(tempbuff, coll->variableTopValue, 16);
683 ucol_getAttributeOrDefault(const UCollator *coll, UColAttribut argument
718 const UCollator *coll; member in struct:contContext
732 const UCollator *coll = context->coll; local
849 ucol_getContractions( const UCollator *coll, USet *contractions, UErrorCode *status) argument
868 ucol_getContractionsAndExpansions( const UCollator *coll, USet *contractions, USet *expansions, UBool addPrefixes, UErrorCode *status) argument
908 ucol_getUnsafeSet( const UCollator *coll, USet *unsafe, UErrorCode *status) argument
[all...]
H A Ducoleitr.cpp214 void init(const UCollator *coll);
224 init(elems->iteratordata_.coll);
227 void UCollationPCE::init(const UCollator *coll) argument
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, argument
333 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_, status);
377 if (ci->coll
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...]
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Ducol.h355 * @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 Ducol.cpp121 (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 Ducol_res.cpp28 #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 Ducol_sit.cpp554 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...]
H A Ducoleitr.cpp214 void init(const UCollator *coll);
224 init(elems->iteratordata_.coll);
227 void UCollationPCE::init(const UCollator *coll) argument
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, argument
333 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_, status);
377 if (ci->coll
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...]
/external/stlport/test/eh/
H A Dtest.cpp6 inline void printElements(const T& coll, const char* msg = "") argument
10 for(it = coll.begin(); it != coll.end(); ++it) {
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcmsccoll.c88 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 Dcapitst.c49 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/icu4c/test/cintltst/
H A Dcapitst.c42 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t len) { argument
102 UCollator *coll = ucol_open(NULL, &status); local
122 if (coll == NULL) {
128 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status);
133 value = ucol_getAttribute(coll, currAttr, &status);
139 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status);
146 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status);
153 ucol_setAttribute(coll, currAttr, value, &status);
160 value = ucol_getAttribute(coll, UCOL_ATTRIBUTE_COUNT, &status);
165 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUN
183 doStrcoll(const UCollator* coll, const UChar* src, int32_t srcLen, const UChar* tgt, int32_t tgtLen, UCollationResult expected, const char *message) argument
1406 UCollator *coll = NULL; local
1523 UCollator *coll = ucol_open("sh", &status); local
1675 doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) argument
1707 UCollator *coll = ucol_open("root", &status); local
1736 UCollator *coll = ucol_open(NULL, &error); local
1850 UCollator *coll = NULL; local
1892 UCollator *coll = ucol_open("en", &status); local
2044 UCollator *coll = NULL, *fromNormalized = NULL; local
2183 UCollator *coll = NULL; local
2254 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local
2303 UCollator *coll = ucol_open("es@collation=pinyin", &status); local
2328 UCollator *coll = ucol_open(loc, &status); local
[all...]
/external/icu4c/samples/legacy/
H A Dnewcol.cpp29 UCollator *coll = ucol_open(locale, &status); local
33 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen);
34 ucol_close(coll);

Completed in 770 milliseconds

123456