Searched refs:numberToWrite (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | NioByteString.java | 130 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()
|
D | ByteString.java | 653 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()
|
D | RopeByteString.java | 391 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()
|