Searched refs:cmdv (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | command.c | 145 int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in var_complete() argument 153 return env_complete("", maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 156 return env_complete(argv[1], maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 163 static int complete_cmdv(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]) in complete_cmdv() argument 178 cmdv[0] = NULL; in complete_cmdv() 184 cmdv[n_found++] = "..."; in complete_cmdv() 187 cmdv[n_found++] = cmdtp->name; in complete_cmdv() 189 cmdv[n_found] = NULL; in complete_cmdv() 197 cmdv[0] = NULL; in complete_cmdv() 200 return (*cmdtp->complete)(argc, argv, last_char, maxv, cmdv); in complete_cmdv() [all …]
|
| /OK3568_Linux_fs/u-boot/env/ |
| H A D | common.c | 308 int env_complete(char *var, int maxv, char *cmdv[], int bufsz, char *buf) in env_complete() argument 315 cmdv[0] = NULL; in env_complete() 323 cmdv[found++] = buf; in env_complete() 329 qsort(cmdv, found, sizeof(cmdv[0]), strcmp_compar); in env_complete() 332 cmdv[found++] = "..."; in env_complete() 334 cmdv[found] = NULL; in env_complete()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | command.h | 42 int (*complete)(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]); 62 extern int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[]);
|
| H A D | common.h | 427 int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
|