Lines Matching refs:ept
43 ppkgmap(struct cfent *ept, FILE *fp) in ppkgmap() argument
45 if (ept->path == NULL) in ppkgmap()
48 if (ept->volno) { in ppkgmap()
49 if (fprintf(fp, "%d ", ept->volno) < 0) in ppkgmap()
53 if (ept->ftype == 'i') { in ppkgmap()
54 if (fprintf(fp, "%c %s", ept->ftype, ept->path) < 0) in ppkgmap()
57 if (fprintf(fp, "%c %s %s", ept->ftype, ept->pkg_class, in ppkgmap()
58 ept->path) < 0) in ppkgmap()
62 if (ept->ainfo.local) { in ppkgmap()
63 if (fprintf(fp, "=%s", ept->ainfo.local) < 0) in ppkgmap()
67 if (strchr("cb", ept->ftype)) { in ppkgmap()
68 if (ept->ainfo.major == BADMAJOR) { in ppkgmap()
72 if (fprintf(fp, " %ld", ept->ainfo.major) < 0) in ppkgmap()
75 if (ept->ainfo.minor == BADMINOR) { in ppkgmap()
79 if (fprintf(fp, " %ld", ept->ainfo.minor) < 0) in ppkgmap()
84 if (strchr("dxcbpfve", ept->ftype)) { in ppkgmap()
85 if (fprintf(fp, ((ept->ainfo.mode == BADMODE) ? " ?" : " %04o"), in ppkgmap()
86 ept->ainfo.mode) < 0) in ppkgmap()
88 if (fprintf(fp, " %s %s", ept->ainfo.owner, ept->ainfo.group) < in ppkgmap()
98 if (strchr("ifve", ept->ftype)) { in ppkgmap()
99 if (fprintf(fp, ((ept->cinfo.size == BADCONT) ? " ?" : " %llu"), in ppkgmap()
100 ept->cinfo.size) < 0) in ppkgmap()
102 if (fprintf(fp, ((ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"), in ppkgmap()
103 ept->cinfo.cksum) < 0) in ppkgmap()
106 ((ept->cinfo.modtime == BADCONT) ? " ?" : " %ld"), in ppkgmap()
107 ept->cinfo.modtime) < 0) in ppkgmap()
111 if (ept->ftype == 'i') { in ppkgmap()