/dalvik/dexgen/src/com/android/dexgen/util/ |
D | Bits.java | 58 public static boolean get(int[] bits, int idx) { in get() argument 59 int arrayIdx = idx >> 5; in get() 60 int bit = 1 << (idx & 0x1f); in get() 71 public static void set(int[] bits, int idx, boolean value) { in set() argument 72 int arrayIdx = idx >> 5; in set() 73 int bit = 1 << (idx & 0x1f); in set() 88 public static void set(int[] bits, int idx) { in set() argument 89 int arrayIdx = idx >> 5; in set() 90 int bit = 1 << (idx & 0x1f); in set() 100 public static void clear(int[] bits, int idx) { in clear() argument [all …]
|
D | BitIntSet.java | 102 private int idx = Bits.findFirst(bits, 0); in iterator() 106 return idx >= 0; in iterator() 115 int ret = idx; in iterator() 117 idx = Bits.findFirst(bits, idx+1); in iterator()
|
D | ListIntSet.java | 110 private int idx = 0; in iterator() 114 return idx < ints.size(); in iterator() 123 return ints.get(idx++); in iterator()
|
/dalvik/dx/src/com/android/dx/util/ |
D | Bits.java | 58 public static boolean get(int[] bits, int idx) { in get() argument 59 int arrayIdx = idx >> 5; in get() 60 int bit = 1 << (idx & 0x1f); in get() 71 public static void set(int[] bits, int idx, boolean value) { in set() argument 72 int arrayIdx = idx >> 5; in set() 73 int bit = 1 << (idx & 0x1f); in set() 88 public static void set(int[] bits, int idx) { in set() argument 89 int arrayIdx = idx >> 5; in set() 90 int bit = 1 << (idx & 0x1f); in set() 100 public static void clear(int[] bits, int idx) { in clear() argument [all …]
|
D | BitIntSet.java | 108 private int idx = Bits.findFirst(bits, 0); in iterator() 113 return idx >= 0; in iterator() 123 int ret = idx; in iterator() 125 idx = Bits.findFirst(bits, idx+1); in iterator()
|
D | ListIntSet.java | 116 private int idx = 0; in iterator() 121 return idx < ints.size(); in iterator() 131 return ints.get(idx++); in iterator()
|
/dalvik/opcode-gen/ |
D | opcode-gen.awk | 286 function defineOpcode(line, count, parts, idx) { 290 idx = parseHex(parts[1]); 291 if (idx < 0) return -1; 294 hex[idx] = parts[1]; 295 name[idx] = parts[2]; 296 format[idx] = parts[3]; 297 hasResult[idx] = (parts[4] == "n") ? "false" : "true"; 298 indexType[idx] = parts[5]; 299 flags[idx] = parts[6]; 303 constName[idx] = toupper(name[idx]); [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | OneLocalsArray.java | 111 public void set(int idx, TypeBearer type) { in set() argument 121 if (idx < 0) { in set() 127 locals[idx + 1] = null; in set() 130 locals[idx] = type; in set() 132 if (idx != 0) { in set() 133 TypeBearer prev = locals[idx - 1]; in set() 135 locals[idx - 1] = null; in set() 148 public void invalidate(int idx) { in invalidate() argument 150 locals[idx] = null; in invalidate() 155 public TypeBearer getOrNull(int idx) { in getOrNull() argument [all …]
|
D | LocalsArray.java | 85 public abstract void set(int idx, TypeBearer type); in set() argument 102 public abstract void invalidate(int idx); in invalidate() argument 111 public abstract TypeBearer getOrNull(int idx); in getOrNull() argument 123 public abstract TypeBearer get(int idx); in get() argument 136 public abstract TypeBearer getCategory1(int idx); in getCategory1() argument 148 public abstract TypeBearer getCategory2(int idx); in getCategory2() argument
|
D | BytecodeArray.java | 320 int idx = bytes.getUnsignedByte(offset + 1); in parseInstruction() local 321 Constant cst = pool.get(idx); in parseInstruction() 328 int idx = bytes.getUnsignedShort(offset + 1); in parseInstruction() local 329 Constant cst = pool.get(idx); in parseInstruction() 336 int idx = bytes.getUnsignedShort(offset + 1); in parseInstruction() local 337 Constant cst = pool.get(idx); in parseInstruction() 342 int idx = bytes.getUnsignedByte(offset + 1); in parseInstruction() local 343 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, in parseInstruction() 348 int idx = bytes.getUnsignedByte(offset + 1); in parseInstruction() local 349 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, in parseInstruction() [all …]
|
D | LocalsArraySet.java | 195 public void set(int idx, TypeBearer type) { in set() argument 198 primary.set(idx, type); in set() 202 la.set(idx, type); in set() 215 public void invalidate(int idx) { in invalidate() argument 218 primary.invalidate(idx); in invalidate() 222 la.invalidate(idx); in invalidate() 229 public TypeBearer getOrNull(int idx) { in getOrNull() argument 230 return primary.getOrNull(idx); in getOrNull() 235 public TypeBearer get(int idx) { in get() argument 236 return primary.get(idx); in get() [all …]
|
D | ByteBlockList.java | 55 int idx = indexOfLabel(label); in labelToBlock() local 57 if (idx < 0) { in labelToBlock() 62 return get(idx); in labelToBlock()
|
D | ExecutionStack.java | 85 String idx = (i == limit) ? "top0" : Hex.u2(limit - i); in annotate() local 87 ex.addContext("stack[" + idx + "]: " + in annotate() 284 int idx = stackPtr - n - 1; in change() local 285 TypeBearer orig = stack[idx]; in change() 294 stack[idx] = type; in change()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | ClassDefsSection.java | 132 int idx = 0; in orderItems() local 143 idx = orderItems0(type, idx, sz - idx); in orderItems() 157 private int orderItems0(Type type, int idx, int maxDepth) { in orderItems0() argument 161 return idx; in orderItems0() 173 idx = orderItems0(superclass, idx, maxDepth); in orderItems0() 179 idx = orderItems0(interfaces.getType(i), idx, maxDepth); in orderItems0() 182 c.setIndex(idx); in orderItems0() 184 return idx + 1; in orderItems0()
|
D | TypeIdItem.java | 61 int idx = file.getStringIds().indexOf(descriptor); in writeTo() local 65 out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); in writeTo() 68 out.writeInt(idx); in writeTo()
|
D | MemberIdsSection.java | 45 int idx = 0; in orderItems() local 52 ((MemberIdItem) i).setIndex(idx); in orderItems() 53 idx++; in orderItems()
|
D | ProtoIdsSection.java | 148 int idx = 0; in orderItems() local 151 ((ProtoIdItem) i).setIndex(idx); in orderItems() 152 idx++; in orderItems()
|
D | StringIdsSection.java | 174 int idx = 0; in orderItems() local 177 s.setIndex(idx); in orderItems() 178 idx++; in orderItems()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | ClassDefsSection.java | 133 int idx = 0; in orderItems() local 144 idx = orderItems0(type, idx, sz - idx); in orderItems() 158 private int orderItems0(Type type, int idx, int maxDepth) { in orderItems0() argument 162 return idx; in orderItems0() 174 idx = orderItems0(superclass, idx, maxDepth); in orderItems0() 180 idx = orderItems0(interfaces.getType(i), idx, maxDepth); in orderItems0() 183 c.setIndex(idx); in orderItems0() 185 return idx + 1; in orderItems0()
|
D | MemberIdsSection.java | 37 int idx = 0; in orderItems() local 40 ((MemberIdItem) i).setIndex(idx); in orderItems() 41 idx++; in orderItems()
|
D | TypeIdItem.java | 63 int idx = file.getStringIds().indexOf(descriptor); in writeTo() local 67 out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); in writeTo() 70 out.writeInt(idx); in writeTo()
|
D | ProtoIdsSection.java | 133 int idx = 0; in orderItems() local 136 ((ProtoIdItem) i).setIndex(idx); in orderItems() 137 idx++; in orderItems()
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | Main.java | 205 int idx; in parseArgs() local 207 for (idx = 0; idx < args.length; idx++) { in parseArgs() 208 String arg = args[idx]; in parseArgs() 230 int fileCount = args.length - idx; in parseArgs() 236 System.arraycopy(args, idx, mInputFileNames, 0, fileCount); in parseArgs()
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstInteger.java | 64 int idx = (value & 0x7fffffff) % cache.length; in make() local 65 CstInteger obj = cache[idx]; in make() 72 cache[idx] = obj; in make()
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstInteger.java | 64 int idx = (value & 0x7fffffff) % cache.length; in make() local 65 CstInteger obj = cache[idx]; in make() 72 cache[idx] = obj; in make()
|