Lines Matching refs:argn
1780 static ssize_t parse_config_data_args(const struct shell *sh, size_t argn, size_t argc, in parse_config_data_args() argument
1783 for (; argn < argc; argn++) { in parse_config_data_args()
1784 const char *arg = argv[argn]; in parse_config_data_args()
1789 if (++argn == argc) { in parse_config_data_args()
1795 arg = argv[argn]; in parse_config_data_args()
1818 if (++argn == argc) { in parse_config_data_args()
1824 arg = argv[argn]; in parse_config_data_args()
1847 if (++argn == argc) { in parse_config_data_args()
1853 arg = argv[argn]; in parse_config_data_args()
1877 if (++argn == argc) { in parse_config_data_args()
1883 arg = argv[argn]; in parse_config_data_args()
1906 if (++argn == argc) { in parse_config_data_args()
1912 arg = argv[argn]; in parse_config_data_args()
1936 argn--; in parse_config_data_args()
1941 return argn; in parse_config_data_args()
1944 static ssize_t parse_config_meta_args(const struct shell *sh, size_t argn, size_t argc, in parse_config_meta_args() argument
1947 for (; argn < argc; argn++) { in parse_config_meta_args()
1948 const char *arg = argv[argn]; in parse_config_meta_args()
1953 if (++argn == argc) { in parse_config_meta_args()
1959 arg = argv[argn]; in parse_config_meta_args()
1983 if (++argn == argc) { in parse_config_meta_args()
1989 arg = argv[argn]; in parse_config_meta_args()
2013 if (++argn == argc) { in parse_config_meta_args()
2019 arg = argv[argn]; in parse_config_meta_args()
2029 if (++argn == argc) { in parse_config_meta_args()
2035 arg = argv[argn]; in parse_config_meta_args()
2053 if (++argn == argc) { in parse_config_meta_args()
2059 arg = argv[argn]; in parse_config_meta_args()
2077 if (++argn == argc) { in parse_config_meta_args()
2083 arg = argv[argn]; in parse_config_meta_args()
2108 if (++argn == argc) { in parse_config_meta_args()
2114 arg = argv[argn]; in parse_config_meta_args()
2125 if (++argn == argc) { in parse_config_meta_args()
2131 arg = argv[argn]; in parse_config_meta_args()
2168 if (++argn == argc) { in parse_config_meta_args()
2174 arg = argv[argn]; in parse_config_meta_args()
2195 if (++argn == argc) { in parse_config_meta_args()
2201 arg = argv[argn]; in parse_config_meta_args()
2219 argn--; in parse_config_meta_args()
2224 return argn; in parse_config_meta_args()
2281 for (size_t argn = 3; argn < argc; argn++) { in cmd_preset() local
2282 const char *arg = argv[argn]; in cmd_preset()
2287 if (++argn == argc) { in cmd_preset()
2296 ret = parse_config_data_args(sh, argn, argc, argv, in cmd_preset()
2305 argn = ret; in cmd_preset()
2309 if (++argn == argc) { in cmd_preset()
2318 ret = parse_config_meta_args(sh, argn, argc, argv, in cmd_preset()
2327 argn = ret; in cmd_preset()
3540 for (size_t argn = 1U; argn < argc; argn++) { in cmd_sync_broadcast() local
3541 const char *arg = argv[argn]; in cmd_sync_broadcast()
3543 if (strcmp(argv[argn], "bcode") == 0) { in cmd_sync_broadcast()
3546 if (++argn == argc) { in cmd_sync_broadcast()
3552 arg = argv[argn]; in cmd_sync_broadcast()
3562 } else if (strcmp(argv[argn], "bcode_str") == 0) { in cmd_sync_broadcast()
3563 if (++argn == argc) { in cmd_sync_broadcast()
3569 arg = argv[argn]; in cmd_sync_broadcast()