Searched refs:sortkEmpty (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/test/intltest/ |
D | apicoll.cpp | 580 CollationKey sortk3(sortk2), sortkNew, sortkEmpty; in TestCollationKey() local 592 …doAssert(sortkEmpty.compareTo(sortk1) == Collator::LESS, "Result should be (empty key) <<< \"Abcda… in TestCollationKey() 593 …doAssert(sortk1.compareTo(sortkEmpty) == Collator::GREATER, "Result should be \"Abcda\" >>> (empty… in TestCollationKey() 594 …doAssert(sortkEmpty.compareTo(sortkEmpty) == Collator::EQUAL, "Result should be (empty key) == (em… in TestCollationKey() 597 …doAssert(sortkEmpty.compareTo(sortk1, success) == UCOL_LESS, "Result should be (empty key) <<< \"A… in TestCollationKey() 598 …doAssert(sortk1.compareTo(sortkEmpty, success) == UCOL_GREATER, "Result should be \"Abcda\" >>> (e… in TestCollationKey() 599 …doAssert(sortkEmpty.compareTo(sortkEmpty, success) == UCOL_EQUAL, "Result should be (empty key) ==… in TestCollationKey()
|
/external/icu4c/test/cintltst/ |
D | capitst.c | 1080 uint8_t *sortk1 = NULL, *sortk2 = NULL, *sortk3 = NULL, *sortkEmpty = NULL; in TestSortKey() local 1200 sortkEmpty = (uint8_t*)malloc(sizeof(uint8_t) * sortklen+1); in TestSortKey() 1201 sortklen = ucol_getSortKey(col, test1, 0, sortkEmpty, sortklen+1); in TestSortKey() 1202 if(sortklen != 3 || sortkEmpty[0] != 1 || sortkEmpty[0] != 1 || sortkEmpty[2] != 0) { in TestSortKey() 1205 free(sortkEmpty); in TestSortKey()
|