Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_uio_test.cpp57 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadVPwriteV()
61 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadVPwriteV()
85 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadV2PwriteV2()
89 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_CUR)); in TestPreadV2PwriteV2()
Dstdio_test.cpp2243 ASSERT_EQ(0, fseek(fp, -22, SEEK_CUR)) << strerror(errno); in TEST()
2314 ASSERT_EQ(-1, fseek(fp, 0, SEEK_CUR)); in TEST()
2419 ASSERT_EQ(0, fseek(fp, 8192, SEEK_CUR)); in TEST()
2425 ASSERT_EQ(0, fseek(fp, -8192, SEEK_CUR)); in TEST()
2717 ASSERT_EQ(0, fseeko64(fp, 0x1'0000'0000, SEEK_CUR)); in TEST()
2732 ASSERT_EQ(-1, fseek(fp, 1, SEEK_CUR)); in TEST()
2784 ASSERT_EQ(1, SEEK_CUR); in TEST()
/bionic/libc/include/bits/
Dseek_constants.h39 #define SEEK_CUR 1 macro
/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.c145 MACRO(SEEK_CUR); in unistd_h()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dopen_memstream.c83 case SEEK_CUR: in memstream_seek()
Dopen_wmemstream.c87 case SEEK_CUR: in wmemstream_seek()
/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/kernel/uapi/linux/
Dfs.h20 #define SEEK_CUR 1 macro