Lines Matching refs:len
98 size_t len;
161 nlsn.offset = lp->lsn.offset - lp->len;
187 len = hdr.len - sizeof(HDR);
189 len, &dblp->c_dbt.data, &dblp->c_dbt.ulen, NULL)) != 0)
246 if (hdr.len <= sizeof(HDR))
248 len = hdr.len - sizeof(HDR);
252 if (lp->b_off < ((u_int8_t *)shortp - lp->buf) + len)
254 if ((ret = __db_retcopy(dbt, shortp, len,
267 if ((ret = __os_malloc(len, NULL, &tbuf)) != 0)
276 if ((ret = __os_read(dblp->c_fd, tbuf, len, &nr)) != 0) {
280 if (len - nr > sizeof(lp->buf))
282 if (nr != (ssize_t)len) {
283 if (lp->b_off < len - nr)
287 memcpy((u_int8_t *)tbuf + nr, lp->buf, len - nr);
291 if ((ret = __db_retcopy(dbt, tbuf, len,
305 dblp->c_len = hdr.len;