Searched refs:LSEEK (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sys/contrib/zlib/ |
| H A D | gzlib.c | 11 # define LSEEK _lseeki64 macro 14 # define LSEEK lseek64 macro 16 # define LSEEK lseek macro 244 LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */ in gz_open() 250 state->start = LSEEK(state->fd, 0, SEEK_CUR); in gz_open() 334 if (LSEEK(state->fd, state->start, SEEK_SET) == -1) in gzrewind() 371 ret = LSEEK(state->fd, offset - (z_off64_t)state->x.have, SEEK_CUR); in gzseek64() 457 offset = LSEEK(state->fd, 0, SEEK_CUR); in gzoffset64()
|
| /freebsd-14.2/sys/contrib/zstd/zlibWrapper/ |
| H A D | gzlib.c | 12 # define LSEEK _lseeki64 macro 15 # define LSEEK lseek64 macro 17 # define LSEEK lseek macro 255 LSEEK(state.state->fd, 0, SEEK_END); /* so gzoffset() is correct */ 261 state.state->start = LSEEK(state.state->fd, 0, SEEK_CUR); 362 if (LSEEK(state.state->fd, state.state->start, SEEK_SET) == -1) 403 ret = LSEEK(state.state->fd, offset - state.state->x.have, SEEK_CUR); 499 offset = LSEEK(state.state->fd, 0, SEEK_CUR);
|