Searched defs:location (Results 1 - 18 of 18) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DHttpRetryException.java31 private String location = null; field in class:HttpRetryException
49 * response code, the given detail message and the value of the location
56 * @param location
59 public HttpRetryException(String detail, int code, String location) { argument
62 this.location = location;
66 * Gets the location value.
68 * @return the stored location from the HTTP header.
71 return location;
/libcore/luni/src/main/java/java/text/
H A DParseException.java31 * message and the location of the error filled in.
35 * @param location
38 public ParseException(String detailMessage, int location) { argument
39 super(detailMessage + (" (at offset " + location + ")"));
40 errorOffset = location;
46 * @return the location of this exception in the parsed string.
H A DCharacterIterator.java107 * @param location
112 * if {@code location} is less than the begin index or greater than
115 public char setIndex(int location); argument
H A DStringCharacterIterator.java51 * @param location
54 * if {@code location} is negative or greater than the length
57 public StringCharacterIterator(String value, int location) { argument
61 if (location < 0 || location > end) {
64 offset = location;
77 * @param location
80 * if {@code start < 0}, {@code start > end}, {@code location <
81 * start}, {@code location > end} or if {@code end} is greater
84 public StringCharacterIterator(String value, int start, int end, int location) { argument
246 setIndex(int location) argument
[all...]
H A DAttributedString.java368 public char setIndex(int location) { argument
369 if (location < begin || location > end) {
372 offset = location;
/libcore/libart/src/main/java/java/lang/
H A DDexCache.java49 /** The location of the associated dex file. */
50 String location; field in class:DexCache
/libcore/luni/src/main/java/java/security/
H A DCodeSource.java28 public CodeSource(URL location, Certificate[] certs) { } argument
30 public CodeSource(URL location, CodeSigner[] signers) { } argument
/libcore/luni/src/main/java/java/util/
H A DAbstractSequentialList.java36 public void add(int location, E object) { argument
37 listIterator(location).add(object);
41 public boolean addAll(int location, Collection<? extends E> collection) { argument
42 ListIterator<E> it = listIterator(location);
52 public E get(int location) { argument
54 return listIterator(location).next();
66 public abstract ListIterator<E> listIterator(int location); argument
69 public E remove(int location) { argument
71 ListIterator<E> it = listIterator(location);
81 public E set(int location, argument
[all...]
H A DList.java29 * Inserts the specified object into this {@code List} at the specified location.
31 * location. If the location is equal to the size of this {@code List}, the object
32 * is added at the end. If the location is smaller than the size of this
33 * {@code List}, then all elements beyond the specified location are moved by one
36 * @param location
48 * if {@code location < 0 || location > size()}
50 public void add(int location, E object); argument
69 * Inserts the objects in the specified collection at the specified location
89 addAll(int location, Collection<? extends E> collection) argument
164 get(int location) argument
236 listIterator(int location) argument
249 remove(int location) argument
306 set(int location, E object) argument
[all...]
H A DAbstractList.java244 public void add(int location, E object) { argument
246 if (location >= 0 && location <= size) {
247 fullList.add(location + offset, object);
259 public boolean addAll(int location, Collection<? extends E> collection) { argument
261 if (location >= 0 && location <= size) {
262 boolean result = fullList.addAll(location + offset,
289 public E get(int location) { argument
291 if (location >
305 listIterator(int location) argument
318 remove(int location) argument
345 set(int location, E object) argument
403 add(int location, E object) argument
448 addAll(int location, Collection<? extends E> collection) argument
512 get(int location) argument
622 listIterator(int location) argument
637 remove(int location) argument
680 set(int location, E object) argument
[all...]
H A DArrays.java62 public E get(int location) { argument
64 return a[location];
66 throw java.util.ArrayList.throwIndexOutOfBoundsException(location, a.length);
107 public E set(int location, E object) { argument
108 E result = a[location];
109 a[location] = object;
H A DVector.java124 * Adds the specified object into this vector at the specified location. The
126 * increasing their index by 1. If the location is equal to the size of this
129 * @param location
134 * if {@code location < 0 || location > size()}.
139 public void add(int location, E object) { argument
140 insertElementAt(object, location);
161 * Inserts the objects in the specified collection at the specified location
164 * or higher than {@code location} have their index increased by the size of
167 * @param location
176 addAll(int location, Collection<? extends E> collection) argument
324 elementAt(int location) argument
441 get(int location) argument
543 indexOf(Object object, int location) argument
576 insertElementAt(E object, int location) argument
660 lastIndexOf(Object object, int location) argument
693 remove(int location) argument
794 removeElementAt(int location) argument
873 set(int location, E object) argument
894 setElementAt(E object, int location) argument
[all...]
H A DLinkedList.java67 LinkIterator(LinkedList<ET> object, int location) { argument
70 if (location >= 0 && location <= list.size) {
75 if (location < list.size / 2) {
76 for (pos = -1; pos + 1 < location; pos++) {
80 for (pos = list.size; pos >= location; pos--) {
266 * specified location. The object is inserted before any previous element at
267 * the specified location. If the location is equal to the size of this
270 * @param location
278 add(int location, E object) argument
342 addAll(int location, Collection<? extends E> collection) argument
505 get(int location) argument
626 listIterator(int location) argument
640 remove(int location) argument
861 set(int location, E object) argument
[all...]
H A DCollections.java80 @Override public E get(int location) { argument
81 if (location >= 0 && location < n) {
101 @Override public Object get(int location) { argument
275 @Override public E get(int location) { argument
276 if (location == 0) {
517 @Override public void add(int location, E object) { argument
519 list.add(location, object);
523 @Override public boolean addAll(int location, Collection<? extends E> collection) { argument
525 return list.addAll(location, collectio
535 get(int location) argument
601 listIterator(int location) argument
607 remove(int location) argument
613 set(int location, E object) argument
1037 add(int location, E object) argument
1041 addAll(int location, Collection<? extends E> collection) argument
1049 get(int location) argument
1069 listIterator(final int location) argument
1111 remove(int location) argument
1115 set(int location, E object) argument
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMErrorImpl.java30 private final DOMLocator location; field in class:DOMErrorImpl
42 this.location = new DOMLocatorImpl(src.getLocation());
66 return location;
/libcore/luni/src/main/java/javax/xml/transform/
H A DTransformerException.java48 * @param location A SourceLocator object, or null to clear the location.
50 public void setLocator(SourceLocator location) { argument
51 locator = location;
201 * Get the error message with location information
205 * location information appended.
241 * Get the location information as a string.
243 * @return A string with location info, or null
244 * if there is no location information.
/libcore/luni/src/main/java/java/lang/
H A DStringBuffer.java384 * @param location
388 * if {@code location < 0} or {@code location >= length()}
390 public synchronized StringBuffer deleteCharAt(int location) { argument
391 deleteCharAt0(location);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java45 private static final String PROPERTY_LOCATION = "http://xmlpull.org/v1/doc/properties.html#location";
89 private String location; field in class:KXmlParser
1788 return location != null ? location : reader.toString();
1900 if (location != null) {
1902 buf.append(location);
2097 location = String.valueOf(value);

Completed in 2798 milliseconds