Home | History | Annotate | Download | only in libpuffs

Lines Matching defs:newpb

171 	struct puffs_framebuf *newpb;
173 newpb = puffs_framebuf_make();
174 if (newpb == NULL) {
178 memcpy(newpb, pb, sizeof(struct puffs_framebuf));
180 newpb->buf = NULL;
181 newpb->len = 0;
182 if (reservespace(newpb, 0, pb->maxoff) == -1) {
183 puffs_framebuf_destroy(newpb);
187 memcpy(newpb->buf, pb->buf, pb->maxoff);
188 newpb->istat = 0;
189 *pbp = newpb;