Searched refs:numberToWrite (Results 1 – 3 of 3) sorted by relevance
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | NioByteString.java | 132 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()
|
D | ByteString.java | 716 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()
|
D | RopeByteString.java | 446 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()
|