/dalvik/vm/ |
D | Init.c | 666 static int dvmProcessOptions(int argc, const char* const argv[], in dvmProcessOptions() argument 673 LOGV(" %d: '%s'\n", i, argv[i]); in dvmProcessOptions() 690 if (strcmp(argv[i], "-help") == 0) { in dvmProcessOptions() 694 } else if (strcmp(argv[i], "-version") == 0) { in dvmProcessOptions() 698 } else if (strcmp(argv[i], "-showversion") == 0) { in dvmProcessOptions() 702 } else if (strcmp(argv[i], "-classpath") == 0 || in dvmProcessOptions() 703 strcmp(argv[i], "-cp") == 0) in dvmProcessOptions() 711 gDvm.classPathStr = strdup(argv[++i]); in dvmProcessOptions() 713 } else if (strncmp(argv[i], "-Xbootclasspath:", in dvmProcessOptions() 717 const char* path = argv[i] + sizeof("-Xbootclasspath:")-1; in dvmProcessOptions() [all …]
|
D | Init.h | 26 int dvmStartup(int argc, const char* const argv[], bool ignoreUnrecognized,
|
D | Native.h | 53 const u4* argv, const char* signature, void* func, JValue* pResult);
|
D | Jni.c | 4392 const char** argv; in JNI_CreateJavaVM() local 4422 argv = (const char**) malloc(sizeof(char*) * (args->nOptions)); in JNI_CreateJavaVM() 4423 memset(argv, 0, sizeof(char*) * (args->nOptions)); in JNI_CreateJavaVM() 4463 argv[curOpt++] = optStr; in JNI_CreateJavaVM() 4487 if (dvmStartup(argc, argv, args->ignoreUnrecognized, (JNIEnv*)pEnv) != 0) { in JNI_CreateJavaVM() 4507 free(argv); in JNI_CreateJavaVM()
|
/dalvik/dexopt/ |
D | OptMain.c | 262 (_var) = _func(*++argv, &endp, 0); \ 264 LOGE("%s '%s'", _msg, *argv); \ 289 static int fromZip(int argc, char* const argv[]) in fromZip() argument 304 argv++; in fromZip() 308 zipName = *++argv; in fromZip() 310 dexoptFlags = *++argv; in fromZip() 337 static int preopt(int argc, char* const argv[]) in preopt() argument 353 const char* zipName = argv[2]; in preopt() 354 const char* outName = argv[3]; in preopt() 355 const char* dexoptFlags = argv[4]; in preopt() [all …]
|
/dalvik/dvz/ |
D | dvz.c | 94 int main (int argc, const char **argv) { in main() argument 97 if (argc > 1 && 0 == strcmp(argv[1], "--help")) { in main() 98 usage(argv[0]); in main() 102 err = zygote_run_wait(argc - 1, argv + 1, post_run_func); in main() 105 fprintf(stderr, "%s error: no zygote process found\n", argv[0]); in main()
|
/dalvik/vm/arch/generic/ |
D | Call.c | 59 const u4* argv, const char* shorty, void* func, JValue* pReturn) in dvmPlatformInvoke() argument 78 values[1] = (void*) argv++; in dvmPlatformInvoke() 90 values[dstArg++] = (void*) argv++; in dvmPlatformInvoke() 92 argv++; in dvmPlatformInvoke()
|
/dalvik/vm/alloc/ |
D | Float12.h | 90 int main(int argc, char *argv[]) 93 fprintf(stderr, "usage: %s <min> <max>\n", argv[0]); 97 unsigned int min = atoi(argv[1]); 98 unsigned int max = atoi(argv[2]);
|
/dalvik/dalvikvm/ |
D | Main.c | 44 static jobjectArray createStringArray(JNIEnv* env, char* const argv[], int argc) in createStringArray() argument 67 argStr = (*env)->NewStringUTF(env, argv[i]); in createStringArray() 141 int main(int argc, char* const argv[]) in main() argument 155 argv++; in main() 177 if (argv[argIdx][0] != '-' && !needExtra) in main() 179 options[curOpt++].optionString = strdup(argv[argIdx]); in main() 183 if (strcmp(argv[argIdx], "-classpath") == 0 || in main() 184 strcmp(argv[argIdx], "-cp") == 0) in main() 232 strArray = createStringArray(env, &argv[argIdx+1], argc-argIdx-1); in main() 244 slashClass = strdup(argv[argIdx]); in main()
|
/dalvik/vm/arch/arm/ |
D | CallOldABI.S | 108 ldr ip, [r4, #0] @ ip <-- argv 113 @ No: set r1 to *argv++, and set argc--. 118 @ While we still have the use of r2/r3, copy excess args from argv 119 @ to the stack. We need to push the last item in argv first, and we 120 @ want the first two items in argv to end up in r2/r3. 125 @ have N-2 in r3. If we set argv=argv+1, we can count from N-2 to 1 130 @ *--sp = argv[count] 139 @ safe to load two items out of argv even if we're at the end.
|
D | CallEABI.S | 148 ldr r9, [r4] @ r9<- argv 150 @ Not static: set r1 to *argv++ ("this"), and set argc--. 184 @ Stick argv in r7 and advance it past the argv values that will be 238 ldmia r9, {r2-r3} @ r2/r3<- argv[0]/argv[1] 331 mov r7, r9 @ r7<- argv 338 add r7, r7, #8 @ r7<- r7+8 (assume argv 0/1 in r2/r3)
|
/dalvik/tools/ |
D | deadcode.py | 97 if len(sys.argv) is not 2 or not sys.argv[1].endswith(".jar"): 98 print "Usage:", sys.argv[0], "<filename.jar>" 101 command = 'dx --dex --dump-width=1000 --dump-to=-"" "%s"' % sys.argv[1]
|
D | gclog.py | 197 print "usage: %s [-p procFilter] [-d]" % sys.argv[0] 207 opts, args = getopt.getopt(sys.argv[1:], "hdp:")
|
/dalvik/dexlist/ |
D | DexList.c | 254 int main(int argc, char* const argv[]) in main() argument 263 if (argc > 3 && strcmp(argv[1], "--method") == 0) { in main() 264 gParms.argCopy = strdup(argv[2]); in main() 274 argv += 2; in main() 289 result |= process(argv[i]); in main()
|
/dalvik/vm/analysis/ |
D | DexPrepare.c | 330 char* argv[argc+1]; // last entry is NULL in dvmOptimizeDexFile() local 356 argv[curArg++] = (char*)kValgrinder; in dvmOptimizeDexFile() 357 argv[curArg++] = "--tool=memcheck"; in dvmOptimizeDexFile() 358 argv[curArg++] = "--leak-check=yes"; // check for leaks too in dvmOptimizeDexFile() 359 argv[curArg++] = "--leak-resolution=med"; // increase from 2 to 4 in dvmOptimizeDexFile() 360 argv[curArg++] = "--num-callers=16"; // default is 12 in dvmOptimizeDexFile() 363 argv[curArg++] = execFile; in dvmOptimizeDexFile() 365 argv[curArg++] = "--dex"; in dvmOptimizeDexFile() 368 argv[curArg++] = values[2]; in dvmOptimizeDexFile() 371 argv[curArg++] = values[3]; in dvmOptimizeDexFile() [all …]
|
/dalvik/tools/dmtracedump/ |
D | CreateTestTrace.c | 447 int parseOptions(int argc, char **argv) in parseOptions() argument 451 int opt = getopt(argc, argv, "v:d"); in parseOptions() 474 int main(int argc, char** argv) in main() argument 480 if (parseOptions(argc, argv) || argc - optind != 2) { in main() 482 argv[0]); in main() 486 inputFile = argv[optind++]; in main() 488 traceFileName = argv[optind++]; in main()
|
D | TraceDump.c | 3533 int parseOptions(int argc, char **argv) in parseOptions() argument 3536 int opt = getopt(argc, argv, "d:hg:kos:t:f:"); in parseOptions() 3574 int main(int argc, char** argv) in main() argument 3580 if (parseOptions(argc, argv) || argc - optind != 1) in main() 3581 return usage(argv[0]); in main() 3583 gOptions.traceFileName = argv[optind]; in main()
|
/dalvik/hit/src/com/android/hit/ |
D | Main.java | 27 public static void main(String argv[]) { in main() argument 33 fis = new FileInputStream(argv[0]); in main()
|
/dalvik/libdex/ |
D | sha1.c | 418 int main(int argc, char** argv) in main() argument 441 if (argv[i][0] == '-') in main() 443 switch (argv[i][1]) in main() 454 syntax(argv[0]); in main() 461 if (argv[i][0] != '-') in main() 464 fnsplit(argv[i], drive, dir, name, ext); in main() 465 done = findfirst(argv[i], &f, FA_RDONLY | in main() 472 s = argv[i]; in main() 503 argv[i]); in main() 508 syntax(argv[0]); in main()
|
/dalvik/tools/hprof-conv/ |
D | HprofConv.c | 668 int main(int argc, char** argv) in main() argument 692 if (strcmp(argv[1], "-") != 0) { in main() 693 in = fopen(argv[1], "rb"); in main() 696 argv[1], strerror(errno)); in main() 700 if (strcmp(argv[2], "-") != 0) { in main() 701 out = fopen(argv[2], "wb"); in main() 704 argv[2], strerror(errno)); in main()
|
/dalvik/vm/compiler/template/ |
D | gen-template.py | 329 if len(sys.argv) != 3: 330 print "Usage: %s target-arch output-dir" % sys.argv[0] 333 target_arch = sys.argv[1] 334 output_dir = sys.argv[2]
|
/dalvik/vm/mterp/ |
D | gen-mterp.py | 381 if len(sys.argv) != 3: 382 print "Usage: %s target-arch output-dir" % sys.argv[0] 385 target_arch = sys.argv[1] 386 output_dir = sys.argv[2]
|
/dalvik/vm/alloc/TEST/HeapBitmapTest/ |
D | main.c | 477 int main(int argc, char *argv[]) in main() argument
|
/dalvik/dexdump/ |
D | DexDump.c | 1811 int main(int argc, char* const argv[]) in main() argument 1820 ic = getopt(argc, argv, "cdfhil:mt:"); in main() 1884 result |= process(argv[optind++]); in main()
|