/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...] |
H A D | CallSiteIdsSection.java | 62 int index = 0; 64 callSiteId.setIndex(index++);
|
H A D | MethodHandlesSection.java | 47 int index = 0; 49 item.setIndex(index++);
|
H A D | ValueEncoder.java | 166 int index = file.getProtoIds().indexOf(((CstProtoRef) cst).getPrototype()); 167 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); 171 int index = file.getMethodHandles().indexOf((CstMethodHandle) cst); 172 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); 176 int index = file.getStringIds().indexOf((CstString) cst); 177 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); 181 int index = file.getTypeIds().indexOf((CstType) cst); 182 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); 186 int index = file.getFieldIds().indexOf((CstFieldRef) cst); 187 EncodedValueCodec.writeUnsignedIntegralValue(out, type, (long) index); [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 | 34 * {@code >= -1;} the constant pool index for {@link #constant}, or 37 private int index; field in class:CstInsn 40 * {@code >= -1;} the constant pool index for the class reference in 47 * initially unknown ({@code -1}) as is the constant pool index. 65 this.index = -1; 75 if (index >= 0) { 76 result.setIndex(index); 92 if (index >= 0) { 93 result.setIndex(index); 113 * Gets the constant's index 143 setIndex(int index) argument 190 setClassIndex(int index) argument [all...] |
H A D | MultiCstInsn.java | 38 private final int[] index; field in class:MultiCstInsn 41 * {@code >= NOT_SET;} the constant pool index for the class reference in 48 * initially unknown ({@code -1}) as is the constant pool index. 66 this.index = new int[constants.length]; 67 for (int i = 0; i < this.index.length; ++i) { 71 this.index[i] = NOT_SET; 77 RegisterSpecList registers, Constant[] constants, int[] index, 81 this.index = index; 89 this.constants, this.index, thi 76 MultiCstInsn(Dop opcode, SourcePosition position, RegisterSpecList registers, Constant[] constants, int[] index, int classIndex) argument 152 setIndex(int position, int index) argument 201 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...] |
H A D | SsaBasicBlock.java | 53 /** {@code non-null;} predecessor set (by block list index) */ 56 /** {@code non-null;} successor set (by block list index) */ 66 * block list index of primary successor, or {@code -1} for no primary 77 /** our index into parent.getBlock() */ 78 private int index; field in class:SsaBasicBlock 116 * @param basicBlockIndex index this block will have 123 this.index = basicBlockIndex; 138 * @param basicBlockIndex index this block will have 319 * @return the block index of this block 322 return index; [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
|
H A D | FiveRegisterDecodedInstruction.java | 44 int index, IndexType indexType, int target, long literal, 46 super(format, opcode, index, indexType, target, literal); 43 FiveRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d, int e) argument
|
H A D | FourRegisterDecodedInstruction.java | 41 int index, IndexType indexType, int target, long literal, 43 super(format, opcode, index, indexType, target, literal); 40 FourRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d) argument
|
H A D | ThreeRegisterDecodedInstruction.java | 38 int index, IndexType indexType, int target, long literal, 40 super(format, opcode, index, indexType, target, literal); 37 ThreeRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c) 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);
|
H A D | LabeledList.java | 27 * Sparse array indexed by label to FixedSizeList index. 79 * Removes a label from the label-to-index mapping 87 * Adds a label and index to the label-to-index mapping 89 * @param index index of block. 91 protected void addLabelIndex(int label, int index) { argument 98 labelToIndex.set(label, index); 102 * Gets the index of the first item in the list with the given 106 * @return {@code >= -1;} the index o [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/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/dx/tests/118-find-usages/ |
H A D | Foo.java | 49 @Override public T get(int index) { argument
|
/dalvik/dx/src/com/android/dx/command/grep/ |
H A D | Grep.java | 68 private void encounterString(int index) { argument 69 if (stringIds.contains(index)) { 70 out.println(location() + " " + dex.strings().get(index));
|