Home
last modified time | relevance | path

Searched refs:uio (Results 1 – 15 of 15) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dswprint.c16 register struct __suio *uio) in __swprint() argument
23 if (uio->uio_resid == 0) { in __swprint()
24 uio->uio_iovcnt = 0; in __swprint()
27 iov = uio->uio_iov; in __swprint()
28 for (; uio->uio_resid != 0; in __swprint()
29 uio->uio_resid -= len, iov++) { in __swprint()
40 uio->uio_resid = 0; in __swprint()
41 uio->uio_iovcnt = 0; in __swprint()
Dsprint.c15 register struct __suio *uio) in __sprint() argument
19 if (uio->uio_resid == 0) { in __sprint()
20 uio->uio_iovcnt = 0; in __sprint()
23 err = _sfvwrite(fp, uio); in __sprint()
24 uio->uio_resid = 0; in __sprint()
25 uio->uio_iovcnt = 0; in __sprint()
Dssprint.c14 register struct __suio *uio) in __ssprint() argument
16 register struct __siov *iov = uio->uio_iov; in __ssprint()
20 while (uio->uio_resid > 0 && uio->uio_iovcnt-- > 0) { in __ssprint()
26 uio->uio_resid -= len; /* pretend we copied all */ in __ssprint()
30 uio->uio_resid = 0; in __ssprint()
31 uio->uio_iovcnt = 0; in __ssprint()
Dsswprint.c15 register struct __suio *uio) in __sswprint() argument
17 register struct __siov *iov = uio->uio_iov; in __sswprint()
21 while (uio->uio_resid > 0 && uio->uio_iovcnt-- > 0) { in __sswprint()
28 uio->uio_resid -= len; /* pretend we copied all */ in __sswprint()
32 uio->uio_resid = 0; in __sswprint()
33 uio->uio_iovcnt = 0; in __sswprint()
Dfwrite.c120 struct __suio uio; in fwrite() local
124 if (!(uio.uio_resid = iov.iov_len = n = count * size)) in fwrite()
126 uio.uio_iov = &iov; in fwrite()
127 uio.uio_iovcnt = 1; in fwrite()
143 if (_sfvwrite (fp, &uio) == 0) in fwrite()
149 return (n - uio.uio_resid) / size; in fwrite()
Dfputs.c96 struct __suio uio; in fputs() local
100 iov.iov_len = uio.uio_resid = strlen (s); in fputs()
101 uio.uio_iov = &iov; in fputs()
102 uio.uio_iovcnt = 1; in fputs()
110 result = _sfvwrite (fp, &uio); in fputs()
Dnano-vfprintf.c246 register struct __suio *uio) in _ssprint() argument
253 iov = uio->uio_iov; in _ssprint()
256 if (uio->uio_resid == 0) in _ssprint()
258 uio->uio_iovcnt = 0; in _ssprint()
329 while ((uio->uio_resid -= w) != 0); in _ssprint()
331 uio->uio_resid = 0; in _ssprint()
332 uio->uio_iovcnt = 0; in _ssprint()
337 uio->uio_resid = 0; in _ssprint()
338 uio->uio_iovcnt = 0; in _ssprint()
349 register struct __suio *uio) in _sprint() argument
[all …]
Dputs.c74 struct __suio uio; in puts() local
82 uio.uio_resid = c + 1; in puts()
83 uio.uio_iov = &iov[0]; in puts()
84 uio.uio_iovcnt = 2; in puts()
93 result = (_sfvwrite (fp, &uio) ? EOF : '\n'); in puts()
Dfputws.c104 struct __suio uio; in fputws() local
112 uio.uio_iov = &iov; in fputws()
113 uio.uio_iovcnt = 1; in fputws()
120 iov.iov_len = uio.uio_resid = nbytes; in fputws()
121 if (_sfvwrite( fp, &uio) != 0) in fputws()
Dfvwrite.c54 register struct __suio *uio) in _sfvwrite() argument
63 if ((len = uio->uio_resid) == 0) in _sfvwrite()
70 iov = uio->uio_iov; in _sfvwrite()
90 uio->uio_resid--; in _sfvwrite()
93 while (uio->uio_resid > 0); in _sfvwrite()
106 uio->uio_resid--; in _sfvwrite()
109 while (uio->uio_resid > 0); in _sfvwrite()
131 while ((uio->uio_resid -= w) != 0); in _sfvwrite()
229 while ((uio->uio_resid -= w) != 0); in _sfvwrite()
284 while ((uio->uio_resid -= w) != 0); in _sfvwrite()
Dvfwprintf.c414 struct __suio uio; /* output information: summary */ in VFWPRINTF() local
462 uio.uio_resid += iovp->iov_len; \ in VFWPRINTF()
464 if (++uio.uio_iovcnt >= NIOV) { \ in VFWPRINTF()
465 if (__SPRINT(fp, &uio)) \ in VFWPRINTF()
488 if (uio.uio_resid && __SPRINT(fp, &uio)) \ in VFWPRINTF()
490 uio.uio_iovcnt = 0; \ in VFWPRINTF()
605 uio.uio_iov = iovp = iov; in VFWPRINTF()
606 uio.uio_resid = 0; in VFWPRINTF()
607 uio.uio_iovcnt = 0; in VFWPRINTF()
Dvfprintf.c446 struct __suio uio; /* output information: summary */ in VFPRINTF() local
479 uio.uio_resid += (len); \ in VFPRINTF()
481 if (++uio.uio_iovcnt >= NIOV) { \ in VFPRINTF()
482 if (__SPRINT(fp, &uio)) \ in VFPRINTF()
505 if (uio.uio_resid && __SPRINT(fp, &uio)) \ in VFPRINTF()
507 uio.uio_iovcnt = 0; \ in VFPRINTF()
639 uio.uio_iov = iovp = iov; in VFPRINTF()
640 uio.uio_resid = 0; in VFPRINTF()
641 uio.uio_iovcnt = 0; in VFPRINTF()
/picolibc-3.7.0-3.6.0/newlib/libc/sys/rtems/include/
DREADME35 sys/sys/_uio.h sys/sys/uio.h sys/sys/un.h
59 sed -i 's,sys/sys/uio.h,newlib/libc/sys/rtems/include/sys/uio.h,g' *.patch
75 sed -i 's,newlib/libc/sys/rtems/include/sys/uio.h,cpukit/include/machine/_kernel_uio.h,g' *.patch
/picolibc-3.7.0-3.6.0/
DCOPYING.picolibc2972 newlib/libc/machine/spu/sys/uio.h
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-20159554 * libc/machine/spu/sys/uio.h: New file for readv and writev use.