Home | History | Annotate | Download | only in cintltst

Lines Matching defs:myCollation

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);
2138 UCollator *myCollation;
2139 myCollation = ucol_open("en_US", &status);
2146 ucol_setStrength(myCollation, UCOL_TERTIARY);
2149 ucol_setAttribute(myCollation, UCOL_CASE_FIRST, caseTestAttributes[k][0], &status);
2150 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, caseTestAttributes[k][1], &status);
2154 doTest(myCollation, testCase[i], testCase[j], caseTestResults[k][3*i+j-1]);
2158 ucol_close(myCollation);
2160 myCollation = ucol_openRules(gRules, u_strlen(gRules), UCOL_OFF, UCOL_TERTIARY,NULL, &status);
2166 ucol_setStrength(myCollation, UCOL_TERTIARY);
2169 ucol_setAttribute(myCollation, UCOL_CASE_FIRST, caseTestAttributes[k][0], &status);
2170 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, caseTestAttributes[k][1], &status);
2174 doTest(myCollation, testCase[i], testCase[j], caseTestResults[k][3*i+j-1]);
2175 iter=ucol_openElements(myCollation, testCase[i], u_strlen(testCase[i]), &status);
2178 iter=ucol_openElements(myCollation, testCase[j], u_strlen(testCase[j]), &status);
2184 ucol_close(myCollation);
5529 UCollator *myCollation;
5538 myCollation = ucol_openRules(rule, length, UCOL_ON, UCOL_TERTIARY, &parse_error, &status);
5544 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status);
5545 ucol_setStrength(myCollation, UCOL_TERTIARY);
5547 doTest(myCollation,
5553 ucol_close(myCollation);
5812 UCollator *myCollation;
5821 myCollation = ucol_openRules(rule, length, UCOL_ON, UCOL_TERTIARY, &parse_error, &status);
5837 UCollator *myCollation;
5865 myCollation = ucol_openRules(rules, rulesLength, UCOL_ON, UCOL_TERTIARY, &error, &status);
5872 collResult = ucol_strcoll(myCollation, base, baseLen, before, beforeLen);
5878 baseKeyLength = ucol_getSortKey(myCollation, base, baseLen, baseKey, 256);
5879 beforeKeyLength = ucol_getSortKey(myCollation, before, beforeLen, beforeKey, 256);
5885 ucol_setReorderCodes(myCollation, reorderCodes, 1, &status);
5892 collResult = ucol_strcoll(myCollation, base, baseLen, before, beforeLen);
5898 ucol_getSortKey(myCollation, base, baseLen, baseKey, 256);
5899 ucol_getSortKey(myCollation, before, beforeLen, beforeKey, 256);
5904 ucol_close(myCollation);
5913 UCollator *myCollation;
5930 myCollation = ucol_open("", &status);
5931 ucol_setStrength(myCollation, UCOL_TERTIARY);
5936 baseKeyLength = ucol_getSortKey(myCollation, testString, LEN(testString), baseKey, 256);
5938 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
5943 reorderKeyLength = ucol_getSortKey(myCollation, testString, LEN(testString), reorderKey, 256);
5956 ucol_close(myCollation);
5959 myCollation = ucol_open("", &status);
5960 ucol_setStrength(myCollation, UCOL_QUATERNARY);
5965 baseKeyLength = ucol_getSortKey(myCollation, testString, LEN(testString), baseKey, 256);
5967 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
5972 reorderKeyLength = ucol_getSortKey(myCollation, testString, LEN(testString), reorderKey, 256);
5985 ucol_close(myCollation);
5994 UCollator *myCollation;
6004 myCollation = ucol_open("", &status);
6005 ucol_setStrength(myCollation, UCOL_TERTIARY);
6012 ucol_setReorderCodes(myCollation, reorderCodes, LEN(reorderCodes), &status);
6018 retrievedReorderCodesLength = ucol_getReorderCodes(myCollation, NULL, 0, &status);
6028 collResult = ucol_strcoll(myCollation, greekString, LEN(greekString), punctuationString, LEN(punctuationString));
6035 ucol_setReorderCodes(myCollation, NULL, 0, &status);
6041 retrievedReorderCodesLength = ucol_getReorderCodes(myCollation, NULL, 0, &status);
6047 collResult = ucol_strcoll(myCollation, greekString, LEN(greekString), punctuationString, LEN(punctuationString));
6053 ucol_close(myCollation);
6067 UCollator *myCollation;
6070 myCollation = ucol_open("", &status);
6075 ucol_setReorderCodes(myCollation, reorderTokens, reorderTokensLen, &status);
6082 doTest(myCollation,
6088 ucol_close(myCollation);