Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 41) 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()
127 if (count > args.length) { in popArgs()
129 args = new TypeBearer[count + 10]; in popArgs()
133 args[i] = stack.pop(); in popArgs()
151 if (! Merger.isPossiblyAssignableFrom(types.getType(i), args[i])) { in popArgs()
154 " but found " + args[i].getType().toHuman()); in popArgs()
165 if (! Merger.isPossiblyAssignableFrom(type, args[0])) { in popArgs()
167 " but found " + args[0].getType().toHuman()); in popArgs()
179 if (! Merger.isPossiblyAssignableFrom(type1, args[0])) { in popArgs()
[all …]
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java170 private Arguments args; field in Main
275 args = arguments; in runDx()
276 args.makeOptionsObjects(); in runDx()
279 if (args.humanOutName != null) { in runDx()
280 humanOutRaw = openOutput(args.humanOutName); in runDx()
285 if (args.multiDex) { in runDx()
298 if (args.incremental) { in runMonoDex()
299 if (args.outName == null) { in runMonoDex()
304 incrementalOutFile = new File(args.outName); in runMonoDex()
314 if (args.incremental && !anyFilesProcessed) { in runMonoDex()
[all …]
/dalvik/dx/src/com/android/dx/command/
DMain.java80 public static void main(String[] args) { in main() argument
85 for (int i = 0; i < args.length; i++) { in main()
86 String arg = args[i]; in main()
95 com.android.dx.command.dexer.Main.main(without(args, i)); in main()
98 com.android.dx.command.dump.Main.main(without(args, i)); in main()
102 without(args, i)); in main()
105 com.android.dx.command.findusages.Main.main(without(args, i)); in main()
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java38 public static void main(String[] args) { in main() argument
39 new Main().run(args); in main()
45 private void run(String[] args) { in run() argument
48 for (/*at*/; at < args.length; at++) { in run()
49 String arg = args[at]; in run()
82 if (at == args.length) { in run()
87 for (/*at*/; at < args.length; at++) { in run()
89 String name = args[at]; in run()
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()
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()
DBlockDumper.java81 String filePath, boolean rop, Args args) { in dump() argument
83 rop, args); in dump()
92 boolean rop, Args args) { in BlockDumper() argument
93 super(bytes, out, filePath, args); in BlockDumper()
99 this.optimize = args.optimize; in BlockDumper()
146 return args.method == null || args.method.equals(name); in shouldDumpMethod()
/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/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()
/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()
147 if (!args.eTypes.contains(ElementType.TYPE)) { in visitClassAnnotation()
154 if (args.aclass.equals(annClassName)) { in visitClassAnnotation()
169 if (!args.eTypes.contains(ElementType.PACKAGE)) { in visitPackageAnnotation()
188 if (args.aclass.equals(annClassName)) { in visitPackageAnnotation()
202 for (Main.PrintType pt : args.printTypes) { in printMatchPackage()
223 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.java70 public static void main(String[] args) { in main() argument
74 while (argIndex < args.length -2) { in main()
75 if (args[argIndex].equals(DISABLE_ANNOTATION_RESOLUTION_WORKAROUND)) { in main()
78 System.err.println("Invalid option " + args[argIndex]); in main()
84 if (args.length - argIndex != 2) { in main()
90 MainDexListBuilder builder = new MainDexListBuilder(keepAnnotated, args[argIndex], in main()
91 args[argIndex + 1]); in main()
DClassReferenceListBuilder.java56 public static void main(String[] args) { in main() argument
57 MainDexListBuilder.main(args); in main()
124 StdTypeList args = proto.getParameterTypes(); in checkPrototype() local
125 for (int i = 0; i < args.size(); i++) { in checkPrototype()
126 checkDescriptor(args.get(i).getDescriptor()); in checkPrototype()
/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/tests/143-interface-methods/
DInvokeStatic.java18 public static void main(String[] args) { in main() argument
19 StaticDefinition.printIt(args[0]); in main()
/dalvik/dx/tests/127-merge-stress/com/android/dx/merge/
DMergeTest.java69 public static void main(String[] args) throws Throwable { in main() argument
77 numDex = Math.min(numDex, args.length); in main()
80 int fileIndex = random.nextInt(args.length); in main()
81 fileNames[j] = args[fileIndex]; in main()
/dalvik/dx/tests/142-const-method-handle/src/
DMain.java23 public static void main(String[] args) throws Throwable { in main() argument
28 generatedMain.invokeExact(args); in main()
/dalvik/dx/tests/142-const-method-handle/src/constmethodhandle/
DTestGenerator.java41 public static void main(String[] args) throws IOException { in main() argument
42 assert args.length == 1; in main()
43 TestGenerator testGenerator = new TestGenerator(Paths.get(args[0], in main()
/dalvik/dx/tests/139-lambda-metafactory/
DMain.class ... .lang.String[]) String[] args
/dalvik/dx/tests/119-merge-conflict/testdata/
DB.java4 public static void main(String[] args) { 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()
/dalvik/dx/tests/134-maindexlist-lambdas/lambda/
DA.java5 public static void main(String[] args) { in main() argument

12