/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringTest.java | 274 "".replace((CharSequence) null, "123".subSequence(0, 1)); in test_replaceLjava_langCharSequenceLjava_langCharSequence() 281 "".replace("123".subSequence(0, 1), (CharSequence) null); in test_replaceLjava_langCharSequenceLjava_langCharSequence() 336 assertTrue("Incorrect substring returned", hw1.subSequence(0, 5).equals( in test_subSequence() 337 "Hello") && (hw1.subSequence(5, 10).equals("World"))); in test_subSequence() 338 assertTrue("not identical", hw1.subSequence(0, hw1.length()) == hw1); in test_subSequence() 341 hw1.subSequence(0, Integer.MAX_VALUE); in test_subSequence() 348 hw1.subSequence(Integer.MAX_VALUE, hw1.length()); in test_subSequence() 355 hw1.subSequence(-1, hw1.length()); in test_subSequence()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Version.java | 282 cs = cs.subSequence(5, cs.length()); in initVersions() 297 String uu = cs.subSequence(1, nextChar).toString(); in initVersions() 310 cs = cs.subSequence(nextChar, cs.length()); in initVersions() 316 cs = cs.subSequence(1, cs.length()); in initVersions()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1168 String match = input.subSequence(index, m.start()).toString(); in split() 1172 String match = input.subSequence(index, in split() 1185 matchList.add(input.subSequence(index, input.length()).toString()); in split() 1514 nextElement = input.subSequence(current, matcher.start()).toString(); in splitAsStream() 1525 nextElement = input.subSequence(current, input.length()).toString(); in splitAsStream()
|
D | Matcher.java | 1132 return text.subSequence(beginIndex, endIndex); in getSubSequence()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | CharSequence.annotated.java | 38 @libcore.util.NonNull public java.lang.CharSequence subSequence(int start, int end); in subSequence() method
|
D | StringBuffer.annotated.java | 101 @libcore.util.NonNull public synchronized java.lang.CharSequence subSequence(int start, int end) { … in subSequence() method in StringBuffer
|
D | StringBuilder.annotated.java | 122 @libcore.util.NonNull public java.lang.CharSequence subSequence(int start, int end) { throw new Run… in subSequence() method in StringBuilder
|
D | String.annotated.java | 140 @libcore.util.NonNull public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { thr… in subSequence() method in String
|
/libcore/ojluni/src/main/java/java/io/ |
D | StringWriter.java | 181 write(cs.subSequence(start, end).toString()); in append()
|
D | Writer.java | 269 write(cs.subSequence(start, end).toString()); in append()
|
D | CharArrayWriter.java | 204 String s = (csq == null ? "null" : csq).subSequence(start, end).toString(); in append()
|
D | PrintWriter.java | 1042 write(cs.subSequence(start, end).toString()); in append()
|
D | PrintStream.java | 1133 write(cs.subSequence(start, end).toString()); in append()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | StringCharBuffer.java | 106 public final CharBuffer subSequence(int start, int end) { in subSequence() method in StringCharBuffer
|
D | CharBuffer.java | 1144 public abstract CharBuffer subSequence(int start, int end); in subSequence() method in CharBuffer 1221 return put(cs.subSequence(start, end).toString()); in append()
|
D | HeapCharBuffer.java | 214 public CharBuffer subSequence(int start, int end) { in subSequence() method in HeapCharBuffer
|
D | ByteBufferAsCharBuffer.java | 180 public CharBuffer subSequence(int start, int end) { in subSequence() method in ByteBufferAsCharBuffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ReaderTest.java | 65 .subSequence(CHARBUFFER_SIZE - CHARBUFFER_REMAINING, in test_Reader_CharBufferChar()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | CharBuffer.java | 169 public abstract java.nio.CharBuffer subSequence(int start, int end); in subSequence() method in CharBuffer
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 181 public java.lang.CharSequence subSequence(int start, int end) { in subSequence() method in AbstractStringBuilder
|
D | String.java | 314 public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() method in String
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuilderTest.java | 1794 CharSequence ss = sb.subSequence(0, 5); in test_subSequenceII() 1797 ss = sb.subSequence(0, 0); in test_subSequenceII() 1801 sb.subSequence(-1, 1); in test_subSequenceII() 1808 sb.subSequence(0, -1); in test_subSequenceII() 1815 sb.subSequence(0, fixture.length() + 1); in test_subSequenceII() 1822 sb.subSequence(3, 2); in test_subSequenceII()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 1916 abbr = text.subSequence(0, 64).toString() + "..."; in createError() 1943 abbr = text.subSequence(0, 64).toString() + "..."; in parseResolved0()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | AbstractStringBuilder.java | 911 public CharSequence subSequence(int start, int end) { in subSequence() method in AbstractStringBuilder
|
D | String.java | 2106 public CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() method in String
|