/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 778 public void getChars(int srcBegin, int srcEnd, char dst[], int dstBegin) { in getChars() argument 787 if (srcEnd > length()) { in getChars() 788 throw new StringIndexOutOfBoundsException(this, srcEnd); in getChars() 791 int n = srcEnd - srcBegin; in getChars() 792 if (srcEnd < srcBegin) { in getChars() 811 getCharsNoCheck(srcBegin, srcEnd, dst, dstBegin); in getChars() 869 public void getBytes(int srcBegin, int srcEnd, byte dst[], int dstBegin) { in getBytes() argument 873 if (srcEnd > length()) { in getBytes() 874 throw new StringIndexOutOfBoundsException(this, srcEnd); in getBytes() 876 if (srcBegin > srcEnd) { in getBytes() [all …]
|
D | AbstractStringBuilder.java | 380 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) in getChars() argument 384 if ((srcEnd < 0) || (srcEnd > count)) in getChars() 385 throw new StringIndexOutOfBoundsException(srcEnd); in getChars() 386 if (srcBegin > srcEnd) in getChars() 388 System.arraycopy(value, srcBegin, dst, dstBegin, srcEnd - srcBegin); in getChars()
|
D | StringBuffer.java | 242 public synchronized void getChars(int srcBegin, int srcEnd, char[] dst, in getChars() argument 245 super.getChars(srcBegin, srcEnd, dst, dstBegin); in getChars()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 638 int srcEnd = srcBegin + 10; //-2147483639 in testGetCharsOverflow() local 641 "yes".getChars(srcBegin, srcEnd, new char[256], 0); in testGetCharsOverflow() 693 private static void assertGetCharsThrowsAIOOBException(String s, int srcBegin, int srcEnd, in assertGetCharsThrowsAIOOBException() argument 696 s.getChars(srcBegin, srcEnd, dst, dstBegin); in assertGetCharsThrowsAIOOBException() 702 private static void assertGetCharsThrowsSIOOBException(String s, int srcBegin, int srcEnd, in assertGetCharsThrowsSIOOBException() argument 705 s.getChars(srcBegin, srcEnd, dst, dstBegin); in assertGetCharsThrowsSIOOBException()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 137 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { in getChars() argument 145 public void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) { in getBytes() argument
|
D | AbstractStringBuilder.java | 93 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { in getChars() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 86 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { throw new RuntimeExcepti… in getChars() argument 88 @Deprecated public void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) { throw new Ru… in getBytes() argument
|
D | StringBuffer.annotated.java | 61 public synchronized void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { throw new R… in getChars() argument
|
D | StringBuilder.annotated.java | 116 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { throw new RuntimeExcepti… in getChars() argument
|