/dalvik/vm/ |
H A D | Init.c | 657 * argv[0] does not contain the name of the program. 666 static int dvmProcessOptions(int argc, const char* const argv[], argument 673 LOGV(" %d: '%s'\n", i, argv[i]); 690 if (strcmp(argv[i], "-help") == 0) { 694 } else if (strcmp(argv[i], "-version") == 0) { 698 } else if (strcmp(argv[i], "-showversion") == 0) { 702 } else if (strcmp(argv[i], "-classpath") == 0 || 703 strcmp(argv[i], "-cp") == 0) 711 gDvm.classPathStr = strdup(argv[++i]); 713 } else if (strncmp(argv[ 1126 dvmStartup(int argc, const char* const argv[], bool ignoreUnrecognized, JNIEnv* pEnv) argument [all...] |
H A D | Init.h | 26 int dvmStartup(int argc, const char* const argv[], bool ignoreUnrecognized,
|
H A D | Native.h | 50 * Convert argc/argv into a function call. This is platform-specific. 53 const u4* argv, const char* signature, void* func, JValue* pResult);
|
H A D | Jni.c | 4392 const char** argv; local 4422 argv = (const char**) malloc(sizeof(char*) * (args->nOptions)); 4423 memset(argv, 0, sizeof(char*) * (args->nOptions)); 4428 * Convert JNI args to argv. 4463 argv[curOpt++] = optStr; 4487 if (dvmStartup(argc, argv, args->ignoreUnrecognized, (JNIEnv*)pEnv) != 0) { 4507 free(argv);
|
/dalvik/dvz/ |
H A D | dvz.c | 94 int main (int argc, const char **argv) { argument 97 if (argc > 1 && 0 == strcmp(argv[1], "--help")) { 98 usage(argv[0]); 102 err = zygote_run_wait(argc - 1, argv + 1, post_run_func); 105 fprintf(stderr, "%s error: no zygote process found\n", argv[0]);
|
/dalvik/dexopt/ |
H A D | OptMain.c | 262 (_var) = _func(*++argv, &endp, 0); \ 264 LOGE("%s '%s'", _msg, *argv); \ 289 static int fromZip(int argc, char* const argv[]) argument 304 argv++; 308 zipName = *++argv; 310 dexoptFlags = *++argv; 337 static int preopt(int argc, char* const argv[]) argument 353 const char* zipName = argv[2]; 354 const char* outName = argv[3]; 355 const char* dexoptFlags = argv[ 419 fromDex(int argc, char* const argv[]) argument 571 main(int argc, char* const argv[]) argument [all...] |
/dalvik/vm/alloc/ |
H A 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/vm/arch/generic/ |
H A D | Call.c | 46 * The Dalvik instructions will push "this" into argv[0], but it's up to 59 const u4* argv, const char* shorty, void* func, JValue* pReturn) 78 values[1] = (void*) argv++; 90 values[dstArg++] = (void*) argv++; 92 argv++; 58 dvmPlatformInvoke(void* pEnv, ClassObject* clazz, int argInfo, int argc, const u4* argv, const char* shorty, void* func, JValue* pReturn) argument
|
/dalvik/tools/ |
H A 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]
|
H A D | gclog.py | 197 print "usage: %s [-p procFilter] [-d]" % sys.argv[0] 207 opts, args = getopt.getopt(sys.argv[1:], "hdp:")
|
/dalvik/dalvikvm/ |
H A D | Main.c | 42 * Create a String[] and populate it with the contents of argv. 44 static jobjectArray createStringArray(JNIEnv* env, char* const argv[], int argc) argument 67 argStr = (*env)->NewStringUTF(env, argv[i]); 141 int main(int argc, char* const argv[]) argument 154 /* ignore argv[0] */ 155 argv++; 177 if (argv[argIdx][0] != '-' && !needExtra) 179 options[curOpt++].optionString = strdup(argv[argIdx]); 183 if (strcmp(argv[argIdx], "-classpath") == 0 || 184 strcmp(argv[argId [all...] |
/dalvik/vm/arch/arm/ |
H A D | CallOldABI.S | 33 const u4* argv, const char* signature, void* func, JValue* pReturn) 82 [sp] argv 106 @ argc is already in a scratch register (r3). Put argv into one. Note 107 @ argv can't go into r0-r3 because we need to use it to load those. 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 [all...] |
H A D | CallEABI.S | 39 const u4* argv, const char* signature, void* func, JValue* pReturn) 91 * r3 argc (number of 32-bit values in argv) 92 * [sp] argv 97 * For a virtual method call, the "this" reference is in argv[0]. 148 ldr r9, [r4] @ r9<- argv 150 @ Not static: set r1 to *argv++ ("this"), and set argc--. 173 * r9 argv 184 @ Stick argv in r7 and advance it past the argv values that will be 188 @ If the carry is set, r3 will hold a pad, so we adjust argv les [all...] |
/dalvik/hit/src/com/android/hit/ |
H A D | Main.java | 27 public static void main(String argv[]) { argument 33 fis = new FileInputStream(argv[0]);
|
/dalvik/dexlist/ |
H A D | DexList.c | 254 int main(int argc, char* const argv[]) argument 263 if (argc > 3 && strcmp(argv[1], "--method") == 0) { 264 gParms.argCopy = strdup(argv[2]); 274 argv += 2; 289 result |= process(argv[i]);
|
/dalvik/vm/analysis/ |
H A D | DexPrepare.c | 330 char* argv[argc+1]; // last entry is NULL local 356 argv[curArg++] = (char*)kValgrinder; 357 argv[curArg++] = "--tool=memcheck"; 358 argv[curArg++] = "--leak-check=yes"; // check for leaks too 359 argv[curArg++] = "--leak-resolution=med"; // increase from 2 to 4 360 argv[curArg++] = "--num-callers=16"; // default is 12 363 argv[curArg++] = execFile; 365 argv[curArg++] = "--dex"; 368 argv[curArg++] = values[2]; 371 argv[curAr [all...] |
/dalvik/vm/compiler/template/ |
H A 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/tools/dmtracedump/ |
H A D | CreateTestTrace.c | 447 int parseOptions(int argc, char **argv) argument 451 int opt = getopt(argc, argv, "v:d"); 474 int main(int argc, char** argv) argument 480 if (parseOptions(argc, argv) || argc - optind != 2) { 482 argv[0]); 486 inputFile = argv[optind++]; 488 traceFileName = argv[optind++];
|
H A D | TraceDump.c | 3533 int parseOptions(int argc, char **argv) argument 3536 int opt = getopt(argc, argv, "d:hg:kos:t:f:"); 3574 int main(int argc, char** argv) argument 3580 if (parseOptions(argc, argv) || argc - optind != 1) 3581 return usage(argv[0]); 3583 gOptions.traceFileName = argv[optind];
|
/dalvik/tools/hprof-conv/ |
H A D | HprofConv.c | 668 int main(int argc, char** argv) argument 692 if (strcmp(argv[1], "-") != 0) { 693 in = fopen(argv[1], "rb"); 696 argv[1], strerror(errno)); 700 if (strcmp(argv[2], "-") != 0) { 701 out = fopen(argv[2], "wb"); 704 argv[2], strerror(errno));
|
/dalvik/libdex/ |
H A D | sha1.c | 418 int main(int argc, char** argv) argument 441 if (argv[i][0] == '-') 443 switch (argv[i][1]) 454 syntax(argv[0]); 461 if (argv[i][0] != '-') 464 fnsplit(argv[i], drive, dir, name, ext); 465 done = findfirst(argv[i], &f, FA_RDONLY | 472 s = argv[i]; 503 argv[i]); 508 syntax(argv[ [all...] |
/dalvik/vm/mterp/ |
H A 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/dexdump/ |
H A D | DexDump.c | 1811 int main(int argc, char* const argv[]) argument 1820 ic = getopt(argc, argv, "cdfhil:mt:"); 1884 result |= process(argv[optind++]);
|
/dalvik/vm/alloc/TEST/HeapBitmapTest/ |
H A D | main.c | 477 int main(int argc, char *argv[]) argument
|