/dalvik/dx/tests/131-perf/ |
D | ClassGen.java | 6 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/ |
D | BaseMachine.java | 40 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/ |
D | Main.java | 25 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/ |
D | Main.java | 79 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/ |
D | Main.java | 39 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()
|
D | ClassDumper.java | 40 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()
|
D | DotDumper.java | 49 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()
|
D | BaseDumper.java | 70 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()
|
D | SsaDumper.java | 54 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()
|
D | BlockDumper.java | 82 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/ |
D | Main.java | 26 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/ |
D | Main.java | 173 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/ |
D | Main.java | 45 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()
|
D | Output.java | 223 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/ |
D | AnnotationLister.java | 46 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()
|
D | Main.java | 135 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/ |
D | MainDexListBuilder.java | 71 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()
|
D | ClassReferenceListBuilder.java | 57 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/ |
D | MergeTest.java | 35 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/ |
D | B.java | 4 public static void main(String[] args) { in main() argument
|
/dalvik/dx/tests/125-main-dex-list/com/android/dx/multidex/ |
D | MainDexListTest.java | 25 public static void main(String[] args) throws Exception { in main() argument
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
D | OptimizerOptions.java | 124 int paramSize, boolean isStatic, CfOptions args, in compareOptimizerStep() argument 135 paramSize, isStatic, args.localInfo, advice, steps); in compareOptimizerStep()
|
D | AttributeTranslator.java | 119 CfOptions args) { in getClassAnnotations() argument 133 args.warn.println("warning: " + warn.getMessage()); in getClassAnnotations()
|
/dalvik/dx/src/com/android/dx/io/ |
D | DexIndexPrinter.java | 118 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/ |
D | DexMerger.java | 1127 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()
|