HomeSort by relevance Sort by last modified time
    Searched refs:bytesToRead (Results 1 - 24 of 24) sorted by null

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 111 int bytesToRead = inStream.available();
112 byte buf1[] = new byte[bytesToRead + 5];
113 byte buf2[] = new byte[bytesToRead + 5];
115 assertTrue("No data to read for this test", bytesToRead > 0);
118 int bytesRead1 = dis.read(buf1, 5, bytesToRead);
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead);
122 assertEquals("Didn't read the entire", bytesRead1, bytesToRead);
125 for (int i = 0; i < bytesToRead + 5; i++) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 111 int bytesToRead = inStream.available();
112 byte buf1[] = new byte[bytesToRead + 5];
113 byte buf2[] = new byte[bytesToRead + 5];
115 assertTrue("No data to read for this test", bytesToRead>0);
118 int bytesRead1 = dis.read(buf1, 5, bytesToRead);
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead);
122 assertEquals("Didn't read the entire", bytesRead1, bytesToRead);
125 for (int i = 0; i < bytesToRead + 5; i++) {
  /external/skia/tests/
FrontBufferedStreamTest.cpp 17 const void* expectations, size_t bytesToRead) {
19 SkAutoMalloc storage(bytesToRead);
21 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead);
22 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
  /frameworks/base/core/java/android/bluetooth/
BluetoothSocket.java 493 int bytesToRead = length;
505 if (bytesToRead > mL2capBuffer.remaining()) {
506 bytesToRead = mL2capBuffer.remaining();
509 + " bytesToRead: " + bytesToRead);
510 mL2capBuffer.get(b, offset, bytesToRead);
511 ret = bytesToRead;
  /external/skia/src/images/
SkImageDecoder_libwebp.cpp 56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE;
60 const size_t bytesRead = stream->read(dst, bytesToRead);
65 bytesToRead -= bytesRead;
67 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE);
68 } while (!stream->isAtEnd() && bytesToRead > 0);
  /frameworks/av/media/libstagefright/
MP3Extractor.cpp 99 ssize_t bytesToRead = kMaxReadBytes;
117 bytesToRead = kMaxReadBytes - remainingBytes;
126 bytesToRead);
130 reachEOS = (totalBytesRead != bytesToRead);
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
StubProvider.java 290 int bytesToRead;
295 bytesToRead = (int) Math.min(document.rootInfo.getRemainingCapacity(),
297 if (bytesToRead == 0) {
301 bytesRead = inputStream.read(buffer, 0, bytesToRead);
  /dalvik/tools/dmtracedump/
TraceDump.c 1071 int bytesToRead;
1077 bytesToRead = pHeader->offsetToData - 16;
1084 bytesToRead -= 2;
1090 if (fseek(fp, bytesToRead, SEEK_CUR) != 0) {
1135 int bytesToRead;
1137 bytesToRead = dataHeader->recordSize;
1140 bytesToRead -= 1;
1143 bytesToRead -= 2;
1151 bytesToRead -= 8;
1153 while (bytesToRead-- > 0)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/sap/
SapMessage.java 422 int bytesToRead = buffer.length;
425 while (bytesRead < bytesToRead) {
426 tmpBytesRead = is.read(buffer, bytesRead, bytesToRead-bytesRead);
    [all...]
  /frameworks/base/media/java/android/media/
MediaPlayer.java     [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
commons-io-2.2.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar 
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar 
  /external/owasp/sanitizer/tools/findbugs/lib/
yjp-controller-api-redist.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar 
  /prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/
commons-io-2.4.jar 
  /prebuilts/devtools/tools/lib/
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 
  /prebuilts/tools/common/offline-m2/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 
  /developers/build/prebuilts/androidtv/sample-inputs/app/libs/
exoplayer_dev-hls_20150123.jar 
  /external/v8/tools/profviz/
gnuplot-4.6.3-emscripten.js     [all...]
  /frameworks/data-binding/prebuilds/1.0-rc0/
databinding-studio-bundle.jar 
  /prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar 

Completed in 737 milliseconds