Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/include/bits/
Dseek_constants.h39 #define SEEK_CUR 1 macro
/bionic/tests/
Dsys_uio_test.cpp51 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadVPwriteV()
55 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadVPwriteV()
Dstdio_test.cpp2164 ASSERT_EQ(0, fseek(fp, -22, SEEK_CUR)) << strerror(errno); in TEST()
2235 ASSERT_EQ(-1, fseek(fp, 0, SEEK_CUR)); in TEST()
2340 ASSERT_EQ(0, fseek(fp, 8192, SEEK_CUR)); in TEST()
2346 ASSERT_EQ(0, fseek(fp, -8192, SEEK_CUR)); in TEST()
2632 ASSERT_EQ(0, fseeko64(fp, 0x1'0000'0000, SEEK_CUR)); in TEST()
2647 ASSERT_EQ(-1, fseek(fp, 1, SEEK_CUR)); in TEST()
2699 ASSERT_EQ(1, SEEK_CUR); in TEST()
/bionic/libc/bionic/
Dlockf.cpp39 fl.l_whence = SEEK_CUR; in lockf64()
/bionic/tests/headers/posix/
Dfcntl_h.c53 MACRO(SEEK_CUR); in fcntl_h()
Dstdio_h.c49 MACRO(SEEK_CUR); in stdio_h()
Dunistd_h.c127 MACRO(SEEK_CUR); in unistd_h()
/bionic/libc/stdio/
Dfmemopen.cpp97 } else if (whence == SEEK_CUR && (ck->offset + offset <= ck->capacity)) { in fmemopen_seek()
Dstdio.cpp572 off64_t result = __seek_unlocked(fp, 0, SEEK_CUR); in __ftello64_unlocked()
597 if (whence == SEEK_CUR) { in __fseeko64()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dopen_memstream.c84 case SEEK_CUR: in memstream_seek()
Dopen_wmemstream.c88 case SEEK_CUR: in wmemstream_seek()
/bionic/libc/kernel/uapi/linux/
Dfs.h32 #define SEEK_CUR 1 macro