Lines Matching refs:reclen
196 int reclen;
207 reclen = wlog_rec_pack(wrec, wbuf, (offset < 0));
216 wbuf[reclen] = reclen / 256;
217 wbuf[reclen + 1] = reclen % 256;
218 reclen += 2;
220 if (write(wfile->w_afd, wbuf, reclen) == -1) {
223 wfile->w_file, wbuf, reclen, strerror(errno));
226 offset = lseek(wfile->w_afd, 0, SEEK_CUR) - reclen;
241 if ((write(wfile->w_rfd, wbuf, reclen)) == -1) {
244 wfile->w_file, wbuf, reclen,
265 int fd, leftover, nbytes, offset, recnum, reclen, rval;
352 reclen = (*(cp - 2) * 256) + *(cp - 1);
361 if (cp - bufstart < reclen + 2) {
374 cp -= reclen + 2;
375 memcpy(albuf, cp, reclen);