Home
last modified time | relevance | path

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

/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DRopeByteStringTest.java63 int pieceSize = 64; in testBalance() local
64 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance()
69 concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); in testBalance()
/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.java88 int pieceSize = 64; in testBalance() local
89 byte[] testBytes = ByteStringTest.getTestBytes(numberOfPieces * pieceSize, 113377L); in testBalance()
94 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()