Lines Matching refs:bb
76 struct buffer bb; in file_ascmagic() local
82 bb = *b; in file_ascmagic()
83 bb.flen = trim_nuls(CAST(const unsigned char *, b->fbuf), b->flen); in file_ascmagic()
88 if ((bb.flen & 1) && !(b->flen & 1)) in file_ascmagic()
89 bb.flen++; in file_ascmagic()
92 if (file_encoding(ms, &bb, &ubuf, &ulen, &code, &code_mime, in file_ascmagic()
96 rv = file_ascmagic_with_encoding(ms, &bb, in file_ascmagic()
109 struct buffer bb; in file_ascmagic_with_encoding() local
155 buffer_init(&bb, b->fd, &b->st, utf8_buf, in file_ascmagic_with_encoding()
158 if ((rv = file_softmagic(ms, &bb, NULL, NULL, in file_ascmagic_with_encoding()
163 buffer_fini(&bb); in file_ascmagic_with_encoding()