Lines Matching defs:dp
56 register Dir_t* dp;
61 for (dp = state.head; dp; dp = dp->next)
62 if (streq(dir, dp->dir))
64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir))))
66 strcpy(dp->dir, dir);
67 dp->next = 0;
69 state.tail = state.tail->next = dp;
71 state.head = state.tail = dp;
87 register Dir_t* dp;
136 for (dp = state.head; dp; dp = dp->next)
138 sfsprintf(tmp, sizeof(tmp), "%s/%s", dp->dir, name);
143 sfsprintf(tmp, sizeof(tmp), "%s/%s.%s", dp->dir, name, type);