Lines Matching refs:argc
324 char supp_make_argv(size_t *argc, const char **argv, char *cmd, in supp_make_argv() argument
330 *argc = 0; in supp_make_argv()
342 argv[(*argc)++] = cmd; in supp_make_argv()
343 if (*argc == max_argc) { in supp_make_argv()
402 int zephyr_wpa_ctrl_zephyr_cmd(int argc, const char *argv[]) in zephyr_wpa_ctrl_zephyr_cmd() argument
404 return wpa_request(ctrl_conn, argc , (char **) argv); in zephyr_wpa_ctrl_zephyr_cmd()
410 int argc; in zephyr_wpa_cli_cmd_v() local
418 (void)supp_make_argv(&argc, &argv[0], cmd, MAX_ARGS); in zephyr_wpa_cli_cmd_v()
420 wpa_printf(MSG_DEBUG, "Calling wpa_cli: %s, argc: %d", cmd, argc); in zephyr_wpa_cli_cmd_v()
421 for (int i = 0; i < argc; i++) in zephyr_wpa_cli_cmd_v()
424 return zephyr_wpa_ctrl_zephyr_cmd(argc, argv); in zephyr_wpa_cli_cmd_v()
488 int zephyr_wpa_global_ctrl_zephyr_cmd(int argc, const char *argv[]) in zephyr_wpa_global_ctrl_zephyr_cmd() argument
490 return wpa_request(global_ctrl_conn, argc , (char **) argv); in zephyr_wpa_global_ctrl_zephyr_cmd()
496 int argc; in zephyr_wpa_cli_global_cmd_v() local
504 (void)supp_make_argv(&argc, &argv[0], cmd, MAX_ARGS); in zephyr_wpa_cli_global_cmd_v()
506 wpa_printf(MSG_DEBUG, "Calling wpa_cli: %s, argc: %d", cmd, argc); in zephyr_wpa_cli_global_cmd_v()
507 for (int i = 0; i < argc; i++) in zephyr_wpa_cli_global_cmd_v()
510 return zephyr_wpa_global_ctrl_zephyr_cmd(argc, argv); in zephyr_wpa_cli_global_cmd_v()