Home | History | Annotate | Download | only in cintltst

Lines Matching defs:sortKey

42 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t len) {
48 while ((b = *sortkey++) != 0) {
1095 log_verbose("testing SortKey begins...\n");
1144 doAssert( (sortklen == osortklen), "Sortkey length should be the same (abcda, abcda)");
1190 log_verbose("getting sortkey for an empty string\n");
1196 log_err("Empty string generated wrong sortkey!\n");
1203 log_err("Invalid string didn't return sortkey size of 0\n");
1207 log_verbose("testing sortkey ends...\n");
1524 uint8_t sortkey[512], lower[512], upper[512];
1653 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512);
1654 lowerSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_LOWER, 1, lower, 512, &status);
1655 upperSize = ucol_getBound(sortkey, skSize, UCOL_BOUND_UPPER_LONG, 1, upper, 512, &status);
1658 skSize = ucol_getSortKey(coll, buffer, buffSize, sortkey, 512);
1659 if(strcmp((const char *)lower, (const char *)sortkey) > 0) {
1662 if(strcmp((const char *)upper, (const char *)sortkey) <= 0) {
1676 uint8_t sortKey[256];
1683 memset(sortKey, filler, 256);
1684 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i);
1686 log_err("For buffer size %i, got different sortkey length. Expected %i got %i\n", i, skLen, skLen2);
1689 if(sortKey[j] != filler) {
1968 log_err("Wrong preflight size for merged sortkey\n");
1983 log_err("Empty sortkey didn't produce a level separator\n");