Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 9 of 9) sorted by relevance

/picolibc-3.7.0-3.6.0/picocrt/
Dcrt0.h108 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/
Dsemihost-argv.c45 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()
Dsemihost-no-argv.c45 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/
Dargz_create.c18 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/
Dgetopt.c190 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/
Dtime-sprintf.c45 main(int argc, char **argv) in main() argument
49 if (argc >= 2) in main()
Dtest-fread-fwrite.c112 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/
Dclibrary_init.c31 __clibrary_init (int argc, char **argv, char **envp, in __clibrary_init() argument
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201525147 (init_exceptions): Delete args argc,argv. New arg mine.