/busybox-1.35.0/networking/ |
D | ip.c | 342 int ipaddr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 343 int ipaddr_main(int argc UNUSED_PARAM, char **argv) in ipaddr_main() 349 int iplink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 350 int iplink_main(int argc UNUSED_PARAM, char **argv) in iplink_main() 356 int iproute_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 357 int iproute_main(int argc UNUSED_PARAM, char **argv) in iproute_main() 363 int iprule_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 364 int iprule_main(int argc UNUSED_PARAM, char **argv) in iprule_main() 370 int iptunnel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 371 int iptunnel_main(int argc UNUSED_PARAM, char **argv) in iptunnel_main() [all …]
|
D | nc.c | 118 int nc_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 119 int nc_main(int argc, char **argv) in nc_main() argument 136 while ((opt = getopt(argc, argv, in nc_main() 149 else if (ENABLE_NC_EXTRA && opt == 'e' && optind <= argc) { in nc_main() 157 execparam = xzalloc(sizeof(char*) * (argc - optind + 2)); in nc_main() 160 while (optind < argc) { in nc_main() 172 argc -= optind; in nc_main() 178 if (argc) bb_show_usage(); in nc_main() 180 if (argc > 1) bb_show_usage(); in nc_main() 182 if (!argc || argc > 2) bb_show_usage(); in nc_main() [all …]
|
/busybox-1.35.0/shell/ash_test/ |
D | printenv.c | 34 main (argc, argv) in main() argument 35 int argc; in main() 42 argc--; 45 if (argc == 0)
|
/busybox-1.35.0/console-tools/ |
D | setkeycodes.c | 42 int setkeycodes_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 43 int setkeycodes_main(int argc, char **argv) in setkeycodes_main() argument 47 if (!(argc & 1) /* if even */ || argc < 2) { in setkeycodes_main()
|
D | reset.c | 33 int stty_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 36 int reset_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 37 int reset_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) in reset_main()
|
D | clear.c | 28 int clear_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 29 int clear_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) in clear_main()
|
/busybox-1.35.0/miscutils/ |
D | ubirename.c | 59 int ubirename_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 60 int ubirename_main(int argc, char **argv) in ubirename_main() argument 68 if ((argc & 1) || (argc >>= 1) < 2) in ubirename_main() 72 rnvol->count = --argc; in ubirename_main() 73 if (argc > ARRAY_SIZE(rnvol->ents)) in ubirename_main()
|
/busybox-1.35.0/util-linux/ |
D | pivot_root.c | 37 int pivot_root_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 38 int pivot_root_main(int argc, char **argv) in pivot_root_main() argument 40 if (argc != 3) in pivot_root_main()
|
D | getopt.c | 207 #define generate_output(argv,argc,optstr,longopts) \ argument 208 generate_output(argv,argc,optstr) 210 static int generate_output(char **argv, int argc, const char *optstr, const struct option *longopts) in generate_output() argument 225 ? getopt_long_only(argc, argv, optstr, longopts, &longindex) in generate_output() 226 : getopt_long(argc, argv, optstr, longopts, &longindex) in generate_output() 229 int opt = getopt(argc, argv, optstr); in generate_output() 353 int getopt_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 354 int getopt_main(int argc, char **argv) in getopt_main() argument 385 return generate_output(argv+1, argc-1, s, long_options); in getopt_main() 416 return generate_output(argv + n, argc - n, optstr, long_options); in getopt_main()
|
/busybox-1.35.0/coreutils/ |
D | chgrp.c | 54 int chgrp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 55 int chgrp_main(int argc, char **argv) in chgrp_main() argument 65 return chown_main(argc, argv); in chgrp_main()
|
D | od.c | 39 odoffset(dumper_t *dumper, int argc, char ***argvp) in odoffset() argument 65 && (argc < 2 in odoffset() 172 int od_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 173 int od_main(int argc, char **argv) in od_main() argument 180 while ((ch = getopt(argc, argv, od_opts)) > 0) { in od_main() 201 argc -= optind; in od_main() 204 odoffset(dumper, argc, &argv); in od_main()
|
D | seq.c | 32 int seq_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 33 int seq_main(int argc, char **argv) in seq_main() argument 53 argc -= optind; in seq_main() 57 switch (argc) { in seq_main() 66 last = strtod(argv[argc-1], &pp); in seq_main()
|
D | readlink.c | 65 int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 66 int readlink_main(int argc UNUSED_PARAM, char **argv) in readlink_main() 79 if (argc != 2) bb_show_usage(); in readlink_main()
|
D | mv.c | 42 int mv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 43 int mv_main(int argc, char **argv) in mv_main() argument 78 argc -= optind; in mv_main() 82 last = argv[argc - 1]; in mv_main() 83 if (argc < 2) in mv_main() 85 if (argc != 2) { in mv_main()
|
D | sync.c | 88 int sync_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 89 int sync_main(int argc UNUSED_PARAM, char **argv IF_NOT_DESKTOP(UNUSED_PARAM)) in sync_main() 133 int fsync_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 134 int fsync_main(int argc UNUSED_PARAM, char **argv) in fsync_main()
|
D | true.c | 34 int true_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 35 int true_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) in true_main()
|
D | false.c | 34 int false_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 35 int false_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) in false_main()
|
D | cp.c | 113 int cp_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 114 int cp_main(int argc, char **argv) in cp_main() argument 186 argc -= optind; in cp_main() 205 last = argv[argc - 1]; in cp_main() 206 if (argc < 2) in cp_main() 208 if (argc != 2) { in cp_main()
|
D | dirname.c | 38 int dirname_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 39 int dirname_main(int argc UNUSED_PARAM, char **argv) in dirname_main()
|
D | unlink.c | 26 int unlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 27 int unlink_main(int argc UNUSED_PARAM, char **argv) in unlink_main()
|
D | usleep.c | 34 int usleep_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 35 int usleep_main(int argc UNUSED_PARAM, char **argv) in usleep_main()
|
/busybox-1.35.0/selinux/ |
D | getsebool.c | 27 int getsebool_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 28 int getsebool_main(int argc, char **argv) in getsebool_main() argument 38 if (argc > 2) in getsebool_main() 52 if (argc < 2) in getsebool_main() 54 len = argc - 1; in getsebool_main()
|
D | setsebool.c | 29 int setsebool_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 30 int setsebool_main(int argc, char **argv) in setsebool_main() argument 35 if (argc != 3) in setsebool_main()
|
D | selinuxenabled.c | 26 int selinuxenabled_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 27 int selinuxenabled_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) in selinuxenabled_main()
|
/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | lxdialog.c | 26 typedef int (jumperFn) (const char *title, int argc, const char *const *argv); 54 int main(int argc, const char *const *argv) in main() argument 66 if (argc < 2) { in main() 71 while (offset < argc - 1 && !end_common_opts) { /* Common options */ in main() 73 if (argc - offset < 3 || title != NULL) { in main() 92 } else if (argc == 2) { /* we only want to clear the screen */ in main() 105 if (argc - 1 == offset) { /* no more options */ in main() 117 if (argc - offset < modePtr->argmin) in main() 119 if (modePtr->argmax && argc - offset > modePtr->argmax) in main() 123 retval = (*(modePtr->jumper)) (title, argc - offset, argv + offset); in main()
|