Lines Matching defs:first
46 When appending data, the information in the first three items above plus the
59 When compressing data, the information in the first two items above plus the
83 gain exclusive access to the log files, first a foo.lock file must be
105 the extra field is within the first 52 bytes of the file, which is smaller
110 - Pointer to first stored block length -- this points to the two-byte length
111 of the first stored block, which is followed by the two-byte, one's
117 Initially this is the same as the first stored block length pointer.
120 is different from the first stored block length pointer. When they are
121 different, the first bit of the last stored block header is eight bits, or
135 block first length byte. This value is in the range of 3..10, and is
139 when the first stored block and the last stored block are the same. (When
142 data in the compress operation, overwriting the previous first stored
294 off_t first; /* offset of first stored block first length byte */
295 int back; /* location of first block id in bits back from first */
297 off_t last; /* offset of last stored block first length byte */
320 52, 0, 0, 0, 0, 0, 0, 0, /* offset of first stored block length */
420 log->first = PULL8(buf + HEAD);
442 PUT8(ext, log->first);
468 back = log->last == log->first ? log->back : 8;
644 if (lseek(log->fd, log->first - (log->back > 8 ? 2 : 1),
673 /* find start of empty static block -- scanning backwards the first one
677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 ||
680 log->first++;
700 log->last = log->first;
807 first creating the foo.lock file to gain exclusive access to the foo.*
929 len = ((size_t)(log->last - log->first) & ~(((size_t)1 << 10) - 1)) +
937 if (lseek(log->fd, log->first - 1, SEEK_SET) < 0)
975 log->last = log->first;
1034 if (((log->last - log->first) >> 10) + (log->stored >> 10) < TRIGGER)