Home
last modified time | relevance | path

Searched refs:arg_idx (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.6.0/lib/os/
Dcbprintf_packaged.c256 int arg_idx = -1; /* Argument index. Preincremented thus starting from -1.*/ in cbvprintf_package() local
475 arg_idx++; in cbvprintf_package()
484 arg_idx--; in cbvprintf_package()
650 str_ptr_arg[s_idx] = arg_idx; in cbvprintf_package()
994 uint8_t arg_idx = *str_pos++; in cbprintf_package_convert() local
1001 fmt_present && is_ptr(fmt, arg_idx)) { in cbprintf_package_convert()
1005 "configurations. String:\"%s\" argument:%d", fmt, arg_idx); in cbprintf_package_convert()
1074 uint8_t arg_idx = *str_pos++; in cbprintf_package_convert() local
1080 fmt_present && is_ptr(fmt, arg_idx)) { in cbprintf_package_convert()
1100 keep_str_pos[keep_cnt++] = arg_idx; in cbprintf_package_convert()
/Zephyr-Core-3.6.0/include/zephyr/sys/
Dcbprintf_internal.h673 #define Z_CBPRINTF_PACK_ARG2(arg_idx, _buf, _idx, _align_offset, _max, _arg) \ argument
685 if (arg_idx < 1 + _fros_cnt) { \
691 if (Z_CBPRINTF_IS_X_PCHAR(arg_idx, _arg, _flags)) { \
693 _rws_buffer[_rws_pos_idx++] = arg_idx - 1; \
702 _rws_buffer[_rws_pos_idx++] = arg_idx - 1; \
719 #define Z_CBPRINTF_PACK_ARG(arg_idx, arg) \ argument
720 Z_CBPRINTF_PACK_ARG2(arg_idx, _pbuf, _pkg_len, _pkg_offset, _pmax, arg)
/Zephyr-Core-3.6.0/subsys/shell/
Dshell.c812 size_t arg_idx; in tab_handle() local
817 bool tab_possible = tab_prepare(sh, &cmd, &argv, &argc, &arg_idx, in tab_handle()
824 find_completion_candidates(sh, cmd, argv[arg_idx], &first, &cnt, in tab_handle()
829 autocomplete(sh, cmd, argv[arg_idx], first); in tab_handle()
831 tab_options_print(sh, cmd, argv[arg_idx], first, cnt, in tab_handle()
833 partial_autocomplete(sh, cmd, argv[arg_idx], first, cnt); in tab_handle()