Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c660 int32_t swappedLength; in testTrieSerialize() local
668 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
669 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
676 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
678 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
688 swappedLength=utrie2_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
689 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
696 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
698 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Ducptrietest.c767 int32_t swappedLength; in testTrieSerialize() local
775 swappedLength=ucptrie_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
776 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
783 swappedLength=ucptrie_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
785 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
795 swappedLength=ucptrie_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
796 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
803 swappedLength=ucptrie_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
805 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Dccapitst.c3068 int32_t i, normalLength, swappedLength; in testSwap() local
3112 swappedLength=(int32_t)(pc-swapped); in testSwap()
3120 if(normalLength!=swappedLength) { in testSwap()
3121 …CSwapLFNL error converting to %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
3149 …nv, &pu, uSwapped+UPRV_LENGTHOF(uSwapped), (const char **)&pc, normal+swappedLength, NULL, TRUE, &… in testSwap()
3150 swappedLength=(int32_t)(pu-uSwapped); in testSwap()
3158 if(normalLength!=swappedLength) { in testSwap()
3159 …wapLFNL error converting from %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp756 int32_t i, swappedLength; in udata_swap() local
798 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
807 } else if(swappedLength<(length-15)) { in udata_swap()
810 swappedLength, length, in udata_swap()
818 return swappedLength; in udata_swap()