/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 | 140 * @param idx the bad cpi 144 private static Constant throwInvalid(int idx) { argument 146 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 | 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...] |
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 | 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 | BaseMachine.java | 209 public final void localArg(Frame frame, int idx) { argument 211 args[0] = frame.getLocals().get(idx); 213 localIndex = idx; 260 public final void localTarget(int idx, Type type, LocalItem local) { argument 261 localTarget = RegisterSpec.makeLocalOptional(idx, type, local);
|
H A D | BasicBlocker.java | 100 * The "+1" below is so the idx-past-end is also valid, 189 int idx, Type type, int value) { 188 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
H A D | BytecodeArray.java | 321 int idx = bytes.getUnsignedByte(offset + 1); 322 Constant cst = pool.get(idx); 329 int idx = bytes.getUnsignedShort(offset + 1); 330 Constant cst = pool.get(idx); 337 int idx = bytes.getUnsignedShort(offset + 1); 338 Constant cst = pool.get(idx); 343 int idx = bytes.getUnsignedByte(offset + 1); 344 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 349 int idx = bytes.getUnsignedByte(offset + 1); 350 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 1206 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1311 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument 1383 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument [all...] |
H A D | Simulator.java | 568 int idx, Type type, int value) { 586 localVariables.pcAndIndexToLocal(localOffset, idx); 604 machine.localArg(frame, idx); 614 machine.localTarget(idx, localType, item); 620 machine.localArg(frame, idx); 621 machine.localTarget(idx, localType, item); 567 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
H A D | Ropper.java | 571 int idx = labelToResultIndex(label); 573 if (idx < 0) { 578 return result.get(idx); 614 int idx = labelToResultIndex(block.getLabel()); 617 if (idx < 0) { 627 removeBlockAndSpecialSuccessors(idx); 653 int idx = labelToResultIndex(block.getLabel()); 656 if (idx < 0) { 659 result.remove(idx); 660 resultSubroutines.remove(idx); 678 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 | 76 int idx, Type type, int value) { 77 String idxStr = (length <= 3) ? Hex.u1(idx) : Hex.u2(idx); 75 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
/dalvik/libdex/ |
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...] |
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 | 707 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { argument 708 assert(idx < pDexFile->pHeader->stringIdsSize); 709 return &pDexFile->pStringIds[idx]; 712 DEX_INLINE const char* dexStringById(const DexFile* pDexFile, u4 idx) { argument 713 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 719 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 723 DEX_INLINE const DexTypeId* dexGetTypeId(const DexFile* pDexFile, u4 idx) { argument 724 assert(idx < pDexFile->pHeader->typeIdsSize); 725 return &pDexFile->pTypeIds[idx]; 732 DEX_INLINE const char* dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) { argument 738 dexGetMethodId(const DexFile* pDexFile, u4 idx) argument 744 dexGetFieldId(const DexFile* pDexFile, u4 idx) argument 750 dexGetProtoId(const DexFile* pDexFile, u4 idx) argument 769 dexGetClassDef(const DexFile* pDexFile, u4 idx) argument 793 dexGetTypeItem(const DexTypeList* pList, u4 idx) argument 800 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) argument 1013 dexGetParameterAnnotationSetRef( const DexAnnotationSetRefList* pList, u4 idx) argument 1028 dexGetAnnotationOff( const DexAnnotationSetItem* pAnnoSet, u4 idx) argument 1036 dexGetAnnotationItem( const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx) argument [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | DexData.java | 324 private String classNameFromTypeIndex(int idx) { argument 325 return mStrings[mTypeIds[idx].descriptorIdx]; 332 private String[] argArrayFromProtoIndex(int idx) { argument 333 ProtoIdItem protoId = mProtoIds[idx]; 347 private String returnTypeFromProtoIndex(int idx) { argument 348 ProtoIdItem protoId = mProtoIds[idx]; 378 int idx = 0; 381 classRefs[idx++] = sparseRefs[i]; 384 assert idx == count; 509 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); 1225 "GLITCH: zero-width instruction at idx=0x%04x\n", insnIdx); 1472 * Note "idx" is a DexClassDef index, not a DexTypeId index. 1477 void dumpClass(DexFile* pDexFile, int idx, char** pLastPackage) argument 1489 pClassDef = dexGetClassDef(pDexFile, idx); 1501 printf("Trouble reading class data (#%d)\n", idx); 1562 printf("Class #%d -\n", idx); 1700 void dumpMethodMap(DexFile* pDexFile, const DexMethod* pDexMethod, int idx, argument 1736 int idx, addr, byte; local 1776 int idx; local 2044 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local 2054 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local 2060 u4 idx = (u4) readUnsignedLittleEndian(&data, valueArg + 1); local 2066 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 ... |