Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 27) sorted by relevance

12

/dalvik/dx/tests/131-perf/
DClassGen.java6 public static void main(String... args) { in main() argument
12 if (args.length > 0) { in main()
13 start = Integer.parseInt(args[0]); in main()
15 if (args.length > 1) { in main()
16 end = Integer.parseInt(args[1]); in main()
18 if (args.length > 2) { in main()
19 fields = Integer.parseInt(args[2]); in main()
21 if (args.length > 3) { in main()
22 methods = Integer.parseInt(args[3]); in main()
/dalvik/dx/src/com/android/dx/cf/code/
DBaseMachine.java40 private TypeBearer[] args; field in BaseMachine
93 args = new TypeBearer[10]; in BaseMachine()
124 if (count > args.length) { in popArgs()
126 args = new TypeBearer[count + 10]; in popArgs()
130 args[i] = stack.pop(); in popArgs()
147 if (! Merger.isPossiblyAssignableFrom(types.getType(i), args[i])) { in popArgs()
150 " but found " + args[i].getType().toHuman()); in popArgs()
160 if (! Merger.isPossiblyAssignableFrom(type, args[0])) { in popArgs()
162 " but found " + args[0].getType().toHuman()); in popArgs()
173 if (! Merger.isPossiblyAssignableFrom(type1, args[0])) { in popArgs()
[all …]
/dalvik/dx/src/com/android/dx/command/findusages/
DMain.java25 public static void main(String[] args) throws IOException { in main() argument
26 String dexFile = args[0]; in main()
27 String declaredBy = args[1]; in main()
28 String memberName = args[2]; in main()
/dalvik/dx/src/com/android/dx/command/
DMain.java79 public static void main(String[] args) { in main() argument
84 for (int i = 0; i < args.length; i++) { in main()
85 String arg = args[i]; in main()
94 com.android.dx.command.dexer.Main.main(without(args, i)); in main()
97 com.android.dx.command.dump.Main.main(without(args, i)); in main()
101 without(args, i)); in main()
104 com.android.dx.command.findusages.Main.main(without(args, i)); in main()
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java39 public static void main(String[] args) { in main() argument
40 new Main().run(args); in main()
46 private void run(String[] args) { in run() argument
49 for (/*at*/; at < args.length; at++) { in run()
50 String arg = args[at]; in run()
83 if (at == args.length) { in run()
88 for (/*at*/; at < args.length; at++) { in run()
90 String name = args[at]; in run()
DClassDumper.java40 String filePath, Args args) { in dump() argument
42 new ClassDumper(bytes, out, filePath, args); in dump()
51 String filePath, Args args) { in ClassDumper() argument
52 super(bytes, out, filePath, args); in ClassDumper()
DDotDumper.java49 private final Args args; field in DotDumper
52 static void dump(byte[] bytes, String filePath, Args args) { in dump() argument
53 new DotDumper(bytes, filePath, args).run(); in dump()
56 DotDumper(byte[] bytes, String filePath, Args args) { in DotDumper() argument
59 this.strictParse = args.strictParse; in DotDumper()
60 this.optimize = args.optimize; in DotDumper()
61 this.args = args; in DotDumper()
89 return args.method == null || args.method.equals(name); in shouldDumpMethod()
DBaseDumper.java70 protected Args args; field in BaseDumper
85 String filePath, Args args) { in BaseDumper() argument
87 this.rawBytes = args.rawBytes; in BaseDumper()
89 this.width = (args.width <= 0) ? 79 : args.width; in BaseDumper()
91 this.strictParse = args.strictParse; in BaseDumper()
95 this.args = args; in BaseDumper()
DSsaDumper.java54 String filePath, Args args) { in dump() argument
55 SsaDumper sd = new SsaDumper(bytes, out, filePath, args); in dump()
69 Args args) { in SsaDumper() argument
70 super(bytes, out, filePath, true, args); in SsaDumper()
98 if (args.ssaStep == null) { in endParsingMember()
102 } else if ("edge-split".equals(args.ssaStep)) { in endParsingMember()
105 } else if ("phi-placement".equals(args.ssaStep)) { in endParsingMember()
108 } else if ("renaming".equals(args.ssaStep)) { in endParsingMember()
111 } else if ("dead-code".equals(args.ssaStep)) { in endParsingMember()
DBlockDumper.java82 String filePath, boolean rop, Args args) { in dump() argument
84 rop, args); in dump()
93 boolean rop, Args args) { in BlockDumper() argument
94 super(bytes, out, filePath, args); in BlockDumper()
100 this.optimize = args.optimize; in BlockDumper()
147 return args.method == null || args.method.equals(name); in shouldDumpMethod()
/dalvik/dx/src/com/android/dx/command/grep/
DMain.java26 public static void main(String[] args) throws IOException { in main() argument
27 String dexFile = args[0]; in main()
28 String pattern = args[1]; in main()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java173 private Arguments args; field in Main
278 args = arguments; in runDx()
279 args.makeOptionsObjects(); in runDx()
282 if (args.humanOutName != null) { in runDx()
283 humanOutRaw = openOutput(args.humanOutName); in runDx()
288 if (args.multiDex) { in runDx()
301 if (args.incremental) { in runMonoDex()
302 if (args.outName == null) { in runMonoDex()
307 incrementalOutFile = new File(args.outName); in runMonoDex()
317 if (args.incremental && !anyFilesProcessed) { in runMonoDex()
[all …]
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMain.java45 public static void main(String[] args) { in main() argument
47 main.run(args); in main()
53 void run(String[] args) { in run() argument
55 parseArgs(args); in run()
204 void parseArgs(String[] args) { in parseArgs() argument
207 for (idx = 0; idx < args.length; idx++) { in parseArgs()
208 String arg = args[idx]; in parseArgs()
230 int fileCount = args.length - idx; in parseArgs()
236 System.arraycopy(args, idx, mInputFileNames, 0, fileCount); in parseArgs()
DOutput.java223 String[] args = mref.getArgumentTypeNames(); in printXmlMethods() local
224 for (int j = 0; j < args.length; j++) { in printXmlMethods()
226 descriptorToDot(args[j]) + "\"/>"); in printXmlMethods()
/dalvik/dx/src/com/android/dx/command/annotool/
DAnnotationLister.java46 private final Main.Arguments args; field in AnnotationLister
54 AnnotationLister (Main.Arguments args) { in AnnotationLister() argument
55 this.args = args; in AnnotationLister()
60 for (String path : args.files) { in process()
144 if (!args.eTypes.contains(ElementType.TYPE)) { in visitClassAnnotation()
151 if (args.aclass.equals(annClassName)) { in visitClassAnnotation()
166 if (!args.eTypes.contains(ElementType.PACKAGE)) { in visitPackageAnnotation()
185 if (args.aclass.equals(annClassName)) { in visitPackageAnnotation()
199 for (Main.PrintType pt : args.printTypes) { in printMatchPackage()
220 for (Main.PrintType pt : args.printTypes) { in printMatch()
DMain.java135 final Arguments args = new Arguments(); in main() local
138 args.parse(argArray); in main()
145 new AnnotationLister(args).process(); in main()
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java71 public static void main(String[] args) { in main() argument
75 while (argIndex < args.length -2) { in main()
76 if (args[argIndex].equals(DISABLE_ANNOTATION_RESOLUTION_WORKAROUND)) { in main()
79 System.err.println("Invalid option " + args[argIndex]); in main()
85 if (args.length - argIndex != 2) { in main()
91 MainDexListBuilder builder = new MainDexListBuilder(keepAnnotated, args[argIndex], in main()
92 args[argIndex + 1]); in main()
DClassReferenceListBuilder.java57 public static void main(String[] args) { in main() argument
58 MainDexListBuilder.main(args); in main()
125 StdTypeList args = proto.getParameterTypes(); in checkPrototype() local
126 for (int i = 0; i < args.size(); i++) { in checkPrototype()
127 checkDescriptor(args.get(i).getDescriptor()); in checkPrototype()
/dalvik/dx/tests/127-merge-stress/com/android/dx/merge/
DMergeTest.java35 public static void main(String[] args) throws Throwable { in main() argument
47 String fileName = args[random.nextInt(args.length)]; in main()
/dalvik/dx/tests/119-merge-conflict/testdata/
DB.java4 public static void main(String[] args) { in main() argument
/dalvik/dx/tests/125-main-dex-list/com/android/dx/multidex/
DMainDexListTest.java25 public static void main(String[] args) throws Exception { in main() argument
/dalvik/dx/src/com/android/dx/dex/cf/
DOptimizerOptions.java124 int paramSize, boolean isStatic, CfOptions args, in compareOptimizerStep() argument
135 paramSize, isStatic, args.localInfo, advice, steps); in compareOptimizerStep()
DAttributeTranslator.java119 CfOptions args) { in getClassAnnotations() argument
133 args.warn.println("warning: " + warn.getMessage()); in getClassAnnotations()
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java118 public static void main(String[] args) throws IOException { in main() argument
119 DexIndexPrinter indexPrinter = new DexIndexPrinter(new File(args[0])); in main()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java1127 public static void main(String[] args) throws IOException { in main() argument
1128 if (args.length < 2) { in main()
1133 Dex[] dexes = new Dex[args.length - 1]; in main()
1134 for (int i = 1; i < args.length; i++) { in main()
1135 dexes[i - 1] = new Dex(new File(args[i])); in main()
1138 merged.writeTo(new File(args[0])); in main()

12