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.java653 final void writeTo(OutputStream out, int sourceOffset, int numberToWrite) in writeTo() argument
655 checkRange(sourceOffset, sourceOffset + numberToWrite, size()); in writeTo()
656 if (numberToWrite > 0) { in writeTo()
657 writeToInternal(out, sourceOffset, numberToWrite); in writeTo()
665 abstract void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) in writeToInternal() argument
1316 final void writeToInternal(OutputStream outputStream, int sourceOffset, int numberToWrite) in writeToInternal() argument
1318 outputStream.write(bytes, getOffsetIntoBytes() + sourceOffset, numberToWrite); in writeToInternal()
DNioByteString.java130 void writeToInternal(OutputStream out, int sourceOffset, int numberToWrite) throws IOException { in writeToInternal() argument
135 out.write(buffer.array(), bufferOffset, numberToWrite); in writeToInternal() local
139 ByteBufferWriter.write(slice(sourceOffset, sourceOffset + numberToWrite), out); in writeToInternal()
DRopeByteString.java391 int numberToWrite) throws IOException { in writeToInternal() argument
392 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
393 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
395 right.writeToInternal(out, sourceOffset - leftLength, numberToWrite); in writeToInternal()
399 right.writeToInternal(out, 0, numberToWrite - numberToWriteInLeft); in writeToInternal()