Home
last modified time | relevance | path

Searched refs:getTotalBytesWritten (Results 1 – 4 of 4) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveOutputStream.java470 cdOffset = streamCompressor.getTotalBytesWritten(); in finish()
473 cdLength = streamCompressor.getTotalBytesWritten() - cdOffset; in finish()
510 final long bytesWritten = streamCompressor.getTotalBytesWritten() - entry.dataStart; in closeArchiveEntry()
1039 final long localHeaderStart = streamCompressor.getTotalBytesWritten(); in writeLocalFileHeader()
1044 entry.dataStart = streamCompressor.getTotalBytesWritten(); in writeLocalFileHeader()
1411 final long offset = streamCompressor.getTotalBytesWritten(); in writeZip64CentralDirectory()
DStreamCompressor.java166 public long getTotalBytesWritten() { in getTotalBytesWritten() method in StreamCompressor
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java103 return Arrays.copyOf(bytes, stream.getTotalBytesWritten()); in toByteArray()
382 assertEquals(value.length * 1024, coder.stream().getTotalBytesWritten());
395 assertEquals((value.length * 1024) + stringSize, coder.stream().getTotalBytesWritten());
485 assertEquals(3, codedStream.getTotalBytesWritten());
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java958 public abstract int getTotalBytesWritten(); in getTotalBytesWritten() method in CodedOutputStream
1448 public final int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.ArrayEncoder
1471 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1772 public int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.NioEncoder
1814 public final int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.AbstractBufferedEncoder