Searched refs:dbsz (Results 1 – 2 of 2) sorted by relevance
/system/core/toolbox/ |
D | dd.c | 217 if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL) { in setup() 223 malloc((u_int)(MAX(in.dbsz, cbsz) + cbsz))) == NULL || in setup() 224 (out.db = malloc((u_int)(out.dbsz + cbsz))) == NULL) { in setup() 242 (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz); in setup() 316 (void)memset(in.dbp, ' ', in.dbsz); in dd_in() 318 (void)memset(in.dbp, 0, in.dbsz); in dd_in() 321 n = read(in.fd, in.dbp, in.dbsz); in dd_in() 349 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in() 358 in.dbcnt += in.dbrcnt = in.dbsz; in dd_in() 362 } else if (n == in.dbsz) { in dd_in() [all …]
|
D | dd.h | 46 uint64_t dbsz; /* buffer size */ member
|