Home
last modified time | relevance | path

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

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DBoundedSeekableByteChannelInputStream.java60 int bytesToRead = len; in read() local
61 if (bytesToRead > bytesRemaining) { in read()
62 bytesToRead = (int) bytesRemaining; in read()
66 if (bytesToRead <= buffer.capacity()) { in read()
68 bytesRead = read(bytesToRead); in read()
70 buf = ByteBuffer.allocate(bytesToRead); in read()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DBoundedInputStream.java57 int bytesToRead = len; in read() local
58 if (bytesToRead > bytesRemaining) { in read()
59 bytesToRead = (int) bytesRemaining; in read()
61 final int bytesRead = in.read(b, off, bytesToRead); in read()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DRelay.java115 int bytesToRead; in run() local
122 bytesToRead = byteBuffer.capacity() - byteBuffer.limit(); in run()
124 bytesRead = transport.read(byteArray, offset, bytesToRead); in run()
/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/skqp/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/skqp/src/codec/
DSkRawCodec.cpp364 const size_t bytesToRead = SkTMin(sum, fStream->getLength()) - offset; in transferBuffer() local
365 if (bytesToRead == 0) { in transferBuffer()
371 static_cast<const uint8_t*>(fStream->getMemoryBase()) + offset, bytesToRead)); in transferBuffer()
375 sk_sp<SkData> data(SkData::MakeUninitialized(bytesToRead)); in transferBuffer()
379 const size_t bytesRead = fStream->read(data->writable_data(), bytesToRead); in transferBuffer()
380 if (bytesRead < bytesToRead) { in transferBuffer()
DSkCodec.cpp72 constexpr size_t bytesToRead = MinBufferedBytesNeeded(); in MakeFromStream() local
74 char buffer[bytesToRead]; in MakeFromStream()
75 size_t bytesRead = stream->peek(buffer, bytesToRead); in MakeFromStream()
92 bytesRead = stream->read(buffer, bytesToRead); in MakeFromStream()
120 if (bytesRead < bytesToRead) { in MakeFromStream()
/external/skia/src/codec/
DSkRawCodec.cpp364 const size_t bytesToRead = SkTMin(sum, fStream->getLength()) - offset; in transferBuffer() local
365 if (bytesToRead == 0) { in transferBuffer()
371 static_cast<const uint8_t*>(fStream->getMemoryBase()) + offset, bytesToRead)); in transferBuffer()
375 sk_sp<SkData> data(SkData::MakeUninitialized(bytesToRead)); in transferBuffer()
379 const size_t bytesRead = fStream->read(data->writable_data(), bytesToRead); in transferBuffer()
380 if (bytesRead < bytesToRead) { in transferBuffer()
DSkCodec.cpp72 constexpr size_t bytesToRead = MinBufferedBytesNeeded(); in MakeFromStream() local
74 char buffer[bytesToRead]; in MakeFromStream()
75 size_t bytesRead = stream->peek(buffer, bytesToRead); in MakeFromStream()
92 bytesRead = stream->read(buffer, bytesToRead); in MakeFromStream()
120 if (bytesRead < bytesToRead) { in MakeFromStream()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DAbstractLZ77CompressorInputStream.java236 private void tryToReadLiteral(int bytesToRead) throws IOException { in tryToReadLiteral() argument
238 final int reallyTryToRead = Math.min((int) Math.min(bytesToRead, bytesRemaining), in tryToReadLiteral()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DMessageDeframer.java325 int bytesToRead = Math.min(missingBytes, inflatedBuffer.length - inflatedIndex); in readRequiredBytes() local
326 int n = fullStreamDecompressor.inflateBytes(inflatedBuffer, inflatedIndex, bytesToRead); in readRequiredBytes()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java1138 int bytesToRead = min(len, buffer.remaining());
1139 int bytesRead = readPlaintextDataDirect(buffer, 0, bytesToRead);
1326 int bytesToRead = min(len, buffer.remaining());
1327 int bytesRead = readEncryptedDataDirect(buffer, 0, bytesToRead);
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java1139 int bytesToRead = min(len, buffer.remaining());
1140 int bytesRead = readPlaintextDataDirect(buffer, 0, bytesToRead);
1327 int bytesToRead = min(len, buffer.remaining());
1328 int bytesRead = readEncryptedDataDirect(buffer, 0, bytesToRead);
/external/curl/tests/python_dependencies/impacket/
Dsmb3.py985 def read(self, treeId, fileId, offset = 0, bytesToRead = 0, waitAnswer = True): argument
1000 if self._Connection['MaxReadSize'] < bytesToRead:
1003 maxBytesToRead = bytesToRead
1008 maxBytesToRead = min(65536,bytesToRead)
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1476 long bytesToRead = sendEverything ? BUFFER_SIZE : Math.min(pending, BUFFER_SIZE);
1477 int read = this.data.read(buff, 0, (int) bytesToRead);
/external/owasp/sanitizer/tools/findbugs/lib/
Dyjp-controller-api-redist.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/yourkit/ com/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.contenttype_3.7.0.v20180426-1644.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/kotlinc/lib/
Dkotlin-imports-dumper-compiler-plugin.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jetbrains/ org/ ...
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/grpc-grpc-java/netty/shaded/
Dgrpc-netty-shaded-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...