Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 19 of 19) sorted by relevance

/dalvik/dexopt/
DOptMain.c267 --argc; \
289 static int fromZip(int argc, char* const argv[]) in fromZip() argument
297 if (argc != 6) { in fromZip()
298 LOGE("Wrong number of args for --zip (found %d)\n", argc); in fromZip()
303 argc--; in fromZip()
309 --argc; in fromZip()
311 --argc; in fromZip()
337 static int preopt(int argc, char* const argv[]) in preopt() argument
343 if (argc != 5) { in preopt()
349 argc); in preopt()
[all …]
/dalvik/dalvikvm/
DMain.c44 static jobjectArray createStringArray(JNIEnv* env, char* const argv[], int argc) in createStringArray() argument
57 strArray = (*env)->NewObjectArray(env, argc, stringClass, NULL); in createStringArray()
64 for (i = 0; i < argc; i++) { in createStringArray()
141 int main(int argc, char* const argv[]) in main() argument
156 argc--; in main()
165 optionCount = argc; in main()
176 for (curOpt = argIdx = 0; argIdx < argc; argIdx++) { in main()
222 if (argIdx == argc) { in main()
232 strArray = createStringArray(env, &argv[argIdx+1], argc-argIdx-1); in main()
/dalvik/dvz/
Ddvz.c94 int main (int argc, const char **argv) { in main() argument
97 if (argc > 1 && 0 == strcmp(argv[1], "--help")) { in main()
102 err = zygote_run_wait(argc - 1, argv + 1, post_run_func); in main()
/dalvik/vm/arch/generic/
DCall.c58 void dvmPlatformInvoke(void* pEnv, ClassObject* clazz, int argInfo, int argc, in dvmPlatformInvoke() argument
61 const int kMaxArgs = argc+2; /* +1 for env, maybe +1 for clazz */ in dvmPlatformInvoke()
/dalvik/vm/alloc/
DFloat12.h90 int main(int argc, char *argv[])
92 if (argc != 3) {
/dalvik/dexlist/
DDexList.c254 int main(int argc, char* const argv[]) in main() argument
263 if (argc > 3 && strcmp(argv[1], "--method") == 0) { in main()
275 argc -= 2; in main()
278 if (argc < 2) { in main()
288 for (i = 1; i < argc; i++) in main()
/dalvik/vm/
DInit.h26 int dvmStartup(int argc, const char* const argv[], bool ignoreUnrecognized,
DInit.c666 static int dvmProcessOptions(int argc, const char* const argv[], in dvmProcessOptions() argument
671 LOGV("VM options (%d):\n", argc); in dvmProcessOptions()
672 for (i = 0; i < argc; i++) in dvmProcessOptions()
681 if (argc > 0) { in dvmProcessOptions()
683 (AssertionControl*) malloc(sizeof(AssertionControl) * argc); in dvmProcessOptions()
689 for (i = 0; i < argc; i++) { in dvmProcessOptions()
706 if (i == argc-1) { in dvmProcessOptions()
1126 int dvmStartup(int argc, const char* const argv[], bool ignoreUnrecognized, in dvmStartup() argument
1133 LOGV("VM init args (%d):\n", argc); in dvmStartup()
1134 for (i = 0; i < argc; i++) in dvmStartup()
[all …]
DNative.h52 void dvmPlatformInvoke(void* pEnv, ClassObject* clazz, int argInfo, int argc,
DJni.c4393 int argc = 0; in JNI_CreateJavaVM() local
4466 argc = curOpt; in JNI_CreateJavaVM()
4487 if (dvmStartup(argc, argv, args->ignoreUnrecognized, (JNIEnv*)pEnv) != 0) { in JNI_CreateJavaVM()
/dalvik/tools/dmtracedump/
DCreateTestTrace.c447 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()
DTraceDump.c3533 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()
/dalvik/vm/arch/arm/
DCallEABI.S150 @ Not static: set r1 to *argv++ ("this"), and set argc--.
215 b .Lfast_copy_loop2 @ don't adjust argc after writing pad
DCallOldABI.S113 @ No: set r1 to *argv++, and set argc--.
/dalvik/libdex/
Dsha1.c418 int main(int argc, char** argv) in main() argument
439 for (i = 1; i < argc; i++) in main()
459 for (i=1; i<argc; i++) in main()
/dalvik/tools/hprof-conv/
DHprofConv.c668 int main(int argc, char** argv) in main() argument
674 if (argc != 3) { in main()
/dalvik/vm/analysis/
DDexPrepare.c328 int argc = kFixedArgCount + bcpSize in dvmOptimizeDexFile() local
330 char* argv[argc+1]; // last entry is NULL in dvmOptimizeDexFile()
331 char values[argc][kMaxIntLen]; in dvmOptimizeDexFile()
412 assert(curArg == argc); in dvmOptimizeDexFile()
/dalvik/dexdump/
DDexDump.c1811 int main(int argc, char* const argv[]) in main() argument
1820 ic = getopt(argc, argv, "cdfhil:mt:"); in main()
1863 if (optind == argc) { in main()
1883 while (optind < argc) { in main()
/dalvik/vm/alloc/TEST/HeapBitmapTest/
Dmain.c477 int main(int argc, char *argv[]) in main() argument