Lines Matching defs:dp2
222 struct dirlist *dp, *dp2, *last;
237 LIST_FOREACH(dp2, &dirlist, link) {
238 if(!lessp(dp, dp2))
240 last = dp2;
253 struct dirlist *dp, *dp2;
255 for (dp = LIST_FIRST(&dirlist); dp; dp = dp2) {
256 dp2 = LIST_NEXT(dp, link);
258 if (dp2 != NULL && equal(dp, dp2)) {
260 if (strcmp(dp->path, dp2->path) == 0) {
262 dp->printer, dp2->printer, dp->path);
266 dp2->path, dp2->printer);