Searched refs:dbsz (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/bin/dd/
H A Dposition.c64 sz = io->dbsz;
117 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
121 bcnt = in.dbsz;
194 if ((n = read(out.fd, out.db, out.dbsz)) > 0)
211 n = write(out.fd, out.db, out.dbsz);
214 if (n != out.dbsz)
H A Ddd.c236 if ((in.db = malloc((size_t)out.dbsz + in.dbsz - 1)) == NULL)
239 } else if ((in.db = malloc(MAX((size_t)in.dbsz, cbsz) + cbsz)) == NULL ||
240 (out.db = malloc(out.dbsz + cbsz)) == NULL)
259 if (ftruncate(out.fd, out.offset * out.dbsz) == -1)
359 t_target = (double)in.dbsz / (double)speed;
409 memset(in.dbp, fill_char, in.dbsz);
411 memset(in.dbp, ' ', in.dbsz);
413 memset(in.dbp, 0, in.dbsz);
418 n = read(in.fd, in.dbp + in.dbrcnt, in.dbsz
[all...]
H A Dargs.c117 in.dbsz = out.dbsz = 512;
197 in.dbsz = out.dbsz = (size_t)res;
254 in.dbsz = (size_t)res;
308 out.dbsz = (size_t)res;
H A Ddd.h45 ssize_t dbsz; /* block size */ member in struct:__anon2
H A Dconv.c74 if (in.dbcnt >= out.dbsz) {
183 if ((out.dbcnt += cbsz) >= out.dbsz)
243 if (++out.dbcnt >= out.dbsz)

Completed in 110 milliseconds