Searched defs:sortKey2 (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dccurrtst.c106 uint8_t *sortKey1, *sortKey2; local
149 sortKey2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1));
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1);
152 res = uprv_memcmp(sortKey1, sortKey2, sortklen);
157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
160 free(sortKey2);
H A Dcallcoll.c273 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; local
408 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
410 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1);
416 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) {
420 /*memcmp(sortKey1, sortKey2,sortklenmax);*/
421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2);
423 gSortklen2 = uprv_strlen((const char *)sortKey2)+1;
430 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len));
442 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result );
444 free(sortKey2);
[all...]
H A Dcapitst.c859 uint8_t *sortKey2; local
887 sortKey2 = (uint8_t*)malloc(sortKeyLen2+1);
888 ucol_getSortKey(c2,str2,-1,sortKey2, sortKeyLen2+1);
890 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2);
906 free(sortKey2);
929 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; local
1018 sortKey2 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen2 + 1));
1019 /*memset(sortKey2, 0xFE, sortKeyLen2);*/
1020 ucol_getSortKey(c2, str, u_strlen(str), sortKey2, sortKeyLen2 + 1);
1021 ucol_sortKeyToString(c2, sortKey2, sortKeyStr
[all...]
H A Dcmsccoll.c5489 uint8_t sortKey2[SORTKEYLEN]; local
5509 keySize2 = ucol_getSortKey(ucol, data2, data2Len, sortKey2, SORTKEYLEN);
5512 if (sortKey1[i] != sortKey2[i]) {
5527 keySize2 = ucol_nextSortKeyPart(ucol, &uiter2, state2, sortKey2, SORTKEYLEN, &status);
5530 if (sortKey1[j] != sortKey2[j]) {
/external/icu/icu4c/source/test/cintltst/
H A Dccurrtst.c106 uint8_t *sortKey1, *sortKey2; local
149 sortKey2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1));
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1);
152 res = uprv_memcmp(sortKey1, sortKey2, sortklen);
157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult );
160 free(sortKey2);
H A Dcallcoll.c273 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; local
408 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1));
410 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1);
416 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) {
420 /*memcmp(sortKey1, sortKey2,sortklenmax);*/
421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2);
423 gSortklen2 = uprv_strlen((const char *)sortKey2)+1;
430 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len));
442 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result );
444 free(sortKey2);
[all...]
H A Dcapitst.c857 uint8_t *sortKey2; local
885 sortKey2 = (uint8_t*)malloc(sortKeyLen2+1);
886 ucol_getSortKey(c2,str2,-1,sortKey2, sortKeyLen2+1);
888 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2);
904 free(sortKey2);
927 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; local
1016 sortKey2 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen2 + 1));
1017 /*memset(sortKey2, 0xFE, sortKeyLen2);*/
1018 ucol_getSortKey(c2, str, u_strlen(str), sortKey2, sortKeyLen2 + 1);
1019 ucol_sortKeyToString(c2, sortKey2, sortKeyStr
[all...]
H A Dcmsccoll.c4134 uint8_t sortKey2[SORTKEYLEN]; local
4154 keySize2 = ucol_getSortKey(ucol, data2, data2Len, sortKey2, SORTKEYLEN);
4157 if (sortKey1[i] != sortKey2[i]) {
4172 keySize2 = ucol_nextSortKeyPart(ucol, &uiter2, state2, sortKey2, SORTKEYLEN, &status);
4175 if (sortKey1[j] != sortKey2[j]) {
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dapicoll.cpp1263 uint8_t sortKey2[12]; local
1265 uprv_memset(sortKey2, 2, LENGTHOF(sortKey2));
1266 int32_t length2 = col->getSortKey(i_and_phi, 2, sortKey2, capacity);
1267 if (length2 != length || 0 != uprv_memcmp(sortKey, sortKey2, capacity)) {
1269 } else if (sortKey2[capacity] != 2 || sortKey2[capacity + 1] != 2) {
/external/icu/icu4c/source/test/intltest/
H A Dapicoll.cpp1248 uint8_t sortKey2[12]; local
1250 uprv_memset(sortKey2, 2, LENGTHOF(sortKey2));
1251 int32_t length2 = col->getSortKey(i_and_phi, 2, sortKey2, capacity);
1252 if (length2 != length || 0 != uprv_memcmp(sortKey, sortKey2, capacity)) {
1254 } else if (sortKey2[capacity] != 2 || sortKey2[capacity + 1] != 2) {

Completed in 173 milliseconds