Searched refs:idx (Results 26 - 50 of 57) sorted by relevance

123

/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DDexData.java322 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 DStdConstantPool.java131 * @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 DMachine.java111 * @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 DExecutionStack.java85 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 DBaseMachine.java209 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 DRopper.java568 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 DSimulator.java548 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 DByteOps.java563 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 DStdConstantPool.java140 * @param idx the bad cpi
144 private static Constant throwInvalid(int idx) { argument
146 Hex.u2(idx));
/dalvik/libdex/
H A DDexProto.cpp143 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 DDexSwapVerify.cpp1427 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 DStringIdsSection.java203 int idx = 0;
206 s.setIndex(idx);
207 idx++;
H A DTypeIdsSection.java185 int idx = 0;
188 ((TypeIdItem) i).setIndex(idx);
189 idx++;
H A DTypeListItem.java101 int idx = typeIds.indexOf(one);
103 " " + Hex.u2(idx) + " // " + one.toHuman());
H A DDebugInfoDecoder.java111 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 DStringIdsSection.java174 int idx = 0;
177 s.setIndex(idx);
178 idx++;
H A DTypeIdsSection.java191 int idx = 0;
194 ((TypeIdItem) i).setIndex(idx);
195 idx++;
H A DTypeListItem.java100 int idx = typeIds.indexOf(one);
102 " " + Hex.u2(idx) + " // " + one.toHuman());
H A DDebugInfoDecoder.java122 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 DConstantPoolParser.java247 * @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 DDexDump.cpp508 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 DDirectClassFile.java605 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 DStdAttributeFactory.java322 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 DBasicBlockList.java159 int idx = indexOfLabel(label);
161 if (idx < 0) {
166 return get(idx);
/dalvik/dx/src/com/android/dx/rop/code/
H A DBasicBlockList.java158 int idx = indexOfLabel(label);
160 if (idx < 0) {
165 return get(idx);

Completed in 1046 milliseconds

123