Searched refs:argc (Results 1 – 12 of 12) sorted by relevance
/bionic/tests/libs/ |
D | exec_linker_helper.cpp | 36 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()
|
D | bionic_tests_zipalign.cpp | 121 int main(int argc, char* argv[]) { in main() argument 122 if (argc != 4) { in main()
|
/bionic/tests/ |
D | gtest_main.cpp | 38 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()
|
D | dlfcn_test.cpp | 72 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/ |
D | KernelArgumentBlock.h | 34 argc = static_cast<int>(*args); in KernelArgumentBlock() 36 envp = argv + argc + 1; in KernelArgumentBlock() 60 int argc; variable
|
/bionic/libc/bionic/ |
D | libc_init_common.h | 41 extern int main(int argc, char** argv, char** env);
|
D | libc_init_dynamic.cpp | 136 exit(slingshot(args.argc - __libc_shared_globals()->initial_linker_arg_count, in __libc_init()
|
D | libc_init_static.cpp | 202 exit(slingshot(args.argc, args.argv, args.envp)); in __real_libc_init()
|
/bionic/benchmarks/ |
D | bionic_benchmarks.cpp | 119 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/ |
D | versioner.cpp | 492 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/ |
D | res_random.c | 259 main(int argc, char **argv) 273 n = argc > 1 ? atoi(argv[1]) : 60001;
|
/bionic/linker/ |
D | linker_main.cpp | 661 if (args.argc <= 1 || !strcmp(args.argv[1], "--help")) { 680 g_argc = args.argc - __libc_shared_globals()->initial_linker_arg_count;
|