/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuilder.java | 271 public StringBuilder insert(int index, char[] str, int offset, in insert() method in StringBuilder 274 super.insert(index, str, offset, len); in insert() 282 public StringBuilder insert(int offset, Object obj) { in insert() method in StringBuilder 283 super.insert(offset, obj); in insert() 291 public StringBuilder insert(int offset, String str) { in insert() method in StringBuilder 292 super.insert(offset, str); in insert() 300 public StringBuilder insert(int offset, char[] str) { in insert() method in StringBuilder 301 super.insert(offset, str); in insert() 309 public StringBuilder insert(int dstOffset, CharSequence s) { in insert() method in StringBuilder 310 super.insert(dstOffset, s); in insert() [all …]
|
D | StringBuffer.java | 488 public synchronized StringBuffer insert(int index, char[] str, int offset, in insert() method in StringBuffer 492 super.insert(index, str, offset, len); in insert() 500 public synchronized StringBuffer insert(int offset, Object obj) { in insert() method in StringBuffer 502 super.insert(offset, String.valueOf(obj)); in insert() 510 public synchronized StringBuffer insert(int offset, String str) { in insert() method in StringBuffer 512 super.insert(offset, str); in insert() 520 public synchronized StringBuffer insert(int offset, char[] str) { in insert() method in StringBuffer 522 super.insert(offset, str); in insert() 531 public StringBuffer insert(int dstOffset, CharSequence s) { in insert() method in StringBuffer 535 super.insert(dstOffset, s); in insert() [all …]
|
D | AbstractStringBuilder.java | 960 public AbstractStringBuilder insert(int index, char[] str, int offset, in insert() method in AbstractStringBuilder 995 public AbstractStringBuilder insert(int offset, Object obj) { in insert() method in AbstractStringBuilder 996 return insert(offset, String.valueOf(obj)); in insert() 1030 public AbstractStringBuilder insert(int offset, String str) { in insert() method in AbstractStringBuilder 1067 public AbstractStringBuilder insert(int offset, char[] str) { in insert() method in AbstractStringBuilder 1099 public AbstractStringBuilder insert(int dstOffset, CharSequence s) { in insert() method in AbstractStringBuilder 1103 return this.insert(dstOffset, (String)s); in insert() 1104 return this.insert(dstOffset, s, 0, s.length()); in insert() 1151 public AbstractStringBuilder insert(int dstOffset, CharSequence s, in insert() method in AbstractStringBuilder 1190 public AbstractStringBuilder insert(int offset, boolean b) { in insert() method in AbstractStringBuilder [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringBufferTest.java | 95 testBuffer.insert(-1, Double.MAX_VALUE); in test_insertID() 102 testBuffer.insert(testBuffer.length() + 1, Double.MAX_VALUE); in test_insertID() 111 testBuffer.insert(-1, Float.MAX_VALUE); in test_insertIF() 118 testBuffer.insert(testBuffer.length() + 1, Float.MAX_VALUE); in test_insertIF() 127 testBuffer.insert(-1, Integer.MAX_VALUE); in test_insertII() 134 testBuffer.insert(testBuffer.length() + 1, Integer.MAX_VALUE); in test_insertII() 143 testBuffer.insert(-1, Long.MAX_VALUE); in test_insertIJ() 150 testBuffer.insert(testBuffer.length() + 1, Long.MAX_VALUE); in test_insertIJ() 160 testBuffer.insert(-1, obj1); in test_insertILjava_lang_Object() 167 testBuffer.insert(testBuffer.length() + 1, obj1); in test_insertILjava_lang_Object() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuilderTest.java | 765 assertSame(sb, sb.insert(0, true)); in test_insertIZ() 770 assertSame(sb, sb.insert(0, false)); in test_insertIZ() 775 assertSame(sb, sb.insert(2, false)); in test_insertIZ() 780 assertSame(sb, sb.insert(4, false)); in test_insertIZ() 786 sb.insert(-1, false); in test_insertIZ() 794 sb.insert(5, false); in test_insertIZ() 807 assertSame(sb, sb.insert(0, 'a')); in test_insertIC() 812 assertSame(sb, sb.insert(0, 'b')); in test_insertIC() 817 assertSame(sb, sb.insert(2, 'b')); in test_insertIC() 822 assertSame(sb, sb.insert(4, 'b')); in test_insertIC() [all …]
|
D | StringBufferTest.java | 204 assertSame(sb, sb.insert(0, (CharSequence) "ab")); in test_insertILjava_lang_CharSequence() 209 assertSame(sb, sb.insert(2, (CharSequence) "ab")); in test_insertILjava_lang_CharSequence() 214 assertSame(sb, sb.insert(4, (CharSequence) "ab")); in test_insertILjava_lang_CharSequence() 219 assertSame(sb, sb.insert(4, (CharSequence) null)); in test_insertILjava_lang_CharSequence() 225 sb.insert(-1, (CharSequence) "ab"); in test_insertILjava_lang_CharSequence() 233 sb.insert(5, (CharSequence) "ab"); in test_insertILjava_lang_CharSequence() 247 assertSame(sb, sb.insert(0, (CharSequence) "ab", 0, 2)); in test_insertILjava_lang_CharSequenceII() 252 assertSame(sb, sb.insert(0, (CharSequence) "ab", 0, 1)); in test_insertILjava_lang_CharSequenceII() 257 assertSame(sb, sb.insert(2, (CharSequence) "ab", 0, 2)); in test_insertILjava_lang_CharSequenceII() 262 assertSame(sb, sb.insert(2, (CharSequence) "ab", 0, 1)); in test_insertILjava_lang_CharSequenceII() [all …]
|
D | StringBuffer2Test.java | 327 testBuffer.insert(15, buf); in test_insertI$C() 334 buf1.insert(-1, (char[]) null); in test_insertI$C() 349 testBuffer.insert(8, c, 0, 4); in test_insertI$CII() 354 buf1.insert(-1, (char[]) null, 0, 0); in test_insertI$CII() 361 testBuffer.insert(testBuffer.length() - 1, c, -1, 1); in test_insertI$CII() 374 testBuffer.insert(15, 'T'); in test_insertIC() 385 testBuffer.insert(15, Double.MAX_VALUE); in test_insertID() 396 testBuffer.insert(15, Float.MAX_VALUE); in test_insertIF() 411 testBuffer.insert(15, 100); in test_insertII() 422 testBuffer.insert(15, 88888888888888888L); in test_insertIJ() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | AbstractStringBuilder.java | 189 public java.lang.AbstractStringBuilder insert(int index, char[] str, int offset, int len) { in insert() method in AbstractStringBuilder 193 public java.lang.AbstractStringBuilder insert(int offset, java.lang.Object obj) { in insert() method in AbstractStringBuilder 197 public java.lang.AbstractStringBuilder insert(int offset, java.lang.String str) { in insert() method in AbstractStringBuilder 201 public java.lang.AbstractStringBuilder insert(int offset, char[] str) { in insert() method in AbstractStringBuilder 205 public java.lang.AbstractStringBuilder insert(int dstOffset, java.lang.CharSequence s) { in insert() method in AbstractStringBuilder 209 public java.lang.AbstractStringBuilder insert( in insert() method in AbstractStringBuilder 214 public java.lang.AbstractStringBuilder insert(int offset, boolean b) { in insert() method in AbstractStringBuilder 218 public java.lang.AbstractStringBuilder insert(int offset, char c) { in insert() method in AbstractStringBuilder 222 public java.lang.AbstractStringBuilder insert(int offset, int i) { in insert() method in AbstractStringBuilder 226 public java.lang.AbstractStringBuilder insert(int offset, long l) { in insert() method in AbstractStringBuilder [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | StringBuffer.annotated.java | 105 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int index, char[] str, int … in insert() method in StringBuffer 107 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, @libcore.util.N… in insert() method in StringBuffer 109 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, @libcore.util.N… in insert() method in StringBuffer 111 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, char[] str) { t… in insert() method in StringBuffer 113 @libcore.util.NonNull public java.lang.StringBuffer insert(int dstOffset, @libcore.util.Nullable ja… in insert() method in StringBuffer 115 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int dstOffset, @libcore.uti… in insert() method in StringBuffer 117 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, boolean b) { throw new Runti… in insert() method in StringBuffer 119 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, char c) { throw… in insert() method in StringBuffer 121 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, int i) { throw new RuntimeEx… in insert() method in StringBuffer 123 @libcore.util.NonNull public java.lang.StringBuffer insert(int offset, long l) { throw new RuntimeE… in insert() method in StringBuffer [all …]
|
D | StringBuilder.annotated.java | 76 @libcore.util.NonNull public java.lang.StringBuilder insert(int index, char[] str, int offset, int … in insert() method in StringBuilder 78 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java… in insert() method in StringBuilder 80 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java… in insert() method in StringBuilder 82 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char[] str) { throw new Run… in insert() method in StringBuilder 84 @libcore.util.NonNull public java.lang.StringBuilder insert(int dstOffset, @libcore.util.Nullable j… in insert() method in StringBuilder 86 @libcore.util.NonNull public java.lang.StringBuilder insert(int dstOffset, @libcore.util.Nullable j… in insert() method in StringBuilder 88 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, boolean b) { throw new Runt… in insert() method in StringBuilder 90 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char c) { throw new Runtime… in insert() method in StringBuilder 92 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, int i) { throw new RuntimeE… in insert() method in StringBuilder 94 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, long l) { throw new Runtime… in insert() method in StringBuilder [all …]
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldConnectionTest.java | 1179 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_int() local 1180 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int() 1188 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_int() local 1190 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int() 1207 prst1 = conn.prepareStatement(insert, Statement.RETURN_GENERATED_KEYS); in testPrepareStatement_String_int() 1858 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_intArray() local 1859 prst = conn.prepareStatement(insert, new int[] { 0, 1, 2 }); in testPrepareStatement_String_intArray() 2089 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_StringArray() local 2090 conn.prepareStatement(insert, new String[] { "id", "name", in testPrepareStatement_String_StringArray()
|
D | OldResultSetMetaDataTest.java | 284 String insert = "insert into DecimalNumbers values (1.5, 20.55, 30.666, 100000);"; in testGetPrecision() local 288 st2.executeUpdate(insert); in testGetPrecision() 349 String insert = "insert into DecimalNumbers values (1.5, 20.55, 30.666);"; in testGetScale() local 354 st.executeUpdate(insert); in testGetScale()
|
D | OldStatementTest.java | 988 String insert = "insert into zoo (id, name, family) values (8, 'Tuzik', 'dog');"; in testGeneratedKeys() local 1177 String insert = "insert into zoo (id, name, family) values (4, 'Vorobuy', 'bear');"; in testGetResultSet() local 1178 st.execute(insert); in testGetResultSet() 1191 insert = "insert into zoo (id, name, family) values (3, 'Vorobey', 'sparrow');"; in testGetResultSet() 1192 st.execute(insert); in testGetResultSet()
|
D | OldPreparedStatementTest.java | 1584 String insert in testSetNullIntintString() local 1586 ps = conn.prepareStatement(insert); in testSetNullIntintString() 1613 String insert in testSetNullIntintString() local 1615 ps = conn.prepareStatement(insert); in testSetNullIntintString()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | CharacterDataImpl.java | 72 buffer.insert(offset, arg); in insertData()
|
/libcore/tools/testmapping/ |
D | save_logs.py | 82 parts.insert(0, tail)
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 952 buf.insert(insertionPoint, '.'); in toString()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Manifest.java | 177 line.insert(index, "\r\n "); in make72Safe()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 2381 insert(obj, size); in assign() 2422 private void insert(Object obj, int handle) { in insert() method in ObjectOutputStream.HandleTable 2438 insert(objs[i], i); in growSpine()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectOutputStream.java | 574 private void insert(java.lang.Object obj, int handle) { in insert() method in ObjectOutputStream.HandleTable
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 2283 buf.insert(preLen, padChar); in format() 3234 buf.insert(pos, hi); in format() 3236 buf.insert(pos + 1, Math.abs(hi)); in format()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 2996 buf.insert(insertionPoint, '.'); in getValueString() 2998 buf.insert(0, '-'); in getValueString()
|
D | BigInteger.java | 3920 sb.insert(0, '-');
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 4495 sb.insert(begin, zero);
|
/libcore/api/ |
D | current.txt | 3855 method @NonNull public StringBuffer insert(int, char[], int, int); 3856 method @NonNull public StringBuffer insert(int, @Nullable Object); 3857 method @NonNull public StringBuffer insert(int, @Nullable String); 3858 method @NonNull public StringBuffer insert(int, char[]); 3859 method @NonNull public StringBuffer insert(int, @Nullable CharSequence); 3860 method @NonNull public StringBuffer insert(int, @Nullable CharSequence, int, int); 3861 method @NonNull public StringBuffer insert(int, boolean); 3862 method @NonNull public StringBuffer insert(int, char); 3863 method @NonNull public StringBuffer insert(int, int); 3864 method @NonNull public StringBuffer insert(int, long); [all …]
|