Home
last modified time | relevance | path

Searched refs:arg_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/modules/openthread/platform/
Dshell.c46 size_t arg_len = 0; in ot_cmd() local
54 if (arg_len) { in ot_cmd()
55 buf_len -= arg_len + 1; in ot_cmd()
57 buf_ptr[arg_len] = ' '; in ot_cmd()
59 buf_ptr += arg_len + 1; in ot_cmd()
62 arg_len = snprintk(buf_ptr, buf_len, "%s", argv[i]); in ot_cmd()
64 if (arg_len >= buf_len) { in ot_cmd()
72 buf_len -= arg_len; in ot_cmd()
/Zephyr-Core-3.7.0/subsys/shell/
Dshell.c361 uint16_t arg_len = z_shell_strlen(arg); in autocomplete() local
374 if (cmd_len == arg_len) { in autocomplete()
381 if (cmd_len != arg_len) { in autocomplete()
383 match->syntax + arg_len, in autocomplete()
384 cmd_len - arg_len); in autocomplete()
458 size_t first, size_t cnt, uint16_t arg_len) in common_beginning_find() argument
486 if ((arg_len == 0U) || (curr_common >= arg_len)) { in common_beginning_find()
501 uint16_t arg_len = z_shell_strlen(arg); in partial_autocomplete() local
503 cnt, arg_len); in partial_autocomplete()
510 z_shell_op_completion_insert(sh, &completion[arg_len], in partial_autocomplete()
[all …]