Searched refs:location (Results 1 - 25 of 26) sorted by relevance

12

/dalvik/libcore/luni/src/main/java/java/net/
H A DHttpRetryException.java33 private String location = null; field in class:HttpRetryException
52 * response code, the given detail message and the value of the location
59 * @param location
63 public HttpRetryException(String detail, int code, String location) { argument
66 this.location = location;
70 * Gets the location value.
72 * @return the stored location from the HTTP header.
76 return location;
/dalvik/libcore/text/src/main/java/java/text/
H A DParseException.java33 * message and the location of the error filled in.
37 * @param location
41 public ParseException(String detailMessage, int location) { argument
43 errorOffset = location;
49 * @return the location of this exception in the parsed string.
H A DStringCharacterIterator.java54 * @param location
57 * if {@code location} is negative or greater than the length
61 public StringCharacterIterator(String value, int location) { argument
65 if (location < 0 || location > end) {
68 offset = location;
81 * @param location
85 * {@code location < start}, {@code location > end} or if
90 int location) {
89 StringCharacterIterator(String value, int start, int end, int location) argument
263 setIndex(int location) argument
[all...]
H A DCharacterIterator.java120 * @param location
125 * if {@code location} is less than the begin index or
129 public char setIndex(int location); argument
H A DAttributedString.java372 public char setIndex(int location) { argument
373 if (location < begin || location > end) {
376 offset = location;
/dalvik/libcore/luni/src/main/java/java/util/
H A DAbstractSequentialList.java40 public void add(int location, E object) { argument
41 listIterator(location).add(object);
45 public boolean addAll(int location, Collection<? extends E> collection) { argument
46 ListIterator<E> it = listIterator(location);
69 public E get(int location) { argument
71 return listIterator(location).next();
83 public abstract ListIterator<E> listIterator(int location); argument
86 public E remove(int location) { argument
88 ListIterator<E> it = listIterator(location);
98 public E set(int location, argument
[all...]
H A DVector.java140 * Adds the specified object into this vector at the specified location. The
142 * increasing their index by 1. If the location is equal to the size of this
145 * @param location
150 * when {@code location < 0 || location > size()}.
156 public void add(int location, E object) { argument
157 insertElementAt(object, location);
175 * Inserts the objects in the specified collection at the specified location
178 * or higher than {@code location} have their index increased by the size of
181 * @param location
191 addAll(int location, Collection<? extends E> collection) argument
347 elementAt(int location) argument
469 get(int location) argument
574 indexOf(Object object, int location) argument
608 insertElementAt(E object, int location) argument
695 lastIndexOf(Object object, int location) argument
728 remove(int location) argument
832 removeElementAt(int location) argument
913 set(int location, E object) argument
935 setElementAt(E object, int location) argument
[all...]
H A DArrayList.java106 * location. The object is inserted before any previous element at the
107 * specified location. If the location is equal to the size of this
110 * @param location
115 * when {@code location < 0 || > size()}
119 public void add(int location, E object) { argument
123 if (0 < location && location < size) {
125 growForInsert(location, 1);
126 } else if ((location < siz
188 addAll(int location, Collection<? extends E> collection) argument
347 get(int location) argument
418 growForInsert(int location, int required) argument
492 remove(int location) argument
593 set(int location, E object) argument
[all...]
H A DAbstractList.java249 public void add(int location, E object) { argument
251 if (0 <= location && location <= size) {
252 fullList.add(location + offset, object);
264 public boolean addAll(int location, Collection<? extends E> collection) { argument
266 if (0 <= location && location <= size) {
267 boolean result = fullList.addAll(location + offset,
294 public E get(int location) { argument
296 if (0 <= location
310 listIterator(int location) argument
323 remove(int location) argument
350 set(int location, E object) argument
409 add(int location, E object) argument
456 addAll(int location, Collection<? extends E> collection) argument
523 get(int location) argument
639 listIterator(int location) argument
655 remove(int location) argument
700 set(int location, E object) argument
[all...]
H A DList.java31 * Inserts the specified object into this {@code List} at the specified location.
33 * location. If the location is equal to the size of this {@code List}, the object
34 * is added at the end. If the location is smaller than the size of this
35 * {@code List}, then all elements beyond the specified location are moved by one
38 * @param location
50 * when {@code location < 0 || location > size()}
53 public void add(int location, E object); argument
73 * Inserts the objects in the specified collection at the specified location
94 addAll(int location, Collection<? extends E> collection) argument
175 get(int location) argument
254 listIterator(int location) argument
268 remove(int location) argument
329 set(int location, E object) argument
[all...]
H A DLinkedList.java62 LinkIterator(LinkedList<ET> object, int location) { argument
65 if (0 <= location && location <= list.size) {
70 if (location < list.size / 2) {
71 for (pos = -1; pos + 1 < location; pos++) {
75 for (pos = list.size; pos >= location; pos--) {
207 * specified location. The object is inserted before any previous element at
208 * the specified location. If the location is equal to the size of this
211 * @param location
220 add(int location, E object) argument
283 addAll(int location, Collection<? extends E> collection) argument
447 get(int location) argument
568 listIterator(int location) argument
583 remove(int location) argument
690 set(int location, E object) argument
[all...]
H A DCollections.java62 public E get(int location) { argument
63 if (0 <= location && location < n) {
86 public Object get(int location) { argument
283 public E get(int location) { argument
284 if (location == 0) {
561 public void add(int location, E object) { argument
563 list.add(location, object);
567 public boolean addAll(int location, Collection<? extends E> collection) { argument
569 return list.addAll(location, collectio
580 get(int location) argument
611 listIterator(int location) argument
617 remove(int location) argument
623 set(int location, E object) argument
1057 add(int location, E object) argument
1061 addAll(int location, Collection<? extends E> collection) argument
1070 get(int location) argument
1091 listIterator(final int location) argument
1133 remove(int location) argument
1137 set(int location, E object) argument
[all...]
/dalvik/libcore/security/src/main/java/java/security/
H A DCodeSource.java48 * {@code CodeSource} encapsulates the location from where code is loaded and
61 private URL location; field in class:CodeSource
80 * @param location
81 * the {@code URL} representing the location from where code is
85 * the specified {@code location}, maybe {@code null}.
88 public CodeSource(URL location, Certificate[] certs) { argument
89 this.location = location;
100 * @param location
101 * the {@code URL} representing the location fro
108 CodeSource(URL location, CodeSigner[] signers) argument
[all...]
/dalvik/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;
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/fortress/
H A DPolicyUtils.java55 * Auxiliary action for opening InputStream from specified location.
60 * URL of target location.
62 public URL location; field in class:PolicyUtils.URLLoader
67 public URLLoader(URL location) { argument
68 this.location = location;
75 return location.openStream();
345 * dynamic policy location via system properties is allowed.
391 * to use additional policy location, read the system property under the
397 * If the additional location fro
[all...]
H A DDefaultPolicyParser.java111 * @param location an URL of a policy file to be loaded
114 * @throws Exception IO error while reading location or file syntax error
116 public Collection<PolicyEntry>parse(URL location, Properties system) argument
125 new PolicyUtils.URLLoader(location))),
140 KeyStore ks = initKeyStore(keystores, location, system, resolve);
457 * <b>Note:</b> an url may be relative to the policy file location or absolute.
459 * @param base the policy file location
481 URL location = new URL(base, ke.url);
483 .doPrivileged(new PolicyUtils.URLLoader(location));
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DAccessDescription.java56 * create an AccessDescription with the oid and location provided.
60 GeneralName location)
63 accessLocation = location;
77 * @return the access location
58 AccessDescription( DERObjectIdentifier oid, GeneralName location) argument
H A DAuthorityInformationAccess.java58 * create an AuthorityInformationAccess with the oid and location provided.
62 GeneralName location)
66 descriptions[0] = new AccessDescription(oid, location);
60 AuthorityInformationAccess( DERObjectIdentifier oid, GeneralName location) argument
/dalvik/vm/mterp/
H A Dgen-mterp.py120 # Set location of a single opcode's source file.
189 location = opcode_locations[op]
191 location = default_op_dir
193 if location == "c":
194 loadAndEmitC(location, i)
198 loadAndEmitAsm(location, i, sister_list)
228 def loadAndEmitC(location, opindex):
230 source = "%s/%s.c" % (location, op)
243 def loadAndEmitAsm(location, opindex, sister_list):
245 source = "%s/%s.S" % (location, o
[all...]
/dalvik/libcore/luni/src/main/java/java/lang/
H A DAbstractStringBuilder.java270 final void deleteCharAt0(int location) { argument
271 if (0 > location || location >= count) {
272 throw new StringIndexOutOfBoundsException(location);
274 int length = count - location - 1;
277 System.arraycopy(value, location + 1, value, location, length);
280 System.arraycopy(value, 0, newData, 0, location);
282 .arraycopy(value, location + 1, newData, location,
[all...]
H A DStringBuffer.java392 * @param location
396 * if {@code location < 0} or {@code location >= length()}
399 public synchronized StringBuffer deleteCharAt(int location) { argument
400 deleteCharAt0(location);
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DArrayListTest.java417 int location = al.indexOf(testObject);
421 location == al.indexOf(testObject));
425 --location == al.indexOf(testObject));
427 assertTrue("EnsureCapacity did not change location.",
428 location == al.indexOf(testObject));
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DHttpURLConnection.java1624 String location = getHeaderField("Location"); //$NON-NLS-1$
1625 if (location != null) {
1629 if (location.startsWith(url.getProtocol() + ':')) {
1632 if (location.startsWith("//", start)) { //$NON-NLS-1$
1635 setProxy(location.substring(start));
1637 url = new URL(url, location);
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DPKIXCertPathReviewer.java2028 String location = (String) urlIt.next();
2029 onlineCRL = getCRL(location);
2040 new UntrustedInput(location)});
2051 new UntrustedInput(location)});
2362 private X509CRL getCRL(String location) throws CertPathReviewerException argument
2367 URL url = new URL(location);
2391 new Object[] {new UntrustedInput(location),
/dalvik/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java35 private Object location; field in class:KXmlParser
1124 if (isProp(property, true, "location"))
1125 return location != null ? location : reader.toString();
1206 if(location != null){
1208 buf.append(location);
1413 if(isProp(property, true, "location"))
1414 location = value;

Completed in 986 milliseconds

12