Home
last modified time | relevance | path

Searched refs:numberToCopy (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
DByteString.java480 int numberToCopy) { in copyTo() argument
487 if (numberToCopy < 0) { in copyTo()
488 throw new IndexOutOfBoundsException("Length < 0: " + numberToCopy); in copyTo()
490 if (sourceOffset + numberToCopy > size()) { in copyTo()
492 "Source end offset < 0: " + (sourceOffset + numberToCopy)); in copyTo()
494 if (targetOffset + numberToCopy > target.length) { in copyTo()
496 "Target end offset < 0: " + (targetOffset + numberToCopy)); in copyTo()
498 if (numberToCopy > 0) { in copyTo()
499 copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyTo()
510 int targetOffset, int numberToCopy); in copyToInternal() argument
DBoundedByteString.java120 int targetOffset, int numberToCopy) { in copyToInternal() argument
122 targetOffset, numberToCopy); in copyToInternal()
DRopeByteString.java359 int targetOffset, int numberToCopy) { in copyToInternal() argument
360 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal()
361 left.copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyToInternal()
364 numberToCopy); in copyToInternal()
369 numberToCopy - leftLength); in copyToInternal()
DLiteralByteString.java114 int targetOffset, int numberToCopy) { in copyToInternal() argument
117 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); in copyToInternal()