Home
last modified time | relevance | path

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

/bionic/libc/private/
DKernelArgumentBlock.h37 argc = static_cast<int>(*args); in KernelArgumentBlock()
39 envp = argv + argc + 1; in KernelArgumentBlock()
63 int argc; variable
/bionic/tools/relocation_packer/src/
Dmain.cc51 int main(int argc, char* argv[]) { in main() argument
62 int c = getopt_long(argc, argv, "uvph", options, NULL); in main()
87 if (optind != argc - 1) { in main()
96 const char* file = argv[argc - 1]; in main()
/bionic/libc/bionic/
Dlibc_init_common.h41 extern int main(int argc, char** argv, char** env);
Dlibc_init_dynamic.cpp124 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
Dlibc_init_static.cpp110 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
/bionic/tests/
Dgtest_main.cpp271 static bool EnumerateTests(int argc, char** argv, std::vector<TestCase>& testcase_list) { in EnumerateTests() argument
273 for (int i = 0; i < argc; ++i) { in EnumerateTests()
639 static void ChildProcessFn(int argc, char** argv, const std::string& test_name) { in ChildProcessFn() argument
640 char** new_argv = new char*[argc + 2]; in ChildProcessFn()
641 memcpy(new_argv, argv, sizeof(char*) * argc); in ChildProcessFn()
646 new_argv[argc] = filter_arg; in ChildProcessFn()
647 new_argv[argc + 1] = NULL; in ChildProcessFn()
649 int new_argc = argc + 1; in ChildProcessFn()
656 int argc, char** argv) { in RunChildProcess() argument
681 ChildProcessFn(argc, argv, test_name); in RunChildProcess()
[all …]
Ddlfcn_test.cpp60 extern "C" void ctor_function(int argc, char** argv, char** envp) __attribute__ ((constructor));
62 extern "C" void ctor_function(int argc, char** argv, char** envp) { in ctor_function() argument
64 g_ctor_argc = argc; in ctor_function()
/bionic/tools/versioner/src/
Dversioner.cpp455 int main(int argc, char** argv) { in main() argument
466 while ((c = getopt(argc, argv, "a:r:p:so:fdj:vhi")) != -1) { in main()
558 if (argc - optind > 2 || optind > argc) { in main()
566 if (!top && (optind == argc || add_include)) { in main()
571 if (optind == argc) { in main()
584 if (argc - optind == 2) { in main()
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp121 int main(int argc, char* argv[]) { in main() argument
122 if (argc != 4) { 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.cpp561 g_argc = args.argc;