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

/freebsd-10.1-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.c172 if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL)
175 } else if ((in.db = malloc(MAX(in.dbsz, cbsz) + cbsz)) == NULL ||
176 (out.db = malloc(out.dbsz + cbsz)) == NULL)
195 if (ftruncate(out.fd, out.offset * out.dbsz) == -1)
304 memset(in.dbp, fill_char, in.dbsz);
306 memset(in.dbp, ' ', in.dbsz);
308 memset(in.dbp, 0, in.dbsz);
311 n = read(in.fd, in.dbp, in.dbsz);
335 lseek(in.fd, (off_t)in.dbsz, SEEK_CU
[all...]
H A Dargs.c106 in.dbsz = out.dbsz = 512;
172 if (in.offset > OFF_MAX / (ssize_t)in.dbsz ||
173 out.offset > OFF_MAX / (ssize_t)out.dbsz)
194 in.dbsz = out.dbsz = (size_t)res;
251 in.dbsz = (size_t)res;
272 out.dbsz = (size_t)res;
H A Ddd.h44 size_t dbsz; /* buffer 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 105 milliseconds