Home
last modified time | relevance | path

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

/bionic/tests/libs/
Dexec_linker_helper.cpp36 static void ctor(int argc, char* argv[]) { in ctor() argument
37 printf("ctor: argc=%d argv[0]=%s\n", argc, argv[0]); in ctor()
40 int main(int argc, char* argv[]) { in main() argument
41 printf("main: argc=%d argv[0]=%s\n", argc, argv[0]); in main()
Dbionic_tests_zipalign.cpp121 int main(int argc, char* argv[]) { in main() argument
122 if (argc != 4) { in main()
/bionic/tests/
Dgtest_main.cpp38 int main(int argc, char** argv, char** envp) { in main() argument
39 g_argc = argc; in main()
43 return IsolateMain(argc, argv, envp); in main()
Ddlfcn_test.cpp72 extern "C" void ctor_function(int argc, char** argv, char** envp) __attribute__ ((constructor));
74 extern "C" void ctor_function(int argc, char** argv, char** envp) { in ctor_function() argument
76 g_ctor_argc = argc; in ctor_function()
/bionic/libc/private/
DKernelArgumentBlock.h34 argc = static_cast<int>(*args); in KernelArgumentBlock()
36 envp = argv + argc + 1; in KernelArgumentBlock()
60 int argc; variable
/bionic/libc/bionic/
Dlibc_init_common.h41 extern int main(int argc, char** argv, char** env);
Dlibc_init_dynamic.cpp136 exit(slingshot(args.argc - __libc_shared_globals()->initial_linker_arg_count, in __libc_init()
Dlibc_init_static.cpp202 exit(slingshot(args.argc, args.argv, args.envp)); in __real_libc_init()
/bionic/benchmarks/
Dbionic_benchmarks.cpp119 void SanitizeOpts(int argc, char** argv, std::vector<char*>* new_argv) { in SanitizeOpts() argument
122 for (int i = 1; i < argc; ++i) { in SanitizeOpts()
147 bench_opts_t ParseOpts(int argc, char** argv) { in ParseOpts() argument
156 while ((opt = getopt_long(argc, argv, "c:x:i:a:h", g_long_options, &option_index)) != -1) { in ParseOpts()
567 int main(int argc, char** argv) { in main() argument
569 bench_opts_t opts = ParseOpts(argc, argv); in main()
570 std::vector<char*> new_argv(argc); in main()
571 SanitizeOpts(argc, argv, &new_argv); in main()
/bionic/tools/versioner/src/
Dversioner.cpp492 int main(int argc, char** argv) { in main() argument
503 while ((c = getopt(argc, argv, "a:r:p:so:fdj:vhFi")) != -1) { in main()
597 if (argc - optind > 2 || optind > argc) { in main()
604 if (!top && (optind == argc || add_include)) { in main()
609 if (optind == argc) { in main()
622 if (argc - optind == 2) { in main()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dres_random.c259 main(int argc, char **argv)
273 n = argc > 1 ? atoi(argv[1]) : 60001;
/bionic/linker/
Dlinker_main.cpp661 if (args.argc <= 1 || !strcmp(args.argv[1], "--help")) {
680 g_argc = args.argc - __libc_shared_globals()->initial_linker_arg_count;