Searched refs:arg_idx (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials_shell.c | 158 size_t arg_idx = 3; in cmd_add_network() local 183 ++arg_idx; in cmd_add_network() 186 if (arg_idx < argc) { in cmd_add_network() 188 ret = sscanf(argv[arg_idx], MACSTR, &creds.header.bssid[0], &creds.header.bssid[1], in cmd_add_network() 193 ++arg_idx; in cmd_add_network() 197 if (arg_idx < argc) { in cmd_add_network() 199 enum wifi_frequency_bands band = parse_band(argv[arg_idx]); in cmd_add_network() 203 ++arg_idx; in cmd_add_network() 207 ++arg_idx; in cmd_add_network() 211 if (arg_idx < argc) { in cmd_add_network() [all …]
|
/Zephyr-latest/lib/os/ |
D | cbprintf_packaged.c | 256 int arg_idx = -1; /* Argument index. Preincremented thus starting from -1.*/ in cbvprintf_package() local 476 arg_idx++; in cbvprintf_package() 485 arg_idx--; in cbvprintf_package() 651 str_ptr_arg[s_idx] = arg_idx; in cbvprintf_package() 999 uint8_t arg_idx = *str_pos++; in cbprintf_package_convert() local 1006 fmt_present && is_ptr(fmt, arg_idx)) { in cbprintf_package_convert() 1010 "configurations. String:\"%s\" argument:%d", fmt, arg_idx); in cbprintf_package_convert() 1079 uint8_t arg_idx = *str_pos++; in cbprintf_package_convert() local 1085 fmt_present && is_ptr(fmt, arg_idx)) { in cbprintf_package_convert() 1105 keep_str_pos[keep_cnt++] = arg_idx; in cbprintf_package_convert()
|
/Zephyr-latest/include/zephyr/sys/ |
D | cbprintf_internal.h | 676 #define Z_CBPRINTF_PACK_ARG2(arg_idx, _buf, _idx, _align_offset, _max, _arg) \ argument 688 if (arg_idx < 1 + _fros_cnt) { \ 694 if (Z_CBPRINTF_IS_X_PCHAR(arg_idx, _arg, _flags)) { \ 696 _rws_buffer[_rws_pos_idx++] = arg_idx - 1; \ 705 _rws_buffer[_rws_pos_idx++] = arg_idx - 1; \ 722 #define Z_CBPRINTF_PACK_ARG(arg_idx, arg) \ argument 723 Z_CBPRINTF_PACK_ARG2(arg_idx, _pbuf, _pkg_len, _pkg_offset, _pmax, arg)
|
/Zephyr-latest/subsys/shell/ |
D | shell.c | 818 size_t arg_idx; in tab_handle() local 823 bool tab_possible = tab_prepare(sh, &cmd, &argv, &argc, &arg_idx, in tab_handle() 830 find_completion_candidates(sh, cmd, argv[arg_idx], &first, &cnt, in tab_handle() 835 autocomplete(sh, cmd, argv[arg_idx], first); in tab_handle() 837 tab_options_print(sh, cmd, argv[arg_idx], first, cnt, in tab_handle() 839 partial_autocomplete(sh, cmd, argv[arg_idx], first, cnt); in tab_handle()
|