Home
last modified time | relevance | path

Searched refs:argn (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcsip_set_member.c89 for (size_t argn = 1; argn < argc; argn++) { in cmd_csip_set_member_register() local
90 const char *arg = argv[argn]; in cmd_csip_set_member_register()
94 argn++; in cmd_csip_set_member_register()
95 if (argn == argc) { in cmd_csip_set_member_register()
100 set_size = shell_strtoul(argv[argn], 0, &err); in cmd_csip_set_member_register()
119 argn++; in cmd_csip_set_member_register()
120 if (argn == argc) { in cmd_csip_set_member_register()
125 rank = shell_strtoul(argv[argn], 0, &err); in cmd_csip_set_member_register()
145 argn++; in cmd_csip_set_member_register()
146 if (argn == argc) { in cmd_csip_set_member_register()
[all …]
Dhas_client.c151 for (size_t argn = 2; argn < argc; argn++) { in cmd_has_client_preset_set() local
152 const char *arg = argv[argn]; in cmd_has_client_preset_set()
186 for (size_t argn = 1; argn < argc; argn++) { in cmd_has_client_preset_next() local
187 const char *arg = argv[argn]; in cmd_has_client_preset_next()
221 for (size_t argn = 1; argn < argc; argn++) { in cmd_has_client_preset_prev() local
222 const char *arg = argv[argn]; in cmd_has_client_preset_prev()
Dcap_acceptor.c104 for (size_t argn = 1; argn < argc; argn++) { in cmd_cap_acceptor_init() local
105 const char *arg = argv[argn]; in cmd_cap_acceptor_init()
110 argn++; in cmd_cap_acceptor_init()
111 if (argn == argc) { in cmd_cap_acceptor_init()
116 set_size = shell_strtoul(argv[argn], 0, &err); in cmd_cap_acceptor_init()
135 argn++; in cmd_cap_acceptor_init()
136 if (argn == argc) { in cmd_cap_acceptor_init()
141 rank = shell_strtoul(argv[argn], 0, &err); in cmd_cap_acceptor_init()
161 argn++; in cmd_cap_acceptor_init()
162 if (argn == argc) { in cmd_cap_acceptor_init()
[all …]
Dhas.c92 for (size_t argn = 1; argn < argc; argn++) { in cmd_features_set() local
93 const char *arg = argv[argn]; in cmd_features_set()
129 for (size_t argn = 1; argn < argc; argn++) { in cmd_has_register() local
130 const char *arg = argv[argn]; in cmd_has_register()
Dbap.c1780 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()
[all …]
Dcap_initiator.c174 for (size_t argn = 1; argn < argc; argn++) { in cmd_cap_initiator_unicast_start() local
175 const char *arg = argv[argn]; in cmd_cap_initiator_unicast_start()
180 if (++argn == argc) { in cmd_cap_initiator_unicast_start()
186 sink_cnt = shell_strtoul(argv[argn], 10, &err); in cmd_cap_initiator_unicast_start()
188 if (++argn == argc) { in cmd_cap_initiator_unicast_start()
194 source_cnt = shell_strtoul(argv[argn], 10, &err); in cmd_cap_initiator_unicast_start()
196 if (++argn == argc) { in cmd_cap_initiator_unicast_start()
202 if (strcmp(argv[argn], "all") == 0) { in cmd_cap_initiator_unicast_start()
205 conn_cnt = shell_strtoul(argv[argn], 10, &err); in cmd_cap_initiator_unicast_start()
220 arg, argv[argn], err); in cmd_cap_initiator_unicast_start()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcsip_set_member_test.c222 for (size_t argn = 0; argn < argc; argn++) { in test_args() local
223 const char *arg = argv[argn]; in test_args()
226 param.set_size = strtol(argv[++argn], NULL, 10); in test_args()
228 param.rank = strtol(argv[++argn], NULL, 10); in test_args()
234 argn++; in test_args()
236 len = hex2bin(argv[argn], strlen(argv[argn]), param.sirk, in test_args()
Dgmap_ugt_test.c467 for (size_t argn = 0; argn < argc; argn++) { in test_args() local
468 const char *arg = argv[argn]; in test_args()
471 csis_rank = strtoul(argv[++argn], NULL, 10); in test_args()
Dbap_broadcast_source_test.c689 for (size_t argn = 0; argn < argc; argn++) { in test_args() local
690 const char *arg = argv[argn]; in test_args()
693 arg = argv[++argn]; in test_args()
701 arg = argv[++argn]; in test_args()
Dcsip_set_coordinator_test.c524 for (int argn = 0; argn < argc; argn++) { in test_args() local
525 const char *arg = argv[argn]; in test_args()
Dcap_initiator_broadcast_test.c840 for (size_t argn = 0; argn < argc; argn++) { in test_args() local
841 const char *arg = argv[argn]; in test_args()
844 const char *preset_arg = argv[++argn]; in test_args()
Dgmap_ugg_test.c1461 for (size_t argn = 0; argn < argc; argn++) { in test_args() local
1462 const char *arg = argv[argn]; in test_args()
1465 const char *preset_arg = argv[++argn]; in test_args()
1473 const char *preset_arg = argv[++argn]; in test_args()
1481 const char *preset_arg = argv[++argn]; in test_args()
Dcap_initiator_unicast_test.c1629 for (size_t argn = 0; argn < argc; argn++) { in test_args() local
1630 const char *arg = argv[argn]; in test_args()
1633 const char *preset_arg = argv[++argn]; in test_args()
1640 const char *preset_arg = argv[++argn]; in test_args()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/dut/src/
Dmain.c21 size_t argn = 0; in test_args() local
22 const char *arg = argv[argn]; in test_args()
26 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/acl_tx_frag/src/
Dmain.c22 size_t argn = 0; in test_args() local
23 const char *arg = argv[argn]; in test_args()
27 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/tests/bsim/bluetooth/host/scan/slow/src/
Dmain.c22 size_t argn = 0; in test_args() local
23 const char *arg = argv[argn]; in test_args()
27 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/
Dmain.c22 size_t argn = 0; in test_args() local
23 const char *arg = argv[argn]; in test_args()
27 runtime_log_level = strtoul(argv[++argn], NULL, 10); in test_args()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c1315 for (size_t argn = 1; argn < argc; argn++) { in cmd_init() local
1316 const char *arg = argv[argn]; in cmd_init()
1680 for (size_t argn = 2; argn < argc; argn++) { in cmd_scan() local
1681 const char *arg = argv[argn]; in cmd_scan()
1694 if (++argn == argc) { in cmd_scan()
1699 timeout = strtoul(argv[argn], NULL, 16); in cmd_scan()
2012 for (size_t argn = 2; argn < argc; argn++) { in cmd_advertise() local
2013 const char *arg = argv[argn]; in cmd_advertise()
2099 for (size_t argn = 3; argn < argc; argn++) { in cmd_directed_adv() local
2100 const char *arg = argv[argn]; in cmd_directed_adv()
[all …]