Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp94 …har source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &sta… in compareUsingPartials() argument
99 int32_t sSize = pieceSize, tSize = pieceSize; in compareUsingPartials()
104 while(sSize == pieceSize && tSize == pieceSize && partialSKResult == 0) { in compareUsingPartials()
107 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, &status); in compareUsingPartials()
108 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, &status); in compareUsingPartials()
115 partialSKResult = memcmp(sBuf, tBuf, pieceSize); in compareUsingPartials()
Dtscoll.h54 …har source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode &sta…
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringTest.java73 int pieceSize = 64; in testBalance() local
74 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance()
79 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c235 …har source[], int32_t sLen, const UChar target[], int32_t tLen, int32_t pieceSize, UErrorCode *sta… in compareUsingPartials() argument
239 int32_t sSize = pieceSize, tSize = pieceSize; in compareUsingPartials()
242 if(pieceSize > 16384) { in compareUsingPartials()
250 while(sSize == pieceSize && tSize == pieceSize && partialSKResult == 0) { in compareUsingPartials()
253 sSize = ucol_nextSortKeyPart(coll, &sIter, sState, sBuf, pieceSize, status); in compareUsingPartials()
254 tSize = ucol_nextSortKeyPart(coll, &tIter, tState, tBuf, pieceSize, status); in compareUsingPartials()
261 partialSKResult = memcmp(sBuf, tBuf, pieceSize); in compareUsingPartials()