Home
last modified time | relevance | path

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

12

/picolibc-latest/test/
Dt_fmemopen.c75 off_t n;
176 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
204 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
211 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
212 ATF_CHECK(ftello(fp) == (off_t)sizeof(buf)); in ATF_TC_BODY()
261 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
266 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
267 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
299 ATF_CHECK(ftello(fp) == (off_t)sizeof(buf)); in ATF_TC_BODY()
308 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
[all …]
/picolibc-latest/semihost/machine/arc/
Darc_lseek.c44 off_t
45 lseek(int fd, off_t offset, int whence) in lseek()
47 off_t ret = arc_semihost3(SYS_SEMIHOST_lseek, fd, offset, whence); in lseek()
48 if (ret == (off_t) -1) in lseek()
Darc_stub.c46 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/m68k/
Dm68k_stub.c44 off_t lseek(int fd, off_t offset, int whence) in lseek()
46 return (off_t) lseek64(fd, (_off64_t) offset, whence); in lseek()
/picolibc-latest/semihost/machine/nios2/
Dnios2_stub.c44 off_t lseek(int fd, off_t offset, int whence) in lseek()
46 return (off_t) lseek64(fd, (_off64_t) offset, whence); in lseek()
/picolibc-latest/semihost/fake/
Dfake_stub.c76 off_t lseek(int fd, off_t offset, int whence) in lseek()
81 return (off_t) -1; in lseek()
86 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/powerpc/
Dpowerpc_stub.c77 off_t lseek(int fd, off_t offset, int whence) in lseek()
82 return (off_t) -1; in lseek()
87 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/x86/
De9_stub.c81 off_t lseek(int fd, off_t offset, int whence) in lseek()
86 return (off_t) -1; in lseek()
91 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/mips/
Dmips_stub.c75 off_t lseek(int fd, off_t offset, int whence) in lseek()
80 return (off_t) -1; in lseek()
85 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/msp430/
Dmsp430-stub.c81 off_t lseek(int fd, off_t offset, int whence) in lseek()
86 return (off_t) -1; in lseek()
91 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/sparc/
Dsparc_stub.c75 off_t lseek(int fd, off_t offset, int whence) in lseek()
80 return (off_t) -1; in lseek()
85 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/machine/sh/
Dsh_stub.c82 off_t lseek(int fd, off_t offset, int whence) in lseek()
87 return (off_t) -1; in lseek()
92 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/semihost/
Dlseek.c43 off_t lseek(int fd, off_t offset, int whence) in lseek()
60 return (off_t) -1; in lseek()
Dlseek64.c46 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-latest/newlib/libc/machine/nvptx/
Dmisc.c57 off_t
58 lseek(int fd, off_t offset, int whence) { in lseek()
/picolibc-latest/newlib/libc/tinystdio/
Dfmemopen.c102 static off_t
103 __fmem_seek(FILE *f, off_t pos, int whence) in __fmem_seek()
117 _Static_assert(sizeof(off_t) >= sizeof(size_t), "must avoid truncation"); in __fmem_seek()
118 if (pos < 0 || (off_t)mf->bufsize < pos) in __fmem_seek()
Dbufio.c43 off_t backup; in __bufio_flush_locked()
200 off_t
201 __bufio_seek(FILE *f, off_t offset, int whence) in __bufio_seek()
204 off_t ret; in __bufio_seek()
Dstdio-bufio.h163 off_t
164 __bufio_seek(FILE *f, off_t offset, int whence);
/picolibc-latest/newlib/libc/iconv/ces/
Dtable.c458 off_t off; in load_file()
459 off_t cur = 0; in load_file()
503 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_TO_SPEED_OFF); in load_file()
508 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_FROM_SPEED_OFF); in load_file()
517 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_TO_SIZE_OFF); in load_file()
520 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_TO_SPEED_OFF); in load_file()
527 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_FROM_SIZE_OFF); in load_file()
530 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_FROM_SPEED_OFF); in load_file()
/picolibc-latest/newlib/libc/include/sys/
Dunistd.h58 typedef __off_t off_t; typedef
214 off_t lseek (int __fildes, off_t __offset, int __whence);
221 int lockf (int __fd, int __cmd, off_t __len);
233 ssize_t pread (int __fd, void *__buf, size_t __nbytes, off_t __offset);
234 ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, off_t __offset);
318 int ftruncate (int __fd, off_t __length);
321 int truncate (const char *, off_t __length);
/picolibc-latest/newlib/libc/machine/spu/include/
Dea.h83 flags, int fd, off_t offset);
126 ssize_ea_t pread_ea(int fd, __ea void *buf, size_ea_t count, off_t offset);
129 ssize_ea_t pwrite_ea(int fd, __ea const void *buf, size_ea_t count, off_t offset);
/picolibc-latest/newlib/libc/machine/spu/
Dpread_ea.c45 pread_ea (int fd, __ea void *buf, size_ea_t count, off_t offset) in pread_ea()
Dpwrite_ea.c45 pwrite_ea (int fd, __ea const void *buf, size_ea_t count, off_t offset) in pwrite_ea()
Dmmap_ea.c43 flags, int fd, off_t offset) in mmap_ea()
/picolibc-latest/newlib/libc/machine/spu/sys/
Dmman.h78 prot, int flags, int fd, off_t offset);

12