Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 21 of 21) sorted by relevance

/bionic/libc/unistd/
Dexec.c51 char **argv; in execl() local
59 argv = alloca((n + 1) * sizeof(*argv)); in execl()
60 if (argv == NULL) { in execl()
66 argv[0] = (char *)arg; in execl()
67 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl()
70 return (execve(name, argv, environ)); in execl()
77 char **argv, **envp; in execle() local
85 argv = alloca((n + 1) * sizeof(*argv)); in execle()
86 if (argv == NULL) { in execle()
92 argv[0] = (char *)arg; in execle()
[all …]
/bionic/libdl/
Ddltest.c72 int get_options(int argc, char **argv, char **lib, char **sym) in get_options() argument
83 c = getopt_long (argc, argv, in get_options()
97 case 'h': print_help(argv[0]); exit(EXIT_FAILURE); break; in get_options()
110 int main(int argc, char **argv) in main() argument
112 char *libname, *symname, *prog = *argv; in main()
114 get_options(argc, argv, &libname, &symname); in main()
/bionic/libc/private/
DKernelArgumentBlock.h35 argv = reinterpret_cast<char**>(args + 1); in KernelArgumentBlock()
36 envp = argv + argc + 1; in KernelArgumentBlock()
68 char** argv; variable
/bionic/tests/
Dbenchmark_main.cpp66 bool Benchmark::ShouldRun(int argc, char* argv[]) { in ShouldRun() argument
74 if (regcomp(&re, argv[i], 0) != 0) { in ShouldRun()
75 fprintf(stderr, "couldn't compile \"%s\" as a regular expression!\n", argv[i]); in ShouldRun()
189 int main(int argc, char* argv[]) { in main() argument
198 if (b->ShouldRun(argc, argv)) { in main()
Dbenchmark.h37 bool ShouldRun(int argc, char* argv[]);
/bionic/libc/bionic/
Dlibc_init_common.h41 extern int main(int argc, char** argv, char** env);
Dlibc_init_common.cpp116 __progname = args.argv[0] ? args.argv[0] : "<unknown>"; in __libc_init_common()
Dlibc_init_dynamic.cpp112 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
Dlibc_init_static.cpp109 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
Dfts.c70 fts_open(char * const *argv, int options, in fts_open() argument
99 if (fts_palloc(sp, MAX(fts_maxarglen(argv), MAXPATHLEN))) in fts_open()
108 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { in fts_open()
110 if ((len = strlen(*argv)) == 0) { in fts_open()
115 if ((p = fts_alloc(sp, *argv, len)) == NULL) in fts_open()
999 fts_maxarglen(char * const *argv) in fts_maxarglen() argument
1003 for (max = 0; *argv; ++argv) in fts_maxarglen()
1004 if ((len = strlen(*argv)) > max) in fts_maxarglen()
Darc4random.c294 main(int argc, char **argv)
/bionic/libc/kernel/tools/
Dupdate_all.py19 """ % { "progname" : os.path.basename(sys.argv[0]) }
23 optlist, args = getopt.getopt( sys.argv[1:], '' )
Dfind_users.py31 optlist, args = getopt.getopt( sys.argv[1:], 'v' )
Dclean_header.py104 """ % os.path.basename(sys.argv[0])
108 optlist, args = getopt.getopt( sys.argv[1:], 'uvk:d:' )
Dutils.py45 return os.path.basename(sys.argv[0])
48 return os.path.dirname(sys.argv[0])
Dfind_headers.py39 optlist, args = getopt.getopt( sys.argv[1:], 'vc:d:a:k:' )
/bionic/libc/arch-mips/string/
Dmips_strlen.c159 main (int argc, char **argv) in main() argument
174 argv[0] ? argv[0] : "unknown strlen"); in main()
/bionic/libc/netbsd/resolv/
Dres_random.c253 main(int argc, char **argv)
267 n = argc > 1 ? atoi(argv[1]) : 60001;
/bionic/libc/tools/
Dgenerate-NOTICE.py100 args = sys.argv[1:]
/bionic/libc/tools/zoneinfo/
Dupdate-tzdata.py15 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
/bionic/linker/
Dlinker.cpp1657 soinfo* si = soinfo_alloc(args.argv[0]); in __linker_init_post_relocation()
1667 map->l_name = args.argv[0]; in __linker_init_post_relocation()
1751 PRINT("LINKER TIME: %s: %d microseconds", args.argv[0], (int) ( in __linker_init_post_relocation()
1757 PRINT("RELO STATS: %s: %d abs, %d rel, %d copy, %d symbol", args.argv[0], in __linker_init_post_relocation()
1779 PRINT("PAGES MODIFIED: %s: %d (%dKB)", args.argv[0], count, count * 4); in __linker_init_post_relocation()