Home
last modified time | relevance | path

Searched refs:SEEK_END (Results 1 – 21 of 21) sorted by relevance

/picolibc-latest/newlib/libc/sys/xtensa/include/
Dunistd.h10 #define L_XTND SEEK_END
/picolibc-latest/test/
Dt_fmemopen.c211 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
266 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
308 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
628 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
632 ATF_CHECK(fseeko(fp, rest + 1, SEEK_END) == -1); in ATF_TC_BODY()
636 ATF_CHECK(fseeko(fp, -(len + 1), SEEK_END) == -1); in ATF_TC_BODY()
641 ATF_CHECK(fseeko(fp, i, SEEK_END) == 0); in ATF_TC_BODY()
647 ATF_CHECK(fseeko(fp, -i, SEEK_END) == 0); in ATF_TC_BODY()
683 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_END) == 0); in ATF_TC_BODY()
687 ATF_CHECK(fseeko(fp, (off_t)t->n + 1, SEEK_END) == -1); in ATF_TC_BODY()
[all …]
Dtest-funopen.c95 case SEEK_END: in test_seek()
/picolibc-latest/semihost/
Dlseek.c48 if (whence == SEEK_END) { in lseek()
/picolibc-latest/newlib/libc/tinystdio/
Dfdopen.c65 (void) fseeko(&(bf->xfile.cfile.file), 0, SEEK_END); in fdopen()
Dfmemopen.c113 case SEEK_END: in __fmem_seek()
Dstdio.h280 #ifndef SEEK_END
281 #define SEEK_END 2 /* set file offset to EOF plus offset */ macro
/picolibc-latest/newlib/libc/stdio64/
Dfopen64.c98 fseeko64 (fp, 0, SEEK_END); in fopen64()
Dstdio64.c65 (void) lseek64 (fp->_file, (_off64_t)0, SEEK_END); in __swrite64()
Dftello64.c106 pos = fp->_seek64 (fp->_cookie, (_fpos64_t) 0, SEEK_END); in ftello64()
Dfseeko64.c180 case SEEK_END: in fseeko64()
/picolibc-latest/newlib/libc/stdio/
Dfopen.c151 fseek ( fp, 0, SEEK_END); in fopen()
Dfopencookie.c125 c->fp->_seek64 (cookie, 0, SEEK_END); in fcwriter()
127 c->fp->_seek (cookie, 0, SEEK_END); in fcwriter()
Dftello.c108 pos = fp->_seek (fp->_cookie, (_fpos_t) 0, SEEK_END); in ftello()
Dstdio.c88 lseek (fp->_file, (_off_t) 0, SEEK_END); in __swrite()
Dfmemopen.c175 else if (whence == SEEK_END) in fmemseeker()
224 else if (whence == SEEK_END) in fmemseeker64()
Dopen_memstream.c166 else if (whence == SEEK_END) in memseeker()
233 else if (whence == SEEK_END) in memseeker64()
Dfseeko.c177 case SEEK_END: in fseeko()
Dstdio.h303 #ifndef SEEK_END
304 #define SEEK_END 2 /* set file offset to EOF plus offset */ macro
/picolibc-latest/newlib/libc/include/sys/
Dunistd.h366 # define SEEK_END 2 macro
/picolibc-latest/newlib/
DChangeLog-201522520 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.