Lines Matching refs:n_found
92 int n_found = 0; in find_cmd_tbl() local
108 n_found++; in find_cmd_tbl()
111 if (n_found == 1) { /* exactly one match */ in find_cmd_tbl()
187 int n_found = 0; in complete_subcmdv() local
199 if (n_found >= maxv - 2) { in complete_subcmdv()
200 cmdv[n_found++] = "..."; in complete_subcmdv()
203 cmdv[n_found++] = cmdtp->name; in complete_subcmdv()
205 cmdv[n_found] = NULL; in complete_subcmdv()
206 return n_found; in complete_subcmdv()
241 if (n_found >= maxv - 2) { in complete_subcmdv()
242 cmdv[n_found++] = "..."; in complete_subcmdv()
246 cmdv[n_found++] = cmdtp->name; in complete_subcmdv()
249 cmdv[n_found] = NULL; in complete_subcmdv()
250 return n_found; in complete_subcmdv()