Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DBinaryWriter.java214 int prevBytes = getTotalBytesWritten(); in writeInt32List_Internal()
218 int length = getTotalBytesWritten() - prevBytes; in writeInt32List_Internal()
232 int prevBytes = getTotalBytesWritten(); in writeInt32List_Internal()
236 int length = getTotalBytesWritten() - prevBytes; in writeInt32List_Internal()
260 int prevBytes = getTotalBytesWritten(); in writeFixed32List_Internal()
264 int length = getTotalBytesWritten() - prevBytes; in writeFixed32List_Internal()
278 int prevBytes = getTotalBytesWritten(); in writeFixed32List_Internal()
282 int length = getTotalBytesWritten() - prevBytes; in writeFixed32List_Internal()
312 int prevBytes = getTotalBytesWritten(); in writeUInt64List_Internal()
316 int length = getTotalBytesWritten() - prevBytes; in writeUInt64List_Internal()
[all …]
DCodedOutputStream.java974 public abstract int getTotalBytesWritten(); in getTotalBytesWritten() method in CodedOutputStream
1521 public final int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.ArrayEncoder
1546 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1859 public int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.SafeDirectNioEncoder
2220 public int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.UnsafeDirectNioEncoder
2260 public final int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStream.AbstractBufferedEncoder
DCodedOutputStreamWriter.java63 public int getTotalBytesWritten() { in getTotalBytesWritten() method in CodedOutputStreamWriter
64 return output.getTotalBytesWritten(); in getTotalBytesWritten()
/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/
DCodedAdapterTest.java93 assertEquals(out.length, writer.getTotalBytesWritten()); in toByteArray()
DExperimentalSerializationUtil.java55 byte[] out = new byte[writer.getTotalBytesWritten()]; in toByteArray()
DCodedOutputStreamTest.java101 return Arrays.copyOf(bytes, stream.getTotalBytesWritten()); in toByteArray()
405 assertEquals(value.length * 1024, coder.stream().getTotalBytesWritten());
420 assertEquals((value.length * 1024) + stringSize, coder.stream().getTotalBytesWritten());
508 assertEquals(3, coder.stream().getTotalBytesWritten());
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSampleDataQueue.java176 public long getTotalBytesWritten() { in getTotalBytesWritten() method in SampleDataQueue
DSampleQueue.java513 long absoluteOffset = sampleDataQueue.getTotalBytesWritten() - size - offset; in sampleMetadata()