/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | getopt.c | 128 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 …]
|
D | system.c | 109 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/ |
D | argz_create.c | 14 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()
|
D | argz_extract.c | 14 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/ |
D | crt0.h | 107 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()
|
D | meson.build | 163 # The 'semihost' variant calls sys_semihost_get_cmdline to build argv
|
/picolibc-3.7.0-3.6.0/newlib/libc/sys/xtensa/ |
D | clibrary_init.c | 31 __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/ |
D | semihost-no-argv.c | 45 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()
|
D | semihost-argv.c | 45 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()
|
D | meson.build | 37 'semihost-argv', 74 'semihost-no-argv',
|
/picolibc-3.7.0-3.6.0/test/ |
D | time-sprintf.c | 45 main(int argc, char **argv) in main() argument 50 loops = atoi(argv[1]); in main()
|
D | test-fread-fwrite.c | 112 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/ |
D | argz.h | 18 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/ |
D | monitor-e9 | 9 with subprocess.Popen(sys.argv[1:], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) as proc:
|
/picolibc-3.7.0-3.6.0/ |
D | find-copyright | 340 for name in sys.argv[1:]:
|
D | COPYING.picolibc | 806 test/semihost/semihost-argv.c 821 test/semihost/semihost-no-argv.c
|
/picolibc-3.7.0-3.6.0/newlib/libc/ |
D | sys.tex | 93 int execve(char *name, char **argv, char **env) @{
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | ChangeLog-2015 | 16300 * 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.
|