Searched refs:SEEK_SET (Results 1 – 15 of 15) sorted by relevance
/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 | 80 lseek(tf.fd, SEEK_SET, 0); in TEST() 672 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()
|
/bionic/libc/bionic/ |
D | pututline.c | 48 if (fseek(f, i - sizeof(struct utmp), SEEK_SET) < 0) in pututline()
|
D | dirent.cpp | 147 lseek(d->fd_, 0, SEEK_SET); in rewinddir()
|
/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 | 194 #ifndef SEEK_SET 195 #define SEEK_SET 0 /* set file offset to offset */ macro
|
D | unistd.h | 46 #define SEEK_SET 0 macro
|
/bionic/libc/tzcode/ |
D | localtime.c | 2181 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) { in __bionic_open_tzdata_path() 2240 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 | 1465 fseek(fp, 0, SEEK_SET); in _dump_answer()
|