/bionic/tests/ |
D | sys_mman_test.cpp | 75 lseek(tf.fd, 0, SEEK_SET); in TEST() 104 ASSERT_NE(-1, lseek(tf.fd, pagesize, SEEK_SET)); in TEST() 106 ASSERT_NE(-1, lseek(tf.fd, 2 * pagesize, SEEK_SET)); in TEST() 108 ASSERT_NE(-1, lseek(tf.fd, 3 * pagesize - sizeof(END_MSG), SEEK_SET)); in TEST() 111 ASSERT_NE(-1, lseek(tf.fd, 0, SEEK_SET)); in TEST() 140 ASSERT_NE(-1, lseek(tf.fd, pagesize, SEEK_SET)); in TEST() 142 ASSERT_NE(-1, lseek(tf.fd, 2 * pagesize, SEEK_SET)); in TEST() 144 ASSERT_NE(-1, lseek(tf.fd, 3 * pagesize - sizeof(END_MSG), SEEK_SET)); in TEST() 147 ASSERT_NE(-1, lseek(tf.fd, 0, SEEK_SET)); in TEST() 168 ASSERT_NE(-1, lseek(tf.fd, pagesize, SEEK_SET)); in TEST() [all …]
|
D | sys_sendfile_test.cpp | 39 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST() 58 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST()
|
D | unistd_test.cpp | 1206 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1210 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1214 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1218 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1229 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1233 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1240 ASSERT_EQ(file_size, lseek64(tf.fd, file_size, SEEK_SET)); in TEST() 1251 ASSERT_EQ(file_size, lseek64(tf.fd, file_size, SEEK_SET)); in TEST() 1255 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() 1266 ASSERT_EQ(0, lseek64(tf.fd, 0, SEEK_SET)); in TEST() [all …]
|
D | _FILE_OFFSET_BITS_test.cpp | 42 check_lock.l_whence = SEEK_SET; in TEST()
|
D | stdio_test.cpp | 166 lseek(tf.fd, 0, SEEK_SET); in TEST() 1508 ASSERT_EQ(0, fseek(fp, offset_inside_mb, SEEK_SET)); in TEST() 1732 EXPECT_EQ(-1, fseek(fp, -2, SEEK_SET)); in TEST() 1733 EXPECT_EQ(-1, fseeko(fp, -2, SEEK_SET)); in TEST() 1734 EXPECT_EQ(-1, fseek(fp, sizeof(buf) + 1, SEEK_SET)); in TEST() 1735 EXPECT_EQ(-1, fseeko(fp, sizeof(buf) + 1, SEEK_SET)); in TEST() 1788 ASSERT_EQ(0, fseek(fp, 2, SEEK_SET)); in TEST() 1876 EXPECT_EQ(0L, fseek(fp, 0, SEEK_SET)); in TEST() 1942 ASSERT_EQ(0, fseek(fp, 0, SEEK_SET)); in TEST() 1950 ASSERT_EQ(0, fseek(fp, 0, SEEK_SET)); in TEST() [all …]
|
D | sys_uio_test.cpp | 36 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in TEST()
|
D | fcntl_test.cpp | 163 check_lock.l_whence = SEEK_SET; in TEST() 177 check_lock.l_whence = SEEK_SET; in TEST()
|
/bionic/libc/include/bits/ |
D | seek_constants.h | 37 #define SEEK_SET 0 macro
|
/bionic/libc/bionic/ |
D | dirent.cpp | 179 lseek(d->fd_, 0, SEEK_SET); in rewinddir() 188 off_t ret = lseek(d->fd_, offset, SEEK_SET); in seekdir()
|
D | execinfo.cpp | 138 lseek(fd.get(), 0, SEEK_SET); in backtrace_symbols()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 137 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) { in __bionic_open_tzdata_path() 208 if (TEMP_FAILURE_RETRY(lseek(fd, specific_zone_offset, SEEK_SET)) == -1) { in __bionic_open_tzdata_path()
|
/bionic/benchmarks/ |
D | get_heap_size_benchmark.cpp | 80 off_t result = lseek(statm_fd, 0 /* offset */, SEEK_SET); in BM_read_statm()
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 52 MACRO(SEEK_SET); in fcntl_h()
|
D | stdio_h.c | 51 MACRO(SEEK_SET); in stdio_h()
|
D | unistd_h.c | 147 MACRO(SEEK_SET); in unistd_h()
|
/bionic/libc/stdio/ |
D | fmemopen.cpp | 95 if (whence == SEEK_SET && (offset >= 0 && static_cast<size_t>(offset) <= ck->capacity)) { in fmemopen_seek()
|
D | stdio.cpp | 603 whence = SEEK_SET; in __fseeko64() 604 } else if (whence != SEEK_SET && whence != SEEK_END) { in __fseeko64() 645 return fseeko(fp, *pos, SEEK_SET); in fsetpos() 650 return fseeko64(fp, *pos, SEEK_SET); in fsetpos64() 946 fseek(fp, 0, SEEK_SET); in rewind()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | open_memstream.c | 82 case SEEK_SET: in memstream_seek()
|
D | open_wmemstream.c | 86 case SEEK_SET: in wmemstream_seek()
|
/bionic/libc/kernel/uapi/linux/ |
D | fs.h | 31 #define SEEK_SET 0 macro
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1533 fseek(fp, 0, SEEK_SET); in _dump_answer()
|