Lines Matching full:sortk1
1080 uint8_t *sortk1 = NULL, *sortk2 = NULL, *sortk3 = NULL, *sortkEmpty = NULL;
1136 sortk1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1));
1137 memset(sortk1,0xFE, sortklen);
1138 ucol_getSortKey(col, test1, u_strlen(test1), sortk1, sortklen+1);
1153 doAssert( (memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" > \"abcda\"");
1154 doAssert( (memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" < \"Abcda\"");
1180 free(sortk1);
1187 sortk1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1));
1188 ucol_getSortKey(col, test1, u_strlen(test1), sortk1, sortklen+1);
1193 doAssert( !(memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" == \"abcda\"");
1194 doAssert( !(memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" == \"Abcda\"");
1195 doAssert( (memcmp(sortk1, sortk2, sortklen) == 0), "Result should be \"abcda\" == \"abcda\"");
1219 free(sortk1);
1225 uint8_t *sortk1, *sortk2, *sortk3;
1245 sortk1=(uint8_t*)malloc(sizeof(uint8_t) * (sortk1len+1));
1246 ucol_getSortKey(col, test1, u_strlen(test1), sortk1, sortk1len+1);
1257 doAssert( ucol_keyHashCode(sortk1, sortk1len) != ucol_keyHashCode(sortk2, sortk2len), "Hash test1 result incorrect" );
1258 doAssert( !(ucol_keyHashCode(sortk1, sortk1len) == ucol_keyHashCode(sortk2, sortk2len)), "Hash test2 result incorrect" );
1263 free(sortk1);