Lines Matching refs:name
12 #define NEWTOY(name, opts, flags) {#name, name##_main, OPTSTR_##name, flags},
13 #define OLDTOY(name, oldname, flags) \
14 {#name, oldname##_main, OPTSTR_##oldname, flags},
26 struct toy_list *toy_find(char *name)
30 if (!CFG_TOYBOX || strchr(name, '/')) return 0;
32 // If the name starts with "toybox" accept that as a match. Otherwise
35 if (!strncmp(name, "toybox", 6)) return toy_list;
46 result = strcmp(name,toy_list[middle].name);
60 #define NEWTOY(name, opts, flags) opts ||
61 #define OLDTOY(name, oldname, flags) OPTSTR_##oldname ||
66 static void unknown(char *name)
70 error_exit("Unknown command %s", name);
207 len += printf("%s",toy_list[i].name);