Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 21 of 21) sorted by relevance

/dalvik/dx/src/com/android/dx/command/dump/
DMain.java49 String arg = args[at]; in run() local
50 if (arg.equals("--") || !arg.startsWith("--")) { in run()
52 } else if (arg.equals("--bytes")) { in run()
54 } else if (arg.equals("--basic-blocks")) { in run()
56 } else if (arg.equals("--rop-blocks")) { in run()
58 } else if (arg.equals("--optimize")) { in run()
60 } else if (arg.equals("--ssa-blocks")) { in run()
62 } else if (arg.startsWith("--ssa-step=")) { in run()
63 parsedArgs.ssaStep = arg.substring(arg.indexOf('=') + 1); in run()
64 } else if (arg.equals("--debug")) { in run()
[all …]
/dalvik/dx/src/com/android/dex/
DEncodedValueReader.java50 private int arg; field in EncodedValueReader
82 arg = (argAndType & 0xe0) >> 5; in peek()
139 return (byte) EncodedValueCodec.readSignedInt(in, arg); in readByte()
145 return (short) EncodedValueCodec.readSignedInt(in, arg); in readShort()
151 return (char) EncodedValueCodec.readUnsignedInt(in, arg, false); in readChar()
157 return EncodedValueCodec.readSignedInt(in, arg); in readInt()
163 return EncodedValueCodec.readSignedLong(in, arg); in readLong()
169 return Float.intBitsToFloat(EncodedValueCodec.readUnsignedInt(in, arg, true)); in readFloat()
175 return Double.longBitsToDouble(EncodedValueCodec.readUnsignedLong(in, arg, true)); in readDouble()
181 return EncodedValueCodec.readUnsignedInt(in, arg, false); in readMethodType()
[all …]
/dalvik/dx/src/com/android/dx/command/annotool/
DMain.java64 String arg = argArray[i]; in parse() local
66 if (arg.startsWith("--annotation=")) { in parse()
67 String argParam = arg.substring(arg.indexOf('=') + 1); in parse()
73 } else if (arg.startsWith("--element=")) { in parse()
74 String argParam = arg.substring(arg.indexOf('=') + 1); in parse()
84 } else if (arg.startsWith("--print=")) { in parse()
85 String argParam = arg.substring(arg.indexOf('=') + 1); in parse()
/dalvik/dx/src/com/android/dx/command/
DMain.java86 String arg = args[i]; in main() local
87 if (arg.equals("--") || !arg.startsWith("--")) { in main()
94 if (arg.equals("--dex")) { in main()
97 } else if (arg.equals("--dump")) { in main()
100 } else if (arg.equals("--annotool")) { in main()
104 } else if (arg.equals("--find-usages")) { in main()
107 } else if (arg.equals("--version")) { in main()
110 } else if (arg.equals("--help")) { in main()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMain.java208 String arg = args[idx]; in parseArgs() local
210 if (arg.equals("--") || !arg.startsWith("--")) { in parseArgs()
212 } else if (arg.startsWith("--format=")) { in parseArgs()
213 mOutputFormat = arg.substring(arg.indexOf('=') + 1); in parseArgs()
221 } else if (arg.equals("--just-classes")) { in parseArgs()
224 System.err.println("Unknown option '" + arg + "'"); in parseArgs()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DInsnFormat.java47 String arg = insnArgString(insn); in listingString() local
53 if (arg.length() != 0) { in listingString()
55 sb.append(arg); in listingString()
387 int arg = ((CstInteger) ((CstInsn) insn).getConstant()).getValue(); in argIndex() local
389 if (arg < 0) { in argIndex()
393 return arg; in argIndex()
404 protected static short opcodeUnit(DalvInsn insn, int arg) { in opcodeUnit() argument
405 if ((arg & 0xff) != arg) { in opcodeUnit()
415 return (short) (opcode | (arg << 8)); in opcodeUnit()
/dalvik/dx/src/com/android/dx/dex/code/
DInsnFormat.java55 String arg = insnArgString(insn); in listingString() local
61 if (arg.length() != 0) { in listingString()
63 sb.append(arg); in listingString()
421 int arg = ((CstInteger) ((CstInsn) insn).getConstant()).getValue(); in argIndex() local
423 if (arg < 0) { in argIndex()
427 return arg; in argIndex()
438 protected static short opcodeUnit(DalvInsn insn, int arg) { in opcodeUnit() argument
439 if ((arg & 0xff) != arg) { in opcodeUnit()
449 return (short) (opcode | (arg << 8)); in opcodeUnit()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDebugInfoEncoder.java395 for (LocalList.Entry arg : methodArgs) { in emitHeader()
396 if (curParam == arg.getRegister()) { in emitHeader()
397 lastEntryForReg[curParam] = arg; in emitHeader()
423 for (LocalList.Entry arg : methodArgs) { in emitHeader()
424 if (curParam == arg.getRegister()) { in emitHeader()
425 found = arg; in emitHeader()
427 if (arg.getSignature() != null) { in emitHeader()
434 emitStringIndex(arg.getName()); in emitHeader()
436 lastEntryForReg[curParam] = arg; in emitHeader()
468 for (LocalList.Entry arg : lastEntryForReg) { in emitHeader()
[all …]
DValueEncoder.java130 int arg; in writeConstant() local
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoEncoder.java403 for (LocalList.Entry arg : methodArgs) { in emitHeader()
404 if (curParam == arg.getRegister()) { in emitHeader()
405 lastEntryForReg[curParam] = arg; in emitHeader()
431 for (LocalList.Entry arg : methodArgs) { in emitHeader()
432 if (curParam == arg.getRegister()) { in emitHeader()
433 found = arg; in emitHeader()
435 if (arg.getSignature() != null) { in emitHeader()
442 emitStringIndex(arg.getName()); in emitHeader()
444 lastEntryForReg[curParam] = arg; in emitHeader()
476 for (LocalList.Entry arg : lastEntryForReg) { in emitHeader()
[all …]
DValueEncoder.java137 int arg; in writeConstant() local
/dalvik/libdex/
DInstrUtils.cpp621 pDec->arg[4] = INST_A(inst); in dexDecodeInstruction()
624 case 4: pDec->arg[3] = (regList >> 12) & 0x0f; FALLTHROUGH_INTENDED; in dexDecodeInstruction()
625 case 3: pDec->arg[2] = (regList >> 8) & 0x0f; FALLTHROUGH_INTENDED; in dexDecodeInstruction()
626 case 2: pDec->arg[1] = (regList >> 4) & 0x0f; FALLTHROUGH_INTENDED; in dexDecodeInstruction()
627 case 1: pDec->vC = pDec->arg[0] = regList & 0x0f; break; in dexDecodeInstruction()
653 pDec->arg[0] = (fedc >> 4) & 0xf; // vD in dexDecodeInstruction()
654 pDec->arg[1] = (fedc >> 8) & 0xf; // vE in dexDecodeInstruction()
655 pDec->arg[2] = (fedc >> 12); // vF in dexDecodeInstruction()
656 pDec->arg[3] = INST_A(inst); // vG in dexDecodeInstruction()
657 pDec->arg[4] = FETCH(3); // vH proto@HHHH in dexDecodeInstruction()
[all …]
DInstrUtils.h140 u4 arg[5]; /* vC/D/E/F/G in invoke or filled-new-array */ member
/dalvik/dx/src/com/android/dx/cf/code/
DValueAwareMachine.java86 setResult(arg(0)); in run()
137 addResult(arg(which)); in run()
160 Type thisType = arg(0).getType(); in run()
DRopperMachine.java482 returnAddress = (ReturnAddress)arg(0); in run()
689 sources.set(0, RegisterSpec.make(localIndex, arg(0))); in getSources()
694 RegisterSpec spec = RegisterSpec.make(regAt, arg(i)); in getSources()
DBaseMachine.java311 protected final TypeBearer arg(int n) { in arg() method in BaseMachine
/dalvik/tools/hprof-conv/
DHprofConv.c730 char* arg = argv[i]; in main() local
732 in = fopen_or_default(arg, "rb", stdin); in main()
734 out = fopen_or_default(arg, "wb", stdout); in main()
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java385 private void writeTypeAndArg(int type, int arg) { in writeTypeAndArg() argument
386 out.writeByte((arg << 5) | type); in writeTypeAndArg()
/dalvik/dexdump/
DDexDump.cpp807 secondaryIndex = pDecInsn->arg[4]; // proto index in indexString()
1110 printf("v%d", pDecInsn->arg[i]); in dumpInstruction()
1112 printf(", v%d", pDecInsn->arg[i]); in dumpInstruction()
1154 printf(", v%d", pDecInsn->arg[i]); in dumpInstruction()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java1590 String arg = parser.getLastValue(); in parseFlags() local
1593 value = Integer.parseInt(arg); in parseFlags()
1598 System.err.println("improper min-sdk-version option: " + arg); in parseFlags()
/dalvik/dx/etc/
Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr ...