Home
last modified time | relevance | path

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

12

/dalvik/libcore/luni/src/main/java/java/lang/
DStringBuffer.java448 public synchronized StringBuffer insert(int index, char ch) { in insert() method in StringBuffer
466 public StringBuffer insert(int index, boolean b) { in insert() method in StringBuffer
467 return insert(index, b ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$ in insert()
483 public StringBuffer insert(int index, int i) { in insert() method in StringBuffer
484 return insert(index, Integer.toString(i)); in insert()
500 public StringBuffer insert(int index, long l) { in insert() method in StringBuffer
501 return insert(index, Long.toString(l)); in insert()
517 public StringBuffer insert(int index, double d) { in insert() method in StringBuffer
518 return insert(index, Double.toString(d)); in insert()
534 public StringBuffer insert(int index, float f) { in insert() method in StringBuffer
[all …]
DStringBuilder.java396 public StringBuilder insert(int offset, boolean b) { in insert() method in StringBuilder
417 public StringBuilder insert(int offset, char c) { in insert() method in StringBuilder
438 public StringBuilder insert(int offset, int i) { in insert() method in StringBuilder
459 public StringBuilder insert(int offset, long l) { in insert() method in StringBuilder
480 public StringBuilder insert(int offset, float f) { in insert() method in StringBuilder
502 public StringBuilder insert(int offset, double d) { in insert() method in StringBuilder
523 public StringBuilder insert(int offset, Object obj) { in insert() method in StringBuilder
542 public StringBuilder insert(int offset, String str) { in insert() method in StringBuilder
563 public StringBuilder insert(int offset, char[] ch) { in insert() method in StringBuilder
590 public StringBuilder insert(int offset, char[] str, int strOffset, in insert() method in StringBuilder
[all …]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DStringBuilderTest.java963 assertSame(sb, sb.insert(0, true)); in test_insertIZ()
968 assertSame(sb, sb.insert(0, false)); in test_insertIZ()
973 assertSame(sb, sb.insert(2, false)); in test_insertIZ()
978 assertSame(sb, sb.insert(4, false)); in test_insertIZ()
984 sb.insert(-1, false); in test_insertIZ()
992 sb.insert(5, false); in test_insertIZ()
1011 assertSame(sb, sb.insert(0, 'a')); in test_insertIC()
1016 assertSame(sb, sb.insert(0, 'b')); in test_insertIC()
1021 assertSame(sb, sb.insert(2, 'b')); in test_insertIC()
1026 assertSame(sb, sb.insert(4, 'b')); in test_insertIC()
[all …]
DStringBuffer2Test.java512 testBuffer.insert(15, buf); in test_insertI$C()
519 buf1.insert(-1, (char[]) null); in test_insertI$C()
540 testBuffer.insert(8, c, 0, 4); in test_insertI$CII()
545 buf1.insert(-1, (char[]) null, 0, 0); in test_insertI$CII()
552 testBuffer.insert(testBuffer.length() - 1, c, -1, 1); in test_insertI$CII()
571 testBuffer.insert(15, 'T'); in test_insertIC()
588 testBuffer.insert(15, Double.MAX_VALUE); in test_insertID()
592 testBuffer.insert(-1, Double.MAX_VALUE); in test_insertID()
599 testBuffer.insert(testBuffer.length() + 1, Double.MAX_VALUE); in test_insertID()
618 testBuffer.insert(15, Float.MAX_VALUE); in test_insertIF()
[all …]
DStringBufferTest.java217 assertSame(sb, sb.insert(0, (CharSequence) "ab")); in test_insertILjava_lang_CharSequence()
222 assertSame(sb, sb.insert(2, (CharSequence) "ab")); in test_insertILjava_lang_CharSequence()
227 assertSame(sb, sb.insert(4, (CharSequence) "ab")); in test_insertILjava_lang_CharSequence()
232 assertSame(sb, sb.insert(4, (CharSequence) null)); in test_insertILjava_lang_CharSequence()
238 sb.insert(-1, (CharSequence) "ab"); in test_insertILjava_lang_CharSequence()
246 sb.insert(5, (CharSequence) "ab"); in test_insertILjava_lang_CharSequence()
266 assertSame(sb, sb.insert(0, (CharSequence) "ab", 0, 2)); in test_insertILjava_lang_CharSequenceII()
271 assertSame(sb, sb.insert(0, (CharSequence) "ab", 0, 1)); in test_insertILjava_lang_CharSequenceII()
276 assertSame(sb, sb.insert(2, (CharSequence) "ab", 0, 2)); in test_insertILjava_lang_CharSequenceII()
281 assertSame(sb, sb.insert(2, (CharSequence) "ab", 0, 1)); in test_insertILjava_lang_CharSequenceII()
[all …]
/dalvik/vm/hprof/
DHprofOutput.c232 unsigned char *insert; in hprofAddU2ListToRecord() local
243 insert = rec->body + rec->length; in hprofAddU2ListToRecord()
245 U2_TO_BUF_BE(insert, 0, *values++); in hprofAddU2ListToRecord()
246 insert += sizeof(*values); in hprofAddU2ListToRecord()
262 unsigned char *insert; in hprofAddU4ListToRecord() local
273 insert = rec->body + rec->length; in hprofAddU4ListToRecord()
275 U4_TO_BUF_BE(insert, 0, *values++); in hprofAddU4ListToRecord()
276 insert += sizeof(*values); in hprofAddU4ListToRecord()
292 unsigned char *insert; in hprofAddU8ListToRecord() local
303 insert = rec->body + rec->length; in hprofAddU8ListToRecord()
[all …]
/dalvik/libcore/luni/src/main/java/java/util/
DUUID.java492 builder.insert(8, '-'); in toString()
493 builder.insert(13, '-'); in toString()
503 builder.insert(23, '-'); in toString()
DFormatter.java1570 source.insert(start, insertString); in padding()
1678 result.insert(0, '+'); in transformFromInteger()
1682 result.insert(0, ' '); in transformFromInteger()
1708 result.insert(0, '('); in wrapParentheses()
1833 result.insert(startIndex, "0"); //$NON-NLS-1$ in transformFromBigInteger()
1837 result.insert(startIndex, "0x"); //$NON-NLS-1$ in transformFromBigInteger()
1844 result.insert(0, '+'); in transformFromBigInteger()
1848 result.insert(0, ' '); in transformFromBigInteger()
1948 result.insert(0, ' '); in transformFromFloat()
1952 result.insert(0, floatUtil.getAddSign()); in transformFromFloat()
[all …]
DTimer.java102 void insert(TimerNode z) { in insert() method in Timer.TimerImpl.TimerTree
302 tasks.insert(new TimerNode(newTask)); in insertTask()
DTimeZone.java507 buf.insert(4, '0'); in formatTimeZoneName()
/dalvik/vm/alloc/
DHeapTable.c95 goto insert; in dvmHeapAddRefToLargeTable()
121 insert: in dvmHeapAddRefToLargeTable()
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
DArrayBlockingQueue.java90 private void insert(E x) { in insert() method in ArrayBlockingQueue
209 insert(o); in offer()
240 insert(o); in offer()
368 insert(o); in put()
DLinkedBlockingQueue.java126 private void insert(E x) { in insert() method in LinkedBlockingQueue
258 insert(o); in put()
294 insert(o); in offer()
336 insert(o); in offer()
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
DCharacterDataImpl.java66 buffer.insert(offset, arg); in insertData()
/dalvik/libcore/math/src/main/java/java/math/
DBigDecimal.java2415 result.insert(end - scale, '.'); in toString()
2417 result.insert(begin - 1, "0."); //$NON-NLS-1$ in toString()
2418 result.insert(begin + 1, CH_ZEROS, 0, -(int)exponent - 1); in toString()
2422 result.insert(begin, '.'); in toString()
2425 result.insert(end, 'E'); in toString()
2427 result.insert(++end, '+'); in toString()
2429 result.insert(++end, Long.toString(exponent)); in toString()
2460 result.insert(end - scale, '.'); in toEngineeringString()
2462 result.insert(begin - 1, "0."); //$NON-NLS-1$ in toEngineeringString()
2463 result.insert(begin + 1, CH_ZEROS, 0, -(int)exponent - 1); in toEngineeringString()
[all …]
/dalvik/dx/src/com/android/dx/util/
DListIntSet.java42 ints.insert(-(index + 1), value); in add()
DIntList.java235 public void insert(int n, int value) { in insert() method in IntList
/dalvik/libcore/sql/src/test/java/tests/sql/
DConnectionTest.java1582 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_int() local
1583 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int()
1592 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_int() local
1594 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int()
1613 prst1 = conn.prepareStatement(insert, Statement.RETURN_GENERATED_KEYS); in testPrepareStatement_String_int()
2383 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_intArray() local
2384 prst = conn.prepareStatement(insert, new int[] { 0, 1, 2 }); in testPrepareStatement_String_intArray()
2675 String insert = "insert into zoo (id, name, family) values (?, ?, ?);"; in testPrepareStatement_String_StringArray() local
2676 conn.prepareStatement(insert, new String[] { "id", "name", in testPrepareStatement_String_StringArray()
DResultSetMetaDataTest.java372 String insert = "insert into DecimalNumbers values (1.5, 20.55, 30.666, 100000);"; in testGetPrecision() local
376 st2.executeUpdate(insert); in testGetPrecision()
443 String insert = "insert into DecimalNumbers values (1.5, 20.55, 30.666);"; in testGetScale() local
448 st.executeUpdate(insert); in testGetScale()
DStatementTest.java1363 String insert = "insert into zoo (id, name, family) values (8, 'Tuzik', 'dog');"; in testGeneratedKeys() local
1642 String insert = "insert into zoo (id, name, family) values (4, 'Vorobuy', 'bear');"; in testGetResultSet() local
1643 st.execute(insert); in testGetResultSet()
1660 String insert = "insert into zoo (id, name, family) values (3, 'Vorobey', 'sparrow');"; in testGetResultSet() local
1662 .execute(insert); in testGetResultSet()
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/nls/
Dmessages.properties22 luni.05=Attempt to insert {0} element into collection with element type {1}
/dalvik/libcore/xml/src/main/java/org/kxml2/kdom/
DNode.java67 types.insert(index, (char) type); in addChild()
/dalvik/libcore/sql/src/main/java/java/sql/
DTimestamp.java391 dateStringBuffer = dateStringBuffer.insert(0,'0'); in format()
/dalvik/vm/mterp/
DREADME.txt104 When complete it will default to the target architecture, and you insert
149 would insert "armv5te/unop.S" at the current file position, replacing
189 debug code expands it beyond the handler size limit, you can insert a
/dalvik/dx/src/com/android/dx/dex/code/
DOutputFinisher.java224 public void insert(int at, DalvInsn insn) { in insert() method in OutputFinisher

12