HomeSort by relevance Sort by last modified time
    Searched defs:myCollation (Results 1 - 22 of 22) sorted by null

  /external/icu4c/test/intltest/
encoll.h 43 Collator *myCollation;
allcoll.h 52 RuleBasedCollator *myCollation;
decoll.h 45 Collator *myCollation;
escoll.h 44 Collator *myCollation;
ficoll.h 43 Collator *myCollation;
frcoll.h 47 Collator *myCollation;
lcukocol.h 35 Collator *myCollation;
trcoll.h 44 Collator *myCollation;
jacoll.h 60 Collator *myCollation;
g7coll.cpp 97 Collator *myCollation= 0;
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);
184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS)
    [all...]
mnkytst.cpp 225 RuleBasedCollator *myCollation = new RuleBasedCollator(newRules, status);
231 doTest(myCollation, testSourceCases[i], testTargetCases[i], Collator::LESS);
233 delete myCollation;
240 myCollation = new RuleBasedCollator(newRules, status);
246 doTest(myCollation, testSourceCases[i], testTargetCases[i], Collator::LESS);
248 delete myCollation;
tscoll.cpp 144 UCollator *myCollation = (UCollator *)((RuleBasedCollator *)col)->getUCollator();
158 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status);
169 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
191 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
192 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
195 compareResultUTF8Norm = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
196 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
225 partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status);
232 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
233 partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status)
    [all...]
  /external/icu4c/test/cintltst/
cdetst.c 36 static UCollator *myCollation;
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...]
cestst.c 36 static UCollator *myCollation;
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);
cfintst.c 36 static UCollator *myCollation;
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);
cturtst.c 36 static UCollator *myCollation;
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);
cg7coll.c 143 UCollator *myCollation, *tblColl1;
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;
203 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status);
215 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS)
    [all...]
cjaptst.c 39 static UCollator *myCollation;
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...]
encoll.c 36 static UCollator *myCollation = NULL;
268 myCollation = ucol_open("en_US", &status);
275 ucol_setStrength(myCollation, UCOL_TERTIARY);
278 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
287 doTest(myCollation, testBugs[i], testBugs[j], UCOL_LESS);
299 doTest(myCollation, testMore[i], testMore[j], expected );
302 ucol_close(myCollation);
310 myCollation = ucol_open("en_US", &status);
315 ucol_setStrength(myCollation, UCOL_PRIMARY);
319 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i])
    [all...]
cfrtst.c 36 static UCollator *myCollation;
148 myCollation = ucol_open("fr_CA", &status);
149 if(U_FAILURE(status) || !myCollation){
154 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status);
160 ucol_setStrength(myCollation, UCOL_QUATERNARY);
163 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
165 ucol_close(myCollation);
173 myCollation = ucol_open("fr_CA", &status);
178 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_SECONDARY, &status);
193 doTest(myCollation, testAcute[i], testAcute[j], expected )
    [all...]
callcoll.c 268 static void doTestVariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result)
279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status);
284 compareResultIter = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
306 compareResultUTF8 = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
307 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
310 compareResultUTF8Norm = ucol_strcollIter(myCollation, &sIter, &tIter, &status);
311 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
340 partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status);
349 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
350 partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &status)
    [all...]
cmsccoll.c 265 UCollator *myCollation;
266 myCollation = ucol_open("en_US", &status);
272 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
273 ucol_setStrength(myCollation, UCOL_TERTIARY);
276 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]);
278 ucol_close(myCollation);
    [all...]

Completed in 324 milliseconds