/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
H A D | Driver.java | 92 public String getURI(int index) { return pp.getAttributeNamespace(index); } argument 93 public String getLocalName(int index) { return pp.getAttributeName(index); } argument 94 public String getQName(int index) { argument 95 final String prefix = pp.getAttributePrefix(index); 97 return prefix+':'+pp.getAttributeName(index); 99 return pp.getAttributeName(index); 102 public String getType(int index) { return pp.getAttributeType(index); } argument 103 getValue(int index) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DocumentImpl.java | 418 @Override public Node insertChildAt(Node toInsert, int index) { argument 427 return super.insertChildAt(toInsert, index);
|
/libcore/luni/src/main/native/ |
H A D | java_lang_StringToReal.cpp | 100 int32_t index = 1; local 112 * back out of it if there is no more room, i.e. index > 115 memcpy (fNoOverflow, f, sizeof (uint64_t) * index); 117 simpleAppendDecimalDigitHighPrecision (f, index, *s - '0'); 120 f[index++] = overflow; 126 if (index >= MAX_DOUBLE_ACCURACY_WIDTH) 128 index--; 129 memcpy (f, fNoOverflow, sizeof (uint64_t) * index); 139 index = -1; 141 while (index > 492 int32_t index = 1; local [all...] |
H A D | cbigint.cpp | 55 int32_t index = 1; local 63 while (++arg1[index] == 0 && ++index < length) { 66 return index == length; 79 int32_t index; local 91 index = 0; 94 temp1 = arg1[index]; 95 temp2 = arg2[index]; 97 arg1[index] = temp3 + carry; 98 if (arg2[index] < arg 119 int32_t index; local 137 int32_t index; local 163 int32_t index, resultIndex; local 200 int32_t count, index; local 230 int32_t index = 0; local 252 int32_t index, offset; local 387 int32_t lowBit, index = -1; local 688 int32_t index; local [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | AbstractStringBuilder.java | 185 * index <i>k</i> less than {@code newLength}, the character at 186 * index <i>k</i> in the new character sequence is the same as the 187 * character at index <i>k</i> in the old sequence if <i>k</i> is less 219 * Returns the {@code char} value in this sequence at the specified index. 220 * The first {@code char} value is at index {@code 0}, the next at index 223 * The index argument must be greater than or equal to 226 * <p>If the {@code char} value specified by the index is a 230 * @param index the index o 236 charAt(int index) argument 263 codePointAt(int index) argument 291 codePointBefore(int index) argument 345 offsetByCodePoints(int index, int codePointOffset) argument 406 setCharAt(int index, char ch) argument 840 deleteCharAt(int index) argument 980 insert(int index, char[] str, int offset, int len) argument [all...] |
H A D | Integer.java | 462 * digit at the specified index (exclusive), and working 467 static void getChars(int i, int index, char[] buf) { argument 469 int charPos = index; 1192 int index = 0; 1202 index++; 1204 index++; 1207 if (nm.startsWith("0x", index) || nm.startsWith("0X", index)) { 1208 index += 2; 1211 else if (nm.startsWith("#", index)) { [all...] |
H A D | Long.java | 429 * digit at the specified index (exclusive), and working 434 static void getChars(long i, int index, char[] buf) { argument 437 int charPos = index; 893 int index = 0; 903 index++; 905 index++; 908 if (nm.startsWith("0x", index) || nm.startsWith("0X", index)) { 909 index += 2; 912 else if (nm.startsWith("#", index)) { [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | ByteBuffer.java | 133 * float {@link #getFloat(int) getFloat(int index)} 135 * void {@link #putFloat(int,float) putFloat(int index, float f)}</pre></blockquote> 138 * <tt>short</tt>, <tt>int</tt>, <tt>long</tt>, and <tt>double</tt>. The index 437 * index. 439 * @param index 440 * The index from which the byte will be read 442 * @return The byte at the given index 445 * If <tt>index</tt> is negative 448 public abstract byte get(int index); argument 454 * index 471 put(int index, byte b) argument 1087 getChar(int index) argument 1089 getCharUnchecked(int index) argument 1120 putChar(int index, char value) argument 1122 putCharUnchecked(int index, char value) argument 1202 getShort(int index) argument 1204 getShortUnchecked(int index) argument 1235 putShort(int index, short value) argument 1237 putShortUnchecked(int index, short value) argument 1317 getInt(int index) argument 1319 getIntUnchecked(int index) argument 1350 putInt(int index, int value) argument 1352 putIntUnchecked(int index, int value) argument 1432 getLong(int index) argument 1434 getLongUnchecked(int index) argument 1465 putLong(int index, long value) argument 1467 putLongUnchecked(int index, long value) argument 1547 getFloat(int index) argument 1549 getFloatUnchecked(int index) argument 1580 putFloat(int index, float value) argument 1582 putFloatUnchecked(int index, float value) argument 1662 getDouble(int index) argument 1664 getDoubleUnchecked(int index) argument 1695 putDouble(int index, double value) argument 1697 putDoubleUnchecked(int index, double value) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | ArrayDeque.java | 103 * The index of the element at the head of the deque (which is the 110 * The index at which the next element would be added to the tail 917 private int index; // current index, modified on traverse/split field in class:ArrayDeque.DeqSpliterator 922 this.index = origin; 930 index = deq.head; 936 int t = getFence(), h = index, n = deq.elements.length; 941 return new DeqSpliterator<E>(deq, h, index = m); 950 int m = a.length - 1, f = getFence(), i = index; 951 index [all...] |
H A D | Arrays.java | 64 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 166 * to be sorted extends from the index {@code fromIndex}, inclusive, to 167 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex}, 177 * @param fromIndex the index of the first element, inclusive, to be sorted 178 * @param toIndex the index of the last element, exclusive, to be sorted 206 * to be sorted extends from the index {@code fromIndex}, inclusive, to 207 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex}, 217 * @param fromIndex the index of the first element, inclusive, to be sorted 218 * @param toIndex the index of the last element, exclusive, to be sorted 246 * to be sorted extends from the index { 3768 get(int index) argument 3773 set(int index, E element) argument [all...] |
H A D | PriorityQueue.java | 75 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 825 private int index; // current index, modified on advance/split field in class:PriorityQueue.PriorityQueueSpliterator 833 this.index = origin; 848 int hi = getFence(), lo = index, mid = (lo + hi) >>> 1; 850 new PriorityQueueSpliterator<>(pq, lo, index = mid, 867 if ((i = index) >= 0 && (index = hi) <= a.length) { 887 int hi = getFence(), lo = index; 889 index [all...] |
H A D | ArrayList.java | 95 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 318 * Returns the index of the first occurrence of the specified element 320 * More formally, returns the lowest index <tt>i</tt> such that 322 * or -1 if there is no such index. 338 * Returns the index of the last occurrence of the specified element 340 * More formally, returns the highest index <tt>i</tt> such that 342 * or -1 if there is no such index. 431 * @param index index of the element to return 435 public E get(int index) { argument 451 set(int index, E element) argument 481 add(int index, E element) argument 501 remove(int index) argument 551 fastRemove(int index) argument 611 addAll(int index, Collection<? extends E> c) argument 669 outOfBoundsMsg(int index) argument 808 listIterator(int index) argument 917 ListItr(int index) argument 1037 set(int index, E e) argument 1047 get(int index) argument 1061 add(int index, E e) argument 1071 remove(int index) argument 1095 addAll(int index, Collection<? extends E> c) argument 1114 listIterator(final int index) argument 1242 outOfBoundsMsg(int index) argument 1326 private int index; // current index, modified on advance/split field in class:ArrayList.ArrayListSpliterator [all...] |
H A D | Hashtable.java | 108 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 338 int index = (hash & 0x7FFFFFFF) % tab.length; 339 for (HashtableEntry<?,?> e = tab[index] ; e != null ; e = e.next) { 366 int index = (hash & 0x7FFFFFFF) % tab.length; 367 for (HashtableEntry<?,?> e = tab[index] ; e != null ; e = e.next) { 414 int index = (e.hash & 0x7FFFFFFF) % newCapacity; 415 e.next = (HashtableEntry<K,V>)newMap[index]; 416 newMap[index] = e; 421 private void addEntry(int hash, K key, V value, int index) { argument 431 index 1335 int index = table.length; field in class:Hashtable.Enumerator [all...] |
H A D | IdentityHashMap.java | 125 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 291 * Returns index for Object x. 579 * @param d the index of a newly empty deleted slot 587 // starting at index immediately following deletion, 713 int index = (size != 0 ? 0 : table.length); // current slot. field in class:IdentityHashMap.IdentityHashMapIterator 721 for (int i = index; i < tab.length; i+=2) { 724 index = i; 728 index = tab.length; 739 lastReturnedIndex = index; 740 index 855 private int index; field in class:IdentityHashMap.EntryIterator.Entry 857 Entry(int index) argument 1385 int index; // current index, modified on advance/split field in class:IdentityHashMap.IdentityHashMapSpliterator [all...] |
H A D | LinkedList.java | 36 * list. Operations that index into the list will traverse the list from 37 * the beginning or the end, whichever is closer to the specified index. 73 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 345 * unchanged. More formally, removes the element with the lowest index 398 * @param index index at which to insert the first element 405 public boolean addAll(int index, Collection<? extends E> c) { argument 406 checkPositionIndex(index); 414 if (index == size) { 418 succ = node(index); 475 get(int index) argument 489 set(int index, E element) argument 506 add(int index, E element) argument 524 remove(int index) argument 532 isElementIndex(int index) argument 540 isPositionIndex(int index) argument 549 outOfBoundsMsg(int index) argument 553 checkElementIndex(int index) argument 558 checkPositionIndex(int index) argument 566 node(int index) argument 866 listIterator(int index) argument 877 ListItr(int index) argument [all...] |
H A D | Vector.java | 35 * accessed using an integer index. However, the size of a 71 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 180 * The item at index {@code k} in this vector is copied into 281 * components at index {@code newSize} and greater are discarded. 332 * this vector. The first item generated is the item at index {@code 0}, 333 * then the item at index {@code 1}, and so on. 371 * Returns the index of the first occurrence of the specified element 373 * More formally, returns the lowest index {@code i} such that 375 * or -1 if there is no such index. 378 * @return the index o 401 indexOf(Object o, int index) argument 445 lastIndexOf(Object o, int index) argument 472 elementAt(int index) argument 528 setElementAt(E obj, int index) argument 555 removeElementAt(int index) argument 595 insertElementAt(E obj, int index) argument 733 elementData(int index) argument 746 get(int index) argument 764 set(int index, E element) argument 813 add(int index, E element) argument 828 remove(int index) argument 953 addAll(int index, Collection<? extends E> c) argument 1092 listIterator(int index) argument 1201 ListItr(int index) argument 1358 private int index; // current index, modified on advance/split field in class:Vector.VectorSpliterator [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 184 * @param index first index to search 185 * @param fence one past last index to search 186 * @return index of element, or -1 if absent 189 int index, int fence) { 191 for (int i = index; i < fence; i++) 195 for (int i = index; i < fence; i++) 206 * @param index first index to search 207 * @return index o 188 indexOf(Object o, Object[] elements, int index, int fence) argument 209 lastIndexOf(Object o, Object[] elements, int index) argument 258 indexOf(E e, int index) argument 287 lastIndexOf(E e, int index) argument 384 get(Object[] a, int index) argument 388 outOfBounds(int index, int size) argument 397 get(int index) argument 407 set(int index, E element) argument 449 add(int index, E element) argument 477 remove(int index) argument 518 remove(Object o, Object[] snapshot, int index) argument 807 addAll(int index, Collection<? extends E> c) argument 1036 listIterator(int index) argument 1211 rangeCheck(int index) argument 1217 set(int index, E element) argument 1227 get(int index) argument 1242 add(int index, E element) argument 1263 remove(int index) argument 1289 listIterator(int index) argument 1488 COWSubListIterator(List<E> l, int index, int offset, int size) argument [all...] |
H A D | PriorityBlockingQueue.java | 863 int cursor; // index of next element to return 864 int lastRet; // index of last element, or -1 if no such 938 int index; field in class:PriorityBlockingQueue.PBQSpliterator 942 int index, int fence) { 945 this.index = index; 957 int hi = getFence(), lo = index, mid = (lo + hi) >>> 1; 959 new PBQSpliterator<E>(queue, array, lo, index = mid); 970 (i = index) >= 0 && i < (index 941 PBQSpliterator(PriorityBlockingQueue<E> queue, Object[] array, int index, int fence) argument [all...] |
H A D | ThreadLocalRandom.java | 741 long index; field in class:ThreadLocalRandom.RandomIntsSpliterator 745 RandomIntsSpliterator(long index, long fence, argument 747 this.index = index; this.fence = fence; 752 long i = index, m = (i + fence) >>> 1; 754 new RandomIntsSpliterator(i, index = m, origin, bound); 758 return fence - index; 768 long i = index, f = fence; 771 index = i + 1; 779 long i = index, 796 long index; field in class:ThreadLocalRandom.RandomLongsSpliterator 800 RandomLongsSpliterator(long index, long fence, long origin, long bound) argument 852 long index; field in class:ThreadLocalRandom.RandomDoublesSpliterator 856 RandomDoublesSpliterator(long index, long fence, double origin, double bound) argument [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | URLClassPath.java | 257 private int index = 0; 266 while ((loader = getNextLoader(cache, index++)) != null) { 305 private int index = 0; 314 while ((loader = getNextLoader(cache, index++)) != null) { 396 * Returns an array of the index to lookupCacheURLs that may 398 * array are in strictly ascending order and must be a valid index 411 * @return an array of the index to lookupCacheURLs that may contain the 434 private boolean ensureLoaderOpened(int index) { argument 435 if (loaders.size() <= index) { 436 // Open all Loaders up to, and including, index 459 validateLookupCache(int index, String urlNoFragString) argument 487 getNextLoader(int[] cache, int index) argument 512 getLoader(int index) argument 813 private JarIndex index; field in class:URLClassPath.JarLoader [all...] |
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | ParseUtil.java | 153 private static int escape(char[] cc, char c, int index) { argument 154 cc[index++] = '%'; 155 cc[index++] = Character.forDigit((c >> 4) & 0xF, 16); 156 cc[index++] = Character.forDigit(c & 0xF, 16); 157 return index;
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParser.java | 570 * If the given index is out of range, an exception is thrown. 802 * with the given index (starts from 0). 805 * Throws an IndexOutOfBoundsException if the index is out of range 818 * @param index zero-based index of attribute 823 String getAttributeNamespace (int index); argument 828 * Throws an IndexOutOfBoundsException if the index is out of range 831 * @param index zero-based index of attribute 834 String getAttributeName (int index); argument 846 getAttributePrefix(int index) argument 855 getAttributeType(int index) argument 865 isAttributeDefault(int index) argument 882 getAttributeValue(int index) argument [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldPreparedStatementTest.java | 1323 assertEquals("bad parameter index", sqle.getMessage()); 1331 assertEquals("bad parameter index", sqle.getMessage()); 1950 // expected index out of bounds 2283 public Object getArray(long index, int count) throws SQLException { argument 2287 public Object getArray(long index, int count, Map<String, Class<?>> map) argument 2308 public ResultSet getResultSet(long index, int count) argument 2313 public ResultSet getResultSet(long index, int count, argument
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XmlPullParserFactoryTest.java | 322 public String getAttributeNamespace(int index) { argument 326 public String getAttributeName(int index) { argument 330 public String getAttributePrefix(int index) { argument 334 public String getAttributeType(int index) { argument 338 public boolean isAttributeDefault(int index) { argument 342 public String getAttributeValue(int index) { argument
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | AttributedString.java | 63 int runStarts[]; // start index for each run 101 int index = start; 103 while (index < end) { 104 iterator.setIndex(index); 109 setAttributes(attrs, index - start + offset); 112 index = iterator.getRunLimit(); 431 runCount = 1; // assume initial run starting at index 0 434 // ensure there's a run break at offset, return the index of the run 440 * Ensures there is a run break at offset, returning the index of 455 // search for the run index wher 607 charAt(int index) argument [all...] |