Home
last modified time | relevance | path

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

/dalvik/dexopt/
DOptMain.cpp264 --argc; \
286 static int fromZip(int argc, char* const argv[]) in fromZip() argument
294 if (argc != 6) { in fromZip()
295 ALOGE("Wrong number of args for --zip (found %d)", argc); in fromZip()
300 argc--; in fromZip()
306 --argc; in fromZip()
308 --argc; in fromZip()
334 static int preopt(int argc, char* const argv[]) in preopt() argument
340 if (argc != 5) { in preopt()
346 argc); in preopt()
[all …]
/dalvik/dalvikvm/
DMain.cpp44 static jobjectArray createStringArray(JNIEnv* env, char* const argv[], int argc) in createStringArray() argument
57 strArray = env->NewObjectArray(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.cpp94 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/dexlist/
DDexList.cpp257 int main(int argc, char* const argv[]) in main() argument
266 if (argc > 3 && strcmp(argv[1], "--method") == 0) { in main()
278 argc -= 2; in main()
281 if (argc < 2) { in main()
291 for (i = 1; i < argc; i++) in main()
/dalvik/vm/arch/generic/
DCall.cpp67 void dvmPlatformInvoke(void* pEnv, ClassObject* clazz, int argInfo, int argc, in dvmPlatformInvoke() argument
70 const int kMaxArgs = argc+2; /* +1 for env, maybe +1 for clazz */ in dvmPlatformInvoke()
/dalvik/vm/
DInit.h26 std::string dvmStartup(int argc, const char* const argv[],
DNative.h53 int argc, const u4* argv, const char* signature, void* func, JValue* pResult);
DInit.cpp652 static int processOptions(int argc, const char* const argv[], in processOptions() argument
657 ALOGV("VM options (%d):", argc); in processOptions()
658 for (i = 0; i < argc; i++) in processOptions()
667 if (argc > 0) { in processOptions()
669 (AssertionControl*) malloc(sizeof(AssertionControl) * argc); in processOptions()
675 for (i = 0; i < argc; i++) { in processOptions()
692 if (i == argc-1) { in processOptions()
1195 std::string dvmStartup(int argc, const char* const argv[], in dvmStartup() argument
1202 ALOGV("VM init args (%d):", argc); in dvmStartup()
1203 for (int i = 0; i < argc; i++) { in dvmStartup()
[all …]
DJni.cpp3435 int argc = 0; in JNI_CreateJavaVM() local
3478 argv[argc++] = optStr; in JNI_CreateJavaVM()
3502 dvmStartup(argc, argv.get(), args->ignoreUnrecognized, (JNIEnv*)pEnv); 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.c2819 int parseOptions(int argc, char **argv) in parseOptions() argument
2822 int opt = getopt(argc, argv, "d:hg:kos:t:"); in parseOptions()
2857 int main(int argc, char** argv) in main() argument
2862 if (parseOptions(argc, argv) || argc - optind != 1) in main()
/dalvik/libdex/
Dsha1.cpp418 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.c674 int main(int argc, char** argv) in main() argument
680 if (argc != 3) { in main()
/dalvik/vm/analysis/
DDexPrepare.cpp382 int argc = kFixedArgCount + bcpSize in dvmOptimizeDexFile() local
384 const char* argv[argc+1]; // last entry is NULL in dvmOptimizeDexFile()
385 char values[argc][kMaxIntLen]; in dvmOptimizeDexFile()
466 assert(curArg == argc); in dvmOptimizeDexFile()
/dalvik/vm/arch/arm/
DCallEABI.S233 b .Lfast_copy_loop2 @ don't adjust argc after writing pad
DCallOldABI.S113 @ No: set r1 to *argv++, and set argc--.
/dalvik/dexdump/
DDexDump.cpp1831 int main(int argc, char* const argv[]) in main() argument
1840 ic = getopt(argc, argv, "cdfhil:mt:"); in main()
1883 if (optind == argc) { in main()
1899 while (optind < argc) { in main()
/dalvik/vm/alloc/TEST/HeapBitmapTest/
Dmain.c477 int main(int argc, char *argv[]) in main() argument