/external/zlib/src/examples/ |
H A D | gzlog.c | 493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0; 553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) 646 read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) { 677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 || 705 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) 947 if (lseek(log->fd, 0, SEEK_CUR) != log->last + 4 + log->stored)
|
/external/deqp/framework/delibs/deutil/ |
H A D | deFile.c | 142 case DE_FILEPOSITION_CURRENT: return SEEK_CUR; 156 return lseek(file->fd, 0, SEEK_CUR); 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR);
|
/external/toybox/toys/pending/ |
H A D | dd.c | 172 if (lseek(TT.in.fd, (off_t)(TT.in.offset * TT.in.sz), SEEK_CUR) < 0) { 191 xlseek(TT.out.fd, bs, SEEK_CUR); 214 xlseek(TT.in.fd, TT.in.sz, SEEK_CUR);
|
/external/bsdiff/ |
H A D | file.cc | 114 off_t pos = lseek(fd_, 0, SEEK_CUR);
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
H A D | llseek03.c | 22 * specified location, when 'whence' value is set to SEEK_CUR and the data 115 TEST(lseek64(fd, (loff_t) 1, SEEK_CUR));
|
/external/ltp/testcases/kernel/syscalls/writev/ |
H A D | writev07.c | 71 off_after = (long) SAFE_LSEEK(fd, 0, SEEK_CUR);
|
/external/pdfium/core/fxcrt/ |
H A D | fxcrt_posix.cpp | 77 return lseek(m_nFD, 0, SEEK_CUR);
|
/external/pdfium/third_party/zlib_v128/ |
H A D | gzlib.c | 256 state->start = LSEEK(state->fd, 0, SEEK_CUR); 383 if (whence != SEEK_SET && whence != SEEK_CUR) 386 /* normalize offset to a SEEK_CUR specification */ 396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 492 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/python/cpython2/Modules/zlib/ |
H A D | gzlib.c | 256 state->start = LSEEK(state->fd, 0, SEEK_CUR); 383 if (whence != SEEK_SET && whence != SEEK_CUR) 386 /* normalize offset to a SEEK_CUR specification */ 396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 492 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/syslinux/com32/include/ |
H A D | stdio.h | 26 #define SEEK_CUR 1 macro
|
/external/zlib/src/ |
H A D | gzlib.c | 256 state->start = LSEEK(state->fd, 0, SEEK_CUR); 383 if (whence != SEEK_SET && whence != SEEK_CUR) 386 /* normalize offset to a SEEK_CUR specification */ 396 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 492 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/libcxx/test/std/depr/depr.c.headers/ |
H A D | stdio_h.pass.cpp | 60 #ifndef SEEK_CUR 61 #error SEEK_CUR not defined
|
/external/libcxx/test/std/input.output/file.streams/c.files/ |
H A D | cstdio.pass.cpp | 41 #ifndef SEEK_CUR 42 #error SEEK_CUR not defined
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress07.c | 185 if (lseek64(rwfd, holesize, SEEK_CUR) == -1) { 187 if (lseek(rwfd, holesize, SEEK_CUR) == -1) {
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
H A D | sendfile02.c | 114 if ((before_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { 121 if ((after_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) {
|
H A D | sendfile06.c | 77 if ((after_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) {
|
/external/tinyalsa/ |
H A D | tinyplay.c | 116 fseek(file, chunk_header.sz - sizeof(chunk_fmt), SEEK_CUR); 124 fseek(file, chunk_header.sz, SEEK_CUR);
|
/external/lz4/programs/ |
H A D | lz4io.c | 636 int const seekResult = fseek(file, 1 GB, SEEK_CUR); 653 { int const seekResult = fseek(file, storedSkips, SEEK_CUR); 673 int const seekResult = fseek(file, storedSkips, SEEK_CUR); 687 int const seekResult = fseek(file, storedSkips-1, SEEK_CUR); 872 if (where != SEEK_CUR) return -1; /* Only allows SEEK_CUR */ 876 errorNb = fseek(fp, (long) s, SEEK_CUR); 917 int const errorNb = fseek_u32(finput, size, SEEK_CUR);
|
/external/boringssl/src/crypto/bio/ |
H A D | fd.c | 203 ret = (long)BORINGSSL_LSEEK(b->num, 0, SEEK_CUR);
|
/external/freetype/src/gzip/ |
H A D | ftzconf.h | 250 # define SEEK_CUR 1 /* Seek from current position. */ macro
|
H A D | zconf.h | 250 # define SEEK_CUR 1 /* Seek from current position. */ macro
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate01.c | 260 lseek_offset = lseek(fd, write_offset, SEEK_CUR);
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
H A D | ftruncate04.c | 203 flocks.l_whence = SEEK_CUR;
|
/external/ltp/testcases/kernel/syscalls/openat/ |
H A D | openat02.c | 132 file_offset = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR);
|
/external/sfntly/cpp/src/sfntly/port/ |
H A D | file_input_stream.cc | 125 fseek(file_, (size_t)skip_count, SEEK_CUR);
|