Lines Matching refs:HEAD
316 #define HEAD sizeof(log_gzhead) /* should be 16 */ macro
413 unsigned char buf[HEAD + EXTRA]; in log_head()
416 read(log->fd, buf, HEAD + EXTRA) != HEAD + EXTRA || in log_head()
417 memcmp(buf, log_gzhead, HEAD)) { in log_head()
420 log->first = PULL8(buf + HEAD); in log_head()
421 log->last = PULL8(buf + HEAD + 8); in log_head()
422 log->ccrc = PULL4(buf + HEAD + 16); in log_head()
423 log->clen = PULL4(buf + HEAD + 20); in log_head()
424 log->tcrc = PULL4(buf + HEAD + 24); in log_head()
425 log->tlen = PULL4(buf + HEAD + 28); in log_head()
426 log->stored = PULL2(buf + HEAD + 32); in log_head()
427 log->back = 3 + (buf[HEAD + 34] & 7); in log_head()
428 op = (buf[HEAD + 34] >> 3) & 3; in log_head()
451 ret = lseek(log->fd, HEAD, SEEK_SET) < 0 || in log_mark()
837 if (write(log->fd, log_gzhead, HEAD) != HEAD || in log_open()