/dalvik/dexgen/src/com/android/dexgen/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/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/dexgen/src/com/android/dexgen/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/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/dx/src/com/android/dx/ssa/ |
H A D | LocalVariableInfo.java | 74 * the given index. 76 * @param index {@code >= 0;} the block index 79 public void setStarts(int index, RegisterSpecSet specs) { argument 87 blockStarts[index] = specs; 90 throw new IllegalArgumentException("bogus index"); 96 * given index. If there was not already an associated set, then this 101 * @param index {@code >= 0;} the block index 108 public boolean mergeStarts(int index, RegisterSpecSe argument 138 getStarts(int index) argument 165 mutableCopyOfStarts(int index) argument 242 getStarts0(int index) argument [all...] |
/dalvik/dx/src/com/android/dx/io/ |
H A D | DexIndexPrinter.java | 52 int index = 0; 54 System.out.println("string " + index + ": " + string); 55 index++; 60 int index = 0; 62 System.out.println("type " + index + ": " + dex.strings().get(type)); 63 index++; 68 int index = 0; 70 System.out.println("proto " + index + ": " + protoId); 71 index++; 76 int index [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | LocalVariableList.java | 69 * 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 D | ZeroRegisterDecodedInstruction.java | 29 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 D | OneRegisterDecodedInstruction.java | 32 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 D | RegisterRangeDecodedInstruction.java | 36 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 D | TwoRegisterDecodedInstruction.java | 35 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 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/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/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;
|
/dalvik/vm/mterp/x86/ |
H A D | OP_AGET.S | 12 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index) 16 jae common_errArrayIndex # index >= length, bail. Expects 18 # index in ecx
|
H A D | OP_AGET_WIDE.S | 10 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index) 14 jae common_errArrayIndex # index >= length, bail. Expects 16 # index in ecx
|
H A D | OP_APUT.S | 12 GET_VREG_R %ecx %ecx # ecs<- vCC (requested index) 16 jae common_errArrayIndex # index >= length, bail. Expects: 18 # index in ecx
|
H A D | OP_APUT_WIDE.S | 10 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 D | OP_AGET.S | 16 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 D | OP_APUT.S | 16 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 D | OP_APUT_OBJECT.S | 11 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 D | OP_AGET.S | 16 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 D | OP_APUT_WIDE.S | 13 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 D | IndirectRefTable.cpp | 158 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 D | HeapBitmapInlines.h | 31 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;
|