/picolibc-3.7.0-3.6.0/picocrt/ |
D | crt0.h | 108 int argc = 0; in __start() local 115 while (*c && argc < ARGV_LEN - 1) { in __start() 116 argv[argc++] = c; in __start() 126 argv[argc++] = "program-name"; in __start() 127 argv[argc] = NULL; in __start() 130 #define argc 0 in __start() macro 133 int ret = main(argc, argv); in __start()
|
/picolibc-3.7.0-3.6.0/test/semihost/ |
D | semihost-argv.c | 45 main(int argc, char **argv) in main() argument 50 if (argc == 0) { in main() 55 if (argc != EXPECT_NARG) { in main() 56 printf("argc is %d expect %d\n", argc, (int) EXPECT_NARG); in main() 59 for (c = 0; (int) c < argc; c++) { in main()
|
D | semihost-no-argv.c | 45 main(int argc, char **argv) in main() argument 50 if (argc != EXPECT_NARG) { in main() 51 printf("argc is %d expect %d\n", argc, (int) EXPECT_NARG); in main() 55 for (c = 1; (int) c < argc; c++) { in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/argz/ |
D | argz_create.c | 18 int argc = 0; in argz_create() local 31 while (argv[argc]) in argz_create() 33 *argz_len += (strlen(argv[argc]) + 1); in argz_create() 34 argc++; in argz_create() 42 for(i = 0; i < argc; i++) in argz_create()
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | getopt.c | 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() 215 || data->optind >= argc || argv[data->optind] == 0) in getopt_internal() 395 else if (data->optind + 1 >= argc) in getopt_internal() 465 getopt (int argc, char *const argv[], const char *optstring) in getopt() argument 471 r = getopt_internal (argc, argv, optstring, 0, 0, 0, &data); in getopt() 477 getopt_long (int argc, char *const argv[], const char *shortopts, in getopt_long() argument 484 r = getopt_internal (argc, argv, shortopts, longopts, longind, 0, &data); in getopt_long() 490 getopt_long_only (int argc, char *const argv[], const char *shortopts, in getopt_long_only() argument 497 r = getopt_internal (argc, argv, shortopts, longopts, longind, 1, &data); in getopt_long_only() [all …]
|
/picolibc-3.7.0-3.6.0/test/ |
D | time-sprintf.c | 45 main(int argc, char **argv) in main() argument 49 if (argc >= 2) in main()
|
D | test-fread-fwrite.c | 112 main(int argc, char **argv) in main() argument 128 if (argc > 1) { in main()
|
/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
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | ChangeLog-2015 | 25147 (init_exceptions): Delete args argc,argv. New arg mine.
|