Home | History | Annotate | Download | only in dist

Lines Matching refs:PF

66 	struct placefile *pf;
70 pf = domalloc(sizeof(*pf));
71 pf->includedfrom = *from;
75 pf->dir = dostrndup(name, len);
77 pf->name = dostrdup(name);
78 pf->fromsystemdir = fromsystemdir;
81 pf->depth = from->file->depth + 1;
83 pf->depth = 1;
85 return pf;
90 placefile_destroy(struct placefile *pf)
92 dostrfree(pf->name);
93 dofree(pf, sizeof(*pf));
112 struct placefile *pf;
116 pf = placefilearray_get(&placefiles, i);
117 if (place_eq(incfrom, &pf->includedfrom) &&
118 !strcmp(name, pf->name)) {
119 return pf;
128 struct placefile *pf;
134 pf = placefile_find(&p->file->includedfrom, name);
135 if (pf == NULL) {
136 pf = placefile_create(&p->file->includedfrom, name,
138 placefilearray_add(&placefiles, pf, NULL);
140 p->file = pf;
146 struct placefile *pf;
148 pf = placefile_create(place, file, issystem);
149 placefilearray_add(&placefiles, pf, NULL);
150 if (pf->depth > 120) {
154 return pf;
188 place_setfilestart(struct place *p, const struct placefile *pf)
191 p->file = pf;
340 PF(2, 3) void
357 PF(3, 4) void