Lines Matching refs:ept

61 static int	pkgobjassign(struct cfent *ept, char **server_local,
95 pkgobjassign(struct cfent *ept, char **server_local, char **client_local, in pkgobjassign() argument
103 if (nc >= 0 && ept->ftype != 'i') in pkgobjassign()
104 if ((ept->pkg_class_idx = cl_idx(ept->pkg_class)) == -1) in pkgobjassign()
107 if (ept->volno > nparts) in pkgobjassign()
117 if ((mapflag > 1) && strchr("fve", ept->ftype)) { in pkgobjassign()
118 if (ept->ainfo.local == NULL) { in pkgobjassign()
120 (void) strlcpy(&source[1], ept->path, in pkgobjassign()
122 ept->ainfo.local = pathdup(source); in pkgobjassign()
123 *server_local = ept->ainfo.local; in pkgobjassign()
124 *client_local = ept->ainfo.local; in pkgobjassign()
135 if (mapflag && (ept->ftype != 'i')) { in pkgobjassign()
136 mappath(getmapmode(), ept->path); /* evaluate variables */ in pkgobjassign()
137 canonize(ept->path); /* Fix path as necessary. */ in pkgobjassign()
142 ept->path); in pkgobjassign()
144 ept->path = *server_path; /* default */ in pkgobjassign()
150 if (strchr("sl", ept->ftype)) { in pkgobjassign()
152 mappath(getmapmode(), ept->ainfo.local); in pkgobjassign()
153 if (!RELATIVE(ept->ainfo.local)) { in pkgobjassign()
154 canonize(ept->ainfo.local); in pkgobjassign()
157 if (ept->ftype == 'l') { in pkgobjassign()
162 ept->ainfo.local); in pkgobjassign()
166 ept->ainfo.local = *server_local; in pkgobjassign()
177 *server_path = pathdup(ept->path); in pkgobjassign()
179 ept->path = *server_path; in pkgobjassign()
183 if (ept->ainfo.local != NULL) in pkgobjassign()
185 *server_local = pathdup(ept->ainfo.local); in pkgobjassign()
186 ept->ainfo.local = *server_local; in pkgobjassign()
187 *client_local = ept->ainfo.local; in pkgobjassign()
286 struct cfent *ept, map_entry; in pkgobjmap() local
332 ept = &(ext->cf_ent); in pkgobjmap()
335 (void) memcpy(ept, &map_entry, sizeof (struct cfent)); in pkgobjmap()
338 if (pkgobjassign(ept, in pkgobjmap()
390 struct cfent *ept, *ept_i; in sortentry() local
408 ept = &(ext->cf_ent); in sortentry()
411 if (strcmp(ept->path, extlist[index-1]->cf_ent.path) > 0) { in sortentry()
428 n = strcmp(ept->path, ept_i->path); in sortentry()
430 if (!ckdup(ept, ept_i)) { in sortentry()
440 ept->path); in sortentry()
445 ept->path); in sortentry()