Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java707 final void writeTo(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeTo() argument
708 checkRange(sourceOffset, sourceOffset + numberToWrite, size()); in writeTo()
709 if (numberToWrite > 0) { in writeTo()
710 writeToInternal(out, sourceOffset, numberToWrite); in writeTo()
718 abstract void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) in writeToInternal() argument
1366 final void writeToInternal(OutputStream outputStream, int sourceOffset, int numberToWrite) in writeToInternal() argument
1368 outputStream.write(bytes, getOffsetIntoBytes() + sourceOffset, numberToWrite); in writeToInternal()
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()
DRopeByteString.java430 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument
431 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
432 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
434 right.writeToInternal(out, sourceOffset - leftLength, numberToWrite); in writeToInternal()
438 right.writeToInternal(out, 0, numberToWrite - numberToWriteInLeft); in writeToInternal()