Home | History | Annotate | Download | only in cintltst

Lines Matching refs:sortKey

48 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) {
54 const uint8_t *currentSk = sortkey;
1023 /*this is a 1.8 sortkey */
1025 /*this is a 1.7 sortkey */
1027 /* this is a 1.6 sortkey */
1052 log_verbose("testing SortKey begins...\n");
1101 doAssert( (sortklen == osortklen), "Sortkey length should be the same (abcda, abcda)");
1107 doAssert( (memcmp(sortk2, sortk2_compat, sortklen) == 0), "Binary format for 'abcda' sortkey different!");
1149 log_verbose("getting sortkey for an empty string\n");
1155 log_err("Empty string generated wrong sortkey!\n");
1162 log_err("Invalid string didn't return sortkey size of 0\n");
1166 log_verbose("testing sortkey ends...\n");
1483 uint8_t sortkey[512], lower[512], upper[512];
1612 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512);
1613 lowerSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_LOWER, 1, lower, 512, &status);
1614 upperSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_UPPER_LONG, 1, upper, 512, &status);
1617 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512);
1618 if(strcmp((const char *)lower, (const char *)sortkey) > 0) {
1621 if(strcmp((const char *)upper, (const char *)sortkey) <= 0) {
1635 uint8_t sortKey[256];
1642 memset(sortKey, filler, 256);
1643 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i);
1645 log_err("For buffer size %i, got different sortkey length. Expected %i got %i\n", i, skLen, skLen2);
1648 if(sortKey[j] != filler) {
1927 log_err("Wrong preflight size for merged sortkey\n");
1942 log_err("Empty sortkey didn't produce a level separator\n");