Home
last modified time | relevance | path

Searched refs:dbcnt (Results 1 – 3 of 3) sorted by relevance

/system/core/toolbox/upstream-netbsd/bin/dd/
Dconv.c74 out.dbcnt = in.dbcnt; in def()
76 if (in.dbcnt >= out.dbsz) { in def()
86 in.dbcnt = out.dbcnt; in def()
95 if (in.dbcnt) in def_close()
96 out.dbcnt = in.dbcnt; in def_close()
135 in.dbcnt = 0; in block()
141 in.dbcnt = cnt - 1; in block()
149 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { in block()
150 maxlen = MIN(cbsz, in.dbcnt); in block()
163 if (ch != '\n' && in.dbcnt < cbsz) { in block()
[all …]
Ddd.c391 in.dbcnt += in.dbrcnt = in.dbsz; in dd_in()
396 in.dbcnt += in.dbrcnt = n; in dd_in()
403 in.dbcnt += in.dbrcnt = in.dbsz; in dd_in()
405 in.dbcnt += in.dbrcnt = n; in dd_in()
415 out.dbcnt = in.dbcnt; in dd_in()
417 in.dbcnt = 0; in dd_in()
448 if (ddflags & C_OSYNC && out.dbcnt < out.dbsz) { in dd_close()
449 (void)memset(out.dbp, 0, out.dbsz - out.dbcnt); in dd_close()
450 out.dbcnt = out.dbsz; in dd_close()
455 if ((out.dbcnt == 0) && pending) { in dd_close()
[all …]
Ddd.h77 uint64_t dbcnt; /* current buffer byte count */ member