Home
last modified time | relevance | path

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

12

/picolibc-3.7.0-3.6.0/test/
Dt_fmemopen.c81 off_t n;
182 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
210 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
217 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
218 ATF_CHECK(ftello(fp) == (off_t)sizeof(buf)); in ATF_TC_BODY()
267 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
272 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
273 ATF_CHECK(ftello(fp) == (off_t)0); in ATF_TC_BODY()
305 ATF_CHECK(ftello(fp) == (off_t)sizeof(buf)); in ATF_TC_BODY()
314 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
[all …]
/picolibc-3.7.0-3.6.0/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.c45 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/fake/
Dfake_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-3.7.0-3.6.0/semihost/machine/powerpc/
Dpowerpc_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-3.7.0-3.6.0/semihost/machine/m68k/
Dm68k_stub.c45 off_t lseek(int fd, off_t offset, int whence) in lseek()
47 return (off_t) lseek64(fd, (_off64_t) offset, whence); in lseek()
/picolibc-3.7.0-3.6.0/semihost/machine/nios2/
Dnios2_stub.c45 off_t lseek(int fd, off_t offset, int whence) in lseek()
47 return (off_t) lseek64(fd, (_off64_t) offset, whence); in lseek()
/picolibc-3.7.0-3.6.0/semihost/machine/msp430/
Dmsp430-stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek()
85 return (off_t) -1; in lseek()
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/sparc/
Dsparc_stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek()
85 return (off_t) -1; in lseek()
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/mips/
Dmips_stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek()
85 return (off_t) -1; in lseek()
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/x86/
De9_stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek()
85 return (off_t) -1; in lseek()
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/sh/
Dsh_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-3.7.0-3.6.0/semihost/
Dlseek.c43 off_t lseek(int fd, off_t offset, int whence) in lseek()
60 return (off_t) -1; in lseek()
Dlseek64.c45 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/nvptx/
Dmisc.c55 off_t
56 lseek(int fd, off_t offset, int whence) { in lseek()
/picolibc-3.7.0-3.6.0/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.c45 off_t backup; in __bufio_flush_locked()
194 off_t
195 __bufio_seek(FILE *f, off_t offset, int whence) in __bufio_seek()
198 off_t ret; in __bufio_seek()
Dstdio-bufio.h124 off_t
125 __bufio_seek(FILE *f, off_t offset, int whence);
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ces/
Dtable.c460 off_t off; in load_file()
461 off_t cur = 0; in load_file()
505 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_TO_SPEED_OFF); in load_file()
510 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_FROM_SPEED_OFF); in load_file()
519 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_TO_SIZE_OFF); in load_file()
522 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_TO_SPEED_OFF); in load_file()
529 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_FROM_SIZE_OFF); in load_file()
532 off = (off_t)_32BIT_ELT (nmlen + EXTTABLE_FROM_SPEED_OFF); in load_file()
/picolibc-3.7.0-3.6.0/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-3.7.0-3.6.0/newlib/libc/include/sys/
Dunistd.h185 off_t lseek (int __fildes, off_t __offset, int __whence);
192 int lockf (int __fd, int __cmd, off_t __len);
204 ssize_t pread (int __fd, void *__buf, size_t __nbytes, off_t __offset);
205 ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, off_t __offset);
294 int ftruncate (int __fd, off_t __length);
297 int truncate (const char *, off_t __length);
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dpread_ea.c43 pread_ea (int fd, __ea void *buf, size_ea_t count, off_t offset) in pread_ea()
Dpwrite_ea.c43 pwrite_ea (int fd, __ea const void *buf, size_ea_t count, off_t offset) in pwrite_ea()
Dmmap_ea.c41 flags, int fd, off_t offset) in mmap_ea()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/sys/
Dmman.h78 prot, int flags, int fd, off_t offset);

12