Lines Matching refs:dp
58 Dir_t* dp;
104 ar->dp = ar->dir;
116 register Dir_t* dp;
123 if (ar->dp >= ar->ep)
125 dp = ar->dp++;
126 } while (!*dp->pathname);
132 error(2, "%s: %s format directory entry %d checksum error", ap->name, ap->format->name, ar->dp - ar->dir);
136 ccmaps(dp->pathname, sizeof(dp->pathname), CC_ASCII, CC_NATIVE);
137 f->name = dp->pathname;
140 f->st->st_mode = X_IFREG | ((dp->mode[0] + (dp->mode[1]<<8)) & 07777);
141 f->st->st_uid = dp->uid;
142 f->st->st_gid = dp->gid;
143 f->st->st_size = (dp->size[0]<<16) + dp->size[1] + (dp->size[2]<<8);
144 f->st->st_mtime = dp->modtime[2] + (dp->modtime[3]<<8) + (dp->modtime[0]<<16) + (dp->modtime[1]<<24);
146 ar->offset = (off_t)(dp->tapeaddr[0] + (dp->tapeaddr[1]<<8)) * TP_BLOCK;