Lines Matching full:pattern
15 char const *pattern) in command_add() argument
26 completion_addr = strstr(buff, pattern); in command_add()
47 * shell buffer matching to wildcard pattern.
49 * Function will search commands tree for commands matching wildcard pattern
50 * stored in argv[cmd_lvl]. When match is found wildcard pattern will be
53 * continue to search for next wildcard pattern and it will try to add matching
61 * @param[in] pattern Pointer to wildcard pattern.
71 const char *pattern) in commands_expand() argument
81 if (fnmatch(pattern, entry->syntax, 0) == 0) { in commands_expand()
84 entry->syntax, pattern); in commands_expand()
89 " wildcard pattern: %s\n", pattern); in commands_expand()
100 &sh->ctx->cmd_tmp_buff_len, pattern); in commands_expand()
161 const char *pattern) in z_shell_wildcard_process() argument
169 if (!z_shell_has_wildcard(pattern)) { in z_shell_wildcard_process()
174 * pattern stored in argv[cmd_lvl]. When match is found wildcard pattern in z_shell_wildcard_process()
177 * possible. Next it will continue to search for next wildcard pattern in z_shell_wildcard_process()
180 ret_val = commands_expand(sh, cmd, pattern); in z_shell_wildcard_process()