Home
last modified time | relevance | path

Searched refs:dbsz (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/bin/dd/
H A Ddd.c248 size_t dbsz = out.dbsz; in setup() local
250 dbsz += in.dbsz - 1; in setup()
251 if ((in.db = buffer_alloc(dbsz)) == NULL) { in setup()
257 buffer_alloc((u_int)(MAX(in.dbsz, cbsz) + cbsz))) == NULL || in setup()
258 (out.db = buffer_alloc((u_int)(out.dbsz + cbsz))) == NULL) { in setup()
276 (void)ddop_ftruncate(out, out.fd, (off_t)out.offset * out.dbsz); in setup()
384 (void)memset(in.dbp, ' ', in.dbsz); in dd_in()
386 (void)memset(in.dbp, 0, in.dbsz); in dd_in()
389 n = ddop_read(in, in.fd, in.dbp, in.dbsz); in dd_in()
416 ddop_lseek(in, in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in()
[all …]
H A Dposition.c74 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) { in pos_in()
87 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { in pos_in()
91 bcnt = in.dbsz; in pos_in()
141 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1) in pos_out()
160 if ((n = ddop_read(out, out.fd, out.db, out.dbsz)) > 0) in pos_out()
180 out.db, out.dbsz)) != out.dbsz) in pos_out()
H A Dargs.c134 in.dbsz = out.dbsz = 512; in jcl()
236 in.dbsz = out.dbsz = strsuftoll("block size", arg, 1, UINT_MAX); in f_bs()
273 in.dbsz = strsuftoll("input block size", arg, 1, UINT_MAX); in f_ibs()
312 out.dbsz = strsuftoll("output block size", arg, 1, UINT_MAX); in f_obs()
H A Dconv.c76 if (in.dbcnt >= out.dbsz) { in def()
194 if ((out.dbcnt += cbsz) >= out.dbsz) in block()
255 if (out.dbcnt >= out.dbsz) in unblock()
H A Ddd.h75 uint64_t dbsz; /* buffer size */ member
/netbsd-src/external/public-domain/sqlite/dist/
H A Dshell.c17563 u32 dbsz = 0; in recoverVfsRead() local
17580 dbsz = dbFileSize / pgsz; in recoverVfsRead()
17597 recoverPutU32(&aHdr[28], dbsz); in recoverVfsRead()