/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | ShortArrayBuffer.java | 59 public final short get(int index) { argument 60 if (index < 0 || index >= limit) { 63 return backingArray[offset + index];
|
H A D | ReadWriteDirectByteBuffer.java | 105 public ByteBuffer put(int index, byte value) { argument 106 if (index < 0 || index >= limit) { 109 getBaseAddress().setByte(offset + index, value); 229 public ByteBuffer putDouble(int index, double value) { argument 230 if (index < 0 || (long)index + 8 > limit) { 233 getBaseAddress().setDouble(offset + index, value, order); 247 public ByteBuffer putFloat(int index, float value) { argument 248 if (index < 265 putInt(int index, int value) argument 283 putLong(int index, long value) argument 301 putShort(int index, short value) argument [all...] |
H A D | MappedByteBufferAdapter.java | 116 public byte get(int index) { argument 119 return this.wrapped.get(index); 130 public char getChar(int index) { argument 133 return this.wrapped.getChar(index); 144 public double getDouble(int index) { argument 147 return this.wrapped.getDouble(index); 166 public float getFloat(int index) { argument 169 return this.wrapped.getFloat(index); 180 public int getInt(int index) { argument 183 return this.wrapped.getInt(index); 194 getLong(int index) argument 208 getShort(int index) argument 243 put(int index, byte b) argument 258 putChar(int index, char value) argument 273 putDouble(int index, double value) argument 288 putFloat(int index, float value) argument 295 putInt(int index, int value) argument 310 putLong(int index, long value) argument 325 putShort(int index, short value) argument [all...] |
H A D | ReadOnlyDirectByteBuffer.java | 76 public ByteBuffer put(int index, byte value) { argument 88 public ByteBuffer putDouble(int index, double value) { argument 96 public ByteBuffer putFloat(int index, float value) { argument 104 public ByteBuffer putInt(int index, int value) { argument 108 public ByteBuffer putLong(int index, long value) { argument 116 public ByteBuffer putShort(int index, short value) { argument
|
H A D | ReadOnlyHeapByteBuffer.java | 80 public ByteBuffer put(int index, byte b) { argument 92 public ByteBuffer putDouble(int index, double value) { argument 100 public ByteBuffer putFloat(int index, float value) { argument 108 public ByteBuffer putInt(int index, int value) { argument 112 public ByteBuffer putLong(int index, long value) { argument 120 public ByteBuffer putShort(int index, short value) { argument
|
/dalvik/libcore/sql/src/main/java/java/sql/ |
H A D | Array.java | 42 * starting at a particular {@code index} and comprising up to {@code count} 45 * @param index 55 public Object getArray(long index, int count) throws SQLException; argument 59 * starting at a particular {@code index} and comprising up to {@code count} 62 * @param index 75 public Object getArray(long index, int count, Map<String, Class<?>> map) argument 126 * beginning at a particular index and comprising up to {@code count} 129 * @param index 139 public ResultSet getResultSet(long index, int count) throws SQLException; argument 143 * beginning at a particular index an 160 getResultSet(long index, int count, Map<String, Class<?>> map) argument [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
H A D | InnerNodeImpl.java | 72 if (parent == null || index >= parent.children.size()) { 76 return parent.children.get(index + 1); 94 return insertChildAt(newChild, refChildImpl.index); 104 * @param index The index at which to insert the new child node. 111 public Node insertChildAt(Node newChild, int index) throws DOMException { argument 123 int oldIndex = newChildImpl.index; 128 children.add(index, newChildImpl); 130 refreshIndices(index); 176 children.get(i).index [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/ |
H A D | MethodLogger.java | 57 * Returns the method name stored at the given index. 59 public String getMethod(int index) { argument 60 return methods.get(index); 72 * Returns the argument array stored at the given index. May be empty, but 75 public Object[] getArgs(int index) { argument 76 return argLists.get(index);
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
H A D | BreakIterator.java | 40 int index, index2; 45 index = locale.indexOf('_'); 48 if(index == -1) { 50 } else if(index > 0 && index == index2) { 52 locale.substring(0,index), 53 locale.substring(index+1)); 54 } else if(index > 0 && index2 > index) { 56 locale.substring(0,index), [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 320 int index, index1, index2, index3; 325 index = temp.indexOf('#'); 326 if (index != -1) { 328 fragment = temp.substring(index + 1); 329 validateFragment(uri, fragment, index + 1); 330 temp = temp.substring(0, index); 334 index = index1 = temp.indexOf(':'); 340 if (index != -1 && (index2 >= index || index2 == -1) 341 && (index3 >= index || index 418 validateScheme(String uri, String scheme, int index) argument 434 validateSsp(String uri, String ssp, int index) argument 444 validateAuthority(String uri, String authority, int index) argument 454 validatePath(String uri, String path, int index) argument 464 validateQuery(String uri, String query, int index) argument 475 validateFragment(String uri, String fragment, int index) argument 567 validateUserinfo(String uri, String userinfo, int index) argument [all...] |
/dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | hc_nodelistreturnlastitem.java | 33 * "item(index)" method with an index=length-1. This should 67 int index; 72 index = (int) employeeList.getLength(); 73 index -= 1; 74 child = employeeList.item(((int) /*int */index)); 77 if (equals(12, index)) { 81 assertEquals("index", 5, index);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | X509NameTokenizer.java | 12 private int index; field in class:X509NameTokenizer 27 this.index = -1; 33 return (index != value.length()); 38 if (index == value.length()) 43 int end = index + 1; 99 index = end;
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | AbstractStringBuilder.java | 204 int j = count; // Destination index. 226 * Retrieves the character at the {@code index}. 228 * @param index 229 * the index of the character to retrieve. 232 * if {@code index} is negative or greater than or equal to the 235 public char charAt(int index) { argument 236 if (index < 0 || index >= count) { 237 throw new StringIndexOutOfBoundsException(index); 239 return value[index]; 335 insert0(int index, char[] chars) argument 346 insert0(int index, char chars[], int start, int length) argument 363 insert0(int index, char ch) argument 373 insert0(int index, String string) argument 391 insert0(int index, CharSequence s, int start, int end) argument 411 move(int size, int index) argument 510 setCharAt(int index, char ch) argument 787 codePointAt(int index) argument 806 codePointBefore(int index) argument 859 offsetByCodePoints(int index, int codePointOffset) argument [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | IdentityHashMap.java | 329 int index = findIndex(key, elementData); 330 return elementData[index] == key; 370 int index = findIndex(key, elementData); 372 if (elementData[index] == key) { 373 Object result = elementData[index + 1]; 385 int index = findIndex(key, elementData); 386 if (elementData[index] == key) { 387 return getEntry(index); 394 private IdentityHashMapEntry<K, V> getEntry(int index) { argument 395 Object key = elementData[index]; [all...] |
H A D | TimeZone.java | 458 int index = position[0]; 459 if (index != -1) { 461 if (index < formattedName.length() 462 && formattedName.charAt(index) == ':') { 463 int minute = parseNumber(formattedName, index + 1, 469 } else if (hour >= 30 || index > 6) { 486 int index = offset, length = name.length(); 489 while (index < length) { 490 if (Character.digit(name.charAt(index), 10) != -1) { 491 buf.append(name.charAt(index)); [all...] |
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/ |
H A D | NumericShaper.java | 201 // Maximum index that range can't exceed 239 * digitsLowRanges[script index] + european digit char unicode value. 294 * according to Unicode specification. If the bit with index equals to 421 // index of context range (Serialization support) 433 // index of the default context 434 /** The default context index. */ 442 /** The single range index. */ 463 * Returns script index of the specified context range. 476 int index = 0; 477 while (index < MAX_INDE 497 getRangeFromIndex(int index) argument [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
H A D | BitString.java | 30 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a> 95 int index = bit / 8; 96 return (bytes[index] & SET_MASK[offset]) != 0; 101 int index = bit / 8; 103 bytes[index] |= SET_MASK[offset]; 105 bytes[index] &= RESET_MASK[offset];
|
H A D | DerOutputStream.java | 29 * @see <a href="http://asn1.elibel.tm.fr/en/standards/index.htm">ASN.1</a> 39 index = -1; 44 index = 0; 50 ASN1Type type = (ASN1Type) val[index][0]; 52 content = val[index][1]; 54 index++; 61 content = val[index][0]; 62 length = len[index][0]; 64 index++; 73 Object[] values = val[index]; 119 private int index; field in class:DerOutputStream [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | AESLightEngine.java | 322 int index = off; 324 C0 = (bytes[index++] & 0xff); 325 C0 |= (bytes[index++] & 0xff) << 8; 326 C0 |= (bytes[index++] & 0xff) << 16; 327 C0 |= bytes[index++] << 24; 329 C1 = (bytes[index++] & 0xff); 330 C1 |= (bytes[index++] & 0xff) << 8; 331 C1 |= (bytes[index++] & 0xff) << 16; 332 C1 |= bytes[index++] << 24; 334 C2 = (bytes[index [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
H A D | Socks4Message.java | 141 * password and returns the final index as the requests length. 144 int index = 0; 147 for (index = INDEX_USER_ID; buffer[index] != 0; index++) { 154 // Increment the index to include the NULL character in the length; 155 index++; 156 return index; 203 int index = offset; 204 int lastIndex = index [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | Cache.java | 89 // the index value contained in reserved bytes 100 // The hash-encoding-object correspondence is made by means of index 101 // in the particular array. I.e. for index N hash contained in hashes[N] 114 // above) with last 2 (reserved) bytes equals to the index of 115 // the hash in the 'hashes' array. I.e. hash code ABCD00 with index 10 in 117 // So this array contains ordered <hash to index> correspondences. 121 // the index of the last cached object 264 // index pointing to the item of the table to be overwritten 265 int index = last_cached++; 272 long idx_hash = (hashes[index] | (inde [all...] |
/dalvik/dx/src/com/android/dx/util/ |
H A D | ListIntSet.java | 39 int index = ints.binarysearch(value); 41 if (index < 0) { 42 ints.insert(-(index + 1), value); 48 int index = ints.indexOf(value); 50 if (index >= 0) { 51 ints.removeIndex(index);
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
H A D | CipherInputStream.java | 44 private int index; // index of the bytes to return from o_buffer field in class:CipherInputStream 89 return ((o_buffer == null) || (index == o_buffer.length)) 91 : o_buffer[index++] & 0xFF; 93 if ((o_buffer != null) && (index < o_buffer.length)) { 94 return o_buffer[index++] & 0xFF; 96 index = 0;
|
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParser.java | 570 * If the given index is out of range, an exception is thrown. 802 * with the given index (starts from 0). 805 * Throws an IndexOutOfBoundsException if the index is out of range 818 * @param index zero-based index of attribute 823 String getAttributeNamespace (int index); argument 828 * Throws an IndexOutOfBoundsException if the index is out of range 831 * @param index zero-based index of attribute 834 String getAttributeName (int index); argument 846 getAttributePrefix(int index) argument 855 getAttributeType(int index) argument 865 isAttributeDefault(int index) argument 882 getAttributeValue(int index) argument [all...] |
/dalvik/libdex/ |
H A D | DexClass.h | 37 u4 fieldIdx; /* index to a field_id_item */ 43 u4 methodIdx; /* index to a method_id_item */ 138 u4 index = *lastIndex + readUnsignedLeb128(pData); local 141 pField->fieldIdx = index; 142 *lastIndex = index; 154 u4 index = *lastIndex + readUnsignedLeb128(pData); local 158 pMethod->methodIdx = index; 159 *lastIndex = index;
|