Searched refs:index (Results 76 - 100 of 349) sorted by relevance

1234567891011>>

/dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/
H A DOpMap.java90 * @param pos index into token queue.
171 * @param opPos index into op map.
180 * Set the op at index to the given int.
182 * @param opPos index into op map.
253 * @param opPos index to operation, for which there is a size entry following.
399 int index = m_opMap.elementAt(opPosOfStep + 4);
401 if (index >= 0)
402 return (String) m_tokenQueue.elementAt(index);
403 else if (OpCodes.ELEMWILDCARD == index)
424 int index;
[all...]
H A DOpMapVector.java62 * @param i index of object to get
64 * @return object at given index
72 * Sets the component at the specified index of this vector to be the
75 * The index must be a value greater than or equal to 0 and less
79 * @param index Index of where to set the object
81 public final void setElementAt(int value, int index) argument
83 if (index >= m_mapSize)
96 m_map[index] = value;
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DBitString.java30 * @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 DDerOutputStream.java29 * @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 DAESLightEngine.java322 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/java/util/
H A DTimeZone.java426 int index = position[0];
427 if (index != -1) {
429 if (index < formattedName.length()
430 && formattedName.charAt(index) == ':') {
431 int minute = parseNumber(formattedName, index + 1,
437 } else if (hour >= 30 || index > 6) {
454 int index = offset, length = name.length();
457 while (index < length) {
458 if (Character.digit(name.charAt(index), 10) != -1) {
459 buf.append(name.charAt(index));
[all...]
H A DStack.java76 final int index = --elementCount;
77 final E obj = (E) elementData[index];
78 elementData[index] = null;
98 * Returns the index of the first occurrence of the object, starting from
101 * @return the index of the first occurrence of the object, assuming that
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DSocks4Message.java141 * 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 DCache.java89 // 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/libcore/xml/src/main/java/org/apache/xml/serializer/utils/
H A DURI.java389 int index = 0;
410 index += 2;
412 int startPos = index;
417 while (index < uriSpecLen)
419 testChar = uriSpec.charAt(index);
426 index++;
431 if (index > startPos)
433 initializeAuthority(uriSpec.substring(startPos, index));
441 initializePath(uriSpec.substring(index));
520 index
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DURI.java386 int index = 0;
430 index += 2;
432 int startPos = index;
437 while (index < uriSpecLen)
439 testChar = uriSpec.charAt(index);
446 index++;
451 if (index > startPos)
453 initializeAuthority(uriSpec.substring(startPos, index));
461 initializePath(uriSpec.substring(index));
540 index
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/
H A DFuncSubstringAfter.java49 int index = s1.indexOf(s2);
51 return (-1 == index)
53 : (XString)s1.substring(index + s2.length());
/dalvik/dx/src/com/android/dx/util/
H A DListIntSet.java39 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 DCipherInputStream.java41 private int index; // index of the bytes to return from o_buffer field in class:CipherInputStream
82 return ((o_buffer == null) || (index == o_buffer.length))
84 : o_buffer[index++] & 0xFF;
86 if ((o_buffer != null) && (index < o_buffer.length)) {
87 return o_buffer[index++] & 0xFF;
89 index = 0;
/dalvik/libcore/nio/src/main/java/java/nio/
H A DReadOnlyDirectByteBuffer.java82 public ByteBuffer put(int index, byte value) { argument
97 public ByteBuffer putDouble(int index, double value) { argument
107 public ByteBuffer putFloat(int index, float value) { argument
117 public ByteBuffer putInt(int index, int value) { argument
122 public ByteBuffer putLong(int index, long value) { argument
132 public ByteBuffer putShort(int index, short value) { argument
H A DReadOnlyHeapByteBuffer.java89 public ByteBuffer put(int index, byte b) { argument
104 public ByteBuffer putDouble(int index, double value) { argument
114 public ByteBuffer putFloat(int index, float value) { argument
124 public ByteBuffer putInt(int index, int value) { argument
129 public ByteBuffer putLong(int index, long value) { argument
139 public ByteBuffer putShort(int index, short value) { argument
H A DDoubleToByteBufferAdapter.java146 public double get(int index) { argument
147 if (index < 0 || index >= limit) {
150 return byteBuffer.getDouble(index << 3);
193 public DoubleBuffer put(int index, double c) { argument
194 if (index < 0 || index >= limit) {
197 byteBuffer.putDouble(index << 3, c);
H A DFloatToByteBufferAdapter.java146 public float get(int index) { argument
147 if (index < 0 || index >= limit) {
150 return byteBuffer.getFloat(index << 2);
193 public FloatBuffer put(int index, float c) { argument
194 if (index < 0 || index >= limit) {
197 byteBuffer.putFloat(index << 2, c);
H A DLongToByteBufferAdapter.java145 public long get(int index) { argument
146 if (index < 0 || index >= limit) {
149 return byteBuffer.getLong(index << 3);
192 public LongBuffer put(int index, long c) { argument
193 if (index < 0 || index >= limit) {
196 byteBuffer.putLong(index << 3, c);
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParser.java570 * 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 DDexClass.h37 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;
/dalvik/vm/mterp/armv5te/
H A DOP_APUT_OBJECT.S14 GET_VREG(r0, r3) @ r0<- vCC (requested index)
19 add r10, r1, r0, lsl #2 @ r10<- arrayObj + index*width
20 cmp r0, r3 @ compare unsigned index, length
22 b common_errArrayIndex @ index >= length, bail
/dalvik/vm/mterp/x86/
H A DOP_AGET_WIDE.S11 GET_VREG(%ecx,%ecx) # ecs<- vCC (requested index)
15 jb .L${opcode}_finish # index < length, OK
16 jmp common_errArrayIndex # index >= length, bail
H A DOP_APUT_WIDE.S11 GET_VREG(%ecx,%ecx) # ecs<- vCC (requested index)
15 jb .L${opcode}_finish # index < length, OK
16 jmp common_errArrayIndex # index >= length, bail
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
H A DNodeSet.java27 public Node item(int index) { argument
30 result = list.get(index);

Completed in 576 milliseconds

1234567891011>>