Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 20 of 20) sorted by relevance

/picolibc-latest/newlib/libc/sys/xtensa/include/
Dunistd.h9 #define L_INCR SEEK_CUR
/picolibc-latest/newlib/libc/tinystdio/
Dftell.c48 FTELL_TYPE ret = (FTELL_TYPE) (xf->seek) (stream, 0, SEEK_CUR); in FTELL()
Dfmemopen.c110 case SEEK_CUR: in __fmem_seek()
Dstdio.h277 #ifndef SEEK_CUR
278 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
Dbufio.c214 case SEEK_CUR: in __bufio_seek()
/picolibc-latest/newlib/libc/stdio64/
Dfseeko64.c147 case SEEK_CUR: in fseeko64()
158 curoff = seekfn (fp->_cookie, (_fpos64_t) 0, SEEK_CUR); in fseeko64()
246 curoff = seekfn (fp->_cookie, (_fpos64_t)0, SEEK_CUR); in fseeko64()
Dftello64.c117 pos = fp->_seek64 (fp->_cookie, (_fpos64_t) 0, SEEK_CUR); in ftello64()
/picolibc-latest/newlib/libc/stdio/
Dfseeko.c144 case SEEK_CUR: in fseeko()
155 curoff = seekfn (fp->_cookie, (_fpos_t) 0, SEEK_CUR); in fseeko()
250 curoff = seekfn (fp->_cookie, 0L, SEEK_CUR); in fseeko()
Dfflush.c151 curoff = fp->_seek64 (fp->_cookie, 0, SEEK_CUR); in _sflush()
154 curoff = fp->_seek (fp->_cookie, 0, SEEK_CUR); in _sflush()
Dftello.c119 pos = fp->_seek (fp->_cookie, (_fpos_t) 0, SEEK_CUR); in ftello()
Dfmemopen.c173 if (whence == SEEK_CUR) in fmemseeker()
222 if (whence == SEEK_CUR) in fmemseeker64()
Dopen_memstream.c164 if (whence == SEEK_CUR) in memseeker()
231 if (whence == SEEK_CUR) in memseeker64()
Dstdio.h300 #ifndef SEEK_CUR
301 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/picolibc-latest/semihost/
Dlseek.c45 if (whence == SEEK_CUR && offset == 0) in lseek()
/picolibc-latest/test/
Dposix-io.c80 if (fseeko(f, -3, SEEK_CUR) < 0) { in main()
Dt_fmemopen.c517 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_CUR) == 0); in ATF_TC_BODY()
521 ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == -1); in ATF_TC_BODY()
526 ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == 0); in ATF_TC_BODY()
531 ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == -1); in ATF_TC_BODY()
565 ATF_CHECK(fseeko(fp, (off_t)0, SEEK_CUR) == 0); in ATF_TC_BODY()
570 ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == 0); in ATF_TC_BODY()
575 ATF_CHECK(fseeko(fp, (off_t)1, SEEK_CUR) == -1); in ATF_TC_BODY()
580 ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == 0); in ATF_TC_BODY()
585 ATF_CHECK(fseeko(fp, (off_t)-1, SEEK_CUR) == -1); in ATF_TC_BODY()
Dtest-fread-fwrite.c159 fseek(f, size * offsets[op] - offset, SEEK_CUR); in main()
180 fseek(f, size * offsets[op] - offset, SEEK_CUR); in main()
Dtest-funopen.c89 case SEEK_CUR: in test_seek()
/picolibc-latest/newlib/libc/machine/spu/
Dspu-gmon.c191 lseek (fd, hist_size, SEEK_CUR); in write_histogram()
/picolibc-latest/newlib/libc/include/sys/
Dunistd.h365 # define SEEK_CUR 1 macro