Searched refs:bytesToRead (Results 1 - 15 of 15) sorted by relevance

/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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestInputStream2Test.java111 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/tools/win/ChromeDebug/ChromeDebug/
H A DUtility.cs52 int bytesToRead = Marshal.SizeOf(typeof(T));
53 IntPtr buffer = Marshal.AllocHGlobal(bytesToRead);
54 if (!NativeMethods.ReadProcessMemory(processHandle, addressInProcess, buffer, bytesToRead,
/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/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/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/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/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/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/chromium_org/tools/win/split_link/viz.js/
H A Dviz.js2736 var bytesToRead = nitems * size;
2737 if (bytesToRead == 0) return 0;
2738 var bytesRead = _read(stream, ptr, bytesToRead);
2744 if (bytesRead < bytesToRead) streamObj.eof = true;
[all...]
/external/chromium_org/v8/tools/profviz/
H A Dgnuplot-4.6.3-emscripten.js2173 var bytesToRead = nitems * size;
2174 if (bytesToRead == 0) return 0;
2175 var bytesRead = _read(stream, ptr, bytesToRead);
2181 if (bytesRead < bytesToRead) streamObj.eof = true;
[all...]
/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/ ...

Completed in 4226 milliseconds