/external/bouncycastle/bcprov/src/main/java/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() 62 return totalRead < 1 ? -1 : totalRead; in read()
|
D | ASN1InputStream.java | 405 int totalRead = 0; in getBMPCharBuffer() local 406 while (totalRead < len) in getBMPCharBuffer() 418 buf[totalRead++] = (char)((ch1 << 8) | (ch2 & 0xff)); in getBMPCharBuffer()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ConstructedOctetStream.java | 41 int totalRead = 0; in read() local 45 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); in read() 49 totalRead += numRead; in read() 51 if (totalRead == len) in read() 53 return totalRead; in read() 63 return totalRead < 1 ? -1 : totalRead; in read()
|
D | ASN1InputStream.java | 414 int totalRead = 0; in getBMPCharBuffer() local 415 while (totalRead < len) in getBMPCharBuffer() 427 buf[totalRead++] = (char)((ch1 << 8) | (ch2 & 0xff)); in getBMPCharBuffer()
|
/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/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/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/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/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/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()
|
/external/u-boot/fs/yaffs2/ |
D | yaffsfs.c | 1075 int totalRead = 0; in yaffsfs_do_read() local 1091 totalRead = -1; in yaffsfs_do_read() 1095 totalRead = -1; in yaffsfs_do_read() 1098 totalRead = -1; in yaffsfs_do_read() 1122 totalRead = -1; in yaffsfs_do_read() 1143 totalRead += nRead; in yaffsfs_do_read() 1163 if (totalRead >= 0) in yaffsfs_do_read() 1164 fd->position = startPos + totalRead; in yaffsfs_do_read() 1173 return (totalRead >= 0) ? totalRead : -1; in yaffsfs_do_read()
|