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

/external/chromium_org/third_party/icu/source/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
403 sortKey1 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
405 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1);
415 if (uprv_strcmp((const char *)sortKey1, (const char *)sortKey1a) != 0 ||
420 /*memcmp(sortKey1, sortKey2,sortklenmax);*/
421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2);
422 gSortklen1 = uprv_strlen((const char *)sortKey1)+1;
426 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey1, buffer, &len));
442 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result );
443 free(sortKey1);
[all...]
H A Dcapitst.c857 uint8_t *sortKey1; local
881 sortKey1 = (uint8_t*)malloc(sortKeyLen1+1);
882 ucol_getSortKey(c2,str1,-1,sortKey1, sortKeyLen1+1);
883 ucol_sortKeyToString(c2, sortKey1, sortKeyStr1, sortKeyStrLen1);
905 free(sortKey1);
929 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; local
1012 sortKey1 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen1 + 1));
1013 /*memset(sortKey1, 0xFE, sortKeyLen1);*/
1014 ucol_getSortKey(c1, str, u_strlen(str), sortKey1, sortKeyLen1 + 1);
1015 ucol_sortKeyToString(c1, sortKey1, sortKeyStr
[all...]
H A Dcmsccoll.c5488 uint8_t sortKey1[SORTKEYLEN]; local
5507 keySize1 = ucol_getSortKey(ucol, data1, data1Len, sortKey1, SORTKEYLEN);
5512 if (sortKey1[i] != sortKey2[i]) {
5524 keySize1 = ucol_nextSortKeyPart(ucol, &uiter1, state1, sortKey1, SORTKEYLEN, &status);
5530 if (sortKey1[j] != sortKey2[j]) {
/external/icu/icu4c/source/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
403 sortKey1 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
405 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1);
415 if (uprv_strcmp((const char *)sortKey1, (const char *)sortKey1a) != 0 ||
420 /*memcmp(sortKey1, sortKey2,sortklenmax);*/
421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2);
422 gSortklen1 = uprv_strlen((const char *)sortKey1)+1;
426 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey1, buffer, &len));
442 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result );
443 free(sortKey1);
[all...]
H A Dcapitst.c855 uint8_t *sortKey1; local
879 sortKey1 = (uint8_t*)malloc(sortKeyLen1+1);
880 ucol_getSortKey(c2,str1,-1,sortKey1, sortKeyLen1+1);
881 ucol_sortKeyToString(c2, sortKey1, sortKeyStr1, sortKeyStrLen1);
903 free(sortKey1);
927 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; local
1010 sortKey1 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen1 + 1));
1011 /*memset(sortKey1, 0xFE, sortKeyLen1);*/
1012 ucol_getSortKey(c1, str, u_strlen(str), sortKey1, sortKeyLen1 + 1);
1013 ucol_sortKeyToString(c1, sortKey1, sortKeyStr
[all...]
H A Dcmsccoll.c4133 uint8_t sortKey1[SORTKEYLEN]; local
4152 keySize1 = ucol_getSortKey(ucol, data1, data1Len, sortKey1, SORTKEYLEN);
4157 if (sortKey1[i] != sortKey2[i]) {
4169 keySize1 = ucol_nextSortKeyPart(ucol, &uiter1, state1, sortKey1, SORTKEYLEN, &status);
4175 if (sortKey1[j] != sortKey2[j]) {

Completed in 217 milliseconds