Lines Matching refs:ept
125 srchcfile(struct cfent *ept, char *path, PKGserver server) in srchcfile() argument
152 (void) strlcpy(ept->ainfo.group, BADGROUP, sizeof (ept->ainfo.group)); in srchcfile()
153 (void) strlcpy(ept->ainfo.owner, BADOWNER, sizeof (ept->ainfo.owner)); in srchcfile()
154 (void) strlcpy(ept->pkg_class, BADCLASS, sizeof (ept->pkg_class)); in srchcfile()
155 ept->ainfo.local = (char *)NULL; in srchcfile()
156 ept->ainfo.mode = BADMODE; in srchcfile()
157 ept->cinfo.cksum = BADCONT; in srchcfile()
158 ept->cinfo.modtime = BADCONT; in srchcfile()
159 ept->cinfo.size = (fsblkcnt_t)BADCONT; in srchcfile()
160 ept->ftype = BADFTYPE; in srchcfile()
161 ept->npkgs = 0; in srchcfile()
162 ept->path = (char *)NULL; in srchcfile()
163 ept->pinfo = (struct pinfo *)NULL; in srchcfile()
164 ept->pkg_class_idx = -1; in srchcfile()
165 ept->volno = 0; in srchcfile()
251 ept->path = lpath; in srchcfile()
271 ept->ainfo.local = mylocal; in srchcfile()
287 ept->ftype = (char)c; in srchcfile()
290 if (getstr(&p, CLSSIZ, ept->pkg_class, ISWORDSEP)) { in srchcfile()
318 if (((ept->ftype == 's') || (ept->ftype == 'l')) && in srchcfile()
319 (ept->ainfo.local == NULL)) { in srchcfile()
326 if (((ept->ftype == 'c') || (ept->ftype == 'b'))) { in srchcfile()
327 ept->ainfo.major = BADMAJOR; in srchcfile()
328 ept->ainfo.minor = BADMINOR; in srchcfile()
329 if (getnumvfp(&p, 10, (long *)&ept->ainfo.major, BADMAJOR) || in srchcfile()
330 getnumvfp(&p, 10, (long *)&ept->ainfo.minor, BADMINOR)) { in srchcfile()
338 if ((ept->ftype == 'd') || (ept->ftype == 'x') || (ept->ftype == 'c') || in srchcfile()
339 (ept->ftype == 'b') || (ept->ftype == 'p') || in srchcfile()
340 (ept->ftype == 'f') || (ept->ftype == 'v') || in srchcfile()
341 (ept->ftype == 'e')) { in srchcfile()
343 if (getnumvfp(&p, 8, (long *)&ept->ainfo.mode, BADMODE) || in srchcfile()
344 getstr(&p, sizeof (ept->ainfo.owner), ept->ainfo.owner, in srchcfile()
346 getstr(&p, sizeof (ept->ainfo.group), ept->ainfo.group, in srchcfile()
355 if ((ept->ftype == 'i') || (ept->ftype == 'f') || in srchcfile()
356 (ept->ftype == 'v') || (ept->ftype == 'e')) { in srchcfile()
358 if (getlnumvfp(&p, 10, (fsblkcnt_t *)&ept->cinfo.size, in srchcfile()
360 getnumvfp(&p, 10, (long *)&ept->cinfo.cksum, BADCONT) || in srchcfile()
361 getnumvfp(&p, 10, (long *)&ept->cinfo.modtime, BADCONT)) { in srchcfile()
369 if (ept->ftype == 'i') { in srchcfile()
394 ept->pinfo = pinfo; /* first one */ in srchcfile()
427 ept->npkgs++; in srchcfile()
450 if (getend(&p) && ept->pinfo) { in srchcfile()