/bionic/tools/relocation_packer/src/ |
D | elf_file_unittest.cc | 59 ASSERT_EQ(0, fseek(temporary, 0, SEEK_SET)); in OpenRelocsTestFile() 60 ASSERT_EQ(0, lseek(fileno(temporary), 0, SEEK_SET)); in OpenRelocsTestFile() 84 ASSERT_EQ(0, fseek(first, 0, SEEK_SET)); in CheckFileContentsEqual() 85 ASSERT_EQ(0, fseek(second, 0, SEEK_SET)); in CheckFileContentsEqual() 125 ASSERT_EQ(0, fseek(relocs_so, EI_CLASS, SEEK_SET)) in RunUnpackRelocationsTestFor() 129 ASSERT_EQ(0, fseek(relocs_so, 0, SEEK_SET)); in RunUnpackRelocationsTestFor() 161 ASSERT_EQ(0, fseek(packed_relocs_so, EI_CLASS, SEEK_SET)) in RunPackRelocationsTestFor() 165 fseek(packed_relocs_so, 0, SEEK_SET); in RunPackRelocationsTestFor()
|
D | main.cc | 114 if (TEMP_FAILURE_RETRY(lseek(fd.get(), 0, SEEK_SET)) != 0) { in main()
|
/bionic/tests/ |
D | sys_mman_test.cpp | 74 lseek(tf.fd, 0, SEEK_SET); in TEST() 103 ASSERT_NE(-1, lseek(tf.fd, pagesize, SEEK_SET)); in TEST() 105 ASSERT_NE(-1, lseek(tf.fd, 2 * pagesize, SEEK_SET)); in TEST() 107 ASSERT_NE(-1, lseek(tf.fd, 3 * pagesize - sizeof(END_MSG), SEEK_SET)); in TEST() 110 ASSERT_NE(-1, lseek(tf.fd, 0, SEEK_SET)); in TEST() 139 ASSERT_NE(-1, lseek(tf.fd, pagesize, SEEK_SET)); in TEST() 141 ASSERT_NE(-1, lseek(tf.fd, 2 * pagesize, SEEK_SET)); in TEST() 143 ASSERT_NE(-1, lseek(tf.fd, 3 * pagesize - sizeof(END_MSG), SEEK_SET)); in TEST() 146 ASSERT_NE(-1, lseek(tf.fd, 0, SEEK_SET)); in TEST() 167 ASSERT_NE(-1, lseek(tf.fd, pagesize, SEEK_SET)); in TEST() [all …]
|
D | sys_sendfile_test.cpp | 38 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST() 57 ASSERT_EQ(0, lseek(dst_file.fd, 0, SEEK_SET)); in TEST()
|
D | fcntl_test.cpp | 148 check_lock.l_whence = SEEK_SET; in TEST()
|
D | stdio_test.cpp | 82 lseek(tf.fd, 0, SEEK_SET); in TEST() 727 ASSERT_EQ(0, fseek(fp, offset_inside_mb, SEEK_SET)); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | rewind.c | 40 (void) fseek(fp, 0L, SEEK_SET); in rewind()
|
D | fsetpos.c | 42 return (fseeko(iop, (off_t)*pos, SEEK_SET)); in fsetpos()
|
D | fseek.c | 100 whence = SEEK_SET; in fseeko() 104 case SEEK_SET: in fseeko() 143 if (whence == SEEK_SET) in fseeko() 209 if ((*seekfn)(fp->_cookie, curoff, SEEK_SET) == POS_ERR) in fseeko()
|
D | open_memstream.c | 82 case SEEK_SET: in memstream_seek()
|
D | fmemopen.c | 77 case SEEK_SET: in fmemopen_seek()
|
D | open_wmemstream.c | 86 case SEEK_SET: in wmemstream_seek()
|
/bionic/libc/bionic/ |
D | pututline.c | 48 if (fseek(f, i - sizeof(struct utmp), SEEK_SET) < 0) in pututline()
|
D | dirent.cpp | 160 lseek(d->fd_, 0, SEEK_SET); in rewinddir() 167 off_t ret = lseek(d->fd_, offset, SEEK_SET); in seekdir()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | utmp.c | 55 (void)fseeko(ut, (off_t)0, SEEK_SET); in setutent()
|
/bionic/libc/kernel/uapi/linux/ |
D | fs.h | 31 #define SEEK_SET 0 macro
|
/bionic/libc/include/ |
D | stdio.h | 208 #define SEEK_SET 0 macro
|
D | unistd.h | 51 #define SEEK_SET 0 macro
|
/bionic/libc/tzcode/ |
D | localtime.c | 2182 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) { in __bionic_open_tzdata_path() 2241 if (TEMP_FAILURE_RETRY(lseek(fd, specific_zone_offset, SEEK_SET)) == -1) { in __bionic_open_tzdata_path()
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1470 fseek(fp, 0, SEEK_SET); in _dump_answer()
|