Searched refs:arg_len (Results 1 – 2 of 2) sorted by relevance
46 size_t arg_len = 0; in ot_cmd() local54 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()
361 uint16_t arg_len = z_shell_strlen(arg); in autocomplete() local374 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() argument486 if ((arg_len == 0U) || (curr_common >= arg_len)) { in common_beginning_find()501 uint16_t arg_len = z_shell_strlen(arg); in partial_autocomplete() local503 cnt, arg_len); in partial_autocomplete()510 z_shell_op_completion_insert(sh, &completion[arg_len], in partial_autocomplete()[all …]