/system/extras/tests/sdcard/ |
testcase.cpp | 158 mReadTimer = new StopWatch("read", iter() * dataSize() / chunkSize() * kReadWriteFactor); 161 mWriteTimer = new StopWatch("write", iter() * dataSize() / chunkSize());
|
testcase.h | 66 size_t chunkSize() const { return mChunkSize; }
|
/libcore/luni/src/test/java/libcore/net/ |
NetworkSecurityPolicyTest.java | 246 int chunkSize = client.getInputStream().read(buf); 247 if (chunkSize == -1) { 252 return Arrays.copyOf(buf, chunkSize);
|
/frameworks/av/media/libstagefright/ |
WAVExtractor.cpp | 162 uint32_t chunkSize = U32_LE_AT(&chunkHeader[4]); 164 if (chunkSize > remainingSize) { 169 if (chunkSize < 16) { 279 mDataSize = chunkSize; 325 offset += chunkSize;
|
/frameworks/native/opengl/libs/EGL/ |
trace.cpp | 133 GLsizei chunkCount, GLsizei chunkSize, const void* value) { 135 GLsizei count = chunkCount * chunkSize; 160 if (chunkSize > 1 && i < count-1 161 && (i % chunkSize) == (chunkSize-1)) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallFlowAnalytics.java | 594 int chunkSize; 595 while ((chunkSize = in.read(buf)) != -1) { 596 digest.update(buf, 0, chunkSize);
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
CompressedTextureLoader.java | 217 int chunkSize = Math.min(ioBuffer.length, dataSize - i); 219 is.read(ioBuffer, 0, chunkSize); 223 dataBuffer.put(ioBuffer, 0, chunkSize); 224 i += chunkSize;
|
/external/sonivox/arm-wt-22k/lib_src/ |
jet.c | 257 static EAS_RESULT JetParseInfoChunk (EAS_DATA_HANDLE easHandle, EAS_I32 pos, EAS_I32 chunkSize) 270 while ((result == EAS_SUCCESS) && (chunkSize > 0)) 309 chunkSize -= 8; 328 EAS_I32 chunkSize; 358 pos = chunkSize = 8; 372 result = EAS_HWGetDWord(easHandle->hwInstData, easHandle->jetHandle->jetFileHandle, &chunkSize, EAS_FALSE); 380 result = JetParseInfoChunk(easHandle, pos, chunkSize); 399 easHandle->jetHandle->appDataSize = chunkSize; 411 pos += chunkSize; [all...] |
eas_smf.c | 1052 EAS_U32 chunkSize; 1060 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) [all...] |
/libcore/support/src/test/java/tests/http/ |
MockWebServer.java | 368 int chunkSize = Integer.parseInt(readAsciiUntilCrlf(in).trim(), 16); 369 if (chunkSize == 0) { 373 chunkSizes.add(chunkSize); 374 transfer(chunkSize, in, requestBody);
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebServer.java | 840 int chunkSize = Math.min(bytes.length - offset, maxChunkSize); 841 psPrint(ps, Integer.toHexString(chunkSize)); 843 psWrite(ps, bytes, offset, chunkSize); 845 offset += chunkSize;
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
BufferPerformanceBench.java | 292 private BufferedSource writeChunked(Buffer buffer, byte[] bytes, final int chunkSize) { 296 int bytesToWrite = Math.min(remaining, 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); 579 int chunkSize = Math.min(seed.length, resultRemaining); 580 System.arraycopy(seed, 0, result, resultOffset, chunkSize); 581 resultOffset += chunkSize; 582 resultRemaining -= chunkSize; [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
OpenSSLHeartbleedTest.java | [all...] |
/frameworks/base/tools/aapt2/ |
Png.cpp | 523 int chunkSize = sizeof(png_uint_32) * 6; 525 unknowns[oIndex].data = (png_byte*) calloc(chunkSize, 1); 526 png_byte outputData[chunkSize]; 530 memcpy(unknowns[oIndex].data, &outputData, chunkSize); 531 unknowns[oIndex].size = chunkSize; 535 int chunkSize = sizeof(png_uint_32) * 4; 537 unknowns[bIndex].data = (png_byte*) calloc(chunkSize, 1); 538 memcpy(unknowns[bIndex].data, &info->layoutBoundsLeft, chunkSize); 539 unknowns[bIndex].size = chunkSize; [all...] |
/ndk/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/libstagefright/mpeg2ts/ |
ESQueue.cpp | [all...] |
/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...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 602 int chunkSize = Integer.parseInt(source.readUtf8LineStrict().trim(), 16); 603 if (chunkSize == 0) { 607 chunkSizes.add(chunkSize); 608 throttledTransfer(throttlePolicy, socket, source, Okio.buffer(requestBody), chunkSize); [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_smf.c | 1047 EAS_U32 chunkSize; 1055 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_smf.c | 1047 EAS_U32 chunkSize; 1055 if ((result = EAS_HWGetDWord(hwInstData, pSMFData->fileHandle, &chunkSize, EAS_TRUE)) != EAS_SUCCESS) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ccapitst.c | [all...] |
/external/mdnsresponder/mDNSShared/ |
DebugServices.c | [all...] |
/external/conscrypt/src/test/java/org/conscrypt/ |
TrustedCertificateStoreTest.java | 750 int chunkSize; 751 while ((chunkSize = in.read(buf)) != -1) { 752 out.write(buf, 0, chunkSize);
|