/libcore/luni/src/main/java/java/util/ |
D | Vector.java | 139 public void add(int location, E object) { in add() argument 140 insertElementAt(object, location); in add() 176 public synchronized boolean addAll(int location, Collection<? extends E> collection) { in addAll() argument 177 if (location >= 0 && location <= elementCount) { in addAll() 186 int count = elementCount - location; in addAll() 188 System.arraycopy(elementData, location, elementData, location in addAll() 193 elementData[location++] = it.next(); in addAll() 199 throw arrayIndexOutOfBoundsException(location, elementCount); in addAll() 324 public synchronized E elementAt(int location) { in elementAt() argument 325 if (location < elementCount) { in elementAt() [all …]
|
D | AbstractSequentialList.java | 36 public void add(int location, E object) { in add() argument 37 listIterator(location).add(object); in add() 41 public boolean addAll(int location, Collection<? extends E> collection) { in addAll() argument 42 ListIterator<E> it = listIterator(location); in addAll() 52 public E get(int location) { in get() argument 54 return listIterator(location).next(); in get() 66 public abstract ListIterator<E> listIterator(int location); in listIterator() argument 69 public E remove(int location) { in remove() argument 71 ListIterator<E> it = listIterator(location); in remove() 81 public E set(int location, E object) { in set() argument [all …]
|
D | AbstractList.java | 244 public void add(int location, E object) { in add() argument 246 if (location >= 0 && location <= size) { in add() 247 fullList.add(location + offset, object); in add() 259 public boolean addAll(int location, Collection<? extends E> collection) { in addAll() argument 261 if (location >= 0 && location <= size) { in addAll() 262 boolean result = fullList.addAll(location + offset, in addAll() 289 public E get(int location) { in get() argument 291 if (location >= 0 && location < size) { in get() 292 return fullList.get(location + offset); in get() 305 public ListIterator<E> listIterator(int location) { in listIterator() argument [all …]
|
D | List.java | 50 public void add(int location, E object); in add() argument 89 public boolean addAll(int location, Collection<? extends E> collection); in addAll() argument 164 public E get(int location); in get() argument 236 public ListIterator<E> listIterator(int location); in listIterator() argument 249 public E remove(int location); in remove() argument 306 public E set(int location, E object); in set() argument
|
D | LinkedList.java | 67 LinkIterator(LinkedList<ET> object, int location) { in LinkIterator() argument 70 if (location >= 0 && location <= list.size) { in LinkIterator() 75 if (location < list.size / 2) { in LinkIterator() 76 for (pos = -1; pos + 1 < location; pos++) { in LinkIterator() 80 for (pos = list.size; pos >= location; pos--) { in LinkIterator() 278 public void add(int location, E object) { in add() argument 279 if (location >= 0 && location <= size) { in add() 281 if (location < (size / 2)) { in add() 282 for (int i = 0; i <= location; i++) { in add() 286 for (int i = size; i > location; i--) { in add() [all …]
|
D | Collections.java | 80 @Override public E get(int location) { in get() argument 81 if (location >= 0 && location < n) { in get() 101 @Override public Object get(int location) { in get() argument 275 @Override public E get(int location) { in get() argument 276 if (location == 0) { in get() 517 @Override public void add(int location, E object) { 519 list.add(location, object); 523 @Override public boolean addAll(int location, Collection<? extends E> collection) { 525 return list.addAll(location, collection); 535 @Override public E get(int location) { [all …]
|
D | Arrays.java | 62 public E get(int location) { in get() argument 64 return a[location]; in get() 66 throw java.util.ArrayList.throwIndexOutOfBoundsException(location, a.length); in get() 107 public E set(int location, E object) { in set() argument 108 E result = a[location]; in set() 109 a[location] = object; in set()
|
/libcore/luni/src/main/java/java/text/ |
D | StringCharacterIterator.java | 57 public StringCharacterIterator(String value, int location) { in StringCharacterIterator() argument 61 if (location < 0 || location > end) { in StringCharacterIterator() 64 offset = location; in StringCharacterIterator() 84 public StringCharacterIterator(String value, int start, int end, int location) { in StringCharacterIterator() argument 87 || location < start || location > end) { in StringCharacterIterator() 92 offset = location; in StringCharacterIterator() 246 public char setIndex(int location) { in setIndex() argument 247 if (location < start || location > end) { in setIndex() 250 offset = location; in setIndex()
|
D | ParseException.java | 38 public ParseException(String detailMessage, int location) { in ParseException() argument 39 super(detailMessage + (" (at offset " + location + ")")); in ParseException() 40 errorOffset = location; in ParseException()
|
D | CharacterIterator.java | 115 public char setIndex(int location); in setIndex() argument
|
D | AttributedString.java | 368 public char setIndex(int location) { in setIndex() argument 369 if (location < begin || location > end) { in setIndex() 372 offset = location; in setIndex()
|
/libcore/luni/src/main/java/java/net/ |
D | HttpRetryException.java | 31 private String location = null; field in HttpRetryException 59 public HttpRetryException(String detail, int code, String location) { in HttpRetryException() argument 62 this.location = location; in HttpRetryException() 71 return location; in getLocation()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMErrorImpl.java | 30 private final DOMLocator location; field in DOMErrorImpl 42 this.location = new DOMLocatorImpl(src.getLocation()); in DOMErrorImpl() 66 return location; in getLocation()
|
/libcore/luni/src/main/java/java/security/ |
D | CodeSource.java | 28 public CodeSource(URL location, Certificate[] certs) { } in CodeSource() argument 30 public CodeSource(URL location, CodeSigner[] signers) { } in CodeSource() argument
|
/libcore/libart/src/main/java/java/lang/ |
D | DexCache.java | 47 String location; field in DexCache
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerException.java | 50 public void setLocator(SourceLocator location) { in setLocator() argument 51 locator = location; in setLocator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArrayListTest.java | 270 int location = 2; in test_addAllILjava_util_Collection_2() local 280 list1.remove(location); in test_addAllILjava_util_Collection_2() 281 list1.addAll(location, list2); in test_addAllILjava_util_Collection_2() 285 assertEquals(integers[i], list1.get(location + i)); in test_addAllILjava_util_Collection_2() 289 for (int i = location + 1; i < strings.length; i++) { in test_addAllILjava_util_Collection_2() 540 int location = al.indexOf(testObject); in test_ensureCapacityI() local 543 location == al.indexOf(testObject)); in test_ensureCapacityI() 547 --location == al.indexOf(testObject)); in test_ensureCapacityI() 549 assertTrue("EnsureCapacity did not change location.", location == al in test_ensureCapacityI()
|
D | AbstractListTest.java | 375 public E get(int location) { in get() argument 551 public E get(int location) { in test_remove_I() argument 552 return list.get(location); in test_remove_I()
|
/libcore/luni/src/main/java/java/lang/ |
D | StringBuffer.java | 390 public synchronized StringBuffer deleteCharAt(int location) { in deleteCharAt() argument 391 deleteCharAt0(location); in deleteCharAt()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlParser.java | 89 private String location; field in KXmlParser 1797 return location != null ? location : reader.toString(); in getProperty() 1909 if (location != null) { in getPositionDescription() 1911 buf.append(location); in getPositionDescription() 2106 location = String.valueOf(value); in setProperty()
|