/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringBufferTest.java | 294 testBuffer.subSequence(4, 7)); in test_subSequence() 296 testBuffer.subSequence(10, 21)); in test_subSequence() 298 testBuffer.subSequence(0, testBuffer.length())); in test_subSequence() 301 testBuffer.subSequence(0, Integer.MAX_VALUE); in test_subSequence() 308 testBuffer.subSequence(Integer.MAX_VALUE, testBuffer.length()); in test_subSequence() 315 testBuffer.subSequence(-1, testBuffer.length()); in test_subSequence()
|
D | OldStringTest.java | 270 "".replace((CharSequence) null, "123".subSequence(0, 1)); in test_replaceLjava_langCharSequenceLjava_langCharSequence() 277 "".replace("123".subSequence(0, 1), (CharSequence) null); in test_replaceLjava_langCharSequenceLjava_langCharSequence() 332 assertTrue("Incorrect substring returned", hw1.subSequence(0, 5).equals( in test_subSequence() 333 "Hello") && (hw1.subSequence(5, 10).equals("World"))); in test_subSequence() 334 assertTrue("not identical", hw1.subSequence(0, hw1.length()) == hw1); in test_subSequence() 337 hw1.subSequence(0, Integer.MAX_VALUE); in test_subSequence() 344 hw1.subSequence(Integer.MAX_VALUE, hw1.length()); in test_subSequence() 351 hw1.subSequence(-1, hw1.length()); in test_subSequence()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Version.java | 276 cs = cs.subSequence(5, cs.length()); in initVersions() 282 String uu = cs.subSequence(1, 3).toString(); in initVersions() 295 cs = cs.subSequence(nextChar, cs.length()); in initVersions() 301 cs = cs.subSequence(1, cs.length()); in initVersions()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1125 String match = input.subSequence(index, m.start()).toString(); in split() 1129 String match = input.subSequence(index, in split() 1142 matchList.add(input.subSequence(index, input.length()).toString()); in split() 1429 nextElement = input.subSequence(current, matcher.start()).toString(); in splitAsStream() 1440 nextElement = input.subSequence(current, input.length()).toString(); in splitAsStream()
|
/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 | 1122 write(cs.subSequence(start, end).toString()); in append()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | StringCharBuffer.java | 105 public final CharBuffer subSequence(int start, int end) { in subSequence() method in StringCharBuffer
|
D | CharBuffer.java | 962 public abstract CharBuffer subSequence(int start, int end); in subSequence() method in CharBuffer 1025 return put(cs.subSequence(start, end).toString()); in append()
|
D | ByteBufferAsCharBuffer.java | 180 public CharBuffer subSequence(int start, int end) { in subSequence() method in ByteBufferAsCharBuffer
|
D | HeapCharBuffer.java | 214 public CharBuffer subSequence(int start, int end) { in subSequence() method in HeapCharBuffer
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 107 CharSequence subSequence(int start, int end); in subSequence() method
|
D | StringBuffer.java | 470 public synchronized CharSequence subSequence(int start, int end) { in subSequence() method in StringBuffer
|
D | AbstractStringBuilder.java | 930 public CharSequence subSequence(int start, int end) { in subSequence() method in AbstractStringBuilder
|
D | String.java | 2014 public CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() method in String
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | CharBufferTest.java | 683 buf.subSequence(-1, buf.length()); in testSubSequence() 689 buf.subSequence(buf.length() + 1, buf.length() + 1); in testSubSequence() 694 assertEquals(buf.subSequence(buf.length(), buf.length()).length(), 0); in testSubSequence() 696 buf.subSequence(1, 0); in testSubSequence() 702 buf.subSequence(1, buf.length() + 1); in testSubSequence() 708 assertEquals(buf.subSequence(0, buf.length()).toString(), buf in testSubSequence() 712 assertEquals(buf.subSequence(1, buf.length() - 1).toString(), buf in testSubSequence()
|
/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/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()
|
D | DateTimeFormatterBuilder.java | 2298 text = text.subSequence(0, endPos); in parse()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 790 CharSequence cs = cb.subSequence(0, cb.length()); in testCharBufferSubSequence()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 4867 assertEquals(stringBuilder.subSequence(0, 1022), result); in test_findWithinHorizon_LPatternI() 4880 assertEquals(stringBuilder.subSequence(1022, 1025), result); in test_findWithinHorizon_LPatternI()
|