/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ConstructedOctetStream.java | 39 int totalRead = 0; in read() local 43 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); in read() 47 totalRead += numRead; in read() 49 if (totalRead == len) in read() 51 return totalRead; in read() 60 return totalRead < 1 ? -1 : totalRead; in read()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ConstructedOctetStream.java | 40 int totalRead = 0; in read() local 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); in read() 48 totalRead += numRead; in read() 50 if (totalRead == len) in read() 52 return totalRead; in read() 61 return totalRead < 1 ? -1 : totalRead; in read()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ConstructedOctetStream.java | 40 int totalRead = 0; in read() local 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); in read() 48 totalRead += numRead; in read() 50 if (totalRead == len) in read() 52 return totalRead; in read() 61 return totalRead < 1 ? -1 : totalRead; in read()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLBIOInputStream.java | 95 int totalRead = 0; in read() local 98 read = super.read(buffer, offset + totalRead, len - totalRead - offset); in read() 102 totalRead += read; in read() 103 } while (offset + totalRead < len); in read() 105 return totalRead == 0 ? -1 : totalRead; in read()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLBIOInputStream.java | 99 int totalRead = 0; in read() local 102 read = super.read(buffer, offset + totalRead, len - totalRead - offset); in read() 106 totalRead += read; in read() 107 } while (offset + totalRead < len); in read() 109 return totalRead == 0 ? -1 : totalRead; in read()
|
/external/protobuf/conformance/ |
D | conformance_nodejs.js | 110 function onEof(totalRead) { argument 111 if (totalRead == 0) { 121 var totalRead = 0; 122 while (totalRead < bytes) { 125 read = fs.readSync(process.stdin.fd, buf, totalRead, bytes - totalRead); 128 return onEof(totalRead) 135 totalRead += read;
|
/external/lzma/CPP/7zip/Compress/ |
D | Bcj2Coder.cpp | 380 size_t totalRead = _extraReadSizes[dec.state]; in Code() local 383 for (size_t i = 0; i < totalRead; i++) in Code() 397 UInt32 curSize = _bufsCurSizes[dec.state] - (UInt32)totalRead; in Code() 408 HRESULT res2 = inStreams[dec.state]->Read(_bufs[dec.state] + totalRead, curSize, &curSize); in Code() 413 totalRead += curSize; in Code() 417 while (totalRead < 4 && BCJ2_IS_32BIT_STREAM(dec.state)); in Code() 422 if (totalRead == 0) in Code() 429 unsigned extraSize = ((unsigned)totalRead & 3); in Code() 431 if (totalRead < 4) in Code() 436 totalRead -= extraSize; in Code() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
D | Streams.java | 89 int totalRead = 0; in readFully() local 90 while (totalRead < len) in readFully() 92 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully() 97 totalRead += numRead; in readFully() 99 return totalRead; in readFully()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/ |
D | Streams.java | 91 int totalRead = 0; in readFully() local 92 while (totalRead < len) in readFully() 94 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully() 99 totalRead += numRead; in readFully() 101 return totalRead; in readFully()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/io/ |
D | Streams.java | 91 int totalRead = 0; in readFully() local 92 while (totalRead < len) in readFully() 94 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully() 99 totalRead += numRead; in readFully() 101 return totalRead; in readFully()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/ |
D | TarArchiveInputStream.java | 596 int totalRead = 0; in read() local 608 totalRead = is.read(buf, offset, numToRead); in read() 610 if (totalRead == -1) { in read() 616 count(totalRead); in read() 617 entryOffset += totalRead; in read() 620 return totalRead; in read()
|
/external/skqp/tools/ |
D | remote_demo.cpp | 99 size_t totalRead = 0; in read_SkData() local 100 while (totalRead < size) { in read_SkData() 102 sizeRead = ::read(fd, &data[totalRead], size - totalRead); in read_SkData() 109 totalRead += sizeRead; in read_SkData()
|
/external/skia/tools/ |
D | remote_demo.cpp | 99 size_t totalRead = 0; in read_SkData() local 100 while (totalRead < size) { in read_SkData() 102 sizeRead = ::read(fd, &data[totalRead], size - totalRead); in read_SkData() 109 totalRead += sizeRead; in read_SkData()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | RedefineClassesTest.java | 161 int totalRead = 0; in getNewClassBytesClass() local 163 totalRead = newClassByteCodeFileInputStream.read(res); in getNewClassBytesClass() 172 if ( totalRead != newClassByteCodeSize) { // EOF is reached in getNewClassBytesClass() 176 logWriter.println("===> actually read: " + totalRead); in getNewClassBytesClass()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/ |
D | DumpArchiveInputStream.java | 468 int totalRead = 0; in read() local 489 totalRead += sz; in read() 521 entryOffset += totalRead; in read() 523 return totalRead; in read()
|