/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | IndexedItem.java | 20 * An item in a Dalvik file which is referenced by index. 23 /** {@code >= -1;} assigned index of the item, or {@code -1} if not 25 private int index; field in class:IndexedItem 28 * Constructs an instance. The index is initially unassigned. 31 index = -1; 35 * Gets whether or not this instance has been assigned an index. 37 * @return {@code true} iff this instance has been assigned an index 40 return (index >= 0); 44 * Gets the item index. 46 * @return {@code >= 0;} the index 64 setIndex(int index) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
H A D | OIDTokenizer.java | 12 private int index; field in class:OIDTokenizer 18 this.index = 0; 23 return (index != -1); 28 if (index == -1) 34 int end = oid.indexOf('.', index); 38 token = oid.substring(index); 39 index = -1; 43 token = oid.substring(index, end); 45 index = end + 1;
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | InterfaceAddress.java | 28 // The kernel's interface index for the network interface this address 31 final int index; field in class:InterfaceAddress 36 InterfaceAddress(int index, String name, InetAddress address) { argument 37 this.index = index;
|
H A D | URISyntaxException.java | 32 private int index; field in class:URISyntaxException 37 * index at which the error occurred. 43 * @param index 49 * if the value for {@code index} is lesser than {@code -1}. 51 public URISyntaxException(String input, String reason, int index) { argument 58 if (index < -1) { 63 this.index = index; 86 index = -1; 90 * Gets the index a [all...] |
/dalvik/libcore/awt-kernel/src/main/java/java/beans/ |
H A D | IndexedPropertyChangeEvent.java | 30 private final int index; field in class:IndexedPropertyChangeEvent 34 * index. 49 * @param index 50 * the index of the property. 53 Object oldValue, Object newValue, int index) { 55 this.index = index; 59 * Answer the index of the property that was changed in this event. 61 * @return the property element index. 64 return index; 52 IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index) argument [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
H A D | TypeInfoProvider.java | 88 * @param index 89 * The index of the attribute. The same index for 94 * If the index is invalid. 109 public abstract TypeInfo getAttributeTypeInfo(int index); argument 130 * @param index 131 * The index of the attribute. The same index for 136 * If the index is invalid. 144 public abstract boolean isIdAttribute(int index); argument 180 isSpecified(int index) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/ |
H A D | AttributesImpl.java | 102 * @param index The attribute's index (zero-based). 104 * available, or null if the index is out of range. 107 public String getURI (int index) 109 if (index >= 0 && index < length) { 110 return data[index*5]; 120 * @param index The attribute's index (zero-based). 122 * none is available, or null if the index i 105 getURI(int index) argument 123 getLocalName(int index) argument 141 getQName(int index) argument 159 getType(int index) argument 176 getValue(int index) argument 413 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument 436 removeAttribute(int index) argument 466 setURI(int index, String uri) argument 486 setLocalName(int index, String localName) argument 506 setQName(int index, String qName) argument 525 setType(int index, String type) argument 544 setValue(int index, String value) argument 598 badIndex(int index) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | CstInsn.java | 32 * {@code >= -1;} the constant pool index for {@link #constant}, or 35 private int index; field in class:CstInsn 38 * {@code >= -1;} the constant pool index for the class reference in 45 * initially unknown ({@code -1}) as is the constant pool index. 63 this.index = -1; 73 if (index >= 0) { 74 result.setIndex(index); 90 if (index >= 0) { 91 result.setIndex(index); 111 * Gets the constant's index 141 setIndex(int index) argument 188 setClassIndex(int index) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/xml/sax/ext/ |
H A D | Attributes2Impl.java | 84 public boolean isDeclared (int index) argument 86 if (index < 0 || index >= getLength ()) 88 "No attribute at index: " + index); 89 return declared [index]; 99 int index = getIndex (uri, localName); 101 if (index < 0) 105 return declared [index]; 115 int index 132 isSpecified(int index) argument 269 removeAttribute(int index) argument 294 setDeclared(int index, boolean value) argument 313 setSpecified(int index, boolean value) argument [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
H A D | Array.java | 50 * Returns the element of the array at the specified index. This reproduces 51 * the effect of {@code array[index]}. If the array component is a primitive 56 * @param index 57 * the index 66 * if {@code index < 0 || index >= array.length} 70 public static Object get(Object array, int index) argument 73 return ((Object[]) array)[index]; 76 return ((boolean[]) array)[index] ? Boolean.TRUE : Boolean.FALSE; 79 return new Byte(((byte[]) array)[index]); 127 getBoolean(Object array, int index) argument 162 getByte(Object array, int index) argument 193 getChar(Object array, int index) argument 228 getDouble(Object array, int index) argument 259 getFloat(Object array, int index) argument 290 getInt(Object array, int index) argument 371 getLong(Object array, int index) argument 402 getShort(Object array, int index) argument 534 set(Object array, int index, Object value) argument 594 setBoolean(Object array, int index, boolean value) argument 623 setByte(Object array, int index, byte value) argument 653 setChar(Object array, int index, char value) argument 687 setDouble(Object array, int index, double value) argument 721 setFloat(Object array, int index, float value) argument 751 setInt(Object array, int index, int value) argument 781 setLong(Object array, int index, long value) argument 811 setShort(Object array, int index, short value) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/w3c/dom/ |
H A D | DOMImplementationList.java | 19 * <code>DOMImplementationList</code> are accessible via an integral index, 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 30 * @param index Index into the collection. 31 * @return The <code>DOMImplementation</code> at the <code>index</code> 33 * <code>null</code> if that is not a valid index. 35 public DOMImplementation item(int index); argument
|
H A D | NodeList.java | 20 * index, starting from 0. 25 * Returns the <code>index</code>th item in the collection. If 26 * <code>index</code> is greater than or equal to the number of nodes in 28 * @param index Index into the collection. 29 * @return The node at the <code>index</code>th position in the 31 * index. 33 public Node item(int index); argument
|
H A D | NameList.java | 20 * integral index, starting from 0. 26 * Returns the <code>index</code>th name item in the collection. 27 * @param index Index into the collection. 28 * @return The name at the <code>index</code>th position in the 30 * the specified index or if the index is out of range. 32 public String getName(int index); argument 35 * Returns the <code>index</code>th namespaceURI item in the collection. 36 * @param index Index into the collection. 37 * @return The namespace URI at the <code>index</cod 41 getNamespaceURI(int index) argument [all...] |
/dalvik/libcore/regex/src/main/java/java/util/regex/ |
H A D | PatternSyntaxException.java | 25 * expression, and the index at which the error occurred. 47 * Holds the index around which the error occured, or -1, in case it is 50 private int index = -1; field in class:PatternSyntaxException 54 * error index. 62 * @param index 63 * the character index around which the error occurred, or -1 if 64 * the index is not known. 66 public PatternSyntaxException(String description, String pattern, int index) { argument 69 this.index = index; [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
H A D | CertPathReviewerException.java | 11 private int index = -1; field in class:CertPathReviewerException 29 int index) 32 if (certPath == null || index == -1) 36 if (index < -1 || (certPath != null && index >= certPath.getCertificates().size())) 41 this.index = index; 47 int index) 50 if (certPath == null || index == -1) 54 if (index < 25 CertPathReviewerException( ErrorBundle errorMessage, Throwable throwable, CertPath certPath, int index) argument 44 CertPathReviewerException( ErrorBundle errorMessage, CertPath certPath, int index) argument [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | ParsePosition.java | 22 * index can be set to the position where the error occurred without having to 30 * Constructs a new {@code ParsePosition} with the specified index. 32 * @param index 33 * the index to begin parsing. 35 public ParsePosition(int index) { argument 36 currentPosition = index; 42 * instance of {@code ParsePosition} and it must have the same index and 43 * error index. 62 * Returns the index at which the parse could not continue. 64 * @return the index o 90 setErrorIndex(int index) argument 100 setIndex(int index) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatAttributes.java | 48 public String getURI(int index) { argument 49 if (index < 0 || index >= getLength()) { 52 return getURI(getParserPointer(), getPointer(), index); 55 public String getLocalName(int index) { argument 56 return (index < 0 || index >= getLength()) 58 : getLocalName(getParserPointer(), getPointer(), index); 61 public String getQName(int index) { argument 62 return (index < 67 getType(int index) argument 71 getValue(int index) argument 141 getURI(int pointer, int attributePointer, int index) argument 142 getLocalName(int pointer, int attributePointer, int index) argument 144 getQName(int pointer, int attributePointer, int index) argument 146 getValue(int attributePointer, int index) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | AttributesImplSerializer.java | 32 * faster lookup of an index by qName, which is commonly done in the stream 42 * Hash table of qName/index values to quickly lookup the index 46 * The keys to the hashtable to find the index are either 66 * This method gets the index of an attribute given its qName. 68 * @return the integer index of the attribute. 73 int index; 79 index = super.getIndex(qname); 80 return index; 86 index [all...] |
/dalvik/libcore/json/src/main/java/org/json/ |
H A D | JSONArray.java | 38 * JSONObject#NULL}. In particular, {@code get} fails if the requested index 171 * Sets the value at {@code index} to {@code value}, null padding this array 173 * index}, it will be replaced. 177 public JSONArray put(int index, boolean value) throws JSONException { argument 178 return put(index, (Boolean) value); 182 * Sets the value at {@code index} to {@code value}, null padding this array 184 * index}, it will be replaced. 190 public JSONArray put(int index, double value) throws JSONException { argument 191 return put(index, (Double) value); 195 * Sets the value at {@code index} t 201 put(int index, int value) argument 212 put(int index, long value) argument 227 put(int index, Object value) argument 243 isNull(int index) argument 255 get(int index) argument 271 opt(int index) argument 285 getBoolean(int index) argument 298 optBoolean(int index) argument 306 optBoolean(int index, boolean fallback) argument 319 getDouble(int index) argument 332 optDouble(int index) argument 340 optDouble(int index, double fallback) argument 353 getInt(int index) argument 366 optInt(int index) argument 374 optInt(int index, int fallback) argument 387 getLong(int index) argument 400 optLong(int index) argument 408 optLong(int index, long fallback) argument 420 getString(int index) argument 433 optString(int index) argument 441 optString(int index, String fallback) argument 454 getJSONArray(int index) argument 467 optJSONArray(int index) argument 479 getJSONObject(int index) argument 492 optJSONObject(int index) argument [all...] |
/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | CertPathValidatorException.java | 29 * path instance that failed the validation and the index of the failed 42 * the index of the certificate. 44 private int index = -1; field in class:CertPathValidatorException 48 * message , cause, certification path and certificate index in the 57 * @param index 58 * the index of the failed certificate. 60 * if {@code certPath} is {@code null} and index is not {@code 63 * if {@code certPath} is not {@code null} and index is not 67 CertPath certPath, int index) { 69 // check certPath and index parameter 66 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/res/ |
H A D | CharArrayWrapper.java | 35 public char getChar(int index){ argument 36 return m_char[index];
|
H A D | IntArrayWrapper.java | 35 public int getInt(int index){ argument 36 return m_int[index];
|
H A D | LongArrayWrapper.java | 35 public long getLong(int index){ argument 36 return m_long[index];
|
/dalvik/dx/src/com/android/dx/ssa/ |
H A D | LocalVariableInfo.java | 75 * the given index. 77 * @param index {@code >= 0;} the block index 80 public void setStarts(int index, RegisterSpecSet specs) { argument 88 blockStarts[index] = specs; 91 throw new IllegalArgumentException("bogus index"); 97 * given index. If there was not already an associated set, then this 102 * @param index {@code >= 0;} the block index 109 public boolean mergeStarts(int index, RegisterSpecSe argument 139 getStarts(int index) argument 166 mutableCopyOfStarts(int index) argument 243 getStarts0(int index) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1TypeCollection.java | 31 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a> 66 * @param index - an index of a component 68 protected final void setOptional(int index) { argument 69 OPTIONAL[index] = true; 77 * @param index - an index of a component 79 protected final void setDefault(Object object, int index) { argument 80 OPTIONAL[index] = true; 81 DEFAULT[index] [all...] |