/external/ltp/testcases/kernel/syscalls/pread/ |
D | pread01.c | 130 l_seek(fildes, 0, SEEK_CUR, K4); in main() 143 l_seek(fildes, 0, SEEK_CUR, 0); in main() 156 l_seek(fildes, 0, SEEK_CUR, K1); in main() 166 l_seek(fildes, 0, SEEK_CUR, K1); in main() 216 l_seek(fildes, 0, SEEK_CUR, 0); in setup() 229 l_seek(fildes, 0, SEEK_CUR, K1 / 2); in setup() 244 l_seek(fildes, 0, SEEK_CUR, K4); in setup()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek03.c | 47 {SEEK_CUR, 1, 5, 3, "fgh"}, 52 {SEEK_CUR, 4, 8, 0, NULL}, 57 {SEEK_CUR, 8, 12, 0, NULL}, 66 case SEEK_CUR: in str_whence()
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek02.c | 36 {&bad_fd, SEEK_CUR, EBADF}, 42 {&pfd1, SEEK_CUR, ESPIPE}, 45 {&pfds[0], SEEK_CUR, ESPIPE}, 48 {&pfd2, SEEK_CUR, ESPIPE},
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite04.c | 103 l_seek(fd, 0, SEEK_CUR, 0); in main() 123 l_seek(fd, 0, SEEK_CUR, K1 / 2); in main() 143 l_seek(fd, 0, SEEK_CUR, K4); in main() 193 l_seek(fd, 0, SEEK_CUR, K2); in main()
|
D | pwrite01.c | 129 l_seek(fildes, 0, SEEK_CUR, 0); in main() 150 l_seek(fildes, 0, SEEK_CUR, K1 / 2); in main() 168 l_seek(fildes, 0, SEEK_CUR, K4); in main()
|
/external/strace/xlat/ |
D | whence_codes.h | 15 #if defined(SEEK_CUR) || (defined(HAVE_DECL_SEEK_CUR) && HAVE_DECL_SEEK_CUR) 16 XLAT(SEEK_CUR),
|
D | whence_codes.in | 2 SEEK_CUR
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile09.c | 94 before_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile() 100 after_pos = SAFE_LSEEK(cleanup, in_fd, 0, SEEK_CUR); in do_sendfile() 146 SAFE_LSEEK(cleanup, fd, 1024 * 1024 - 1, SEEK_CUR); in setup()
|
D | sendfile02.c | 113 if ((before_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { in do_sendfile() 120 if ((after_pos = lseek(in_fd, 0, SEEK_CUR)) < 0) { in do_sendfile()
|
/external/e2fsprogs/contrib/ |
D | make-sparse.c | 76 lseek(fd, sizeof(buf), SEEK_CUR); in main() 85 lseek(fd, -1, SEEK_CUR); in main()
|
/external/puffin/src/ |
D | file_stream.cc | 38 auto cur_off = lseek(fd_, 0, SEEK_CUR); in GetSize() 49 auto off = lseek(fd_, 0, SEEK_CUR); in GetOffset()
|
/external/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_disasm.c | 115 fseek(in, 4, SEEK_CUR); in extract_shader_binary() 125 fseek(in, chunk.size, SEEK_CUR); in extract_shader_binary()
|
/external/u-boot/fs/yaffs2/ |
D | yportenv.h | 129 #ifndef SEEK_CUR 130 #define SEEK_CUR 1 macro
|
/external/python/pycparser/utils/fake_libc_include/ |
D | _fake_defines.h | 12 #ifndef SEEK_CUR 13 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
|
/external/e2fsprogs/util/ |
D | copy_sparse.c | 177 lseek(ofd, bs, SEEK_CUR); in copy_sparse_file() 195 lseek64(ofd, offset-1, SEEK_CUR); in copy_sparse_file()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 131 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append() 133 len2 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append()
|
/external/python/cpython2/Modules/zlib/ |
D | gzlib.c | 258 state->start = LSEEK(state->fd, 0, SEEK_CUR); 387 if (whence != SEEK_SET && whence != SEEK_CUR) 400 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 496 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/zlib/ |
D | gzlib.c | 258 state->start = LSEEK(state->fd, 0, SEEK_CUR); 387 if (whence != SEEK_SET && whence != SEEK_CUR) 400 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 496 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/v8/third_party/zlib/ |
D | gzlib.c | 258 state->start = LSEEK(state->fd, 0, SEEK_CUR); 387 if (whence != SEEK_SET && whence != SEEK_CUR) 400 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 496 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
/external/deqp/framework/delibs/deutil/ |
D | deFile.c | 142 case DE_FILEPOSITION_CURRENT: return SEEK_CUR; in mapSeekPosition() 156 return lseek(file->fd, 0, SEEK_CUR); in deFile_getPosition() 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize()
|
/external/toybox/toys/pending/ |
D | dd.c | 202 if (lseek(TT.in.fd, off, SEEK_CUR) < 0) { in dd_main() 226 xlseek(TT.out.fd, bs, SEEK_CUR); in dd_main() 254 xlseek(TT.in.fd, TT.in.sz, SEEK_CUR); in dd_main()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 607 PyObject *pos = portable_lseek(self, NULL, SEEK_CUR, false); 700 pos = _lseeki64(self->fd, 0L, SEEK_CUR); 702 pos = lseek(self->fd, 0L, SEEK_CUR); 885 #if SEEK_CUR != 1 886 case 1: whence = SEEK_CUR; break;
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress07.c | 185 if (lseek64(rwfd, holesize, SEEK_CUR) == -1) { 187 if (lseek(rwfd, holesize, SEEK_CUR) == -1) {
|
/external/lz4/programs/ |
D | lz4io.c | 741 int const seekResult = UTIL_fseek(file, 1 GB, SEEK_CUR); in LZ4IO_fwriteSparse() 758 { int const seekResult = UTIL_fseek(file, storedSkips, SEEK_CUR); in LZ4IO_fwriteSparse() 778 int const seekResult = UTIL_fseek(file, storedSkips, SEEK_CUR); in LZ4IO_fwriteSparse() 792 int const seekResult = UTIL_fseek(file, storedSkips-1, SEEK_CUR); in LZ4IO_fwriteSparseEnd() 989 if (where != SEEK_CUR) return -1; /* Only allows SEEK_CUR */ in fseek_u32() 993 errorNb = UTIL_fseek(fp, (long) s, SEEK_CUR); in fseek_u32() 1038 int const errorNb = fseek_u32(finput, size, SEEK_CUR); in selectDecoder()
|
/external/tinyalsa/ |
D | tinyplay.c | 117 fseek(file, chunk_header.sz - sizeof(chunk_fmt), SEEK_CUR); in main() 126 fseek(file, chunk_header.sz, SEEK_CUR); in main()
|