/bionic/libc/unistd/ |
D | exec.c | 51 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/libc/bionic/ |
D | libc_init_static.c | 66 char **argv, **envp; in __libc_init() local 84 argv = (char**)(elfdata + 1); in __libc_init() 85 envp = argv + argc + 1; in __libc_init() 94 exit(slingshot(argc, argv, envp)); in __libc_init()
|
D | libc_init_dynamic.c | 112 char** argv = (char**)(elfdata + 1); in __libc_init() local 113 char** envp = argv + argc + 1; in __libc_init() 126 exit(slingshot(argc, argv, envp)); in __libc_init()
|
D | libc_init_common.c | 88 char** argv = (char**)(elfdata + 1); in __libc_init_common() local 89 char** envp = argv + argc + 1; in __libc_init_common() 98 __progname = argv[0] ? argv[0] : "<unknown>"; in __libc_init_common()
|
D | fts.c | 70 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()
|
D | arc4random.c | 294 main(int argc, char **argv)
|
/bionic/libdl/ |
D | dltest.c | 72 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/kernel/tools/ |
D | update_all.py | 24 """ % { "progname" : os.path.basename(sys.argv[0]) } 28 optlist, args = getopt.getopt( sys.argv[1:], '' )
|
D | find_users.py | 31 optlist, args = getopt.getopt( sys.argv[1:], 'v' )
|
D | clean_header.py | 101 """ % os.path.basename(sys.argv[0]) 105 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]) 55 path = os.path.realpath(sys.argv[0])
|
D | find_headers.py | 39 optlist, args = getopt.getopt( sys.argv[1:], 'vc:d:a:k:' )
|
/bionic/libc/arch-arm/bionic/ |
D | crtbegin.c | 36 extern int main(int argc, char **argv, char **env);
|
/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/netbsd/resolv/ |
D | res_random.c | 253 main(int argc, char **argv) 267 n = argc > 1 ? atoi(argv[1]) : 60001;
|
/bionic/libc/tools/zoneinfo/ |
D | generate | 16 bionic_libc_tools_zoneinfo_dir = os.path.realpath(os.path.dirname(sys.argv[0]))
|
/bionic/libc/tools/ |
D | generate-NOTICE.py | 100 args = sys.argv[1:]
|
D | checksyscalls.py | 53 parse_command_line(sys.argv)
|
D | bionic_utils.py | 61 path = find_dir_of(sys.argv[0])
|
/bionic/linker/ |
D | linker.cpp | 1759 char **argv = (char**) (elfdata + 1); in __linker_init_post_relocation() local 1760 unsigned *vecs = (unsigned*) (argv + argc + 1); in __linker_init_post_relocation() 1828 si = soinfo_alloc(argv[0]); in __linker_init_post_relocation() 1838 map->l_name = argv[0]; in __linker_init_post_relocation() 1931 PRINT("LINKER TIME: %s: %d microseconds\n", argv[0], (int) ( in __linker_init_post_relocation() 1937 PRINT("RELO STATS: %s: %d abs, %d rel, %d copy, %d symbol\n", argv[0], in __linker_init_post_relocation() 1957 PRINT("PAGES MODIFIED: %s: %d (%dKB)\n", argv[0], count, count * 4); in __linker_init_post_relocation() 1976 char **argv = (char**) (elfdata + 1); in find_linker_base() local 1977 unsigned *vecs = (unsigned*) (argv + argc + 1); in find_linker_base()
|