Searched defs:bytesToRead (Results 1 - 11 of 11) sorted by path

/external/chromium_org/android_webview/browser/net/
H A Dinput_stream_reader_unittest.cc53 int ReadRawData(scoped_refptr<net::IOBuffer> buffer, int bytesToRead) { argument
54 return input_stream_reader_.ReadRawData(buffer.get(), bytesToRead);
145 const int bytesToRead = 128; local
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; local
157 EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull()))
160 ASSERT_EQ(0, ReadRawData(buffer, bytesToRead));
164 const int bytesToRead local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
H A DSharedBufferReaderTest.cpp111 const int bytesToRead = testData.size() / 2; local
112 EXPECT_EQ(bytesToRead, reader.readData(&destinationVector[0], bytesToRead));
116 EXPECT_EQ(0, reader.readData(&destinationVector[0], bytesToRead));
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libwebp.cpp56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE; local
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/chromium_org/third_party/skia/tests/
H A DFrontBufferedStreamTest.cpp15 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());
14 test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, const void* expectations, size_t bytesToRead) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.contenttype_3.4.100.v20100505-1235.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.core.resources.compatibility_3.4.0.v20090505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dyjp-controller-api-redist.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/yourkit/ com/yourkit/api/ com/yourkit/runtime/ com/ ...
/external/skia/src/images/
H A DSkImageDecoder_libwebp.cpp56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE; local
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/tests/
H A DFrontBufferedStreamTest.cpp15 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());
14 test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, const void* expectations, size_t bytesToRead) argument

Completed in 442 milliseconds