Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 31) sorted by relevance

12

/bionic/libc/include/
Dfcntl.h73 extern int fallocate(int, int, off_t, off_t) __RENAME(fallocate64);
74 extern int posix_fadvise(int, off_t, off_t, int) __RENAME(posix_fadvise64);
75 extern int posix_fallocate(int, off_t, off_t) __RENAME(posix_fallocate);
77 extern int fallocate(int, int, off_t, off_t);
78 extern int posix_fadvise(int, off_t, off_t, int);
79 extern int posix_fallocate(int, off_t, off_t);
Dunistd.h163 extern int truncate(const char *, off_t) __RENAME(truncate64);
164 extern off_t lseek(int, off_t, int) __RENAME(lseek64);
165 extern ssize_t pread(int, void *, size_t, off_t) __RENAME(pread64);
166 extern ssize_t pwrite(int, const void *, size_t, off_t) __RENAME(pwrite64);
167 extern int ftruncate(int, off_t) __RENAME(ftruncate64);
169 extern int truncate(const char *, off_t);
170 extern off_t lseek(int, off_t, int);
171 extern ssize_t pread(int, void *, size_t, off_t);
172 extern ssize_t pwrite(int, const void *, size_t, off_t);
173 extern int ftruncate(int, off_t);
[all …]
Dregex.h46 typedef off_t regoff_t;
Dstdio.h60 typedef off_t fpos_t; /* stdio file position type */
289 int fseeko(FILE *, off_t, int)
291 off_t ftello(FILE *)
296 int fseeko(FILE *, off_t, int);
297 off_t ftello(FILE *);
/bionic/libc/bionic/
Dftruncate.cpp22 static_assert(sizeof(off_t) == 4,
28 int ftruncate(int filedes, off_t length) { in ftruncate()
Dposix_fallocate.cpp33 int posix_fallocate(int fd, off_t offset, off_t length) { in posix_fallocate()
Dlegacy_32_bit_support.cpp71 ssize_t pread(int fd, void* buf, size_t byte_count, off_t offset) { in pread()
76 ssize_t pwrite(int fd, const void* buf, size_t byte_count, off_t offset) { in pwrite()
81 int fallocate(int fd, int mode, off_t offset, off_t length) { in fallocate()
Dposix_fadvise.cpp37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise()
D__pread_chk.cpp33 extern "C" ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk()
Dmmap.cpp62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap()
Dgetentropy_linux.c423 off_t off; in getentropy_fallback()
446 (off_t)0), mm[m].p); in getentropy_fallback()
499 HX((off = lseek(0, (off_t)0, in getentropy_fallback()
Ddirent.cpp167 off_t ret = lseek(d->fd_, offset, SEEK_SET); in seekdir()
/bionic/libc/stdio/
Dstdio.c65 (void) TEMP_FAILURE_RETRY(lseek(fp->_file, (off_t)0, SEEK_END)); in __swrite()
74 off_t ret; in __sseek()
76 ret = TEMP_FAILURE_RETRY(lseek(fp->_file, (off_t)offset, whence)); in __sseek()
77 if (ret == (off_t)-1) in __sseek()
/bionic/tests/
Dsys_types_test.cpp33 ASSERT_EQ(8U, sizeof(off_t)); in TEST()
37 ASSERT_EQ(4U, sizeof(off_t)); in TEST()
Dsys_sendfile_test.cpp32 off_t offset = 2; in TEST()
Dstdio_test.cpp670 ASSERT_EQ(0, static_cast<off_t>(pos1)); in TEST()
671 ASSERT_EQ(1, static_cast<off_t>(pos2)); in TEST()
672 ASSERT_EQ(3, static_cast<off_t>(pos3)); in TEST()
673 ASSERT_EQ(6, static_cast<off_t>(pos4)); in TEST()
674 ASSERT_EQ(10, static_cast<off_t>(pos5)); in TEST()
733 ASSERT_EQ(offset_inside_mb, static_cast<off_t>(pos_inside_mb)); in TEST()
/bionic/libc/include/sys/
Dsendfile.h38 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) __RENAME(sendfile64);
40 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
Dmman.h53 extern void* mmap(void*, size_t, int, int, int, off_t) __RENAME(mmap64);
55 extern void* mmap(void*, size_t, int, int, int, off_t);
Dtypes.h94 typedef int64_t off_t; typedef
95 typedef off_t loff_t;
99 typedef __kernel_off_t off_t; typedef
Dstat.h49 off_t st_size; \
88 off_t st_size; \
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c55 (void)fseeko(ut, (off_t)0, SEEK_SET); in setutent()
63 off_t numentries; in getutent()
72 if ((off_t)(numentries * sizeof(utmp)) != st.st_size) in getutent()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dftell.c42 off_t
90 off_t offset = ftello(fp); in ftell()
Dfsetpos.c42 return (fseeko(iop, (off_t)*pos, SEEK_SET)); in fsetpos()
/bionic/libc/
DSYSCALLS.TXT95 ssize_t pread64|pread(int, void*, size_t, off_t) arm64,mips64,x86_64
97 ssize_t pwrite64|pwrite(int, void*, size_t, off_t) arm64,mips64,x86_64
147 # Paired off_t/off64_t system calls. On 64-bit systems,
148 # sizeof(off_t) == sizeof(off64_t), so there we emit two symbols that are
151 off_t lseek(int, off_t, int) arm,mips,x86
153 off_t lseek|lseek64(int, off_t, int) arm64,mips64,x86_64
155 int ftruncate|ftruncate64(int, off_t) arm64,mips64,x86_64
156 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count) arm,mips,x86
158 ssize_t sendfile|sendfile64(int out_fd, int in_fd, off_t* offset, size_t count) arm64,mips64,x86_64
159 int truncate(const char*, off_t) arm,mips,x86
[all …]
/bionic/libc/arch-mips64/bionic/
Dstat.cpp64 st->st_size = static_cast<off_t>(s->st_size); in copy_stat()

12