Searched refs:sortkEmpty (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 524 CollationKey sortkEmpty; in TestCollationKey() local 525 col->getCollationKey(NULL, 0, sortkEmpty, key1Status); in TestCollationKey() 527 const uint8_t* byteArrayEmpty = sortkEmpty.getByteArray(length); in TestCollationKey() 528 doAssert(sortkEmpty.isBogus() == FALSE && length == 3 && in TestCollationKey() 531 doAssert(sortkNone.compareTo(sortkEmpty) == Collator::LESS, in TestCollationKey() 533 doAssert(sortkEmpty.compareTo(sortkNone) == Collator::GREATER, in TestCollationKey() 543 doAssert(sortkIgnorable.compareTo(sortkEmpty) == Collator::EQUAL, in TestCollationKey() 575 …doAssert(sortkEmpty.compareTo(sortk1) == Collator::LESS, "Result should be (empty key) <<< \"Abcda… in TestCollationKey() 576 …doAssert(sortk1.compareTo(sortkEmpty) == Collator::GREATER, "Result should be \"Abcda\" >>> (empty… in TestCollationKey() 577 …doAssert(sortkEmpty.compareTo(sortkEmpty) == Collator::EQUAL, "Result should be (empty key) == (em… 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 1193 sortkEmpty = (uint8_t*)malloc(sizeof(uint8_t) * sortklen+1); in TestSortKey() 1194 sortklen = ucol_getSortKey(col, test1, 0, sortkEmpty, sortklen+1); in TestSortKey() 1195 if(sortklen != 3 || sortkEmpty[0] != 1 || sortkEmpty[0] != 1 || sortkEmpty[2] != 0) { in TestSortKey() 1198 free(sortkEmpty); in TestSortKey()
|