Searched refs:toy_list (Results 1 - 8 of 8) sorted by relevance
/third_party/toybox/ |
H A D | main.c | 8 // Populate toy_list[]. 16 struct toy_list toy_list[] = { variable 26 struct toy_list *toy_find(char *name) in toy_find() 35 if (!strncmp(name, "toybox", 6)) return toy_list; in toy_find() 40 top = ARRAY_LEN(toy_list)-1; in toy_find() 46 result = strcmp(name,toy_list[middle].name); in toy_find() 47 if (!result) return toy_list+middle; in toy_find() 69 toys.which = toy_list; in unknown() 74 static void toy_singleinit(struct toy_list *whic [all...] |
H A D | toys.h | 83 struct toy_list *toy_find(char *name); 84 void toy_init(struct toy_list *which, char *argv[]); 89 extern struct toy_list { struct 94 } toy_list[]; 99 struct toy_list *which; // Which entry in toy_list is this one?
|
/third_party/toybox/porting/liteos_a/ |
H A D | main.c | 9 // Populate toy_list[]. 17 struct toy_list toy_list[] = { variable 27 struct toy_list *toy_find(char *name) in toy_find() 36 if (!strncmp(name, "toybox", 6)) return toy_list; in toy_find() 41 top = ARRAY_LEN(toy_list)-1; in toy_find() 47 result = strcmp(name,toy_list[middle].name); in toy_find() 48 if (!result) return toy_list+middle; in toy_find() 70 toys.which = toy_list; in unknown() 75 static void toy_singleinit(struct toy_list *whic [all...] |
H A D | toys.h | 89 struct toy_list *toy_find(char *name); 90 void toy_init(struct toy_list *which, char *argv[]); 95 extern struct toy_list { struct 100 } toy_list[]; 105 struct toy_list *which; // Which entry in toy_list is this one?
|
/third_party/toybox/toys/other/ |
H A 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\n</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()
|
/third_party/toybox/scripts/ |
H A D | install.c | 13 // Populate toy_list[]. 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()
|
/third_party/toybox/lib/ |
H A D | help.c | 21 int i = toys.which-toy_list; in show_help() 30 i = toy_find(++s)-toy_list; in show_help()
|
/third_party/toybox/toys/pending/ |
H A D | sh.c | 298 struct toy_list *tl; in run_command()
|
Completed in 4 milliseconds