Lines Matching defs:a_ept

42  * Arguments:	struct cfent a_ept - data for contents file entry
50 putcfile(struct cfent *a_ept, FILE *a_fp)
54 if (a_ept->ftype == 'i') {
58 if (a_ept->path == NULL) {
62 if (fputs(a_ept->path, a_fp) == EOF) {
66 if (a_ept->ainfo.local) {
70 if (fputs(a_ept->ainfo.local, a_fp) == EOF)
74 if (a_ept->volno) {
75 if (fprintf(a_fp, " %d", a_ept->volno) < 0) {
84 if (putc(a_ept->ftype, a_fp) == EOF) {
92 if (fputs(a_ept->pkg_class, a_fp) == EOF) {
96 if ((a_ept->ftype == 'c') || (a_ept->ftype == 'b')) {
97 if (a_ept->ainfo.major == BADMAJOR) {
106 if (fprintf(a_fp, " %ld", a_ept->ainfo.major) < 0)
110 if (a_ept->ainfo.minor == BADMINOR) {
119 if (fprintf(a_fp, " %ld", a_ept->ainfo.minor) < 0)
124 if ((a_ept->ftype == 'd') || (a_ept->ftype == 'x') ||
125 (a_ept->ftype == 'c') || (a_ept->ftype == 'b') ||
126 (a_ept->ftype == 'p') || (a_ept->ftype == 'f') ||
127 (a_ept->ftype == 'v') || (a_ept->ftype == 'e')) {
129 ((a_ept->ainfo.mode == BADMODE) ? " ?" : " %04o"),
130 a_ept->ainfo.mode) < 0)
137 if (fputs(a_ept->ainfo.owner, a_fp) == EOF) {
145 if (fputs(a_ept->ainfo.group, a_fp) == EOF) {
150 if ((a_ept->ftype == 'f') || (a_ept->ftype == 'v') ||
151 (a_ept->ftype == 'e')) {
153 ((a_ept->cinfo.size == BADCONT) ? " ?" : " %llu"),
154 a_ept->cinfo.size) < 0)
158 ((a_ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"),
159 a_ept->cinfo.cksum) < 0)
163 ((a_ept->cinfo.modtime == BADCONT) ? " ?" : " %ld"),
164 a_ept->cinfo.modtime) < 0)
168 pinfo = a_ept->pinfo;
210 * Arguments: struct cfent a_ept - data for contents file entry
218 putcvfpfile(struct cfent *a_ept, VFP_T *a_vfp)
224 if (a_ept->ftype == 'i') {
230 if (a_ept->path == NULL) {
267 vfpPuts(a_vfp, a_ept->path);
271 if (a_ept->ainfo.local) {
273 vfpPuts(a_vfp, a_ept->ainfo.local);
278 if (a_ept->volno) {
280 vfpPutInteger(a_vfp, a_ept->volno);
286 vfpPutc(a_vfp, a_ept->ftype);
288 vfpPuts(a_vfp, a_ept->pkg_class);
292 if ((a_ept->ftype == 'c') || (a_ept->ftype == 'b')) {
294 if (a_ept->ainfo.major == BADMAJOR) {
299 vfpPutInteger(a_vfp, a_ept->ainfo.major);
303 if (a_ept->ainfo.minor == BADMINOR) {
308 vfpPutInteger(a_vfp, a_ept->ainfo.minor);
314 if ((a_ept->ftype == 'd') || (a_ept->ftype == 'x') ||
315 (a_ept->ftype == 'c') || (a_ept->ftype == 'b') ||
316 (a_ept->ftype == 'p') || (a_ept->ftype == 'f') ||
317 (a_ept->ftype == 'v') || (a_ept->ftype == 'e')) {
321 ((a_ept->ainfo.mode == BADMODE) ? " ?" : " %04o"),
322 a_ept->ainfo.mode);
326 vfpPuts(a_vfp, a_ept->ainfo.owner);
330 vfpPuts(a_vfp, a_ept->ainfo.group);
334 if ((a_ept->ftype == 'f') || (a_ept->ftype == 'v') ||
335 (a_ept->ftype == 'e')) {
338 ((a_ept->cinfo.size == BADCONT) ? " ?" : " %llu"),
339 a_ept->cinfo.size);
343 ((a_ept->cinfo.cksum == BADCONT) ? " ?" : " %ld"),
344 a_ept->cinfo.cksum);
348 ((a_ept->cinfo.modtime == BADCONT) ? " ?" : " %ld"),
349 a_ept->cinfo.modtime);
354 pinfo = a_ept->pinfo;