/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | MemberIdsSection.java | 37 int idx = 0; 40 ((MemberIdItem) i).setIndex(idx); 41 idx++;
|
H A D | ClassDefsSection.java | 133 int idx = 0; 144 idx = orderItems0(type, idx, sz - idx); 153 * @param idx {@code >= 0;} the next index to assign 158 private int orderItems0(Type type, int idx, int maxDepth) { argument 162 return idx; 174 idx = orderItems0(superclass, idx, maxDepth); 180 idx [all...] |
H A D | TypeIdItem.java | 63 int idx = file.getStringIds().indexOf(descriptor); 67 out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); 70 out.writeInt(idx);
|
H A D | ProtoIdsSection.java | 133 int idx = 0; 136 ((ProtoIdItem) i).setIndex(idx); 137 idx++;
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | Bits.java | 55 * @param idx {@code >= 0, < getMax(set);} which bit 58 public static boolean get(int[] bits, int idx) { argument 59 int arrayIdx = idx >> 5; 60 int bit = 1 << (idx & 0x1f); 68 * @param idx {@code >= 0, < getMax(set);} which bit 71 public static void set(int[] bits, int idx, boolean value) { argument 72 int arrayIdx = idx >> 5; 73 int bit = 1 << (idx & 0x1f); 86 * @param idx {@code >= 0, < getMax(set);} which bit 88 public static void set(int[] bits, int idx) { argument 100 clear(int[] bits, int idx) argument 166 findFirst(int[] bits, int idx) argument 193 findFirst(int value, int idx) argument [all...] |
H A D | BitIntSet.java | 102 private int idx = Bits.findFirst(bits, 0); 106 return idx >= 0; 115 int ret = idx; 117 idx = Bits.findFirst(bits, idx+1);
|
H A D | ListIntSet.java | 110 private int idx = 0; 114 return idx < ints.size(); 123 return ints.get(idx++);
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | Bits.java | 55 * @param idx {@code >= 0, < getMax(set);} which bit 58 public static boolean get(int[] bits, int idx) { argument 59 int arrayIdx = idx >> 5; 60 int bit = 1 << (idx & 0x1f); 68 * @param idx {@code >= 0, < getMax(set);} which bit 71 public static void set(int[] bits, int idx, boolean value) { argument 72 int arrayIdx = idx >> 5; 73 int bit = 1 << (idx & 0x1f); 86 * @param idx {@code >= 0, < getMax(set);} which bit 88 public static void set(int[] bits, int idx) { argument 100 clear(int[] bits, int idx) argument 166 findFirst(int[] bits, int idx) argument 193 findFirst(int value, int idx) argument [all...] |
H A D | BitIntSet.java | 102 private int idx = Bits.findFirst(bits, 0); 106 return idx >= 0; 115 int ret = idx; 117 idx = Bits.findFirst(bits, idx+1);
|
H A D | ListIntSet.java | 110 private int idx = 0; 114 return idx < ints.size(); 123 return ints.get(idx++);
|
/dalvik/opcode-gen/ |
H A D | opcode-gen.awk | 286 function defineOpcode(line, count, parts, idx) { 287 # locals: 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] [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | OneLocalsArray.java | 105 public void set(int idx, TypeBearer type) { argument 115 if (idx < 0) { 116 throw new IndexOutOfBoundsException("idx < 0"); 121 locals[idx + 1] = null; 124 locals[idx] = type; 126 if (idx != 0) { 127 TypeBearer prev = locals[idx - 1]; 129 locals[idx - 1] = null; 140 public void invalidate(int idx) { argument 142 locals[idx] 146 getOrNull(int idx) argument 151 get(int idx) argument 162 getCategory1(int idx) argument 178 getCategory2(int idx) argument 242 throwSimException(int idx, String msg) argument [all...] |
H A D | ByteBlockList.java | 55 int idx = indexOfLabel(label); 57 if (idx < 0) { 62 return get(idx);
|
H A D | LocalsArray.java | 82 * @param idx {@code >= 0, < getMaxLocals();} which local 83 * @param type {@code non-null;} new type for the local at {@code idx} 85 public abstract void set(int idx, TypeBearer type); argument 100 * @param idx {@code >= 0, < getMaxLocals();} which local 102 public abstract void invalidate(int idx); argument 108 * @param idx {@code >= 0, < getMaxLocals();} which local 111 public abstract TypeBearer getOrNull(int idx); argument 118 * @param idx {@code >= 0, < getMaxLocals();} which local 120 * @throws SimException thrown if {@code idx} is valid, but 123 public abstract TypeBearer get(int idx); argument 136 getCategory1(int idx) argument 148 getCategory2(int idx) argument [all...] |
H A D | BytecodeArray.java | 320 int idx = bytes.getUnsignedByte(offset + 1); 321 Constant cst = pool.get(idx); 328 int idx = bytes.getUnsignedShort(offset + 1); 329 Constant cst = pool.get(idx); 336 int idx = bytes.getUnsignedShort(offset + 1); 337 Constant cst = pool.get(idx); 342 int idx = bytes.getUnsignedByte(offset + 1); 343 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 348 int idx = bytes.getUnsignedByte(offset + 1); 349 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 1201 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1306 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1378 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument [all...] |
H A D | LocalsArraySet.java | 194 public void set(int idx, TypeBearer type) { argument 197 primary.set(idx, type); 201 la.set(idx, type); 214 public void invalidate(int idx) { argument 217 primary.invalidate(idx); 221 la.invalidate(idx); 228 public TypeBearer getOrNull(int idx) { argument 229 return primary.getOrNull(idx); 234 public TypeBearer get(int idx) { argument 235 return primary.get(idx); 240 getCategory1(int idx) argument 246 getCategory2(int idx) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | ClassDefsSection.java | 132 int idx = 0; 143 idx = orderItems0(type, idx, sz - idx); 152 * @param idx {@code >= 0;} the next index to assign 157 private int orderItems0(Type type, int idx, int maxDepth) { argument 161 return idx; 173 idx = orderItems0(superclass, idx, maxDepth); 179 idx [all...] |
H A D | TypeIdItem.java | 61 int idx = file.getStringIds().indexOf(descriptor); 65 out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); 68 out.writeInt(idx);
|
H A D | MemberIdsSection.java | 48 int idx = 0; 55 ((MemberIdItem) i).setIndex(idx); 56 idx++;
|
H A D | ProtoIdsSection.java | 132 int idx = 0; 135 ((ProtoIdItem) i).setIndex(idx); 136 idx++;
|
/dalvik/libdex/ |
H A D | DexFile.h | 624 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { argument 625 assert(idx < pDexFile->pHeader->stringIdsSize); 626 return &pDexFile->pStringIds[idx]; 629 DEX_INLINE const char* dexStringById(const DexFile* pDexFile, u4 idx) { argument 630 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 636 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 640 DEX_INLINE const DexTypeId* dexGetTypeId(const DexFile* pDexFile, u4 idx) { argument 641 assert(idx < pDexFile->pHeader->typeIdsSize); 642 return &pDexFile->pTypeIds[idx]; 649 DEX_INLINE const char* dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) { argument 655 dexGetMethodId(const DexFile* pDexFile, u4 idx) argument 661 dexGetFieldId(const DexFile* pDexFile, u4 idx) argument 667 dexGetProtoId(const DexFile* pDexFile, u4 idx) argument 686 dexGetClassDef(const DexFile* pDexFile, u4 idx) argument 710 dexGetTypeItem(const DexTypeList* pList, u4 idx) argument 717 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) argument 930 dexGetParameterAnnotationSetRef( const DexAnnotationSetRefList* pList, u4 idx) argument 945 dexGetAnnotationOff( const DexAnnotationSetItem* pAnnoSet, u4 idx) argument 953 dexGetAnnotationItem( const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx) argument [all...] |
H A D | DexFile.cpp | 105 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, argument 107 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 186 int idx = hash & mask; local 193 while (pLookup->table[idx].classDescriptorOffset != 0) { 194 idx = (idx + 1) & mask; 200 pLookup->table[idx].classDescriptorHash = hash; 201 pLookup->table[idx].classDescriptorOffset = stringOff; 202 pLookup->table[idx].classDefOffset = classDefOff; 446 int idx, mas local [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
H A D | CstInteger.java | 64 int idx = (value & 0x7fffffff) % cache.length; 65 CstInteger obj = cache[idx]; 72 cache[idx] = obj;
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | CstInteger.java | 64 int idx = (value & 0x7fffffff) % cache.length; 65 CstInteger obj = cache[idx]; 72 cache[idx] = obj;
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | Main.java | 185 int idx; 187 for (idx = 0; idx < args.length; idx++) { 188 String arg = args[idx]; 210 int fileCount = args.length - idx; 216 System.arraycopy(args, idx, mInputFileNames, 0, fileCount);
|