/systemd/src/resolve/ |
H A D | test-resolve-tables.c | 23 int main(int argc, char **argv) { argument
|
/systemd/src/test/ |
H A D | test-ipcrm.c | 24 int main(int argc, char *argv[]) { argument 28 assert_se(parse_uid(argv[1], &uid) >= 0);
|
H A D | test-hostname.c | 23 int main(int argc, char* argv[]) { argument
|
H A D | test-verbs.c | 24 static int noop_dispatcher(int argc, char *argv[], void *userdata) { argument 28 #define test_dispatch_one(argv, verbs, expected) \ 30 assert_se(dispatch_verb(strv_length(argv), argv, verbs, NULL) == expected); 73 int main(int argc, char *argv[]) { argument
|
H A D | test-ask-password-api.c | 34 int main(int argc, char **argv) { argument
|
H A D | test-loopback.c | 26 int main(int argc, char* argv[]) { argument
|
/systemd/src/coredump/ |
H A D | test-coredump-vacuum.c | 24 int main(int argc, char *argv[]) { argument
|
/systemd/src/import/ |
H A D | test-qcow2.c | 25 int main(int argc, char *argv[]) { argument 34 sfd = open(argv[1], O_RDONLY|O_CLOEXEC|O_NOCTTY); 40 dfd = open(argv[2], O_WRONLY|O_CREAT|O_CLOEXEC|O_NOCTTY, 0666);
|
H A D | export.c | 74 static int export_tar(int argc, char *argv[], void *userdata) { argument 82 if (machine_name_is_valid(argv[1])) { 83 r = image_find(argv[1], &image); 85 return log_error_errno(r, "Failed to look for machine %s: %m", argv[1]); 87 log_error("Machine image %s not found.", argv[1]); 93 local = argv[1]; 96 path = argv[2]; 153 static int export_raw(int argc, char *argv[], void *userdata) { argument 161 if (machine_name_is_valid(argv[1])) { 162 r = image_find(argv[ 222 help(int argc, char *argv[], void *userdata) argument 237 parse_argv(int argc, char *argv[]) argument 291 export_main(int argc, char *argv[]) argument 303 main(int argc, char *argv[]) argument [all...] |
/systemd/src/machine/ |
H A D | test-machine-tables.c | 23 int main(int argc, char **argv) { argument
|
/systemd/src/ac-power/ |
H A D | ac-power.c | 22 int main(int argc, char *argv[]) { argument
|
/systemd/src/user-sessions/ |
H A D | user-sessions.c | 30 int main(int argc, char*argv[]) { 45 if (streq(argv[1], "start")) { 67 } else if (streq(argv[1], "stop")) { 77 log_error("Unknown verb %s.", argv[1]);
|
/systemd/src/basic/ |
H A D | verbs.h | 30 int (* const dispatch)(int argc, char *argv[], void *userdata); 33 int dispatch_verb(int argc, char *argv[], const Verb verbs[], void *userdata);
|
/systemd/src/udev/ |
H A D | udevadm.c | 27 static int adm_version(struct udev *udev, int argc, char *argv[]) { argument 37 static int adm_help(struct udev *udev, int argc, char *argv[]); 57 static int adm_help(struct udev *udev, int argc, char *argv[]) { argument 71 static int run_command(struct udev *udev, const struct udevadm_cmd *cmd, int argc, char *argv[]) { argument 75 return cmd->cmd(udev, argc, argv); 78 int main(int argc, char *argv[]) { argument 98 while ((c = getopt_long(argc, argv, "+dhV", options, NULL)) >= 0) 106 rc = adm_help(udev, argc, argv); 110 rc = adm_version(udev, argc, argv); 117 command = argv[optin [all...] |
H A D | udev-builtin-kmod.c | 66 static int builtin_kmod(struct udev_device *dev, int argc, char *argv[], bool test) { argument 73 if (argc < 3 || !streq(argv[1], "load")) { 74 log_error("expect: %s load <module>", argv[0]); 78 for (i = 2; argv[i]; i++) { 79 log_debug("Execute '%s' '%s'", argv[1], argv[i]); 80 load_module(udev, argv[i]);
|
H A D | udev-builtin-btrfs.c | 33 static int builtin_btrfs(struct udev_device *dev, int argc, char *argv[], bool test) { argument 38 if (argc != 3 || !streq(argv[1], "ready")) 45 strscpy(args.name, sizeof(args.name), argv[2]);
|
/systemd/src/login/ |
H A D | test-login-shared.c | 32 int main(int argc, char* argv[]) { argument
|
/systemd/src/cgroups-agent/ |
H A D | cgroups-agent.c | 27 int main(int argc, char *argv[]) { argument 58 "s", argv[1]);
|
/systemd/src/journal/ |
H A D | cat.c | 50 static int parse_argv(int argc, char *argv[]) { argument 69 assert(argv); 71 while ((c = getopt_long(argc, argv, "+ht:p:", options, NULL)) >= 0) 118 int main(int argc, char *argv[]) { argument 125 r = parse_argv(argc, argv); 150 (void) execvp(argv[optind], argv + optind);
|
/systemd/src/detect-virt/ |
H A D | detect-virt.c | 48 static int parse_argv(int argc, char *argv[]) { argument 67 assert(argv); 69 while ((c = getopt_long(argc, argv, "hqcvr", options, NULL)) >= 0) 111 int main(int argc, char *argv[]) { argument 121 r = parse_argv(argc, argv);
|
/systemd/src/machine-id-setup/ |
H A D | machine-id-setup-main.c | 43 static int parse_argv(int argc, char *argv[]) { argument 62 assert(argv); 64 while ((c = getopt_long(argc, argv, "hqcv", options, NULL)) >= 0) 100 int main(int argc, char *argv[]) { argument 106 r = parse_argv(argc, argv);
|
/systemd/src/reply-password/ |
H A D | reply-password.c | 52 int main(int argc, char *argv[]) { argument 67 if (streq(argv[1], "1")) { 77 } else if (streq(argv[1], "0")) { 81 log_error("Invalid first argument %s", argv[1]); 92 r = send_on_socket(fd, argv[2], packet, length);
|
/systemd/src/ask-password/ |
H A D | ask-password.c | 54 static int parse_argv(int argc, char *argv[]) { argument 83 assert(argv); 85 while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) 136 arg_message = strv_join(argv + optind, " "); 144 int main(int argc, char *argv[]) { argument 153 r = parse_argv(argc, argv);
|
/systemd/src/system-update-generator/ |
H A D | system-update-generator.c | 53 int main(int argc, char *argv[]) { argument 62 arg_dest = argv[2];
|
/systemd/src/udev/mtd_probe/ |
H A D | mtd_probe.c | 31 int main(int argc, char** argv) argument 42 mtd_fd = open(argv[1], O_RDONLY|O_CLOEXEC);
|