Home
last modified time | relevance | path

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

/external/protobuf/java/src/main/java/com/google/protobuf/
DByteString.java556 void writeTo(OutputStream out, int sourceOffset, int numberToWrite) in writeTo() argument
561 if (numberToWrite < 0) { in writeTo()
562 throw new IndexOutOfBoundsException("Length < 0: " + numberToWrite); in writeTo()
564 if (sourceOffset + numberToWrite > size()) { in writeTo()
566 "Source end offset exceeded: " + (sourceOffset + numberToWrite)); in writeTo()
568 if (numberToWrite > 0) { in writeTo()
569 writeToInternal(out, sourceOffset, numberToWrite); in writeTo()
579 int numberToWrite) throws IOException; in writeToInternal() argument
DRopeByteString.java406 int numberToWrite) throws IOException { in writeToInternal() argument
407 if (sourceOffset + numberToWrite <= leftLength) { in writeToInternal()
408 left.writeToInternal(out, sourceOffset, numberToWrite); in writeToInternal()
410 right.writeToInternal(out, sourceOffset - leftLength, numberToWrite); in writeToInternal()
414 right.writeToInternal(out, 0, numberToWrite - numberToWriteInLeft); in writeToInternal()
DLiteralByteString.java147 int numberToWrite) throws IOException { in writeToInternal() argument
149 numberToWrite); in writeToInternal()