/dalvik/dx/src/com/android/dx/dex/file/ |
D | IndexedItem.java | 25 private int index; field in IndexedItem 31 index = -1; in IndexedItem() 40 return (index >= 0); in hasIndex() 50 if (index < 0) { in getIndex() 54 return index; in getIndex() 64 public final void setIndex(int index) { in setIndex() argument 65 if (this.index != -1) { in setIndex() 69 this.index = index; in setIndex() 79 return '[' + Integer.toHexString(index) + ']'; in indexString()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | IndexedItem.java | 25 private int index; field in IndexedItem 31 index = -1; in IndexedItem() 40 return (index >= 0); in hasIndex() 50 if (index < 0) { in getIndex() 54 return index; in getIndex() 64 public final void setIndex(int index) { in setIndex() argument 65 if (this.index != -1) { in setIndex() 69 this.index = index; in setIndex() 79 return '[' + Integer.toHexString(index) + ']'; in indexString()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | CstInsn.java | 35 private int index; field in CstInsn 63 this.index = -1; in CstInsn() 73 if (index >= 0) { in withOpcode() 74 result.setIndex(index); in withOpcode() 90 if (index >= 0) { in withRegisters() 91 result.setIndex(index); in withRegisters() 117 if (index < 0) { in getIndex() 121 return index; in getIndex() 132 return (index >= 0); in hasIndex() 141 public void setIndex(int index) { in setIndex() argument [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | CstInsn.java | 35 private int index; field in CstInsn 63 this.index = -1; in CstInsn() 73 if (index >= 0) { in withOpcode() 74 result.setIndex(index); in withOpcode() 90 if (index >= 0) { in withRegisters() 91 result.setIndex(index); in withRegisters() 117 if (index < 0) { in getIndex() 121 return index; in getIndex() 132 return (index >= 0); in hasIndex() 141 public void setIndex(int index) { in setIndex() argument [all …]
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | LocalVariableInfo.java | 80 public void setStarts(int index, RegisterSpecSet specs) { in setStarts() argument 88 blockStarts[index] = specs; in setStarts() 109 public boolean mergeStarts(int index, RegisterSpecSet specs) { in mergeStarts() argument 110 RegisterSpecSet start = getStarts0(index); in mergeStarts() 114 setStarts(index, specs); in mergeStarts() 126 setStarts(index, newStart); in mergeStarts() 139 public RegisterSpecSet getStarts(int index) { in getStarts() argument 140 RegisterSpecSet result = getStarts0(index); in getStarts() 166 public RegisterSpecSet mutableCopyOfStarts(int index) { in mutableCopyOfStarts() argument 167 RegisterSpecSet result = getStarts0(index); in mutableCopyOfStarts() [all …]
|
D | SsaBasicBlock.java | 79 private int index; field in SsaBasicBlock 124 this.index = basicBlockIndex; in SsaBasicBlock() 323 return index; in getIndex() 421 newPred.successors.set(index) ; in insertNewPredecessor() 422 newPred.successorList.add(index); in insertNewPredecessor() 423 newPred.primarySuccessor = index; in insertNewPredecessor() 428 predecessors.set(newPred.index); in insertNewPredecessor() 436 predBlock.replaceSuccessor(index, newPred.index); in insertNewPredecessor() 456 if (!successors.get(other.index)) { in insertNewSuccessor() 462 newSucc.predecessors.set(this.index); in insertNewSuccessor() [all …]
|
/dalvik/dx/src/com/android/dx/io/ |
D | DexIndexPrinter.java | 47 int index = 0; in printStrings() local 49 System.out.println("string " + index + ": " + string); in printStrings() 50 index++; in printStrings() 55 int index = 0; in printTypeIds() local 57 System.out.println("type " + index + ": " + dexBuffer.strings().get(type)); in printTypeIds() 58 index++; in printTypeIds() 63 int index = 0; in printProtoIds() local 65 System.out.println("proto " + index + ": " + protoId); in printProtoIds() 66 index++; in printProtoIds() 71 int index = 0; in printFieldIds() local [all …]
|
D | DexBuffer.java | 56 @Override public String get(int index) { 57 checkBounds(index, tableOfContents.stringIds.size); 58 return open(tableOfContents.stringIds.off + (index * SizeOf.STRING_ID_ITEM)) 67 @Override public Integer get(int index) { 68 checkBounds(index, tableOfContents.typeIds.size); 69 return open(tableOfContents.typeIds.off + (index * SizeOf.TYPE_ID_ITEM)).readInt(); 77 @Override public String get(int index) { 78 checkBounds(index, tableOfContents.typeIds.size); 79 return strings.get(typeIds.get(index)); 87 @Override public ProtoId get(int index) { [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | LocalVariableList.java | 146 CstString descriptor, CstString signature, int index) { in set() argument 147 set0(n, new Item(startPc, length, name, descriptor, signature, index)); in set() 185 public Item pcAndIndexToLocal(int pc, int index) { in pcAndIndexToLocal() argument 191 if ((one != null) && one.matchesPcAndIndex(pc, index)) { in pcAndIndexToLocal() 219 private final int index; field in LocalVariableList.Item 236 CstString descriptor, CstString signature, int index) { in Item() argument 254 if (index < 0) { in Item() 263 this.index = index; in Item() 318 return index; in getIndex() 340 index); in withSignature() [all …]
|
/dalvik/vm/ |
D | IndirectRefTable.cpp | 158 u4 index = extractIndex(iref); in get() local 159 if (index >= topIndex) { in get() 162 indirectRefKindToString(kind_), iref, index, topIndex); in get() 167 Object* obj = table_[index].obj; in get() 176 if (serial != table_[index].serial) { in get() 225 u4 index; in remove() local 227 index = extractIndex(iref); in remove() 228 if (index < bottomIndex) { in remove() 231 index, bottomIndex, topIndex); in remove() 234 if (index >= topIndex) { in remove() [all …]
|
/dalvik/libdex/ |
D | DexClass.h | 138 u4 index = *lastIndex + readUnsignedLeb128(pData); in dexReadClassDataField() local 141 pField->fieldIdx = index; in dexReadClassDataField() 142 *lastIndex = index; in dexReadClassDataField() 154 u4 index = *lastIndex + readUnsignedLeb128(pData); in dexReadClassDataMethod() local 158 pMethod->methodIdx = index; in dexReadClassDataMethod() 159 *lastIndex = index; in dexReadClassDataMethod()
|
/dalvik/dx/src/com/android/dx/util/ |
D | ListIntSet.java | 39 int index = ints.binarysearch(value); in add() local 41 if (index < 0) { in add() 42 ints.insert(-(index + 1), value); in add() 48 int index = ints.indexOf(value); in remove() local 50 if (index >= 0) { in remove() 51 ints.removeIndex(index); in remove()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ListIntSet.java | 39 int index = ints.binarysearch(value); in add() local 41 if (index < 0) { in add() 42 ints.insert(-(index + 1), value); in add() 48 int index = ints.indexOf(value); in remove() local 50 if (index >= 0) { in remove() 51 ints.removeIndex(index); in remove()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 239 protected void visitAnnotationName(int index) { in visitAnnotationName() argument 240 Leb128Utils.writeUnsignedLeb128(out, adjustString(index)); in visitAnnotationName() 248 protected void visitString(int type, int index) { in visitString() argument 249 writeTypeAndSizeAndIndex(type, adjustString(index)); in visitString() 252 protected void visitType(int type, int index) { in visitType() argument 253 writeTypeAndSizeAndIndex(type, adjustType(index)); in visitType() 256 protected void visitField(int type, int index) { in visitField() argument 257 writeTypeAndSizeAndIndex(type, adjustField(index)); in visitField() 260 protected void visitMethod(int type, int index) { in visitMethod() argument 261 writeTypeAndSizeAndIndex(type, adjustMethod(index)); in visitMethod() [all …]
|
/dalvik/vm/mterp/armv5te/ |
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
|
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
|
D | OP_APUT_WIDE.S | 13 GET_VREG(r1, r3) @ r1<- vCC (requested index) 17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width 18 cmp r1, r3 @ compare unsigned index, length 21 b common_errArrayIndex @ index >= length, bail
|
D | OP_AGET_WIDE.S | 13 GET_VREG(r1, r3) @ r1<- vCC (requested index) 17 add r0, r0, r1, lsl #3 @ r0<- arrayObj + index*width 18 cmp r1, r3 @ compare unsigned index, length 20 b common_errArrayIndex @ index >= length, bail
|
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
|
/dalvik/vm/alloc/ |
D | HeapBitmapInlines.h | 31 const size_t index = HB_OFFSET_TO_INDEX(offset); in _heapBitmapModifyObjectBit() local 36 assert(index < hb->bitsLen / sizeof(*hb->bits)); in _heapBitmapModifyObjectBit() 42 unsigned long *p = hb->bits + index; in _heapBitmapModifyObjectBit() 47 hb->bits[index] |= mask; in _heapBitmapModifyObjectBit() 50 hb->bits[index] &= ~mask; in _heapBitmapModifyObjectBit()
|
/dalvik/vm/mterp/x86/ |
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
|
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
|
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
|
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/dx/src/com/android/dx/io/instructions/ |
D | ZeroRegisterDecodedInstruction.java | 29 int index, IndexType indexType, int target, long literal) { in ZeroRegisterDecodedInstruction() argument 30 super(format, opcode, index, indexType, target, literal); in ZeroRegisterDecodedInstruction()
|