/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 | 108 private int idx = Bits.findFirst(bits, 0); 113 return idx >= 0; 123 int ret = idx; 125 idx = Bits.findFirst(bits, idx+1);
|
H A D | ListIntSet.java | 116 private int idx = 0; 121 return idx < ints.size(); 131 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 | 111 public void set(int idx, TypeBearer type) { argument 121 if (idx < 0) { 122 throw new IndexOutOfBoundsException("idx < 0"); 127 locals[idx + 1] = null; 130 locals[idx] = type; 132 if (idx != 0) { 133 TypeBearer prev = locals[idx - 1]; 135 locals[idx - 1] = null; 148 public void invalidate(int idx) { argument 150 locals[idx] 155 getOrNull(int idx) argument 161 get(int idx) argument 173 getCategory1(int idx) argument 190 getCategory2(int idx) argument 254 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, 1205 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1313 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1391 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument [all...] |
H A D | LocalsArraySet.java | 195 public void set(int idx, TypeBearer type) { argument 198 primary.set(idx, type); 202 la.set(idx, type); 215 public void invalidate(int idx) { argument 218 primary.invalidate(idx); 222 la.invalidate(idx); 229 public TypeBearer getOrNull(int idx) { argument 230 return primary.getOrNull(idx); 235 public TypeBearer get(int idx) { argument 236 return primary.get(idx); 241 getCategory1(int idx) argument 247 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 | MemberIdsSection.java | 45 int idx = 0; 52 ((MemberIdItem) i).setIndex(idx); 53 idx++;
|
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 | ProtoIdsSection.java | 148 int idx = 0; 151 ((ProtoIdItem) i).setIndex(idx); 152 idx++;
|
/dalvik/libdex/ |
H A D | DexFile.h | 712 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { argument 713 assert(idx < pDexFile->pHeader->stringIdsSize); 714 return &pDexFile->pStringIds[idx]; 717 DEX_INLINE const char* dexStringById(const DexFile* pDexFile, u4 idx) { argument 718 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 724 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 728 DEX_INLINE const DexTypeId* dexGetTypeId(const DexFile* pDexFile, u4 idx) { argument 729 assert(idx < pDexFile->pHeader->typeIdsSize); 730 return &pDexFile->pTypeIds[idx]; 737 DEX_INLINE const char* dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) { argument 743 dexGetMethodId(const DexFile* pDexFile, u4 idx) argument 749 dexGetFieldId(const DexFile* pDexFile, u4 idx) argument 755 dexGetProtoId(const DexFile* pDexFile, u4 idx) argument 774 dexGetClassDef(const DexFile* pDexFile, u4 idx) argument 798 dexGetTypeItem(const DexTypeList* pList, u4 idx) argument 805 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) argument 1018 dexGetParameterAnnotationSetRef( const DexAnnotationSetRefList* pList, u4 idx) argument 1033 dexGetAnnotationOff( const DexAnnotationSetItem* pAnnoSet, u4 idx) argument 1041 dexGetAnnotationItem( const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx) argument [all...] |
H A D | DexFile.cpp | 104 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, argument 106 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 183 int idx = hash & mask; local 190 while (pLookup->table[idx].classDescriptorOffset != 0) { 191 idx = (idx + 1) & mask; 197 pLookup->table[idx].classDescriptorHash = hash; 198 pLookup->table[idx].classDescriptorOffset = stringOff; 199 pLookup->table[idx].classDefOffset = classDefOff; 443 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 | 205 int idx; 207 for (idx = 0; idx < args.length; idx++) { 208 String arg = args[idx]; 230 int fileCount = args.length - idx; 236 System.arraycopy(args, idx, mInputFileNames, 0, fileCount);
|