Home
last modified time | relevance | path

Searched refs:swappedLength (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c662 int32_t swappedLength; in testTrieSerialize() local
670 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
671 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
678 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
680 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
690 swappedLength=utrie2_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
691 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
698 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
700 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Ducptrietest.c768 int32_t swappedLength; in testTrieSerialize() local
776 swappedLength=ucptrie_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
777 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
784 swappedLength=ucptrie_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
786 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
796 swappedLength=ucptrie_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
797 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
804 swappedLength=ucptrie_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
806 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Dccapitst.c3086 int32_t i, normalLength, swappedLength; in testSwap() local
3130 swappedLength=(int32_t)(pc-swapped); in testSwap()
3138 if(normalLength!=swappedLength) { in testSwap()
3139 …CSwapLFNL error converting to %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
3167 …nv, &pu, uSwapped+UPRV_LENGTHOF(uSwapped), (const char **)&pc, normal+swappedLength, NULL, TRUE, &… in testSwap()
3168 swappedLength=(int32_t)(pu-uSwapped); in testSwap()
3176 if(normalLength!=swappedLength) { in testSwap()
3177 …wapLFNL error converting from %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp861 int32_t i, swappedLength; in udata_swap() local
903 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
912 } else if(swappedLength<(length-15)) { in udata_swap()
915 swappedLength, length, in udata_swap()
923 return swappedLength; in udata_swap()