Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java271 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 …]
DAbstractStringBuilder.java960 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/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java189 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuilderTest.java765 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 …]
DStringBufferTest.java204 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 …]
DStringBuffer2Test.java327 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/sdk/nullability/java/lang/
DStringBuffer.annotated.java105 @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 …]
DStringBuilder.annotated.java76 @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/
DOldResultSetMetaDataTest.java284 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()
DOldStatementTest.java988 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()
DOldPreparedStatementTest.java1584 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/
DCharacterDataImpl.java72 buffer.insert(offset, arg); in insertData()
/libcore/tools/testmapping/
Dsave_logs.py82 parts.insert(0, tail)
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java952 buf.insert(insertionPoint, '.'); in toString()
/libcore/ojluni/src/main/java/java/util/jar/
DManifest.java177 line.insert(index, "\r\n "); in make72Safe()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java574 private void insert(java.lang.Object obj, int handle) { in insert() method in ObjectOutputStream.HandleTable
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java2996 buf.insert(insertionPoint, '.'); in getValueString()
2998 buf.insert(0, '-'); in getValueString()
DBigInteger.java3920 sb.insert(0, '-');