/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 /** >= -1; assigned index of the item, or <code>-1</code> 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</code> iff this instance has been assigned an index 40 return (index >= 0); 44 * Gets the item index. 46 * @return >= 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/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/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 * >= -1; the constant pool index for {@link #constant}, or 35 private int index; field in class:CstInsn 38 * >= -1; the constant pool index for the class reference in 45 * initially unknown (<code>-1</code>) 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 | NodeList.java | 30 * index, starting from 0. 35 * Returns the <code>index</code>th item in the collection. If 36 * <code>index</code> is greater than or equal to the number of nodes in 38 * @param index Index into the collection. 39 * @return The node at the <code>index</code>th position in the 41 * index. 43 public Node item(int index); argument
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URISyntaxException.java | 34 private int index; field in class:URISyntaxException 39 * index at which the error occurred. 45 * @param index 51 * if the value for {@code index} is lesser than {@code -1}. 54 public URISyntaxException(String input, String reason, int index) { argument 61 if (index < -1) { 66 this.index = index; 90 index = -1; 94 * Gets the index a [all...] |
/dalvik/libcore/regex/src/main/java/java/util/regex/ |
H A D | PatternSyntaxException.java | 24 * expression, and the index at which the error occurred. 48 * Holds the index around which the error occured, or -1, in case it is 51 private int index = -1; field in class:PatternSyntaxException 55 * error index. 63 * @param index 64 * the character index around which the error occurred, or -1 if 65 * the index is not known. 68 public PatternSyntaxException(String description, String pattern, int index) { argument 71 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/luni/src/main/java/java/util/ |
H A D | Stack.java | 80 int index = elementCount - 1; 81 E obj = (E)elementData[index]; 82 removeElementAt(index); 105 * Returns the index of the first occurrence of the object, starting from 108 * @return the index of the first occurrence of the object, assuming that 115 int index = lastIndexOf(o); 116 if (index >= 0) 117 return (elementCount - index);
|
/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 32 * Constructs a new {@code ParsePosition} with the specified index. 34 * @param index 35 * the index to begin parsing. 38 public ParsePosition(int index) { argument 39 currentPosition = index; 45 * instance of {@code ParsePosition} and it must have the same index and 46 * error index. 66 * Returns the index at which the parse could not continue. 68 * @return the index o 97 setErrorIndex(int index) argument 108 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/json/src/main/java/org/json/ |
H A D | JSONArray.java | 34 * methods for accessing the values by index, and <code>put</code> methods for 164 * Get the object value associated with an index. 165 * @param index 166 * The index must be between 0 and length() - 1. 168 * @throws JSONException If there is no value for the index. 170 public Object get(int index) throws JSONException { argument 171 Object o = opt(index); 173 throw new JSONException("JSONArray[" + index + "] not found."); 180 * Get the boolean value associated with an index. 183 * @param index Th 188 getBoolean(int index) argument 211 getDouble(int index) argument 232 getInt(int index) argument 246 getJSONArray(int index) argument 263 getJSONObject(int index) argument 281 getLong(int index) argument 294 getString(int index) argument 304 isNull(int index) argument 347 opt(int index) argument 361 optBoolean(int index) argument 375 optBoolean(int index, boolean defaultValue) argument 392 optDouble(int index) argument 406 optDouble(int index, double defaultValue) argument 423 optInt(int index) argument 436 optInt(int index, int defaultValue) argument 451 optJSONArray(int index) argument 465 optJSONObject(int index) argument 479 optLong(int index) argument 492 optLong(int index, long defaultValue) argument 509 optString(int index) argument 522 optString(int index, String defaultValue) argument 601 put(int index, boolean value) argument 617 put(int index, double value) argument 632 put(int index, int value) argument 647 put(int index, long value) argument 663 put(int index, Object value) 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 45 * the index of the certificate. 47 private int index = -1; field in class:CertPathValidatorException 51 * message , cause, certification path and certificate index in the 60 * @param index 61 * the index of the failed certificate. 63 * if {@code certPath} is {@code null} and index is not {@code 66 * if {@code certPath} is not {@code null} and index is not 71 CertPath certPath, int index) { 73 // check certPath and index parameter 70 CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index) argument [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/reflect/ |
H A D | ProxyNameAndTypeCache.java | 40 int index = hashCode(key); 41 while (keyTable[index] != null) { 42 if (keyTable[index][0] == key[0] && keyTable[index][1] == key[1]) { 43 return valueTable[index]; 45 index = (index + 1) % keyTable.length; 55 int index = hashCode(key); 56 while (keyTable[index] != null) { 57 if (keyTable[index][ [all...] |
H A D | ProxyObjectCache.java | 40 int index = hashCode(key); 41 while (keyTable[index] != null) { 42 if (keyTable[index].equals(key)) { 43 return valueTable[index]; 45 index = (index + 1) % keyTable.length; 55 int index = hashCode(key); 56 while (keyTable[index] != null) { 57 if (keyTable[index].equals(key)) { 58 return valueTable[index] [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
H A D | LocalVariableInfo.java | 75 * the given index. 77 * @param index >= 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 >= 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...] |
/dalvik/libcore/sql/src/main/java/java/sql/ |
H A D | DataTruncation.java | 34 private int index = 0; field in class:DataTruncation 56 * @param index 71 public DataTruncation(int index, boolean parameter, boolean read, argument 74 this.index = index; 93 * Gets the index of the column or of the parameter that was truncated. 95 * @return the index number of the column or of the parameter. 99 return index;
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
H A D | LeafNodeImpl.java | 40 int index; field in class:LeafNodeImpl 47 if (parent == null || index + 1 >= parent.children.size()) { 51 return parent.children.get(index + 1); 59 if (parent == null || index == 0) { 63 return parent.children.get(index - 1);
|
/dalvik/libcore/xml/src/main/java/org/xml/sax/ |
H A D | Attributes.java | 24 * <li>by attribute index;</li> 96 * Look up an attribute's Namespace URI by index. 98 * @param index The attribute index (zero-based). 100 * is available, or null if the index is out of 104 public abstract String getURI (int index); 108 * Look up an attribute's local name by index. 110 * @param index The attribute index (zero-based). 113 * if the index i 103 getURI(int index) argument 115 getLocalName(int index) argument 127 getQName(int index) argument 150 getType(int index) argument 166 getValue(int index) argument [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
H A D | TimeUnit.java | 48 /** the index of this unit */ 49 private final int index; field in class:TimeUnit 52 TimeUnit(int index) { argument 53 this.index = index; 79 * @param delta the difference in index values of source and target units 112 return doConvert(unit.index - index, duration); 124 return doConvert(index, duration); 136 return doConvert(index [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | Base64.java | 64 // index in the output array 66 // index in the input array 137 int index = 0, i, crlr = 0, end = in.length - in.length%3; 139 out[index++] = map[(in[i] & 0xff) >> 2]; 140 out[index++] = map[((in[i] & 0x03) << 4) 142 out[index++] = map[((in[i+1] & 0x0f) << 2) 144 out[index++] = map[(in[i+2] & 0x3f)]; 145 if (((index - crlr)%76 == 0) && (index != 0)) { 146 out[index [all...] |