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/ |
D | RopeByteStringTest.java | 63 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/ |
D | tscoll.cpp | 94 …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()
|
D | tscoll.h | 54 …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/ |
D | RopeByteStringTest.java | 88 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/ |
D | callcoll.c | 235 …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()
|