Searched refs:sortk3 (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 482 CollationKey sortk1, sortk2, sortk3; in TestHashCode() local 487 col3->getCollationKey(test2, sortk3, status); in TestHashCode() 490 doAssert(sortk2.hashCode() == sortk3.hashCode(), "Hash result not equal" ); in TestHashCode() 564 CollationKey sortk3(sortk2), sortkNew; in TestCollationKey() local 569 doAssert((sortk2 == sortk3), "The sort keys should be the same"); in TestCollationKey() 572 doAssert((sortkNew != sortk3), "The sort keys should be different"); in TestCollationKey() 573 …doAssert(sortk1.compareTo(sortk3) == Collator::GREATER, "Result should be \"Abcda\" >>> \"abcda\""… in TestCollationKey() 574 … doAssert(sortk2.compareTo(sortk3) == Collator::EQUAL, "Result should be \"abcda\" == \"abcda\""); in TestCollationKey() 578 …doAssert(sortk1.compareTo(sortk3, success) == UCOL_GREATER, "Result should be \"Abcda\" >>> \"abcd… in TestCollationKey() 579 …doAssert(sortk2.compareTo(sortk3, success) == UCOL_EQUAL, "Result should be \"abcda\" == \"abcda\"… in TestCollationKey() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | capitst.c | 1073 uint8_t *sortk1 = NULL, *sortk2 = NULL, *sortk3 = NULL, *sortkEmpty = NULL; in TestSortKey() local 1140 sortk3=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in TestSortKey() 1141 memset(sortk3,0xFE, sortklen); in TestSortKey() 1142 ucol_getSortKey(col, test2, u_strlen(test2), sortk3, sortklen+1); in TestSortKey() 1148 doAssert( (memcmp(sortk2, sortk3, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey() 1150 resultP = ucol_sortKeyToString(col, sortk3, toStringBuffer, toStringLen); in TestSortKey() 1165 sprintf(junk3+strlen(junk3), "%02X ",(int)( 0xFF & sortk3[i])); in TestSortKey() 1175 free(sortk3); in TestSortKey() 1218 uint8_t *sortk1, *sortk2, *sortk3; in TestHashCode() local 1244 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 | 431 CollationKey sortk1, sortk2, sortk3; in TestHashCode() local 435 sortk3 = col3.getCollationKey(test2); in TestHashCode() 438 doAssert(sortk2.hashCode() == sortk3.hashCode(), "Hash result not equal" ); in TestHashCode()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationAPITest.java | 434 CollationKey sortk1, sortk2, sortk3; in TestHashCode() local 438 sortk3 = col3.getCollationKey(test2); in TestHashCode() 441 doAssert(sortk2.hashCode() == sortk3.hashCode(), "Hash result not equal" ); in TestHashCode()
|