Home
last modified time | relevance | path

Searched refs:numberToWrite (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DNioByteString.java132 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument
137 out.write(buffer.array(), bufferOffset, numberToWrite); in writeToInternal() local
141 ByteBufferWriter.write(slice(sourceOffset, sourceOffset + numberToWrite), out); in writeToInternal()
DByteString.java716 final void writeTo(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeTo() argument
717 checkRange(sourceOffset, sourceOffset + numberToWrite, size()); in writeTo()
718 if (numberToWrite > 0) { in writeTo()
719 writeToInternal(out, sourceOffset, numberToWrite); in writeTo()
727 abstract void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) in writeToInternal() argument
1385 final void writeToInternal(OutputStream outputStream, int sourceOffset, int numberToWrite) in writeToInternal() argument
1387 outputStream.write(bytes, getOffsetIntoBytes() + sourceOffset, numberToWrite); in writeToInternal()
DRopeByteString.java446 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument
447 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
448 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
450 right.writeToInternal(out, sourceOffset - leftLength, numberToWrite); in writeToInternal()
454 right.writeToInternal(out, 0, numberToWrite - numberToWriteInLeft); in writeToInternal()