Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dgetopt.c128 reverse_argv_elements (char **argv, int num) in reverse_argv_elements() argument
135 tmp = argv[i]; in reverse_argv_elements()
136 argv[i] = argv[num - i - 1]; in reverse_argv_elements()
137 argv[num - i - 1] = tmp; in reverse_argv_elements()
143 permute (char *const argv[], int len1, int len2) in permute() argument
145 reverse_argv_elements ((char **) argv, len1); in permute()
146 reverse_argv_elements ((char **) argv, len1 + len2); in permute()
147 reverse_argv_elements ((char **) argv, len2); in permute()
190 getopt_internal (int argc, char *const argv[], const char *shortopts, in getopt_internal() argument
214 if (argc == 0 || argv == 0 || (shortopts == 0 && longopts == 0) in getopt_internal()
[all …]
Dsystem.c109 char *argv[4]; in do_system() local
112 argv[0] = "sh"; in do_system()
113 argv[1] = "-c"; in do_system()
114 argv[2] = (char *) s; in do_system()
115 argv[3] = NULL; in do_system()
119 execve ("/bin/sh", argv, *p_environ); in do_system()
139 char *argv[4]; in do_system() local
142 argv[0] = "sh"; in do_system()
143 argv[1] = "-c"; in do_system()
144 argv[2] = (char *) s; in do_system()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/argz/
Dargz_create.c14 argz_create (char *const argv[], in argz_create() argument
25 if (*argv == NULL) in argz_create()
31 while (argv[argc]) in argz_create()
33 *argz_len += (strlen(argv[argc]) + 1); in argz_create()
44 len = strlen(argv[i]) + 1; in argz_create()
45 memcpy(iter, argv[i], len); in argz_create()
Dargz_extract.c14 char **argv) in argz_extract() argument
26 argv[count - j] = &argz[i + 1]; in argz_extract()
29 argv[0] = &argz[0]; in argz_extract()
30 argv[count] = NULL; in argz_extract()
/picolibc-3.7.0-3.6.0/picocrt/
Dcrt0.h107 static char *argv[ARGV_LEN]; in __start() local
116 argv[argc++] = c; in __start()
126 argv[argc++] = "program-name"; in __start()
127 argv[argc] = NULL; in __start()
129 #define argv NULL in __start() macro
133 int ret = main(argc, argv); in __start()
Dmeson.build163 # The 'semihost' variant calls sys_semihost_get_cmdline to build argv
/picolibc-3.7.0-3.6.0/newlib/libc/sys/xtensa/
Dclibrary_init.c31 __clibrary_init (int argc, char **argv, char **envp, in __clibrary_init() argument
35 if (argv != 0) in __clibrary_init()
36 __progname = *argv; in __clibrary_init()
/picolibc-3.7.0-3.6.0/test/semihost/
Dsemihost-no-argv.c45 main(int argc, char **argv) in main() argument
57 if (strcmp(argv[c], expect_argv[c]) != 0) { in main()
59 c, argv[c], expect_argv[c]); in main()
Dsemihost-argv.c45 main(int argc, char **argv) in main() argument
61 if (strcmp(argv[c], expect_argv[c]) != 0) { in main()
63 c, argv[c], expect_argv[c]); in main()
Dmeson.build37 'semihost-argv',
74 'semihost-no-argv',
/picolibc-3.7.0-3.6.0/test/
Dtime-sprintf.c45 main(int argc, char **argv) in main() argument
50 loops = atoi(argv[1]); in main()
Dtest-fread-fwrite.c112 main(int argc, char **argv) in main() argument
129 repeat = atoi(argv[1]); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dargz.h18 error_t argz_create (char *const argv[], char **argz, size_t *argz_len);
21 void argz_extract (char *argz, size_t argz_len, char **argv);
/picolibc-3.7.0-3.6.0/scripts/
Dmonitor-e99 with subprocess.Popen(sys.argv[1:], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) as proc:
/picolibc-3.7.0-3.6.0/
Dfind-copyright340 for name in sys.argv[1:]:
DCOPYING.picolibc806 test/semihost/semihost-argv.c
821 test/semihost/semihost-no-argv.c
/picolibc-3.7.0-3.6.0/newlib/libc/
Dsys.tex93 int execve(char *name, char **argv, char **env) @{
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201516300 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
25140 (argv, envp): Dump if __strace >= 4.
25147 (init_exceptions): Delete args argc,argv. New arg mine.