Searched refs:myCollation (Results 1 - 25 of 31) sorted by relevance

12

/external/icu4c/test/intltest/
H A Dlcukocol.cpp32 : myCollation(0)
35 myCollation = Collator::createInstance("ko_kr", status);
37 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
40 delete myCollation;
41 myCollation = 0;
48 delete myCollation;
67 myCollation->setStrength(Collator::TERTIARY);
70 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
77 if(myCollation) {
H A Dallcoll.cpp21 : myCollation(0)
27 myCollation = new RuleBasedCollator(rules, status);
32 if (myCollation != NULL)
34 delete myCollation;
36 myCollation = new RuleBasedCollator(ruleset, status);
39 delete myCollation;
40 myCollation = 0;
46 delete myCollation;
95 myCollation->setStrength(Collator::TERTIARY);
98 doTest(myCollation, testSourceCase
[all...]
H A Dficoll.cpp33 : myCollation(0)
36 myCollation = Collator::createInstance(Locale("fi", "FI", "", "collation=standard"),status);
41 delete myCollation;
72 myCollation->setStrength(Collator::TERTIARY);
74 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
80 myCollation->setStrength(Collator::PRIMARY);
82 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
90 if((!myCollation) && exec) {
H A Djacoll.cpp20 : myCollation(0)
23 myCollation = Collator::createInstance(Locale::getJapan(), status);
24 if(!myCollation || U_FAILURE(status)) {
27 delete myCollation;
28 myCollation = NULL;
35 delete myCollation;
108 myCollation->setStrength(Collator::TERTIARY);
111 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
112 myCollation->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status);
114 doTest(myCollation, testSourceCase
[all...]
H A Ddecoll.cpp36 : myCollation(0)
39 myCollation = Collator::createInstance(Locale::getGermany(), status);
40 if(!myCollation || U_FAILURE(status)) {
43 delete myCollation;
44 myCollation = NULL;
50 delete myCollation;
105 if(myCollation == NULL ) {
112 myCollation->setStrength(Collator::TERTIARY);
113 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
116 doTest(myCollation, testSourceCase
[all...]
H A Descoll.cpp35 : myCollation(0)
38 myCollation = Collator::createInstance(Locale("es", "ES", ""),status);
43 delete myCollation;
86 myCollation->setStrength(Collator::TERTIARY);
88 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
94 myCollation->setStrength(Collator::PRIMARY);
96 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
104 if((!myCollation) && exec) {
H A Dtrcoll.cpp19 : myCollation(0)
22 myCollation = Collator::createInstance(Locale("tr", "", ""),status);
27 delete myCollation;
76 myCollation->setStrength(Collator::TERTIARY);
78 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
84 myCollation->setStrength(Collator::PRIMARY);
86 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
94 if((!myCollation) && exec) {
H A Dallcoll.h52 RuleBasedCollator *myCollation; member in class:CollationDummyTest
H A Dencoll.h43 Collator *myCollation; member in class:CollationEnglishTest
H A Dfrcoll.cpp27 : myCollation(0)
30 myCollation = Collator::createInstance(Locale::getCanadaFrench(), status);
31 if(!myCollation || U_FAILURE(status)) {
34 delete myCollation;
35 myCollation = NULL;
41 delete myCollation;
141 myCollation->setStrength(Collator::TERTIARY);
142 myCollation->setAttribute(UCOL_FRENCH_COLLATION, UCOL_ON, status);
143 myCollation->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status);
151 doTest(myCollation, testSourceCase
[all...]
H A Dg7coll.cpp97 Collator *myCollation= 0; local
102 myCollation = Collator::createInstance(locales[i], status);
104 delete myCollation;
108 myCollation->setStrength(Collator::QUATERNARY);
109 myCollation->setAttribute(UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, status);
122 // const UnicodeString& defRules = ((RuleBasedCollator*)myCollation)->getRules();
124 tblColl1 = new RuleBasedCollator(((RuleBasedCollator*)myCollation)->getRules(), status);
153 delete myCollation;
171 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local
184 doTest(myCollation, testCase
205 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local
239 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local
274 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status); local
[all...]
H A Ddecoll.h45 Collator *myCollation; member in class:CollationGermanTest
H A Descoll.h44 Collator *myCollation; member in class:CollationSpanishTest
H A Dficoll.h43 Collator *myCollation; member in class:CollationFinnishTest
H A Dlcukocol.h35 Collator *myCollation; member in class:LotusCollationKoreanTest
H A Dtrcoll.h44 Collator *myCollation; member in class:CollationTurkishTest
H A Dfrcoll.h47 Collator *myCollation; member in class:CollationFrenchTest
H A Djacoll.h60 Collator *myCollation; member in class:CollationKanaTest
/external/icu4c/test/cintltst/
H A Dcjaptst.c39 static UCollator *myCollation; variable
120 myCollation = ucol_open("ja_JP", &status);
126 ucol_setStrength(myCollation, UCOL_TERTIARY);
127 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status);
130 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
132 ucol_close(myCollation);
140 myCollation = ucol_open("ja_JP", &status);
149 ucol_setStrength(myCollation, UCOL_PRIMARY);
151 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], UCOL_LESS);
153 ucol_close(myCollation);
[all...]
H A Dcfintst.c36 static UCollator *myCollation; variable
81 myCollation = ucol_open("fi_FI@collation=standard", &status);
86 ucol_setStrength(myCollation, UCOL_TERTIARY);
89 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
91 ucol_close(myCollation);
99 myCollation = ucol_open("fi_FI@collation=standard", &status);
104 ucol_setStrength(myCollation, UCOL_PRIMARY);
107 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
109 ucol_close(myCollation);
H A Dcestst.c36 static UCollator *myCollation; variable
90 myCollation = ucol_open("es_ES", &status);
96 ucol_setStrength(myCollation, UCOL_TERTIARY);
99 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
101 ucol_close(myCollation);
109 myCollation = ucol_open("es_ES", &status);
115 ucol_setStrength(myCollation, UCOL_PRIMARY);
118 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
120 ucol_close(myCollation);
H A Dcturtst.c36 static UCollator *myCollation; variable
97 myCollation = ucol_open("tr", &status);
103 ucol_setStrength(myCollation, UCOL_TERTIARY);
106 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
108 ucol_close(myCollation);
117 myCollation = ucol_open("tr", &status);
123 ucol_setStrength(myCollation, UCOL_PRIMARY);
126 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
128 ucol_close(myCollation);
H A Dcg7coll.c143 UCollator *myCollation, *tblColl1; local
151 myCollation = ucol_open(locales[i], &status);
152 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status);
153 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status);
161 defRules = ucol_getRules(myCollation, &rlen);
167 ucol_close(myCollation);
186 ucol_close(myCollation);
193 UCollator *myCollation; local
203 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status);
215 doTest(myCollation, testCase
224 UCollator *myCollation; local
253 UCollator *myCollation; local
283 UCollator *myCollation; local
[all...]
H A Dcdetst.c36 static UCollator *myCollation; variable
105 myCollation = ucol_open("de_DE", &status);
111 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
112 ucol_setStrength(myCollation, UCOL_TERTIARY);
115 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i][1]);
117 ucol_close(myCollation);
125 myCollation = ucol_open("de_DE", &status);
131 ucol_setStrength(myCollation, UCOL_PRIMARY);
134 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i][0]);
136 ucol_close(myCollation);
[all...]
H A Dcallcoll.c268 static void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) argument
279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status);
283 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen);
288 compareResulta = ucol_strcoll(myCollation, source, -1, target, -1);
296 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
314 compareResulta = ucol_strcollUTF8(myCollation, utf8Source, utf8SourceLen, utf8Target, utf8TargetLen, &status);
322 compareResulta = ucol_strcollUTF8(myCollation, utf8Source, -1, utf8Target, -1, &status);
338 compareResultUTF8Iter = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
340 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
343 compareResultUTF8IterNorm = ucol_strcollIter(myCollation,
449 doTest(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) argument
738 UCollator *myCollation; local
763 UCollator *myCollation; local
790 UCollator *myCollation; local
815 UCollator *myCollation; local
839 UCollator *myCollation; local
1016 UCollator *myCollation; local
1093 UCollator *myCollation; local
[all...]

Completed in 439 milliseconds

12