/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | CertPathValidatorException.java | 43 * the index of the certificate in the certification path that caused the 67 * @serial the index of the certificate in the certification path 70 private int index = -1; field in class:CertPathValidatorException 134 * detail message, cause, certification path, and index. 140 * @param index the index of the certificate in the certification path 143 * @throws IndexOutOfBoundsException if the index is out of range 144 * {@code (index < -1 || (certPath != null && index >= 147 * {@code null} and {@code index} i 149 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument 175 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index, Reason reason) argument [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | DOMStringList.java | 19 * <code>DOMStringList</code> are accessible via an integral index, starting 26 * Returns the <code>index</code>th item in the collection. If 27 * <code>index</code> is greater than or equal to the number of 29 * @param index Index into the collection. 30 * @return The <code>DOMString</code> at the <code>index</code>th 32 * that is not a valid index. 34 public String item(int index); argument
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | AbstractList.java | 63 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 117 abstract public E get(int index); argument 131 public E set(int index, E element) { argument 147 public void add(int index, E element) { argument 160 public E remove(int index) { argument 227 * index)} or {@code removeRange(int fromIndex, int toIndex)} is 256 public boolean addAll(int index, Collection<? extends E> c) { argument 257 rangeCheckForAdd(index); 260 add(index++, e); 324 public ListIterator<E> listIterator(final int index) { argument 391 ListItr(int index) argument 603 rangeCheckForAdd(int index) argument 608 outOfBoundsMsg(int index) argument 632 set(int index, E element) argument 638 get(int index) argument 649 add(int index, E element) argument 657 remove(int index) argument 677 addAll(int index, Collection<? extends E> c) argument 694 listIterator(final int index) argument 753 rangeCheck(int index) argument 758 rangeCheckForAdd(int index) argument 763 outOfBoundsMsg(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...] |
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 | 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 | Random.java | 1000 long index; field in class:Random.RandomIntsSpliterator 1004 RandomIntsSpliterator(Random rng, long index, long fence, argument 1006 this.rng = rng; this.index = index; this.fence = fence; 1011 long i = index, m = (i + fence) >>> 1; 1013 new RandomIntsSpliterator(rng, i, index = m, origin, bound); 1017 return fence - index; 1027 long i = index, f = fence; 1030 index = i + 1; 1038 long i = index, 1055 long index; field in class:Random.RandomLongsSpliterator 1059 RandomLongsSpliterator(Random rng, long index, long fence, long origin, long bound) argument 1111 long index; field in class:Random.RandomDoublesSpliterator 1115 RandomDoublesSpliterator(Random rng, long index, long fence, double origin, double bound) argument [all...] |
H A D | SplittableRandom.java | 833 long index; field in class:SplittableRandom.RandomIntsSpliterator 837 RandomIntsSpliterator(SplittableRandom rng, long index, long fence, argument 839 this.rng = rng; this.index = index; this.fence = fence; 844 long i = index, m = (i + fence) >>> 1; 846 new RandomIntsSpliterator(rng.split(), i, index = m, origin, bound); 850 return fence - index; 860 long i = index, f = fence; 863 index = i + 1; 871 long i = index, 889 long index; field in class:SplittableRandom.RandomLongsSpliterator 893 RandomLongsSpliterator(SplittableRandom rng, long index, long fence, long origin, long bound) argument 946 long index; field in class:SplittableRandom.RandomDoublesSpliterator 950 RandomDoublesSpliterator(SplittableRandom rng, long index, long fence, double origin, double bound) argument [all...] |
H A D | List.java | 33 * inserted. The user can access elements by their integer index (position in 52 * that these operations may execute in time proportional to the index value 91 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/collections/index.html"> 244 * the lowest index <tt>i</tt> such that 320 * @param index index at which to insert the first element from the 333 * @throws IndexOutOfBoundsException if the index is out of range 334 * (<tt>index < 0 || index > size()</tt>) 336 boolean addAll(int index, Collectio argument 566 get(int index) argument 586 set(int index, E element) argument 607 add(int index, E element) argument 622 remove(int index) argument 692 listIterator(int index) argument [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...] |
/libcore/luni/src/main/java/org/xml/sax/ext/ |
H A D | Attributes2.java | 47 * @param index The attribute index (zero-based). 51 * supplied index does not identify an attribute. 53 public boolean isDeclared (int index); argument 94 * @param index The attribute index (zero-based). 98 * supplied index does not identify an attribute. 100 public boolean isSpecified (int index); argument
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeListImpl.java | 54 public Node item(int index) { argument 55 if (index >= children.size()) { 58 return children.get(index);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerIndefLenConverter.java | 52 private int newDataPos, dataPos, dataSize, index; field in class:DerIndefLenConverter 98 int index; 99 for (index = ndefsList.size()-1; index >= 0; index--) { 102 elem = ndefsList.get(index); 109 if (index < 0) { 116 ndefsList.set(index, sectionLenBytes); 189 byte[] lenBytes = (byte[])ndefsList.get(index++); 240 int index [all...] |
H A D | BitArray.java | 70 * index zero in the BitArray. The array a must be large enough 127 public boolean get(int index) throws ArrayIndexOutOfBoundsException { argument 128 if (index < 0 || index >= length) { 129 throw new ArrayIndexOutOfBoundsException(Integer.toString(index)); 132 return (repn[subscript(index)] & position(index)) != 0; 138 public void set(int index, boolean value) argument 140 if (index < 0 || index > [all...] |
/libcore/luni/src/main/native/ |
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/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MethodLogger.java | 57 * Returns the method name stored at the given index. 59 public String getMethod(int index) { argument 60 return methods.get(index); 72 * Returns the argument array stored at the given index. May be empty, but 75 public Object[] getArgs(int index) { argument 76 return argLists.get(index);
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Array.java | 161 * specified <code>index</code> and containing up to <code>count</code> 170 * @param index the array index of the first element to retrieve; 171 * the first element is at index 1 174 * of the SQL array, beginning with element <code>index</code> 181 Object getArray(long index, int count) throws SQLException; argument 186 * <code>index</code> and containing up to <code>count</code> 202 * @param index the array index of the first element to retrieve; 203 * the first element is at index 219 getArray(long index, int count, java.util.Map<String,Class<?>> map) argument 307 getResultSet(long index, int count) argument 344 getResultSet(long index, int count, java.util.Map<String,Class<?>> map) argument [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | hc_nodelistreturnlastitem.java | 33 * "item(index)" method with an index=length-1. This should 67 int index; 72 index = (int) employeeList.getLength(); 73 index -= 1; 74 child = employeeList.item(((int) /*int */index)); 77 if (equals(12, index)) { 81 assertEquals("index", 5, index);
|
/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...] |
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Parameter.java | 48 private final int index; field in class:Parameter 61 * @param index The index of the parameter. 66 int index) { 70 this.index = index; 74 * Compares based on the executable and the index. 83 other.index == index); 90 * index 63 Parameter(String name, int modifiers, Executable executable, int index) argument [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | ByteBuffer.java | 128 * float {@link #getFloat(int) getFloat(int index)} 130 * void {@link #putFloat(int, float) putFloat(int index, float f)}</pre></blockquote> 133 * <tt>short</tt>, <tt>int</tt>, <tt>long</tt>, and <tt>double</tt>. The index 401 * index. </p> 403 * @param index The index from which the byte will be read 404 * @return The byte at the given index 405 * @throws IndexOutOfBoundsException If <tt>index</tt> is negative 408 public abstract byte get(int index); argument 414 * index 423 put(int index, byte b) argument 976 getChar(int index) argument 978 getCharUnchecked(int index) argument 1001 putChar(int index, char value) argument 1003 putCharUnchecked(int index, char value) argument 1071 getShort(int index) argument 1073 getShortUnchecked(int index) argument 1096 putShort(int index, short value) argument 1098 putShortUnchecked(int index, short value) argument 1166 getInt(int index) argument 1168 getIntUnchecked(int index) argument 1191 putInt(int index, int value) argument 1193 putIntUnchecked(int index, int value) argument 1261 getLong(int index) argument 1263 getLongUnchecked(int index) argument 1286 putLong(int index, long value) argument 1288 putLongUnchecked(int index, long value) argument 1356 getFloat(int index) argument 1358 getFloatUnchecked(int index) argument 1381 putFloat(int index, float value) argument 1383 putFloatUnchecked(int index, float value) argument 1451 getDouble(int index) argument 1453 getDoubleUnchecked(int index) argument 1476 putDouble(int index, double value) argument 1478 putDoubleUnchecked(int index, double value) argument [all...] |
/libcore/luni/src/main/java/libcore/internal/ |
H A D | StringPool.java | 53 int index = hashCode & (pool.length - 1); 55 String pooled = pool[index]; 61 pool[index] = result;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | SelectionKeyImpl.java | 44 private int index; field in class:SelectionKeyImpl 63 return index; 67 index = i;
|
/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/ojluni/src/main/java/sun/util/locale/ |
H A D | LocaleMatcher.java | 226 int index = rangeForRegex.lastIndexOf('-'); 227 if (index >= 0) { 228 rangeForRegex = rangeForRegex.substring(0, index); 256 int index; 260 if ((index = range.indexOf(";q=")) == -1) { 264 r = range.substring(0, index); 265 index += 3; 267 w = Double.parseDouble(range.substring(index)); 271 + range.substring(index) 285 index [all...] |