Searched refs:dbsz (Results 1 – 6 of 6) sorted by relevance
/freebsd/bin/dd/ |
H A D | dd.c | 231 if ((in.db = malloc((size_t)out.dbsz + in.dbsz - 1)) == NULL) in setup() 234 } else if ((in.db = malloc(MAX((size_t)in.dbsz, cbsz) + cbsz)) == NULL || in setup() 235 (out.db = malloc(out.dbsz + cbsz)) == NULL) in setup() 254 if (ftruncate(out.fd, out.offset * out.dbsz) == -1) in setup() 354 t_target = (double)in.dbsz / (double)speed; in speed_limit() 404 memset(in.dbp, fill_char, in.dbsz); in dd_in() 406 memset(in.dbp, ' ', in.dbsz); in dd_in() 408 memset(in.dbp, 0, in.dbsz); in dd_in() 414 n = read(in.fd, in.dbp + in.dbrcnt, in.dbsz - in.dbrcnt); in dd_in() 439 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in() [all …]
|
H A D | position.c | 56 sz = io->dbsz; in seek_offset() 109 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { in pos_in() 113 bcnt = in.dbsz; in pos_in() 187 n = read(out.fd, out.db, out.dbsz); in pos_out() 206 n = write(out.fd, out.db, out.dbsz); in pos_out() 210 if (n != out.dbsz) in pos_out()
|
H A D | args.c | 109 in.dbsz = out.dbsz = 512; in jcl() 189 in.dbsz = out.dbsz = (size_t)res; in f_bs() 246 in.dbsz = (size_t)res; in f_ibs() 300 out.dbsz = (size_t)res; in f_obs()
|
H A D | conv.c | 66 if (in.dbcnt >= out.dbsz) { in def() 175 if ((out.dbcnt += cbsz) >= out.dbsz) in block() 235 if (++out.dbcnt >= out.dbsz) in unblock()
|
H A D | dd.h | 42 ssize_t dbsz; /* block size */ member
|
/freebsd/contrib/sqlite3/ |
H A D | shell.c | 18826 u32 dbsz = 0; in recoverVfsRead() local 18843 dbsz = dbFileSize / pgsz; in recoverVfsRead() 18860 recoverPutU32(&aHdr[28], dbsz); in recoverVfsRead()
|