Lines Matching refs:dtable
107 } dtable[] = {
140 for (i = 0; (size_t)i < nitems(dtable); i++) {
141 if (dtable[i].dt_comm == NULL)
143 printf("%s\n", dtable[i].dt_comm);
175 for (i = 0; (size_t)i < nitems(dtable); i++) {
176 if (dtable[i].dt_comm == NULL ||
177 strcmp(dtable[i].dt_comm, argv[0]) == 0) {
178 action = dtable[i].dt_act;
186 error = (dtable[i].dt_act)(--argc, ++argv);
188 fprintf(stderr, "%s failed", dtable[i].dt_comm);