Lines Matching refs:myCollation
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);
161 myCollation = ucol_open("ja_JP", &status);
170 ucol_setStrength(myCollation, UCOL_SECONDARY);
172 doTest(myCollation, testPlainDakutenHandakutenCases[i],
175 ucol_close(myCollation);
185 myCollation = ucol_open("ja_JP", &status);
194 ucol_setStrength(myCollation, UCOL_TERTIARY);
195 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status);
197 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1],
200 ucol_close(myCollation);
210 myCollation = ucol_open("ja_JP", &status);
219 ucol_setStrength(myCollation, UCOL_QUATERNARY);
220 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status);
222 doTest(myCollation, testKatakanaHiraganaCases[i],
226 ucol_close(myCollation);
236 myCollation = ucol_open("ja_JP", &status);
245 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status);
246 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status);
248 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1],
252 ucol_close(myCollation);