Home
last modified time | relevance | path

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

12

/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/tests/127-merge-stress/com/android/dx/merge/
DMergeTest.java15 public static void main(String[] args) throws Throwable { in main() argument
18 String fileName1 = args[(int) (Math.random() * args.length)]; in main()
19 String fileName2 = args[(int) (Math.random() * args.length)]; in main()
/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.java91 public static void main(String[] args) { in main() argument
96 for (int i = 0; i < args.length; i++) { in main()
97 String arg = args[i]; in main()
106 com.android.dx.command.dexer.Main.main(without(args, i)); in main()
109 com.android.dx.command.dump.Main.main(without(args, i)); in main()
113 without(args, i)); in main()
116 com.android.dx.command.findusages.Main.main(without(args, i)); in main()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java168 private static Arguments args; field in Main
233 args = arguments; in run()
234 args.makeOptionsObjects(); in run()
237 if (args.humanOutName != null) { in run()
238 humanOutRaw = openOutput(args.humanOutName); in run()
243 if (args.multiDex) { in run()
257 if (args.multiDex) { in getTooManyIdsErrorMessage()
268 if (args.incremental) { in runMonoDex()
269 if (args.outName == null) { in runMonoDex()
274 incrementalOutFile = new File(args.outName); in runMonoDex()
[all …]
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMain.java44 public static void main(String[] args) { in main() argument
46 main.run(args); in main()
52 void run(String[] args) { in run() argument
54 parseArgs(args); in run()
184 void parseArgs(String[] args) { in parseArgs() argument
187 for (idx = 0; idx < args.length; idx++) { in parseArgs()
188 String arg = args[idx]; in parseArgs()
210 int fileCount = args.length - idx; in parseArgs()
216 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/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/dump/
DDotDumper.java48 private final Args args; field in DotDumper
50 static void dump(byte[] bytes, String filePath, Args args) { in dump() argument
51 new DotDumper(bytes, filePath, args).run(); in dump()
54 DotDumper(byte[] bytes, String filePath, Args args) { in DotDumper() argument
57 this.strictParse = args.strictParse; in DotDumper()
58 this.optimize = args.optimize; in DotDumper()
59 this.args = args; in DotDumper()
86 return args.method == null || args.method.equals(name); in shouldDumpMethod()
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()
DBaseDumper.java69 protected Args args; field in BaseDumper
81 String filePath, Args args) { in BaseDumper() argument
83 this.rawBytes = args.rawBytes; in BaseDumper()
85 this.width = (args.width <= 0) ? 79 : args.width; in BaseDumper()
87 this.strictParse = args.strictParse; in BaseDumper()
91 this.args = args; in BaseDumper()
DMain.java41 public static void main(String[] args) { in main() argument
44 for (/*at*/; at < args.length; at++) { in main()
45 String arg = args[at]; in main()
78 if (at == args.length) { in main()
83 for (/*at*/; at < args.length; at++) { in main()
85 String name = args[at]; in main()
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.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/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/tests/119-merge-conflict/testdata/
DB.java4 public static void main(String[] args) { in main() argument
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java58 public static void main(String[] args) { in main() argument
60 if (args.length != 2) { in main()
67 MainDexListBuilder builder = new MainDexListBuilder(args[0], args[1]); in main()
DClassReferenceListBuilder.java53 public static void main(String[] args) { in main() argument
54 MainDexListBuilder.main(args); in main()
/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.java130 int paramSize, boolean isStatic, CfOptions args, in compareOptimizerStep() argument
141 paramSize, isStatic, args.localInfo, advice, steps); in compareOptimizerStep()
DAttributeTranslator.java113 CfOptions args) { in getClassAnnotations() argument
127 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.java1113 public static void main(String[] args) throws IOException { in main() argument
1114 if (args.length < 2) { in main()
1119 Dex merged = new Dex(new File(args[1])); in main()
1120 for (int i = 2; i < args.length; i++) { in main()
1121 Dex toMerge = new Dex(new File(args[i])); in main()
1124 merged.writeTo(new File(args[0])); in main()
/dalvik/dx/etc/
Ddx.bat47 set args= variable

12