Lines Matching full:sortkey
49 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t *len) {
55 const uint8_t *currentSk = sortkey;
1036 log_verbose("testing SortKey begins...\n");
1085 doAssert( (sortklen == osortklen), "Sortkey length should be the same (abcda, abcda)");
1131 log_verbose("getting sortkey for an empty string\n");
1137 log_err("Empty string generated wrong sortkey!\n");
1144 log_err("Invalid string didn't return sortkey size of 0\n");
1148 log_verbose("testing sortkey ends...\n");
1465 uint8_t sortkey[512], lower[512], upper[512];
1594 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512);
1595 lowerSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_LOWER, 1, lower, 512, &status);
1596 upperSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_UPPER_LONG, 1, upper, 512, &status);
1599 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512);
1600 if(strcmp((const char *)lower, (const char *)sortkey) > 0) {
1603 if(strcmp((const char *)upper, (const char *)sortkey) <= 0) {
1617 uint8_t sortKey[256];
1624 memset(sortKey, filler, 256);
1625 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i);
1627 log_err("For buffer size %i, got different sortkey length. Expected %i got %i\n", i, skLen, skLen2);
1630 if(sortKey[j] != filler) {
1909 log_err("Wrong preflight size for merged sortkey\n");
1924 log_err("Empty sortkey didn't produce a level separator\n");