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

/freebsd-11-stable/bin/dd/
H A Ddd.c179 if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL)
182 } else if ((in.db = malloc(MAX(in.dbsz, cbsz) + cbsz)) == NULL ||
183 (out.db = malloc(out.dbsz + cbsz)) == NULL)
202 if (ftruncate(out.fd, out.offset * out.dbsz) == -1)
302 t_target = (double)in.dbsz / (double)speed;
352 memset(in.dbp, fill_char, in.dbsz);
354 memset(in.dbp, ' ', in.dbsz);
356 memset(in.dbp, 0, in.dbsz);
359 n = read(in.fd, in.dbp, in.dbsz);
[all...]
H A Dposition.c62 sz = io->dbsz;
115 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
119 bcnt = in.dbsz;
192 if ((n = read(out.fd, out.db, out.dbsz)) > 0)
209 n = write(out.fd, out.db, out.dbsz);
212 if ((size_t)n != out.dbsz)
H A Dargs.c108 in.dbsz = out.dbsz = 512;
188 in.dbsz = out.dbsz = (size_t)res;
245 in.dbsz = (size_t)res;
266 out.dbsz = (size_t)res;
H A Ddd.h44 size_t dbsz; /* block size */ member in struct:__anon1
H A Dconv.c72 if (in.dbcnt >= out.dbsz) {
181 if ((out.dbcnt += cbsz) >= out.dbsz)
241 if (++out.dbcnt >= out.dbsz)

Completed in 100 milliseconds