Searched refs:toy_list (Results 1 – 6 of 6) sorted by relevance
/external/toybox/ |
D | main.c | 23 struct toy_list toy_list[] = { variable 33 struct toy_list *toy_find(char *name) in toy_find() 42 if (!strncmp(name,"toybox",6)) return toy_list; in toy_find() 47 top = ARRAY_LEN(toy_list)-1; in toy_find() 53 result = strcmp(name,toy_list[middle].name); in toy_find() 54 if (!result) return toy_list+middle; in toy_find() 76 toys.which = toy_list; in unknown() 81 static void toy_singleinit(struct toy_list *which, char *argv[]) in toy_singleinit() 91 if (CFG_TOYBOX && toys.which == toy_list && toys.argv[2]) in toy_singleinit() 111 toys.toycount = ARRAY_LEN(toy_list); in toy_singleinit() [all …]
|
D | toys.h | 86 struct toy_list *toy_find(char *name); 87 void toy_init(struct toy_list *which, char *argv[]); 92 extern struct toy_list { struct 97 } toy_list[]; argument 102 struct toy_list *which; // Which entry in toy_list is this one?
|
/external/toybox/toys/other/ |
D | help.c | 34 static void do_help(struct toy_list *t) in do_help() 53 struct toy_list *t = toys.which; in help_main() 64 xprintf("<a href=\"#%s\">%s</a>\n", toy_list[i].name, in help_main() 65 toy_list[i].name); in help_main() 73 memcpy(toybuf+3, toy_list[i].name, strlen(toy_list[i].name)); in help_main() 76 do_help(toy_list+i); in help_main()
|
/external/toybox/scripts/ |
D | install.c | 15 struct {char *name; int flags;} toy_list[] = { variable 25 for (i=1; i<sizeof(toy_list)/sizeof(*toy_list); i++) { in main() 26 int fl = toy_list[i].flags; in main() 33 len += printf("%s\n",toy_list[i].name); in main()
|
/external/toybox/lib/ |
D | help.c | 21 int i = toys.which-toy_list; in show_help() 30 i = toy_find(++s)-toy_list; in show_help()
|
/external/toybox/toys/pending/ |
D | sh.c | 199 struct toy_list *tl; in run_pipeline()
|