Searched refs:numberToCopy (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 647 public final void copyTo(byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyTo() argument 648 checkRange(sourceOffset, sourceOffset + numberToCopy, size()); in copyTo() 649 checkRange(targetOffset, targetOffset + numberToCopy, target.length); in copyTo() 650 if (numberToCopy > 0) { in copyTo() 651 copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyTo() 660 byte[] target, int sourceOffset, int targetOffset, int numberToCopy); in copyToInternal() argument 1338 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 1342 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy); in copyToInternal() 1575 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 1577 bytes, getOffsetIntoBytes() + sourceOffset, target, targetOffset, numberToCopy); in copyToInternal()
|
D | RopeByteString.java | 386 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 387 if (sourceOffset + numberToCopy <= leftLength) { in copyToInternal() 388 left.copyToInternal(target, sourceOffset, targetOffset, numberToCopy); in copyToInternal() 390 right.copyToInternal(target, sourceOffset - leftLength, targetOffset, numberToCopy); in copyToInternal() 394 right.copyToInternal(target, 0, targetOffset + leftLength, numberToCopy - leftLength); in copyToInternal()
|
D | NioByteString.java | 110 byte[] target, int sourceOffset, int targetOffset, int numberToCopy) { in copyToInternal() argument 113 slice.get(target, targetOffset, numberToCopy); in copyToInternal()
|