/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
ZipUtils.java | 308 int chunkSize = deflater.deflate(buf); 309 out.write(buf, 0, chunkSize);
|
LocalFileRecord.java | 509 int chunkSize = Math.min(buf.remaining(), mInputBuffer.length); 510 buf.get(mInputBuffer, 0, chunkSize); 511 consume(mInputBuffer, 0, chunkSize);
|
/device/google/contexthub/contexthubhal/ |
system_comms.cpp | 369 uint32_t chunkSize = mLen - mPos; 371 if (chunkSize > NANOHUB_UPLOAD_CHUNK_SZ_MAX) { 372 chunkSize = NANOHUB_UPLOAD_CHUNK_SZ_MAX; 377 buf.writeRaw(&mData[mPos], chunkSize); 378 mPos += chunkSize;
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
AndroidBinXmlParser.java | 505 long chunkSize = getUnsignedInt32(input); 506 long chunkRemaining = chunkSize - 8; 515 } else if (headerSize > chunkSize) { 518 + chunkSize + " bytes"); 521 long chunkEndPosition = originalPosition + chunkSize; [all...] |
/build/soong/third_party/zip/ |
zip_test.go | 254 const chunkSize = 1024 255 chunks := int(size / chunkSize) 267 chunk := make([]byte, chunkSize) 277 if frag := int(size % chunkSize); frag > 0 { 309 if frag := int(size % chunkSize); frag > 0 {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 380 int chunkSize = scaledDim / 2; 402 for (int w = chunkSize; w <= 3 * chunkSize; w += chunkSize) { 403 for (int h = chunkSize; h <= 3 * chunkSize; h += chunkSize) {
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
TestUtils.java | 460 int chunkSize; 461 while ((chunkSize = in.read(buffer)) != -1) { 462 result.write(buffer, 0, chunkSize); 580 int chunkSize = Math.min(seed.length, resultRemaining); 581 System.arraycopy(seed, 0, result, resultOffset, chunkSize); 582 resultOffset += chunkSize; 583 resultRemaining -= chunkSize; [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
OpenSSLHeartbleedTest.java | [all...] |
/frameworks/base/tools/aapt2/compile/ |
Png.cpp | 548 int chunkSize = sizeof(png_uint_32) * 6; 550 unknowns[oIndex].data = (png_byte*)calloc(chunkSize, 1); 551 png_byte outputData[chunkSize]; 555 memcpy(unknowns[oIndex].data, &outputData, chunkSize); 556 unknowns[oIndex].size = chunkSize; 560 int chunkSize = sizeof(png_uint_32) * 4; 562 unknowns[bIndex].data = (png_byte*)calloc(chunkSize, 1); 563 memcpy(unknowns[bIndex].data, &info->layoutBoundsLeft, chunkSize); 564 unknowns[bIndex].size = chunkSize; [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/details/ |
fstream_win32io.cpp | 392 size_t chunkSize = (min)(size_t(0xffffffff), __STATIC_CAST(size_t, n)); 393 // The following, while validating that we are still able to extract chunkSize 396 while (__STATIC_CAST(size_t, (n - readen)) >= chunkSize) { 398 ReadFile(_M_file_id, buf + readen, __STATIC_CAST(DWORD, chunkSize), &numberOfBytesRead, 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/details/ |
fstream_win32io.cpp | 392 size_t chunkSize = (min)(size_t(0xffffffff), __STATIC_CAST(size_t, n)); 393 // The following, while validating that we are still able to extract chunkSize 396 while (__STATIC_CAST(size_t, (n - readen)) >= chunkSize) { 398 ReadFile(_M_file_id, buf + readen, __STATIC_CAST(DWORD, chunkSize), &numberOfBytesRead, 0);
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 478 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16); 479 if (chunkSize == 0) { 483 chunkSizes.add(chunkSize); 484 throttledTransfer(throttlePolicy, in, requestBody, chunkSize);
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
LoopbackAnalyzer.h | 275 const int chunkSize = 64; 282 int16_t buffer[chunkSize]; 286 int32_t framesToWrite = framesLeft < chunkSize ? framesLeft : chunkSize;
|
/build/make/tools/signapk/src/com/android/signapk/ |
SignApk.java | 550 int chunkSize; 551 while ((chunkSize = in.read(tmpbuf)) > 0) { 552 dataSink.consume(tmpbuf, 0, chunkSize); [all...] |
/tools/apksig/src/main/java/com/android/apksig/ |
ApkSigner.java | 307 long chunkSize = inputLocalFileHeaderStartOffset - inputOffset; 308 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); 309 outputOffset += chunkSize; 375 long chunkSize = inputLfhSectionSize - inputOffset; 376 inputApkLfhSection.feed(inputOffset, chunkSize, outputApkOut); 377 outputOffset += chunkSize; [all...] |
/frameworks/base/core/java/android/util/apk/ |
ApkSignatureSchemeV2Verifier.java | 507 int chunkSize = (int) Math.min(inputRemaining, CHUNK_SIZE_BYTES); 508 setUnsignedInt32LittleEndian(chunkSize, chunkContentPrefix, 1); 513 input.feedIntoMessageDigests(mds, inputOffset, chunkSize); 537 inputOffset += chunkSize; 538 inputRemaining -= chunkSize; [all...] |
/external/guice/core/src/com/google/inject/spi/ |
Elements.java | 554 int chunkSize = callStack.length - toSkip - 1; 556 StackTraceElement[] partialCallStack = new StackTraceElement[chunkSize]; 557 System.arraycopy(callStack, 1, partialCallStack, 0, chunkSize);
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HtmlTree.java | 256 * roughly chunkSize characters. 258 public ArrayList<String> getHtmlChunks(int fromNode, int toNode, int chunkSize) { 271 StringBuilder sb = new StringBuilder(chunkSize + 256); 293 if (stack == 0 && sb.length() >= chunkSize) { [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
ESQueue.cpp | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
LoaderResults.java | 302 final int chunkSize = (i+ITEMS_CHUNK <= N) ? ITEMS_CHUNK : (N-i); 308 callbacks.bindItems(workspaceItems.subList(start, start+chunkSize), false);
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 640 int chunkSize = Integer.parseInt(source.readUtf8LineStrict().trim(), 16); 641 if (chunkSize == 0) { 645 chunkSizes.add(chunkSize); 646 throttledTransfer(policy, socket, source, Okio.buffer(requestBody), chunkSize, true); [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_smf.c | 1053 EAS_U32 chunkSize; 1065 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBufferTests.cpp | 219 const VkDeviceSize chunkSize = std::max(memoryRequirements.alignment, static_cast<VkDeviceSize>(deAlign64(minChunkSize, memoryRequirements.alignment))); 224 allocator.allocate(requirementsWithSize(memoryRequirements, *numChunksIter * chunkSize), MemoryRequirement::Any))); 232 memBindIter->resourceChunkNdx * chunkSize, // VkDeviceSize resourceOffset; 233 memBindIter->numChunks * chunkSize, // VkDeviceSize size; 235 alloc.getOffset() + memBindIter->memoryChunkNdx * chunkSize, // VkDeviceSize memoryOffset; [all...] |
/prebuilts/go/darwin-x86/src/archive/zip/ |
zip_test.go | 509 const chunkSize = 1024 510 chunks := int(size / chunkSize) 522 chunk := make([]byte, chunkSize) 532 if frag := int(size % chunkSize); frag > 0 { 564 if frag := int(size % chunkSize); frag > 0 {
|
/prebuilts/go/linux-x86/src/archive/zip/ |
zip_test.go | 509 const chunkSize = 1024 510 chunks := int(size / chunkSize) 522 chunk := make([]byte, chunkSize) 532 if frag := int(size % chunkSize); frag > 0 { 564 if frag := int(size % chunkSize); frag > 0 {
|