/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | exec.c | 49 char **argv; in execl() local 57 argv = alloca((n + 1) * sizeof(*argv)); in execl() 58 if (argv == NULL) { in execl() 64 argv[0] = (char *)arg; in execl() 65 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl() 68 return (execve(name, argv, environ)); in execl() 75 char **argv, **envp; in execle() local 83 argv = alloca((n + 1) * sizeof(*argv)); in execle() 84 if (argv == NULL) { in execle() 90 argv[0] = (char *)arg; in execle() [all …]
|
/bionic/libc/private/ |
D | KernelArgumentBlock.h | 38 argv = reinterpret_cast<char**>(args + 1); in KernelArgumentBlock() 39 envp = argv + argc + 1; in KernelArgumentBlock() 71 char** argv; variable
|
/bionic/benchmarks/ |
D | benchmark_main.cpp | 69 bool Benchmark::ShouldRun(int argc, char* argv[]) { in ShouldRun() argument 77 if (regcomp(&re, argv[i], 0) != 0) { in ShouldRun() 78 fprintf(stderr, "couldn't compile \"%s\" as a regular expression!\n", argv[i]); in ShouldRun() 192 int main(int argc, char* argv[]) { in main() argument 206 if (b->ShouldRun(argc, argv)) { in main()
|
D | benchmark.h | 37 bool ShouldRun(int argc, char* argv[]);
|
/bionic/libc/bionic/ |
D | libc_init_common.h | 41 extern int main(int argc, char** argv, char** env);
|
D | libc_init_common.cpp | 109 __progname = args.argv[0] ? args.argv[0] : "<unknown>"; in __libc_init_common()
|
D | libc_init_dynamic.cpp | 113 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
|
D | libc_init_static.cpp | 111 exit(slingshot(args.argc, args.argv, args.envp)); in __libc_init()
|
D | fts.c | 72 fts_open(char * const *argv, int options, in fts_open() argument 101 if (fts_palloc(sp, MAX(fts_maxarglen(argv), PATH_MAX))) in fts_open() 110 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { in fts_open() 112 if ((len = strlen(*argv)) == 0) { in fts_open() 117 if ((p = fts_alloc(sp, *argv, len)) == NULL) in fts_open() 1000 fts_maxarglen(char * const *argv) in fts_maxarglen() argument 1004 for (max = 0; *argv; ++argv) in fts_maxarglen() 1005 if ((len = strlen(*argv)) > max) in fts_maxarglen()
|
/bionic/libc/arch-mips64/string/ |
D | mips_strlen.c | 160 main (int argc, char **argv) in main() argument 175 argv[0] ? argv[0] : "unknown strlen"); in main()
|
/bionic/libc/arch-mips/string/ |
D | mips_strlen.c | 159 main (int argc, char **argv) in main() argument 174 argv[0] ? argv[0] : "unknown strlen"); in main()
|
/bionic/libc/kernel/tools/ |
D | update_all.py | 19 """ % { "progname" : os.path.basename(sys.argv[0]) } 23 optlist, args = getopt.getopt( sys.argv[1:], '' )
|
D | clean_header.py | 188 """ % os.path.basename(sys.argv[0]) 192 optlist, args = getopt.getopt( sys.argv[1:], 'uvk:d:' )
|
D | utils.py | 45 return os.path.basename(sys.argv[0]) 48 return os.path.dirname(sys.argv[0])
|
/bionic/libc/tools/ |
D | generate-NOTICE.py | 103 args = sys.argv[1:]
|
/bionic/libc/tools/zoneinfo/ |
D | update-tzdata.py | 27 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
|
/bionic/linker/ |
D | linker.cpp | 2363 soinfo* si = soinfo_alloc(args.argv[0], nullptr, 0); 2373 map->l_name = args.argv[0]; 2469 PRINT("LINKER TIME: %s: %d microseconds", args.argv[0], (int) ( 2474 PRINT("RELO STATS: %s: %d abs, %d rel, %d copy, %d symbol", args.argv[0], 2500 PRINT("PAGES MODIFIED: %s: %d (%dKB)", args.argv[0], count, count * 4); 2563 __libc_fatal("This is %s, the helper program for shared library executables.\n", args.argv[0]);
|