Searched refs:index (Results 1 - 25 of 97) sorted by relevance

1234

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DIndexedItem.java20 * 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/dx/src/com/android/dx/dex/file/
H A DIndexedItem.java20 * 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/dexgen/src/com/android/dexgen/dex/code/
H A DCstInsn.java32 * {@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/dx/src/com/android/dx/dex/code/
H A DCstInsn.java32 * {@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/dx/src/com/android/dx/ssa/
H A DLocalVariableInfo.java75 * 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/dx/src/com/android/dx/io/
H A DDexIndexPrinter.java47 int index = 0;
49 System.out.println("string " + index + ": " + string);
50 index++;
55 int index = 0;
57 System.out.println("type " + index + ": " + dexBuffer.strings().get(type));
58 index++;
63 int index = 0;
65 System.out.println("proto " + index + ": " + protoId);
66 index++;
71 int index
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DLocalVariableList.java69 * any element whose {name, index, start, length} matches an
117 * Sets the item at the given index.
131 * Sets the item at the given index.
143 * @param index {@code >= 0;} the variable's local index
146 CstString descriptor, CstString signature, int index) {
147 set0(n, new Item(startPc, length, name, descriptor, signature, index));
176 * and local index, if any. <b>Note:</b> In standard classfiles, a
181 * @param index {@code >= 0;} the local variable index
145 set(int n, int startPc, int length, CstString name, CstString descriptor, CstString signature, int index) argument
185 pcAndIndexToLocal(int pc, int index) argument
219 private final int index; field in class:LocalVariableList.Item
235 Item(int startPc, int length, CstString name, CstString descriptor, CstString signature, int index) argument
352 matchesPcAndIndex(int pc, int index) argument
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DZeroRegisterDecodedInstruction.java29 int index, IndexType indexType, int target, long literal) {
30 super(format, opcode, index, indexType, target, literal);
28 ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal) argument
H A DOneRegisterDecodedInstruction.java32 int index, IndexType indexType, int target, long literal,
34 super(format, opcode, index, indexType, target, literal);
31 OneRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a) argument
H A DRegisterRangeDecodedInstruction.java36 int index, IndexType indexType, int target, long literal,
38 super(format, opcode, index, indexType, target, literal);
35 RegisterRangeDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int registerCount) argument
H A DTwoRegisterDecodedInstruction.java35 int index, IndexType indexType, int target, long literal,
37 super(format, opcode, index, indexType, target, literal);
34 TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b) argument
/dalvik/dexgen/src/com/android/dexgen/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/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/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/x86/
H A DOP_AGET.S12 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index)
16 jae common_errArrayIndex # index >= length, bail. Expects
18 # index in ecx
H A DOP_AGET_WIDE.S10 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index)
14 jae common_errArrayIndex # index >= length, bail. Expects
16 # index in ecx
H A DOP_APUT.S12 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index)
16 jae common_errArrayIndex # index >= length, bail. Expects:
18 # index in ecx
H A DOP_APUT_WIDE.S10 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index)
14 jae common_errArrayIndex # index >= length, bail. Expects:
16 # index in ecx
/dalvik/vm/mterp/armv5te/
H A DOP_AGET.S16 GET_VREG(r1, r3) @ r1<- vCC (requested index)
20 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
21 cmp r1, r3 @ compare unsigned index, length
22 bcs common_errArrayIndex @ index >= length, bail
H A DOP_APUT.S16 GET_VREG(r1, r3) @ r1<- vCC (requested index)
20 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
21 cmp r1, r3 @ compare unsigned index, length
22 bcs common_errArrayIndex @ index >= length, bail
H A DOP_APUT_OBJECT.S11 GET_VREG(r1, r3) @ r1<- vCC (requested index)
16 add r10, rINST, r1, lsl #2 @ r10<- arrayObj + index*width
17 cmp r1, r3 @ compare unsigned index, length
19 b common_errArrayIndex @ index >= length, bail
/dalvik/vm/mterp/mips/
H A DOP_AGET.S16 GET_VREG(a1, a3) # a1 <- vCC (requested index)
21 EASN(a0, a0, a1, $shift) # a0 <- arrayObj + index*width
25 # a1 >= a3; compare unsigned index
26 bgeu a1, a3, common_errArrayIndex # index >= length, bail
H A DOP_APUT_WIDE.S13 GET_VREG(a1, a3) # a1 <- vCC (requested index)
17 EAS3(a0, a0, a1) # a0 <- arrayObj + index*width
19 # compare unsigned index, length
20 bgeu a1, a3, common_errArrayIndex # index >= length, bail
/dalvik/vm/
H A DIndirectRefTable.cpp158 u4 index = extractIndex(iref); local
159 if (index >= topIndex) {
161 ALOGE("JNI ERROR (app bug): accessed stale %s reference %p (index %d in a table of size %d)",
162 indirectRefKindToString(kind_), iref, index, topIndex);
167 Object* obj = table_[index].obj;
176 if (serial != table_[index].serial) {
204 * If the entry is not between the current top index and the bottom index
225 u4 index; local
227 index
[all...]
/dalvik/vm/alloc/
H A DHeapBitmapInlines.h31 const size_t index = HB_OFFSET_TO_INDEX(offset); local
36 assert(index < hb->bitsLen / sizeof(*hb->bits));
42 unsigned long *p = hb->bits + index;
47 hb->bits[index] |= mask;
50 hb->bits[index] &= ~mask;

Completed in 373 milliseconds

1234