Searched refs:sortklen (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/test/cintltst/ |
D | ccurrtst.c | 103 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()
|
D | capitst.c | 891 int32_t sortklen, osortklen; in TestSortKey() local 945 sortklen=ucol_getSortKey(col, test1, u_strlen(test1), NULL, 0); in TestSortKey() 946 sortk1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in TestSortKey() 947 memset(sortk1,0xFE, sortklen); in TestSortKey() 948 ucol_getSortKey(col, test1, u_strlen(test1), sortk1, sortklen+1); in TestSortKey() 950 sortklen=ucol_getSortKey(col, test2, u_strlen(test2), NULL, 0); in TestSortKey() 951 sortk2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in TestSortKey() 952 memset(sortk2,0xFE, sortklen); in TestSortKey() 953 ucol_getSortKey(col, test2, u_strlen(test2), sortk2, sortklen+1); in TestSortKey() 955 osortklen = sortklen; in TestSortKey() [all …]
|