Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c626 int32_t swappedLength; in testTrieSerialize() local
634 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
635 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
642 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
644 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
654 swappedLength=utrie2_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
655 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
662 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
664 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Dccapitst.c3045 int32_t i, normalLength, swappedLength; in testSwap() local
3089 swappedLength=(int32_t)(pc-swapped); in testSwap()
3097 if(normalLength!=swappedLength) { in testSwap()
3098 …CSwapLFNL error converting to %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
3126 …nv, &pu, uSwapped+UPRV_LENGTHOF(uSwapped), (const char **)&pc, normal+swappedLength, NULL, TRUE, &… in testSwap()
3127 swappedLength=(int32_t)(pu-uSwapped); in testSwap()
3135 if(normalLength!=swappedLength) { in testSwap()
3136 …wapLFNL error converting from %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp753 int32_t i, swappedLength; in udata_swap() local
795 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
804 } else if(swappedLength<(length-15)) { in udata_swap()
807 swappedLength, length, in udata_swap()
815 return swappedLength; in udata_swap()