Lines Matching refs:name
13 #define NEWTOY(name, opts, flags) {#name, name##_main, OPTSTR_##name, flags},
14 #define OLDTOY(name, oldname, flags) \
15 {#name, oldname##_main, OPTSTR_##oldname, flags},
27 struct toy_list *toy_find(char *name)
31 if (!CFG_TOYBOX || strchr(name, '/')) return 0;
33 // If the name starts with "toybox" accept that as a match. Otherwise
36 if (!strncmp(name, "toybox", 6)) return toy_list;
47 result = strcmp(name,toy_list[middle].name);
61 #define NEWTOY(name, opts, flags) opts ||
62 #define OLDTOY(name, oldname, flags) OPTSTR_##oldname ||
67 static void unknown(char *name)
71 error_exit("Unknown command %s", name);
208 len += printf("%s",toy_list[i].name);