Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c628 int32_t swappedLength; in testTrieSerialize() local
636 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
637 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
644 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
646 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
656 swappedLength=utrie2_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
657 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
664 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
666 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Dccapitst.c3047 int32_t i, normalLength, swappedLength; in testSwap() local
3091 swappedLength=(int32_t)(pc-swapped); in testSwap()
3099 if(normalLength!=swappedLength) { in testSwap()
3100 …CSwapLFNL error converting to %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
3128 …nv, &pu, uSwapped+UPRV_LENGTHOF(uSwapped), (const char **)&pc, normal+swappedLength, NULL, TRUE, &… in testSwap()
3129 swappedLength=(int32_t)(pu-uSwapped); in testSwap()
3137 if(normalLength!=swappedLength) { in testSwap()
3138 …wapLFNL error converting from %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp755 int32_t i, swappedLength; in udata_swap() local
797 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
806 } else if(swappedLength<(length-15)) { in udata_swap()
809 swappedLength, length, in udata_swap()
817 return swappedLength; in udata_swap()