Lines Matching refs:dep
114 static int dupkey(int kbdfd, dupentry *dep, int shiftmask);
115 static int swapkey(int kbdfd, dupentry *dep, int shiftmask);
138 dupentry *dep; in main() local
255 for (dep = firstswap; dep != NULL; dep = dep->de_next) { in main()
258 if (!swapkey(kbdfd, dep, in main()
265 for (dep = firstduplicate; dep != NULL; dep = dep->de_next) { in main()
268 if (!dupkey(kbdfd, dep, in main()
407 register dupentry *dep; local
409 if ((dep = (dupentry *) malloc((unsigned)sizeof (dupentry))) == NULL)
413 firstduplicate = dep;
415 lastduplicate->de_next = dep;
416 lastduplicate = dep;
417 dep->de_next = NULL;
418 dep->de_station = station;
419 dep->de_otherstation = otherstation;
431 register dupentry *dep; local
433 if ((dep = (dupentry *) malloc((unsigned)sizeof (dupentry))) == NULL)
437 firstswap = dep;
439 lastswap->de_next = dep;
440 lastswap = dep;
441 dep->de_next = NULL;
442 dep->de_station = station;
443 dep->de_otherstation = otherstation;
459 dupkey(kbdfd, dep, shiftmask) in dupkey() argument
461 register dupentry *dep;
467 entry.kio_station = dep->de_otherstation;
472 entry.kio_station = dep->de_station;
483 swapkey(kbdfd, dep, shiftmask) in swapkey() argument
485 register dupentry *dep;
491 entry1.kio_station = dep->de_station;
497 entry2.kio_station = dep->de_otherstation;
502 entry1.kio_station = dep->de_otherstation;
507 entry2.kio_station = dep->de_station;