Lines Matching defs:pe
152 struct pathentry *pe, *pskip;
180 TAILQ_FOREACH(pe, pathq, next)
181 if (!strcmp(pe->path, pathbuf))
183 if (pe != NULL) {
190 if (((pe = malloc(sizeof(*pe))) == NULL) ||
191 ((pe->path = strdup(pathbuf)) == NULL)) {
196 TAILQ_INSERT_TAIL(pathq, pe, next);
201 TAILQ_INSERT_BEFORE(pskip, pe, next);
203 TAILQ_INSERT_TAIL(pathq, pe, next);
214 struct pathentry *pe;
236 TAILQ_FOREACH(pe, pathq, next)
237 if (!strcmp(pe->path, pathbuf))
239 if (pe == NULL) {
246 TAILQ_REMOVE(pathq, pe, next);
269 struct pathentry *pe;
273 if (((pe = malloc(sizeof(*pe))) == NULL) ||
274 ((pe->path = strdup(p)) == NULL)) {
278 TAILQ_INSERT_TAIL(pathq, pe, next);
289 struct pathentry *pe;
292 TAILQ_FOREACH(pe, pathq, next) {
294 s, pe->path, (TAILQ_NEXT(pe, next) != NULL? ";": ""));