Searched refs:cmdv (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/common/ |
D | command.c | 146 int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in var_complete() argument 154 return env_complete("", maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 157 return env_complete(argv[1], maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 164 static int complete_cmdv(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in complete_cmdv() argument 179 cmdv[0] = NULL; in complete_cmdv() 185 cmdv[n_found++] = "..."; in complete_cmdv() 188 cmdv[n_found++] = cmdtp->name; in complete_cmdv() 190 cmdv[n_found] = NULL; in complete_cmdv() 198 cmdv[0] = NULL; in complete_cmdv() 201 return (*cmdtp->complete)(argc, argv, last_char, maxv, cmdv); in complete_cmdv() [all …]
|
/external/u-boot/env/ |
D | common.c | 246 int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf) in env_complete() argument 253 cmdv[0] = NULL; in env_complete() 261 cmdv[found++] = buf; in env_complete() 267 qsort(cmdv, found, sizeof(cmdv[0]), strcmp_compar); in env_complete() 270 cmdv[found++] = "..."; in env_complete() 272 cmdv[found] = NULL; in env_complete()
|
/external/toybox/toys/other/ |
D | watch.c | 68 char *cmdv[] = {"/bin/sh", "-c", 0, 0}, *cmd, *ss; in watch_main() local 81 cmdv[2] = cmd+cmdlen; in watch_main() 129 TT.pid = xpopen_both(FLAG(x) ? toys.optargs : cmdv, fds); in watch_main()
|
/external/u-boot/include/ |
D | command.h | 41 int (*complete)(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]); 61 extern int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]);
|
D | common.h | 246 int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
|
/external/u-boot/doc/ |
D | README.commands | 62 int maxv, char *cmdv[]); 73 cmdv: Used to return possible values for the last argument. The last
|