Searched defs:sortKey1 (Results 1 - 4 of 4) sorted by relevance

/external/icu4c/test/cintltst/
H A Dccurrtst.c106 uint8_t *sortKey1, *sortKey2; local
145 sortKey1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1));
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, sortklen+1);
152 res = uprv_memcmp(sortKey1, sortKey2, sortklen);
157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
159 free(sortKey1);
H A Dcallcoll.c273 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; local
374 sortKey1 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
376 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1);
386 if (uprv_strcmp((const char *)sortKey1, (const char *)sortKey1a) != 0 ||
391 /*memcmp(sortKey1, sortKey2,sortklenmax);*/
392 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2);
393 gSortklen1 = uprv_strlen((const char *)sortKey1)+1;
397 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey1, buffer, &len));
413 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result );
414 free(sortKey1);
[all...]
H A Dcapitst.c895 uint8_t *sortKey1; local
919 sortKey1 = (uint8_t*)malloc(sortKeyLen1+1);
920 ucol_getSortKey(c2,str1,-1,sortKey1, sortKeyLen1+1);
921 ucol_sortKeyToString(c2, sortKey1, sortKeyStr1, &sortKeyStrLen1);
943 free(sortKey1);
967 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; local
1046 sortKey1 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen1 + 1));
1047 /*memset(sortKey1, 0xFE, sortKeyLen1);*/
1048 ucol_getSortKey(c1, str, u_strlen(str), sortKey1, sortKeyLen1 + 1);
1059 doAssert((memcmp(sortKey1, sortKey
[all...]
H A Dcmsccoll.c5444 uint8_t sortKey1[SORTKEYLEN]; local
5463 keySize1 = ucol_getSortKey(ucol, data1, data1Len, sortKey1, SORTKEYLEN);
5468 if (sortKey1[i] != sortKey2[i]) {
5480 keySize1 = ucol_nextSortKeyPart(ucol, &uiter1, state1, sortKey1, SORTKEYLEN, &status);
5486 if (sortKey1[j] != sortKey2[j]) {

Completed in 111 milliseconds