Lines Matching refs:HDR
96 HDR hdr;
184 memcpy(&hdr, p, sizeof(HDR));
187 len = hdr.len - sizeof(HDR);
188 if ((ret = __db_retcopy(dbt, (u_int8_t *)p + sizeof(HDR),
211 if ((ret = __os_read(dblp->c_fd, &hdr, sizeof(HDR), &nr)) != 0) {
215 if (nr == sizeof(HDR))
233 if (lp->b_off < sizeof(HDR) - nr)
237 memcpy((u_int8_t *)&hdr + nr, lp->buf, sizeof(HDR) - nr);
238 shortp = lp->buf + (sizeof(HDR) - nr);
246 if (hdr.len <= sizeof(HDR))
248 len = hdr.len - sizeof(HDR);