/lxc/src/tests/ |
H A D | may_control.c | 30 int main(int argc, char *argv[]) argument 36 if (argc < 2) 39 if (argc == 3)
|
H A D | list.c | 81 int main(int argc, char *argv[]) argument 85 if (argc > 1)
|
H A D | destroytest.c | 63 int main(int argc, char *argv[]) argument
|
H A D | getkeys.c | 32 int main(int argc, char *argv[]) argument
|
H A D | device_add_remove.c | 26 int main(int argc, char *argv[]) argument
|
/lxc/src/lxc/tools/ |
H A D | lxc_config.c | 60 int main(int argc, char *argv[]) argument 65 if (argc < 2)
|
H A D | lxc_clone.c | 112 int main(int argc, char *argv[]) argument 126 if (argc < 3) 130 c = getopt_long(argc, argv, "sB:L:o:n:v:KMHp:P:Rt:h", options, &option_index); 150 if (optind < argc && !orig) 152 if (optind < argc && !new) 154 if (optind < argc)
|
H A D | lxc_cgroup.c | 39 if (!args->argc) { 66 int main(int argc, char *argv[]) argument 71 if (lxc_arguments_parse(&my_args, argc, argv)) 115 if ((my_args.argc) > 1) {
|
H A D | lxc_unfreeze.c | 55 int main(int argc, char *argv[]) argument 59 if (lxc_arguments_parse(&my_args, argc, argv))
|
H A D | lxc_execute.c | 50 if (!args->argc) { 105 int main(int argc, char *argv[]) argument 116 if (lxc_arguments_parse(&my_args, argc, argv))
|
H A D | lxc_device.c | 101 int main(int argc, char *argv[]) argument 112 if (lxc_arguments_parse(&my_args, argc, argv)) 147 if (my_args.argc < 2) { 154 if (my_args.argc < 3)
|
H A D | lxc_freeze.c | 57 int main(int argc, char *argv[]) argument 61 if (lxc_arguments_parse(&my_args, argc, argv))
|
H A D | lxc_wait.c | 83 int main(int argc, char *argv[]) argument 87 if (lxc_arguments_parse(&my_args, argc, argv))
|
H A D | lxc_usernsexec.c | 265 int main(int argc, char *argv[]) argument 301 while ((c = getopt(argc, argv, "m:h")) != EOF) { 318 argc = argc - optind; 319 if (argc < 1) { 321 argc = 1;
|
H A D | lxc_console.c | 97 int main(int argc, char *argv[]) argument 102 ret = lxc_arguments_parse(&my_args, argc, argv);
|
H A D | lxc_snapshot.c | 81 int main(int argc, char *argv[]) argument 86 if (lxc_arguments_parse(&my_args, argc, argv)) 264 if ((!args->newname) && (args->argc > 1)) { 269 if ((!args->newname) && (args->argc == 1))
|
H A D | lxc_checkpoint.c | 195 int main(int argc, char *argv[]) argument 200 if (lxc_arguments_parse(&my_args, argc, argv))
|
H A D | lxc_init.c | 77 int main(int argc, char *argv[]) argument 87 while ((opt = getopt_long(argc, argv, "n:l:qP:", options, NULL)) != -1) {
|
H A D | lxc_monitor.c | 86 int main(int argc, char *argv[]) argument 97 if (lxc_arguments_parse(&my_args, argc, argv))
|
H A D | lxc_stop.c | 155 int main(int argc, char *argv[]) argument 161 if (lxc_arguments_parse(&my_args, argc, argv))
|
/lxc/src/lxc/ |
H A D | execute.c | 47 int argc = 0, argc_add; local 50 while (my_args->argv[argc++]); 61 argv = malloc((argc + argc_add) * sizeof(*argv)); 86 for (j = 0; j < argc; j++)
|
H A D | arguments.h | 136 int argc; member in struct:lxc_arguments 160 int argc, char *const argv[]);
|
H A D | arguments.c | 183 int argc, char * const argv[]) 198 c = getopt_long(argc, argv, shortopts, args->options, &index); 230 args->argc = argc - optind; 182 lxc_arguments_parse(struct lxc_arguments *args, int argc, char * const argv[]) argument
|
/lxc/src/lua-lxc/ |
H A D | core.c | 69 int argc = lua_gettop(L); local 71 if (argc > 1) 125 int argc = lua_gettop(L); local 129 argv = alloca((argc+1) * sizeof(char *)); 130 for (i = 0; i < argc-2; i++) 150 int argc = lua_gettop(L); local 155 if (argc > 1) { 156 argv = alloca((argc+1) * sizeof(char *)); 157 for (i = 0, j = 0; i < argc-1; i++) { 204 int argc local 405 int argc = lua_gettop(L); local 459 int argc = lua_gettop(L); local [all...] |
/lxc/hooks/ |
H A D | unmount-namespace.c | 163 int main(int argc, char **argv) { argument 169 if (argc < 4 || strcmp(argv[2], "lxc") != 0) { 177 for (i = 4; i != argc; ++i) {
|