Home
last modified time | relevance | path

Searched refs:sortklen (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dccurrtst.c103 int32_t i, j, sortklen; in currTest() local
144 sortklen=ucol_getSortKey(c, source, u_strlen(source), NULL, 0); in currTest()
145 sortKey1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in currTest()
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1); in currTest()
148 sortklen=ucol_getSortKey(c, target, u_strlen(target), NULL, 0); in currTest()
149 sortKey2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in currTest()
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1); in currTest()
152 res = uprv_memcmp(sortKey1, sortKey2, sortklen); in currTest()
Dcapitst.c1073 int32_t sortklen, osortklen; in TestSortKey() local
1127 sortklen=ucol_getSortKey(col, test1, u_strlen(test1), NULL, 0); in TestSortKey()
1128 sortk1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in TestSortKey()
1129 memset(sortk1,0xFE, sortklen); in TestSortKey()
1130 ucol_getSortKey(col, test1, u_strlen(test1), sortk1, sortklen+1); in TestSortKey()
1132 sortklen=ucol_getSortKey(col, test2, u_strlen(test2), NULL, 0); in TestSortKey()
1133 sortk2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in TestSortKey()
1134 memset(sortk2,0xFE, sortklen); in TestSortKey()
1135 ucol_getSortKey(col, test2, u_strlen(test2), sortk2, sortklen+1); in TestSortKey()
1137 osortklen = sortklen; in TestSortKey()
[all …]