/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBufferTest.java | 116 new StringBuffer((CharSequence) null); in test_constructorLjava_lang_CharSequence() 121 …assertEquals("Assert 1: must equal 'abc'.", "abc", new StringBuffer((CharSequence) "abc").toString… in test_constructorLjava_lang_CharSequence() 140 assertSame(sb, sb.append((CharSequence) "ab")); in test_appendLjava_lang_CharSequence() 143 assertSame(sb, sb.append((CharSequence) "cd")); in test_appendLjava_lang_CharSequence() 146 assertSame(sb, sb.append((CharSequence) null)); in test_appendLjava_lang_CharSequence() 156 assertSame(sb, sb.append((CharSequence) "ab", 0, 2)); in test_appendLjava_lang_CharSequenceII() 159 assertSame(sb, sb.append((CharSequence) "cd", 0, 2)); in test_appendLjava_lang_CharSequenceII() 162 assertSame(sb, sb.append((CharSequence) "abcd", 0, 2)); in test_appendLjava_lang_CharSequenceII() 165 assertSame(sb, sb.append((CharSequence) "abcd", 2, 4)); in test_appendLjava_lang_CharSequenceII() 168 assertSame(sb, sb.append((CharSequence) null, 0, 2)); in test_appendLjava_lang_CharSequenceII() [all …]
|
D | StringBuilderTest.java | 62 StringBuilder sb = new StringBuilder((CharSequence) "fixture"); in test_ConstructorLjava_lang_CharSequence() 66 sb = new StringBuilder((CharSequence) new StringBuffer("fixture")); in test_ConstructorLjava_lang_CharSequence() 71 new StringBuilder((CharSequence) null); in test_ConstructorLjava_lang_CharSequence() 192 assertSame(sb, sb.append((CharSequence) "ab")); in test_appendLjava_lang_CharSequence() 195 assertSame(sb, sb.append((CharSequence) "cd")); in test_appendLjava_lang_CharSequence() 198 assertSame(sb, sb.append((CharSequence) null)); in test_appendLjava_lang_CharSequence() 208 assertSame(sb, sb.append((CharSequence) "ab", 0, 2)); in test_appendLjava_lang_CharSequenceII() 211 assertSame(sb, sb.append((CharSequence) "cd", 0, 2)); in test_appendLjava_lang_CharSequenceII() 214 assertSame(sb, sb.append((CharSequence) "abcd", 0, 2)); in test_appendLjava_lang_CharSequenceII() 217 assertSame(sb, sb.append((CharSequence) "abcd", 2, 4)); in test_appendLjava_lang_CharSequenceII() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | StringJoiner.java | 99 public StringJoiner(CharSequence delimiter) { in StringJoiner() 118 public StringJoiner(CharSequence delimiter, in StringJoiner() 119 CharSequence prefix, in StringJoiner() 120 CharSequence suffix) { in StringJoiner() 145 public StringJoiner setEmptyValue(CharSequence emptyValue) { in setEmptyValue() 184 public StringJoiner add(CharSequence newElement) { in add()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/regex/ |
D | Pattern.annotated.java | 44 …ublic java.util.regex.Matcher matcher(@libcore.util.NonNull java.lang.CharSequence input) { throw … in matcher() 48 ….util.NonNull java.lang.String regex, @libcore.util.NonNull java.lang.CharSequence input) { throw … in matches() 50 …String @libcore.util.NonNull [] split(@libcore.util.NonNull java.lang.CharSequence input, int limi… in split() 52 …String @libcore.util.NonNull [] split(@libcore.util.NonNull java.lang.CharSequence input) { throw … in split() 58 …re.util.NonNull String> splitAsStream(@libcore.util.NonNull java.lang.CharSequence input) { throw … in splitAsStream()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Appendable.java | 71 Appendable append(CharSequence csq) throws IOException; in append() 107 Appendable append(CharSequence csq, int start, int end) throws IOException; in append()
|
D | StringBuilder.java | 79 implements java.io.Serializable, CharSequence 125 public StringBuilder(CharSequence seq) { in StringBuilder() 166 public StringBuilder append(CharSequence s) { in append() 175 public StringBuilder append(CharSequence s, int start, int end) { in append() 309 public StringBuilder insert(int dstOffset, CharSequence s) { in insert() 318 public StringBuilder insert(int dstOffset, CharSequence s, in insert()
|
D | String.java | 114 implements java.io.Serializable, Comparable<String>, CharSequence { 1032 return contentEquals((CharSequence)sb); in contentEquals() 1065 public boolean contentEquals(CharSequence cs) { in contentEquals() 2106 public CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() 2223 public boolean contains(CharSequence s) { in contains() 2329 public String replace(CharSequence target, CharSequence replacement) { in replace() 2553 public static String join(CharSequence delimiter, CharSequence... elements) { in join() 2558 for (CharSequence cs: elements) { in join() 2601 public static String join(CharSequence delimiter, in join() 2602 Iterable<? extends CharSequence> elements) { in join() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | MockIOExceptionAppendable.java | 69 public Appendable append(CharSequence csq) throws IOException { in append() 77 public Appendable append(CharSequence csq, int start, int end) in append()
|
/libcore/ojluni/src/main/java/java/io/ |
D | StringWriter.java | 139 public StringWriter append(CharSequence csq) { in append() 179 public StringWriter append(CharSequence csq, int start, int end) { in append() 180 CharSequence cs = (csq == null ? "null" : csq); in append()
|
D | Writer.java | 223 public Writer append(CharSequence csq) throws IOException { in append() 267 public Writer append(CharSequence csq, int start, int end) throws IOException { in append() 268 CharSequence cs = (csq == null ? "null" : csq); in append()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | CharBuffer.java | 37 java.lang.CharSequence, 66 public static java.nio.CharBuffer wrap(java.lang.CharSequence csq, int start, int end) { in wrap() 70 public static java.nio.CharBuffer wrap(java.lang.CharSequence csq) { in wrap() 171 public java.nio.CharBuffer append(java.lang.CharSequence csq) { in append() 175 public java.nio.CharBuffer append(java.lang.CharSequence csq, int start, int end) { in append()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 31 abstract class AbstractStringBuilder implements java.lang.Appendable, java.lang.CharSequence { 117 public java.lang.AbstractStringBuilder append(java.lang.CharSequence s) { in append() 125 public java.lang.AbstractStringBuilder append(java.lang.CharSequence s, int start, int end) { in append() 181 public java.lang.CharSequence subSequence(int start, int end) { in subSequence() 205 public java.lang.AbstractStringBuilder insert(int dstOffset, java.lang.CharSequence s) { in insert() 210 int dstOffset, java.lang.CharSequence s, int start, int end) { in insert()
|
D | String.java | 35 java.lang.CharSequence { 174 public boolean contentEquals(java.lang.CharSequence cs) { in contentEquals() 314 public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() 330 public boolean contains(java.lang.CharSequence s) { in contains() 343 java.lang.CharSequence target, java.lang.CharSequence replacement) { in replace() 356 java.lang.CharSequence delimiter, java.lang.CharSequence... elements) { in join() 361 java.lang.CharSequence delimiter, in join() 362 java.lang.Iterable<? extends java.lang.CharSequence> elements) { in join()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeParseException.java | 99 public DateTimeParseException(String message, CharSequence parsedData, int errorIndex) { in DateTimeParseException() 113 …public DateTimeParseException(String message, CharSequence parsedData, int errorIndex, Throwable c… in DateTimeParseException()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | CharSequence.annotated.java | 32 public interface CharSequence { interface 38 @libcore.util.NonNull public java.lang.CharSequence subSequence(int start, int end); in subSequence()
|
D | Appendable.annotated.java | 34 …l public java.lang.Appendable append(@libcore.util.Nullable java.lang.CharSequence csq) throws jav… in append() 36 …l public java.lang.Appendable append(@libcore.util.Nullable java.lang.CharSequence csq, int start,… in append()
|
D | StringBuffer.annotated.java | 31 public final class StringBuffer implements java.lang.Appendable, java.lang.CharSequence, java.io.Se… 39 public StringBuffer(@libcore.util.NonNull java.lang.CharSequence seq) { throw new RuntimeException(… in StringBuffer() 71 …onized java.lang.StringBuffer append(@libcore.util.Nullable java.lang.CharSequence s) { throw new … in append() 73 …onized java.lang.StringBuffer append(@libcore.util.Nullable java.lang.CharSequence s, int start, i… in append() 101 @libcore.util.NonNull public synchronized java.lang.CharSequence subSequence(int start, int end) { … in subSequence() 113 …g.StringBuffer insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s) { throw new … in insert() 115 …g.StringBuffer insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s, int start, i… in insert()
|
D | StringBuilder.annotated.java | 32 public final class StringBuilder implements java.lang.Appendable, java.lang.CharSequence, java.io.S… 40 public StringBuilder(@libcore.util.NonNull java.lang.CharSequence seq) { throw new RuntimeException… in StringBuilder() 48 …ublic java.lang.StringBuilder append(@libcore.util.Nullable java.lang.CharSequence s) { throw new … in append() 50 …ublic java.lang.StringBuilder append(@libcore.util.Nullable java.lang.CharSequence s, int start, i… in append() 84 ….StringBuilder insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s) { throw new … in insert() 86 ….StringBuilder insert(int dstOffset, @libcore.util.Nullable java.lang.CharSequence s, int start, i… in insert() 122 @libcore.util.NonNull public java.lang.CharSequence subSequence(int start, int end) { throw new Run… in subSequence()
|
D | String.annotated.java | 40 …g implements java.io.Serializable, java.lang.Comparable<java.lang.String>, java.lang.CharSequence { 100 public boolean contentEquals(@libcore.util.NonNull java.lang.CharSequence cs) { throw new RuntimeEx… in contentEquals() 140 @libcore.util.NonNull public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { thr… in subSequence() 148 public boolean contains(@libcore.util.NonNull java.lang.CharSequence s) { throw new RuntimeExceptio… in contains() 154 …ing replace(@libcore.util.NonNull java.lang.CharSequence target, @libcore.util.NonNull java.lang.C… in replace() 160 …ring join(@libcore.util.NonNull java.lang.CharSequence delimiter, java.lang.@libcore.util.NonNull … in join() 162 …nNull java.lang.CharSequence delimiter, @libcore.util.NonNull java.lang.Iterable<? extends @libcor… in join()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | StringCharBuffer.java | 34 CharSequence str; 36 StringCharBuffer(CharSequence s, int start, int end) { // package-private in StringCharBuffer() 53 private StringCharBuffer(CharSequence s, in StringCharBuffer()
|
D | CharBuffer.java | 123 implements Comparable<CharBuffer>, Appendable, CharSequence, Readable 300 public static CharBuffer wrap(CharSequence csq, int start, int end) { in wrap() 322 public static CharBuffer wrap(CharSequence csq) { in wrap() 1180 public CharBuffer append(CharSequence csq) { in append() 1219 public CharBuffer append(CharSequence csq, int start, int end) { in append() 1220 CharSequence cs = (csq == null ? "null" : csq); in append()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 34 Matcher(java.util.regex.Pattern parent, java.lang.CharSequence text) { in Matcher() 54 public java.util.regex.Matcher reset(java.lang.CharSequence input) { in reset() 183 java.lang.CharSequence getSubSequence(int beginIndex, int endIndex) { in getSubSequence() 187 private java.util.regex.Matcher reset(java.lang.CharSequence input, int start, int end) { in reset() 246 private java.lang.CharSequence originalInput;
|
/libcore/support/src/test/java/libcore/java/io/ |
D | NullPrintStream.java | 63 public PrintStream append(CharSequence csq) { return this; } in append() 64 public PrintStream append(CharSequence csq, int start, int end) { return this; } in append()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1020 public Matcher matcher(CharSequence input) { in matcher() 1069 public static boolean matches(String regex, CharSequence input) { in matches() 1142 public String[] split(CharSequence input, int limit) { in split() 1305 public String[] split(CharSequence input) { in split() 1475 public Stream<String> splitAsStream(final CharSequence input) { in splitAsStream()
|
D | Matcher.java | 147 private CharSequence originalInput; 165 Matcher(Pattern parent, CharSequence text) { in Matcher() 255 public Matcher reset(CharSequence input) { in reset() 1131 CharSequence getSubSequence(int beginIndex, int endIndex) { in getSubSequence() 1151 private Matcher reset(CharSequence input, int start, int end) { in reset()
|