HomeSort by relevance Sort by last modified time
    Searched refs:coll (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /external/icu4c/samples/coll/
Makefile 12 TARGET=coll
15 OBJECTS=coll.o
  /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...]
  /external/icu4c/test/intltest/
ucaconf.h 38 void setCollNonIgnorable(UCollator *coll);
39 void setCollShifted(UCollator *coll);
40 void testConformance(UCollator *coll);
ucaconf.cpp 88 void UCAConformanceTest::setCollNonIgnorable(UCollator *coll)
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)
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_LEVEL, UCOL_OFF, &status)
    [all...]
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->compare(lastWord, word)
    [all...]
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...]
ssearch.h 51 virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
54 virtual int32_t bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
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;
  /external/icu4c/i18n/unicode/
ucol.h 406 * @param coll collator
415 ucol_getContractions( const UCollator *coll,
422 * @param coll collator
431 ucol_getContractionsAndExpansions( const UCollator *coll,
439 * @param coll The UCollator to close.
446 ucol_close(UCollator *coll);
470 * @param coll The UCollator containing the comparison rules.
483 ucol_strcoll( const UCollator *coll,
492 * @param coll The UCollator containing the comparison rules.
504 ucol_greater(const UCollator *coll,
    [all...]
stsearch.h 103 * from <tt>getCollator</tt> and using the APIs in <tt>coll.h</tt>.
176 * @param coll A <tt>RuleBasedCollator</tt> object which defines
193 RuleBasedCollator *coll,
237 * @param coll A <tt>RuleBasedCollator</tt> object which defines
253 RuleBasedCollator *coll,
378 * @param coll collator
382 void setCollator(RuleBasedCollator *coll, UErrorCode &status);
  /external/icu4c/i18n/
ucol_res.cpp 28 #include "unicode/coll.h"
52 static void ucol_setReorderCodesFromParser(UCollator *coll, UColTokenParser *parser, UErrorCode *status);
543 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen) {
548 const UChar *rules = ucol_getRules(coll, &len);
552 ucaRules = coll->ucaRules;
557 ucaRules = ures_getStringByKey(coll->rb,"UCARules",&UCAlen,&status);
558 UResourceBundle* cresb = ures_getByKeyWithFallback(coll->rb, "collations", NULL, &status);
583 ucol_getRules( const UCollator *coll,
586 if(coll->rules != NULL) {
587 *length = coll->rulesLength
    [all...]
ucol.cpp 122 (s)->coll = (collator);
477 ucol_cloneBinary(const UCollator *coll,
489 if(coll->hasRealData == TRUE) {
490 length = coll->image->size;
492 uprv_memcpy(buffer, coll->image, length);
521 uprv_memcpy(myData->version, coll->image->version, sizeof(UVersionInfo));
523 uprv_memcpy(myData->UCAVersion, coll->image->UCAVersion, sizeof(UVersionInfo));
524 uprv_memcpy(myData->UCDVersion, coll->image->UCDVersion, sizeof(UVersionInfo));
525 uprv_memcpy(myData->formatVersion, coll->image->formatVersion, sizeof(UVersionInfo));
526 myData->jamoSpecial = coll->image->jamoSpecial
7030 const UCollator *coll = sColl->coll; local
7107 const UCollator *coll = sColl->coll; local
    [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...]
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...]
  /external/webkit/Source/JavaScriptCore/icu/unicode/
ucol.h 349 * @param coll collator
358 ucol_getContractions( const UCollator *coll,
367 * @param coll The UCollator to close.
374 ucol_close(UCollator *coll);
379 * @param coll The UCollator containing the comparison rules.
392 ucol_strcoll( const UCollator *coll,
401 * @param coll The UCollator containing the comparison rules.
413 ucol_greater(const UCollator *coll,
420 * @param coll The UCollator containing the comparison rules.
432 ucol_greaterOrEqual(const UCollator *coll,
    [all...]
  /external/webkit/Source/WebCore/icu/unicode/
ucol.h 349 * @param coll collator
358 ucol_getContractions( const UCollator *coll,
367 * @param coll The UCollator to close.
374 ucol_close(UCollator *coll);
379 * @param coll The UCollator containing the comparison rules.
392 ucol_strcoll( const UCollator *coll,
401 * @param coll The UCollator containing the comparison rules.
413 ucol_greater(const UCollator *coll,
420 * @param coll The UCollator containing the comparison rules.
432 ucol_greaterOrEqual(const UCollator *coll,
    [all...]
  /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/stlport/test/eh/
test.cpp 6 inline void printElements(const T& coll, const char* msg = "")
10 for(it = coll.begin(); it != coll.end(); ++it) {
  /external/icu4c/test/cintltst/
capitst.c 50 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) {
62 while(strength <= UCOL_QUATERNARY && strength <= ucol_getAttribute(coll,UCOL_STRENGTH, &error_code)) {
73 if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_ON && strength == UCOL_SECONDARY && doneCase == FALSE) {
75 } else if(ucol_getAttribute(coll,UCOL_CASE_LEVEL, &error_code) == UCOL_OFF || doneCase == TRUE || strength != UCOL_SECONDARY) {
82 if(strength == UCOL_QUATERNARY && ucol_getAttribute(coll,UCOL_ALTERNATE_HANDLING, &error_code) == UCOL_NON_IGNORABLE) {
87 if(ucol_getAttribute(coll,UCOL_STRENGTH, &error_code) == UCOL_IDENTICAL) {
151 UCollator *coll = ucol_open(NULL, &status); local
171 if (coll == NULL) {
177 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status);
182 value = ucol_getAttribute(coll, currAttr, &status)
1412 UCollator *coll = NULL; local
1529 UCollator *coll = ucol_open("sh", &status); local
1713 UCollator *coll = ucol_open("root", &status); local
1742 UCollator *coll = ucol_open(NULL, &error); local
1856 UCollator *coll = NULL; local
1898 UCollator *coll = ucol_open("en", &status); local
2050 UCollator *coll = NULL, *fromNormalized = NULL; local
2189 UCollator *coll = NULL; local
2260 UCollator *coll = ucol_openRules(uRules, uRulesLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); local
2309 UCollator *coll = ucol_open("es@collation=pinyin", &status); local
2334 UCollator *coll = ucol_open(loc, &status); local
    [all...]
citertst.c 80 UCollator *coll = ucol_open(LOCALES[i], &status); local
81 UCollationElements *pitr = ucol_openElements(coll, pattern, -1,
83 UCollationElements *titer = ucol_openElements(coll, text, -1,
129 ucol_close(coll);
153 UCollator *coll = ucol_open(LOCALES[i], &status); local
157 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
159 pitr = ucol_openElements(coll, pattern, -1, &status);
160 titer = ucol_openElements(coll, text, -1, &status);
205 ucol_close(coll);
356 UCollator *coll; local
424 UCollator *coll=NULL; local
788 UCollator *coll ;\/*= ucol_open("en_US", &status);*\/ local
945 UCollator *coll; local
1272 UCollator *coll = ucol_open("", &status); local
1399 UCollator *coll; local
1474 UCollator *coll; local
1694 UCollator *coll = ucol_open("root", &status); local
1904 UCollator *coll = ucol_open("en_US", &status); local
    [all...]
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 = ucol_open("en_US", &status) local
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...]
  /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);
  /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...]

Completed in 665 milliseconds

1 2 3 4