/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | DexData.java | 322 private String classNameFromTypeIndex(int idx) { argument 323 return mStrings[mTypeIds[idx].descriptorIdx]; 330 private String[] argArrayFromProtoIndex(int idx) { argument 331 ProtoIdItem protoId = mProtoIds[idx]; 345 private String returnTypeFromProtoIndex(int idx) { argument 346 ProtoIdItem protoId = mProtoIds[idx]; 376 int idx = 0; 379 classRefs[idx++] = sparseRefs[i]; 382 assert idx == count; 507 int idx; [all...] |
/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/cf/code/ |
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 | ExecutionStack.java | 85 String idx = (i == limit) ? "top0" : Hex.u2(limit - i); 87 ex.addContext("stack[" + idx + "]: " + 284 int idx = stackPtr - n - 1; 285 TypeBearer orig = stack[idx]; 294 stack[idx] = type;
|
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 | Ropper.java | 568 int idx = labelToResultIndex(label); 570 if (idx < 0) { 575 return result.get(idx); 611 int idx = labelToResultIndex(block.getLabel()); 614 if (idx < 0) { 624 removeBlockAndSpecialSuccessors(idx); 650 int idx = labelToResultIndex(block.getLabel()); 653 if (idx < 0) { 656 result.remove(idx); 657 resultSubroutines.remove(idx); 675 removeBlockAndSpecialSuccessors(int idx) argument [all...] |
H A D | Simulator.java | 548 int idx, Type type, int value) { 566 localVariables.pcAndIndexToLocal(localOffset, idx); 583 machine.localArg(frame, idx); 593 machine.localTarget(idx, localType, item); 599 machine.localArg(frame, idx); 600 machine.localTarget(idx, localType, item); 547 visitLocal(int opcode, int offset, int length, int idx, Type type, int value) argument
|
H A D | ByteOps.java | 563 int idx = (Character.digit(s.charAt(i), 16) << 4) | 611 OPCODE_INFO[idx] = info; 612 OPCODE_NAMES[idx] = s.substring(i, endAt);
|
/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/libdex/ |
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 | 1427 u4 idx = annotationItemTypeIdx(annotation); local 1431 } else if (lastIdx >= idx) { 1433 lastIdx, idx); 1437 lastIdx = idx; 2032 u4 idx; local 2039 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); 2041 if (idx != 0) { 2042 idx--; 2043 CHECK_INDEX(idx, state->pHeader->stringIdsSize); 2045 idx 2064 u4 idx; local 2092 u4 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); local 2208 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2217 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2227 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2236 u4 idx = readUnsignedLittleEndian(state, &data, valueArg + 1); local 2287 u4 idx = readAndVerifyUnsignedLeb128(&data, fileEnd, &okay); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | StringIdsSection.java | 203 int idx = 0; 206 s.setIndex(idx); 207 idx++;
|
H A D | TypeIdsSection.java | 185 int idx = 0; 188 ((TypeIdItem) i).setIndex(idx); 189 idx++;
|
H A D | TypeListItem.java | 101 int idx = typeIds.indexOf(one); 103 " " + Hex.u2(idx) + " // " + one.toHuman());
|
H A D | DebugInfoDecoder.java | 111 int idx = -1; 114 idx = file.getStringIds().indexOf(new CstUtf8("this")); 123 thisStringIdx = idx; 274 // TODO: Final 0 should be idx of paramType.getDescriptor(). 502 int idx = entry.nameIndex; 504 if ((idx < 0) || (idx == thisStringIdx)) {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | StringIdsSection.java | 174 int idx = 0; 177 s.setIndex(idx); 178 idx++;
|
H A D | TypeIdsSection.java | 191 int idx = 0; 194 ((TypeIdItem) i).setIndex(idx); 195 idx++;
|
H A D | TypeListItem.java | 100 int idx = typeIds.indexOf(one); 102 " " + Hex.u2(idx) + " // " + one.toHuman());
|
H A D | DebugInfoDecoder.java | 122 int idx = -1; 125 idx = file.getStringIds().indexOf(new CstString("this")); 134 thisStringIdx = idx; 284 // TODO: Final 0 should be idx of paramType.getDescriptor(). 506 int idx = entry.nameIndex; 508 if ((idx < 0) || (idx == thisStringIdx)) {
|
/dalvik/dx/src/com/android/dx/cf/cst/ |
H A D | ConstantPoolParser.java | 247 * @param idx which constant 250 private Constant parse0(int idx, BitSet wasUtf8) { argument 251 Constant cst = pool.getOrNull(idx); 256 int at = offsets[idx]; 263 wasUtf8.set(idx); 343 ex.addContext("...while parsing cst " + Hex.u2(idx) + 348 pe.addContext("...while parsing cst " + Hex.u2(idx) + 353 pool.set(idx, cst);
|
/dalvik/dexdump/ |
H A D | DexDump.cpp | 508 void dumpClassDef(DexFile* pDexFile, int idx) argument 514 pClassDef = dexGetClassDef(pDexFile, idx); 523 printf("Class #%d header:\n", idx); 1108 "GLITCH: zero-width instruction at idx=0x%04x\n", insnIdx); 1355 * Note "idx" is a DexClassDef index, not a DexTypeId index. 1360 void dumpClass(DexFile* pDexFile, int idx, char** pLastPackage) argument 1372 pClassDef = dexGetClassDef(pDexFile, idx); 1384 printf("Trouble reading class data (#%d)\n", idx); 1445 printf("Class #%d -\n", idx); 1583 void dumpMethodMap(DexFile* pDexFile, const DexMethod* pDexMethod, int idx, argument 1619 int idx, addr, byte; local 1659 int idx; local [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | DirectClassFile.java | 605 int idx = bytes.getUnsignedShort(offset); 608 type = (CstType) pool.get(idx); 637 int idx = bytes.getUnsignedShort(n * 2); 638 return ((CstType) pool.get(idx)).getClassType();
|
H A D | StdAttributeFactory.java | 322 int idx = bytes.getUnsignedShort(offset); 323 TypedConstant cst = (TypedConstant) pool.get(idx); 357 int idx = bytes.getUnsignedShort(offset); 358 CstType type = (CstType) pool.get(idx); 360 idx = bytes.getUnsignedShort(offset + 2); 361 CstNat method = (CstNat) pool.get0Ok(idx); 683 int idx = bytes.getUnsignedShort(offset); 684 CstString cst = (CstString) pool.get(idx); 705 int idx = bytes.getUnsignedShort(offset); 706 CstString cst = (CstString) pool.get(idx); [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
H A D | BasicBlockList.java | 159 int idx = indexOfLabel(label); 161 if (idx < 0) { 166 return get(idx);
|
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | BasicBlockList.java | 158 int idx = indexOfLabel(label); 160 if (idx < 0) { 165 return get(idx);
|