Lines Matching refs:argn
1746 static ssize_t parse_config_data_args(const struct shell *sh, size_t argn, size_t argc, in parse_config_data_args() argument
1749 for (; argn < argc; argn++) { in parse_config_data_args()
1750 const char *arg = argv[argn]; in parse_config_data_args()
1755 if (++argn == argc) { in parse_config_data_args()
1761 arg = argv[argn]; in parse_config_data_args()
1784 if (++argn == argc) { in parse_config_data_args()
1790 arg = argv[argn]; in parse_config_data_args()
1813 if (++argn == argc) { in parse_config_data_args()
1819 arg = argv[argn]; in parse_config_data_args()
1843 if (++argn == argc) { in parse_config_data_args()
1849 arg = argv[argn]; in parse_config_data_args()
1872 if (++argn == argc) { in parse_config_data_args()
1878 arg = argv[argn]; in parse_config_data_args()
1902 argn--; in parse_config_data_args()
1907 return argn; in parse_config_data_args()
1910 static ssize_t parse_config_meta_args(const struct shell *sh, size_t argn, size_t argc, in parse_config_meta_args() argument
1913 for (; argn < argc; argn++) { in parse_config_meta_args()
1914 const char *arg = argv[argn]; in parse_config_meta_args()
1919 if (++argn == argc) { in parse_config_meta_args()
1925 arg = argv[argn]; in parse_config_meta_args()
1949 if (++argn == argc) { in parse_config_meta_args()
1955 arg = argv[argn]; in parse_config_meta_args()
1979 if (++argn == argc) { in parse_config_meta_args()
1985 arg = argv[argn]; in parse_config_meta_args()
1995 if (++argn == argc) { in parse_config_meta_args()
2001 arg = argv[argn]; in parse_config_meta_args()
2019 if (++argn == argc) { in parse_config_meta_args()
2025 arg = argv[argn]; in parse_config_meta_args()
2043 if (++argn == argc) { in parse_config_meta_args()
2049 arg = argv[argn]; in parse_config_meta_args()
2074 if (++argn == argc) { in parse_config_meta_args()
2080 arg = argv[argn]; in parse_config_meta_args()
2091 if (++argn == argc) { in parse_config_meta_args()
2097 arg = argv[argn]; in parse_config_meta_args()
2134 if (++argn == argc) { in parse_config_meta_args()
2140 arg = argv[argn]; in parse_config_meta_args()
2161 if (++argn == argc) { in parse_config_meta_args()
2167 arg = argv[argn]; in parse_config_meta_args()
2185 argn--; in parse_config_meta_args()
2190 return argn; in parse_config_meta_args()
2247 for (size_t argn = 3; argn < argc; argn++) { in cmd_preset() local
2248 const char *arg = argv[argn]; in cmd_preset()
2253 if (++argn == argc) { in cmd_preset()
2262 ret = parse_config_data_args(sh, argn, argc, argv, in cmd_preset()
2271 argn = ret; in cmd_preset()
2275 if (++argn == argc) { in cmd_preset()
2284 ret = parse_config_meta_args(sh, argn, argc, argv, in cmd_preset()
2293 argn = ret; in cmd_preset()
3425 for (size_t argn = 1U; argn < argc; argn++) { in cmd_sync_broadcast() local
3426 const char *arg = argv[argn]; in cmd_sync_broadcast()
3428 if (strcmp(argv[argn], "bcode") == 0) { in cmd_sync_broadcast()
3431 if (++argn == argc) { in cmd_sync_broadcast()
3437 arg = argv[argn]; in cmd_sync_broadcast()
3447 } else if (strcmp(argv[argn], "bcode_str") == 0) { in cmd_sync_broadcast()
3448 if (++argn == argc) { in cmd_sync_broadcast()
3454 arg = argv[argn]; in cmd_sync_broadcast()