Home | History | Annotate | Download | only in toolbox

Lines Matching refs:db

217 		if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL) {
221 out.db = in.db;
222 } else if ((in.db =
224 (out.db = malloc((u_int)(out.dbsz + cbsz))) == NULL) {
228 in.dbp = in.db;
229 out.dbp = out.db;
423 memset(out.db, 0, out.dbsz);
425 out.dbp = out.db + out.dbcnt;
473 outp = out.db;
555 (void)memmove(out.db, out.dbp - out.dbcnt, out.dbcnt);
556 out.dbp = out.db + out.dbcnt;
610 if ((nr = read(in.fd, in.db, bcnt)) > 0) {
688 if ((n = read(out.fd, out.db, out.dbsz)) > 0)
712 if ((n = bwrite(out.fd, out.db, out.dbsz)) != out.dbsz) {
803 for (inp = in.db, cnt = in.dbrcnt;
807 in.dbp = in.db;
835 (void)memmove(in.db, in.dbp - in.dbcnt, in.dbcnt);
869 in.dbp = in.db + in.dbcnt;
916 for (inp = in.db; in.dbcnt >= cbsz; inp += cbsz, in.dbcnt -= cbsz) {
930 (void)memmove(in.db, in.dbp - in.dbcnt, in.dbcnt);
931 in.dbp = in.db + in.dbcnt;
942 for (t = in.db + in.dbcnt - 1; t >= in.db && *t == ' '; --t);
943 if (t >= in.db) {
944 cnt = t - in.db + 1;
945 (void)memmove(out.dbp, in.db, cnt);