Lines Matching refs:argc
287 int os_parse_args(struct sandbox_state *state, int argc, char *argv[]) in os_parse_args() argument
301 state->argc = argc; in os_parse_args()
341 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { in os_parse_args()
580 int argc; in add_args() local
582 for (argc = 0; (*argvp)[argc]; argc++) in add_args()
585 argv = os_malloc((argc + count + 1) * sizeof(char *)); in add_args()
590 for (ap = *argvp, argc = 0; *ap; ap++) { in add_args()
605 argv[argc++] = arg; in add_args()
608 memcpy(argv + argc, add_args, count * sizeof(char *)); in add_args()
609 argv[argc + count] = NULL; in add_args()
631 int argc; in os_jump_to_file() local
651 argc = 4; in os_jump_to_file()
653 extra_args[argc++] = "--rm_memory"; in os_jump_to_file()
654 err = add_args(&argv, extra_args, argc); in os_jump_to_file()