Home
last modified time | relevance | path

Searched refs:deleteCharAt (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/lang/StringBuffer/
DCompactStringBuffer.java63 check(new StringBuffer(ORIGIN).deleteCharAt(0), ""); in testCompactStringBufferForLatinA()
107 check(new StringBuffer(ORIGIN).deleteCharAt(0), ""); in testCompactStringBufferForNonLatinA()
141 check(new StringBuffer(ORIGIN).deleteCharAt(1), "\uFF21"); in testCompactStringBufferForMixedA1()
142 check(new StringBuffer(ORIGIN).deleteCharAt(0), "A"); in testCompactStringBufferForMixedA1()
228 check(new StringBuffer(ORIGIN).deleteCharAt(1), "\uD801\uD801\uDC01"); in testCompactStringForSupplementaryCodePoint()
276 check(new StringBuffer(ORIGIN).deleteCharAt(3).deleteCharAt(0), in testCompactStringForSupplementaryCodePointMixed1()
307 check(new StringBuffer(ORIGIN).deleteCharAt(0).deleteCharAt(0) in testCompactStringForSupplementaryCodePointMixed2()
308 .deleteCharAt(0), "A"); in testCompactStringForSupplementaryCodePointMixed2()
383 check(new StringBuffer().append(ascii).deleteCharAt(0).toString(), in testCompactStringMisc()
385 check(new StringBuffer().append(ascii).deleteCharAt(3).toString(), in testCompactStringMisc()
[all …]
/libcore/ojluni/src/test/java/lang/StringBuilder/
DCompactStringBuilder.java63 check(new StringBuilder(ORIGIN).deleteCharAt(0), ""); in testCompactStringBuilderForLatinA()
107 check(new StringBuilder(ORIGIN).deleteCharAt(0), ""); in testCompactStringBuilderForNonLatinA()
141 check(new StringBuilder(ORIGIN).deleteCharAt(1), "\uFF21"); in testCompactStringBuilderForMixedA1()
142 check(new StringBuilder(ORIGIN).deleteCharAt(0), "A"); in testCompactStringBuilderForMixedA1()
229 check(new StringBuilder(ORIGIN).deleteCharAt(1), "\uD801\uD801\uDC01"); in testCompactStringForSupplementaryCodePoint()
278 check(new StringBuilder(ORIGIN).deleteCharAt(3).deleteCharAt(0), in testCompactStringForSupplementaryCodePointMixed1()
309 check(new StringBuilder(ORIGIN).deleteCharAt(0).deleteCharAt(0) in testCompactStringForSupplementaryCodePointMixed2()
310 .deleteCharAt(0), "A"); in testCompactStringForSupplementaryCodePointMixed2()
/libcore/luni/src/test/java/libcore/java/lang/
DStringBuilderTest.java28 sb.deleteCharAt(sb.length() - 1); in test_deleteChatAt_lastRange()
42 sb.deleteCharAt(0); in test_deleteCharAt_lastChar()
71 sb.deleteCharAt(sb.length()); in test_deleteCharAt_boundsChecks()
77 sb.deleteCharAt(-1); in test_deleteCharAt_boundsChecks()
DOldStringBufferTest.java28 testBuffer.deleteCharAt(testBuffer.length() + 1); in test_deleteCharAtI()
35 testBuffer.deleteCharAt(-1); in test_deleteCharAtI()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestAccessModeMethodNames.java61 s.deleteCharAt(i); in toMethodName()
/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java312 public StringBuilder deleteCharAt(int index) { in deleteCharAt() method in StringBuilder
313 super.deleteCharAt(index); in deleteCharAt()
DStringBuffer.java490 public synchronized StringBuffer deleteCharAt(int index) { in deleteCharAt() method in StringBuffer
492 super.deleteCharAt(index); in deleteCharAt()
DAbstractStringBuilder.java920 public AbstractStringBuilder deleteCharAt(int index) { in deleteCharAt() method in AbstractStringBuilder
/libcore/ojluni/src/main/java/java/time/
DYearMonth.java1192 buf.append(year - 10000).deleteCharAt(1); in toString()
1194 buf.append(year + 10000).deleteCharAt(0); in toString()
DLocalDate.java2166 buf.append(yearValue - 10000).deleteCharAt(1); in toString()
2168 buf.append(yearValue + 10000).deleteCharAt(0); in toString()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java169 public java.lang.AbstractStringBuilder deleteCharAt(int index) { in deleteCharAt() method in AbstractStringBuilder
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuilderTest.java592 assertSame(sb, sb.deleteCharAt(0)); in test_deleteCharAtI()
596 assertSame(sb, sb.deleteCharAt(5)); in test_deleteCharAtI()
600 assertSame(sb, sb.deleteCharAt(9)); in test_deleteCharAtI()
605 new StringBuilder(fixture).deleteCharAt(-1); in test_deleteCharAtI()
612 new StringBuilder(fixture).deleteCharAt(fixture.length()); in test_deleteCharAtI()
619 new StringBuilder(fixture).deleteCharAt(fixture.length() + 1); in test_deleteCharAtI()
DStringBuffer2Test.java281 testBuffer.deleteCharAt(3); in test_deleteCharAtI()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuffer.annotated.java95 @libcore.util.NonNull public synchronized java.lang.StringBuffer deleteCharAt(int index) { throw ne… in deleteCharAt() method in StringBuffer
DStringBuilder.annotated.java72 @libcore.util.NonNull public java.lang.StringBuilder deleteCharAt(int index) { throw new RuntimeExc… in deleteCharAt() method in StringBuilder
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java416 assertEquals(source, sb.deleteCharAt(0).toString()); in test_read_specialCharset()
/libcore/luni/src/main/java/libcore/icu/
DICU.java595 sb.deleteCharAt(lastIndex); in removeBFromDateTimePattern()
/libcore/api/
Dcurrent.txt4227 method @NonNull public StringBuffer deleteCharAt(int);
4287 method @NonNull public StringBuilder deleteCharAt(int);