Searched refs:sortk3 (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 463 CollationKey sortk1, sortk2, sortk3; in TestHashCode() local 468 col3->getCollationKey(test2, sortk3, status); in TestHashCode() 471 doAssert(sortk2.hashCode() == sortk3.hashCode(), "Hash result not equal" ); in TestHashCode() 545 CollationKey sortk3(sortk2), sortkNew; in TestCollationKey() local 550 doAssert((sortk2 == sortk3), "The sort keys should be the same"); in TestCollationKey() 553 doAssert((sortkNew != sortk3), "The sort keys should be different"); in TestCollationKey() 554 …doAssert(sortk1.compareTo(sortk3) == Collator::GREATER, "Result should be \"Abcda\" >>> \"abcda\""… in TestCollationKey() 555 … doAssert(sortk2.compareTo(sortk3) == Collator::EQUAL, "Result should be \"abcda\" == \"abcda\""); in TestCollationKey() 559 …doAssert(sortk1.compareTo(sortk3, success) == UCOL_GREATER, "Result should be \"Abcda\" >>> \"abcd… in TestCollationKey() 560 …doAssert(sortk2.compareTo(sortk3, success) == UCOL_EQUAL, "Result should be \"abcda\" == \"abcda\"… in TestCollationKey() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | capitst.c | 1070 uint8_t *sortk1 = NULL, *sortk2 = NULL, *sortk3 = NULL, *sortkEmpty = NULL; in TestSortKey() local 1137 sortk3=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in TestSortKey() 1138 memset(sortk3,0xFE, sortklen); in TestSortKey() 1139 ucol_getSortKey(col, test2, u_strlen(test2), sortk3, sortklen+1); in TestSortKey() 1145 doAssert( (memcmp(sortk2, sortk3, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey() 1147 resultP = ucol_sortKeyToString(col, sortk3, toStringBuffer, toStringLen); in TestSortKey() 1162 sprintf(junk3+strlen(junk3), "%02X ",(int)( 0xFF & sortk3[i])); in TestSortKey() 1172 free(sortk3); in TestSortKey() 1215 uint8_t *sortk1, *sortk2, *sortk3; in TestHashCode() local 1241 sortk3=(uint8_t*)malloc(sizeof(uint8_t) * (sortk3len+1)); in TestHashCode() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 415 CollationKey sortk1, sortk2, sortk3; in TestHashCode() local 419 sortk3 = col3.getCollationKey(test2); in TestHashCode() 422 doAssert(sortk2.hashCode() == sortk3.hashCode(), "Hash result not equal" ); in TestHashCode()
|