Lines Matching refs:c2
892 UCollator *c2 = NULL;
912 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &status);
918 sortKeyLen1 = ucol_getSortKey(c2, str1, -1, NULL, 0);
920 ucol_getSortKey(c2,str1,-1,sortKey1, sortKeyLen1+1);
921 ucol_sortKeyToString(c2, sortKey1, sortKeyStr1, &sortKeyStrLen1);
924 sortKeyLen2 = ucol_getSortKey(c2, str2, -1, NULL, 0);
926 ucol_getSortKey(c2,str2,-1,sortKey2, sortKeyLen2+1);
928 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, &sortKeyStrLen2);
932 result=ucol_strcoll(c2, str1, -1, str2, -1);
945 ucol_close(c2);
963 UCollator * c2;
1005 c2 = ucol_openRules(rules, rulesLength, UCOL_DEFAULT, UCOL_DEFAULT_STRENGTH, NULL, &err);
1050 sortKeyLen2 = ucol_getSortKey(c2, str, u_strlen(str), NULL, 0);
1053 ucol_getSortKey(c2, str, u_strlen(str), sortKey2, sortKeyLen2 + 1);
1069 ucol_close(c2);