Lines Matching refs:len

414         int len = str.length();
415 ensureCapacityInternal(count + len);
416 str.getChars(0, len, value, count);
417 count += len;
425 int len = sb.length();
426 ensureCapacityInternal(count + len);
427 sb.getChars(0, len, value, count);
428 count += len;
479 int len = end - start;
480 ensureCapacityInternal(count + len);
483 count += len;
504 int len = str.length;
505 ensureCapacityInternal(count + len);
506 System.arraycopy(str, 0, value, count, len);
507 count += len;
518 * by the value of {@code len}.
527 * @param len the number of {@code char}s to append.
530 * if {@code offset < 0} or {@code len < 0}
531 * or {@code offset+len > str.length}
533 public AbstractStringBuilder append(char str[], int offset, int len) {
534 if (len > 0) // let arraycopy report AIOOBE for len < 0
535 ensureCapacityInternal(count + len);
536 System.arraycopy(str, offset, value, count, len);
537 count += len;
699 int len = end - start;
700 if (len > 0) {
701 System.arraycopy(value, start+len, value, start, count-end);
702 count -= len;
797 int len = str.length();
798 int newCount = count + len - (end - start);
801 System.arraycopy(value, end, value, start + len, count - end);
879 * specified {@code offset} and extends {@code len} {@code char}s.
882 * sequence increases by {@code len} {@code char}s.
888 * @param len the number of {@code char}s in the subarray to
893 * {@code offset} or {@code len} are negative, or
894 * {@code (offset+len)} is greater than
898 int len)
902 if ((offset < 0) || (len < 0) || (offset > str.length - len))
904 "offset " + offset + ", len " + len + ", str.length "
906 ensureCapacityInternal(count + len);
907 System.arraycopy(value, index, value, index + len, count - index);
908 System.arraycopy(str, offset, value, index, len);
909 count += len;
972 int len = str.length();
973 ensureCapacityInternal(count + len);
974 System.arraycopy(value, offset, value, offset + len, count - offset);
976 count += len;
1007 int len = str.length;
1008 ensureCapacityInternal(count + len);
1009 System.arraycopy(value, offset, value, offset + len, count - offset);
1010 System.arraycopy(str, 0, value, offset, len);
1011 count += len;
1098 int len = end - start;
1099 ensureCapacityInternal(count + len);
1100 System.arraycopy(value, dstOffset, value, dstOffset + len,
1104 count += len;