/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | 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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
H A D | Relay.java | 116 int bytesToRead; 123 bytesToRead = byteBuffer.capacity() - byteBuffer.limit(); 125 bytesRead = transport.read(byteArray, offset, bytesToRead);
|
/external/skia/tests/ |
H A D | 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()); 16 test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, const void* expectations, size_t bytesToRead) argument
|
/external/skia/src/codec/ |
H A D | SkCodec.cpp | 58 const size_t bytesToRead = 14; local 59 SkASSERT(bytesToRead <= MinBufferedBytesNeeded()); 61 char buffer[bytesToRead]; 62 size_t bytesRead = stream->peek(buffer, bytesToRead); 64 // It is also possible to have a complete image less than bytesToRead bytes 65 // (e.g. a 1 x 1 wbmp), meaning peek() would return less than bytesToRead. 66 // Assume that if bytesRead < bytesToRead, but > 0, the stream is shorter 67 // than bytesToRead, so pass that directly to the decoder. 79 bytesRead = stream->read(buffer, bytesToRead);
|
H A D | SkRawCodec.cpp | 376 const size_t bytesToRead = SkTMin(sum, fStream->getLength()) - offset; variable 377 if (bytesToRead == 0) { 383 static_cast<const uint8_t*>(fStream->getMemoryBase()) + offset, bytesToRead)); 387 SkAutoTUnref<SkData> data(SkData::NewUninitialized(bytesToRead)); 391 const size_t bytesRead = fStream->read(data->writable_data(), bytesToRead); 392 if (bytesRead < bytesToRead) {
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE; local 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);
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
H A D | inputstream.py | 115 bytesToRead = remainingBytes 116 self.position = [bufferIndex, bufferOffset + bytesToRead] 118 bytesToRead = len(bufferedData) - bufferOffset 121 rv.append(bufferedData[bufferOffset:bufferOffset + bytesToRead]) 122 remainingBytes -= bytesToRead
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
H A D | NanoHTTPD.java | 1476 long bytesToRead = sendEverything ? BUFFER_SIZE : Math.min(pending, BUFFER_SIZE); 1477 int read = this.data.read(buff, 0, (int) bytesToRead);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/icu/tools/srcgen/currysrc/libs/ |
H A D | org.eclipse.core.contenttype_3.5.0.v20150421-2214.jar | META-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ... |
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | yjp-controller-api-redist.jar | META-INF/ META-INF/MANIFEST.MF com/ com/yourkit/ com/yourkit/api/ com/yourkit/runtime/ com/ ... |
/external/v8/test/mjsunit/asm/embenchen/ |
H A D | lua_binarytrees.js | 4563 var bytesToRead = nitems * size; 4564 if (bytesToRead == 0) { 4573 while (streamObj.ungotten.length && bytesToRead > 0) { 4575 bytesToRead--; 4578 var err = _read(streamObj.fd, ptr, bytesToRead); 4584 if (bytesRead < bytesToRead) streamObj.eof = true; [all...] |
/external/v8/test/mjsunit/asm/poppler/ |
H A D | poppler.js | [all...] |
/external/v8/tools/profviz/ |
H A D | gnuplot-4.6.3-emscripten.js | 2173 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/dagger2/lib/ |
H A D | google-java-format-0.1-20151017.042846-2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ... |
/external/robolectric/v3/runtime/ |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |