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

/freebsd-11.0-release/bin/dd/
H A Dposition.c71 if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 &&
86 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
90 bcnt = in.dbsz;
139 if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 &&
161 if ((n = read(out.fd, out.db, out.dbsz)) > 0)
178 n = write(out.fd, out.db, out.dbsz);
181 if ((size_t)n != out.dbsz)
H A Ddd.c171 if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL)
174 } else if ((in.db = malloc(MAX(in.dbsz, cbsz) + cbsz)) == NULL ||
175 (out.db = malloc(out.dbsz + cbsz)) == NULL)
194 if (ftruncate(out.fd, out.offset * out.dbsz) == -1)
294 t_target = (double)in.dbsz / (double)speed;
329 memset(in.dbp, fill_char, in.dbsz);
331 memset(in.dbp, ' ', in.dbsz);
333 memset(in.dbp, 0, in.dbsz);
336 n = read(in.fd, in.dbp, in.dbsz);
[all...]
H A Dargs.c108 in.dbsz = out.dbsz = 512;
174 if (in.offset > OFF_MAX / (ssize_t)in.dbsz ||
175 out.offset > OFF_MAX / (ssize_t)out.dbsz)
196 in.dbsz = out.dbsz = (size_t)res;
253 in.dbsz = (size_t)res;
274 out.dbsz = (size_t)res;
H A Ddd.h44 size_t dbsz; /* block size */ member in struct:__anon2
H A Dconv.c72 if (in.dbcnt >= out.dbsz) {
181 if ((out.dbcnt += cbsz) >= out.dbsz)
241 if (++out.dbcnt >= out.dbsz)

Completed in 65 milliseconds