Lines Matching defs:bp
57 unsigned char *buff, *bp;
165 in.bp = out.bp = in.buff;
187 if ((n = read(in.fd, in.bp, in.sz)) < 0) {
206 out.bp = out.buff;
208 nw = writeall(out.fd, out.bp, ((all)? out.count : out.sz));
214 out.bp += nw;
218 if (out.count) memmove(out.buff, out.bp, out.count); //move remainder to front
241 in.bp = in.buff + in.count;
242 if (toys.optflags & C_SYNC) memset(in.bp, 0, in.sz);
243 if (!(n = read(in.fd, in.bp, in.sz))) break;