Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c663 int32_t swappedLength; in testTrieSerialize() local
671 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
672 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
679 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
681 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
691 swappedLength=utrie2_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
692 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
699 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
701 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Ducptrietest.c839 int32_t swappedLength; in testTrieSerialize() local
847 swappedLength=ucptrie_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
848 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
855 swappedLength=ucptrie_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
857 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
867 swappedLength=ucptrie_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
868 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
875 swappedLength=ucptrie_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
877 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Dccapitst.c3222 int32_t i, normalLength, swappedLength; in testSwap() local
3266 swappedLength=(int32_t)(pc-swapped); in testSwap()
3274 if(normalLength!=swappedLength) { in testSwap()
3275 …CSwapLFNL error converting to %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
3303 …nv, &pu, uSwapped+UPRV_LENGTHOF(uSwapped), (const char **)&pc, normal+swappedLength, NULL, true, &… in testSwap()
3304 swappedLength=(int32_t)(pu-uSwapped); in testSwap()
3312 if(normalLength!=swappedLength) { in testSwap()
3313 …wapLFNL error converting from %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
/external/cronet/third_party/icu/source/test/cintltst/
Dtrie2test.c663 int32_t swappedLength; in testTrieSerialize() local
671 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
672 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
679 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
681 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
691 swappedLength=utrie2_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
692 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
699 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
701 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Ducptrietest.c839 int32_t swappedLength; in testTrieSerialize() local
847 swappedLength=ucptrie_swap(ds, storage, -1, NULL, &errorCode); in testTrieSerialize()
848 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
855 swappedLength=ucptrie_swap(ds, storage, length2, swapped, &errorCode); in testTrieSerialize()
857 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
867 swappedLength=ucptrie_swap(ds, swapped, -1, NULL, &errorCode); in testTrieSerialize()
868 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
875 swappedLength=ucptrie_swap(ds, swapped, length2, storage, &errorCode); in testTrieSerialize()
877 if(U_FAILURE(errorCode) || swappedLength!=length2) { in testTrieSerialize()
Dccapitst.c3222 int32_t i, normalLength, swappedLength; in testSwap() local
3266 swappedLength=(int32_t)(pc-swapped); in testSwap()
3274 if(normalLength!=swappedLength) { in testSwap()
3275 …CSwapLFNL error converting to %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
3303 …nv, &pu, uSwapped+UPRV_LENGTHOF(uSwapped), (const char **)&pc, normal+swappedLength, NULL, true, &… in testSwap()
3304 swappedLength=(int32_t)(pu-uSwapped); in testSwap()
3312 if(normalLength!=swappedLength) { in testSwap()
3313 …wapLFNL error converting from %s - output lengths %d vs. %d\n", name, normalLength, swappedLength); in testSwap()
/external/icu/icu4c/source/tools/toolutil/
Dswapimpl.cpp973 int32_t i, swappedLength; in udata_swap() local
1015 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
1024 } else if(swappedLength<(length-15)) { in udata_swap()
1027 swappedLength, length, in udata_swap()
1035 return swappedLength; in udata_swap()
/external/cronet/third_party/icu/source/tools/toolutil/
Dswapimpl.cpp973 int32_t i, swappedLength; in udata_swap() local
1015 swappedLength=swapFns[i].swapFn(ds, inData, length, outData, pErrorCode); in udata_swap()
1024 } else if(swappedLength<(length-15)) { in udata_swap()
1027 swappedLength, length, in udata_swap()
1035 return swappedLength; in udata_swap()