Lines Matching refs:pb
392 file_pushbuf_t *pb; in file_buffer() local
403 if ((pb = file_push_buffer(ms)) == NULL) in file_buffer()
407 rbuf = file_pop_buffer(ms, pb); in file_buffer()
644 file_pushbuf_t *pb; in file_push_buffer() local
649 if ((pb = (CAST(file_pushbuf_t *, emalloc(sizeof(*pb))))) == NULL) in file_push_buffer()
652 pb->buf = ms->o.buf; in file_push_buffer()
653 pb->blen = ms->o.blen; in file_push_buffer()
654 pb->offset = ms->offset; in file_push_buffer()
660 return pb; in file_push_buffer()
664 file_pop_buffer(struct magic_set *ms, file_pushbuf_t *pb) in file_pop_buffer() argument
669 efree(pb->buf); in file_pop_buffer()
670 efree(pb); in file_pop_buffer()
676 ms->o.buf = pb->buf; in file_pop_buffer()
677 ms->o.blen = pb->blen; in file_pop_buffer()
678 ms->offset = pb->offset; in file_pop_buffer()
680 efree(pb); in file_pop_buffer()