Home
last modified time | relevance | path

Searched refs:bytesToRead (Results 1 – 7 of 7) sorted by relevance

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DDigestInputStream2Test.java111 int bytesToRead = inStream.available(); in test_read$BII() local
112 byte buf1[] = new byte[bytesToRead + 5]; in test_read$BII()
113 byte buf2[] = new byte[bytesToRead + 5]; in test_read$BII()
115 assertTrue("No data to read for this test", bytesToRead > 0); in test_read$BII()
118 int bytesRead1 = dis.read(buf1, 5, bytesToRead); in test_read$BII()
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead); in test_read$BII()
122 assertEquals("Didn't read the entire", bytesRead1, bytesToRead); in test_read$BII()
125 for (int i = 0; i < bytesToRead + 5; i++) { in test_read$BII()
/external/skia/tests/
DFrontBufferedStreamTest.cpp17 const void* expectations, size_t bytesToRead) { in test_read() argument
19 SkAutoMalloc storage(bytesToRead); in test_read()
21 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead); in test_read()
22 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); in test_read()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE; in webp_parse_header() local
60 const size_t bytesRead = stream->read(dst, bytesToRead); in webp_parse_header()
65 bytesToRead -= bytesRead; in webp_parse_header()
67 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE); in webp_parse_header()
68 } while (!stream->isAtEnd() && bytesToRead > 0); in webp_parse_header()
/external/owasp/sanitizer/tools/findbugs/lib/
Dyjp-controller-api-redist.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/yourkit/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.contenttype_3.4.100.v20100505-1235.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.core.resources.compatibility_3.4.0.v20090505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/v8/tools/profviz/
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;