/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
H A D | StdConstantPool.java | 131 * @param idx the bad cpi 135 private static Constant throwInvalid(int idx) { argument 137 Hex.u2(idx));
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
H A D | StdConstantPool.java | 145 * @param idx the bad cpi 149 private static Constant throwInvalid(int idx) { argument 151 Hex.u2(idx));
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
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...] |
/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...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
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 | 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...] |
H A D | Machine.java | 111 * @param idx {@code >= 0;} the local variable index 113 public void localArg(Frame frame, int idx); argument 200 * @param idx {@code >= 0;} the local variable index 204 public void localTarget(int idx, Type type, LocalItem local); argument
|
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 | BaseMachine.java | 217 public final void localArg(Frame frame, int idx) { argument 219 args[0] = frame.getLocals().get(idx); 221 localIndex = idx; 276 public final void localTarget(int idx, Type type, LocalItem local) { argument 277 localTarget = RegisterSpec.makeLocalOptional(idx, type, local);
|
H A D | BasicBlocker.java | 102 * The "+1" below is so the idx-past-end is also valid, 194 int idx, Type type, int value) { 193 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
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 | Simulator.java | 584 int idx, Type type, int value) { 602 localVariables.pcAndIndexToLocal(localOffset, idx); 620 machine.localArg(frame, idx); 630 machine.localTarget(idx, localType, item); 636 machine.localArg(frame, idx); 637 machine.localTarget(idx, localType, item); 583 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
H A D | Ropper.java | 570 int idx = labelToResultIndex(label); 572 if (idx < 0) { 577 return result.get(idx); 613 int idx = labelToResultIndex(block.getLabel()); 616 if (idx < 0) { 626 removeBlockAndSpecialSuccessors(idx); 652 int idx = labelToResultIndex(block.getLabel()); 655 if (idx < 0) { 658 result.remove(idx); 659 resultSubroutines.remove(idx); 677 removeBlockAndSpecialSuccessors(int idx) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/cst/ |
H A D | ConstantPoolParser.java | 256 * @param idx which constant 259 private Constant parse0(int idx, BitSet wasUtf8) { argument 260 Constant cst = pool.getOrNull(idx); 265 int at = offsets[idx]; 272 wasUtf8.set(idx); 392 ex.addContext("...while parsing cst " + Hex.u2(idx) + 397 pe.addContext("...while parsing cst " + Hex.u2(idx) + 402 pool.set(idx, cst);
|
/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...] |
/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...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | CodeObserver.java | 79 int idx, Type type, int value) { 80 String idxStr = (length <= 3) ? Hex.u1(idx) : Hex.u2(idx); 78 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
/dalvik/libdex/ |
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...] |
H A D | DexProto.cpp | 143 u4 idx = dexTypeListGetIdx(typeList, i); local 144 length += strlen(dexStringByTypeIdx(dexFile, idx)); 155 u4 idx = dexTypeListGetIdx(typeList, i); local 156 const char* desc = dexStringByTypeIdx(dexFile, idx); 504 u4 idx = dexTypeListGetIdx(pIterator->parameters, cursor); local 506 return idx; 516 u4 idx = dexParameterIteratorNextIndex(pIterator); local 518 if (idx == kDexNoIndex) { 522 return dexStringByTypeIdx(pIterator->proto->dexFile, idx);
|
H A D | DexSwapVerify.cpp | 1490 u4 idx = annotationItemTypeIdx(annotation); local 1494 } else if (lastIdx >= idx) { 1496 lastIdx, idx); 1500 lastIdx = idx; 2098 u4 idx; local 2105 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); 2107 if (idx != 0) { 2108 idx--; 2109 CHECK_INDEX(idx, state->pHeader->stringIdsSize); 2111 idx 2130 u4 idx; local 2158 u4 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); local 2281 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2290 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2299 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2308 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2318 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2327 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2378 u4 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); local [all...] |
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...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | DexData.java | 325 private String classNameFromTypeIndex(int idx) { argument 326 return mStrings[mTypeIds[idx].descriptorIdx]; 333 private String[] argArrayFromProtoIndex(int idx) { argument 334 ProtoIdItem protoId = mProtoIds[idx]; 348 private String returnTypeFromProtoIndex(int idx) { argument 349 ProtoIdItem protoId = mProtoIds[idx]; 379 int idx = 0; 382 classRefs[idx++] = sparseRefs[i]; 385 assert idx == count; 510 int idx; [all...] |
/dalvik/dexdump/ |
H A D | DexDump.cpp | 516 void dumpClassDef(DexFile* pDexFile, int idx) argument 522 pClassDef = dexGetClassDef(pDexFile, idx); 531 printf("Class #%d header:\n", idx); 1244 "GLITCH: zero-width instruction at idx=0x%04x\n", insnIdx); 1491 * Note "idx" is a DexClassDef index, not a DexTypeId index. 1496 void dumpClass(DexFile* pDexFile, int idx, char** pLastPackage) argument 1508 pClassDef = dexGetClassDef(pDexFile, idx); 1520 printf("Trouble reading class data (#%d)\n", idx); 1581 printf("Class #%d -\n", idx); 1710 void dumpMethodMap(DexFile* pDexFile, const DexMethod* pDexMethod, int idx, argument 1746 int idx, addr, byte; local 1786 int idx; local 2053 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local 2063 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local 2069 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local 2075 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local [all...] |
/dalvik/dx/etc/ |
H A D | jasmin.jar | ... .CodeAttr ce
java.io.DataOutputStream out
int idx
}
jas/CatchEntry.class CatchEntry.java package jas public ... |