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

  /external/chromium_org/android_webview/browser/net/
input_stream_reader_unittest.cc 53 int ReadRawData(scoped_refptr<net::IOBuffer> buffer, int bytesToRead) {
54 return input_stream_reader_.ReadRawData(buffer.get(), bytesToRead);
145 const int bytesToRead = 128;
146 scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(bytesToRead);
147 EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull()))
150 ASSERT_GT(0, ReadRawData(buffer, bytesToRead));
154 const int bytesToRead = 0;
157 EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull()))
160 ASSERT_EQ(0, ReadRawData(buffer, bytesToRead));
164 const int bytesToRead = 128
    [all...]
  /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/chromium_org/third_party/WebKit/Source/core/xml/parser/
SharedBufferReaderTest.cpp 111 const int bytesToRead = testData.size() / 2;
112 EXPECT_EQ(bytesToRead, reader.readData(&destinationVector[0], bytesToRead));
116 EXPECT_EQ(0, reader.readData(&destinationVector[0], bytesToRead));
  /external/chromium_org/third_party/skia/tests/
FrontBufferedStreamTest.cpp 15 const void* expectations, size_t bytesToRead) {
17 SkAutoMalloc storage(bytesToRead);
19 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead);
20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
  /external/skia/tests/
FrontBufferedStreamTest.cpp 15 const void* expectations, size_t bytesToRead) {
17 SkAutoMalloc storage(bytesToRead);
19 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead);
20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libwebp.cpp 56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE;
60 const size_t bytesRead = stream->read(dst, bytesToRead);
67 bytesToRead -= bytesRead;
69 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE);
70 } while (!stream->isAtEnd() && bytesToRead > 0);
  /external/skia/src/images/
SkImageDecoder_libwebp.cpp 56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE;
60 const size_t bytesRead = stream->read(dst, bytesToRead);
67 bytesToRead -= bytesRead;
69 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE);
70 } 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);
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
CodedOutputStream.java     [all...]
  /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...]
  /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/tools/common/m2/repository/org/apache/commons/commons-compress/1.8.1/
commons-compress-1.8.1.jar 
  /external/chromium_org/tools/win/split_link/viz.js/
viz.js     [all...]
  /external/chromium_org/v8/tools/profviz/
gnuplot-4.6.3-emscripten.js     [all...]
  /prebuilts/tools/common/m2/repository/com/cenqua/clover/clover/3.1.12/
clover-3.1.12.jar 

Completed in 1981 milliseconds