/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | wcsnrtombs.c | 77 size_t len, mbstate_t *ps, struct __locale_t *loc) in _wcsnrtombs_l() argument 86 if (ps == NULL) in _wcsnrtombs_l() 89 ps = &_wcsrtombs_state; in _wcsnrtombs_l() 102 int count = ps->__count; in _wcsnrtombs_l() 103 wint_t wch = ps->__value.__wch; in _wcsnrtombs_l() 104 int bytes = loc->wctomb (buff, *pwcs, ps); in _wcsnrtombs_l() 108 ps->__count = 0; in _wcsnrtombs_l() 124 ps->__count = 0; in _wcsnrtombs_l() 131 ps->__count = count; in _wcsnrtombs_l() 132 ps->__value.__wch = wch; in _wcsnrtombs_l() [all …]
|
D | wcrtomb.c | 15 mbstate_t *__restrict ps) in wcrtomb() argument 21 if (ps == NULL) in wcrtomb() 24 ps = &_wcrtomb_state; in wcrtomb() 29 retval = __WCTOMB (buf, L'\0', ps); in wcrtomb() 31 retval = __WCTOMB (s, wc, ps); in wcrtomb() 35 ps->__count = 0; in wcrtomb()
|
D | mbrtowc.c | 17 mbstate_t *__restrict ps) in mbrtowc() argument 22 if (ps == NULL) in mbrtowc() 25 ps = &_mbrtowc_state; in mbrtowc() 30 retval = __MBTOWC (NULL, "", 1, ps); in mbrtowc() 32 retval = __MBTOWC (pwc, s, n, ps); in mbrtowc() 36 ps->__count = 0; in mbrtowc()
|
D | mbsnrtowcs.c | 70 mbstate_t *ps) in mbsnrtowcs() argument 79 if (ps == NULL) in mbsnrtowcs() 82 ps = &_mbsrtowcs_state; in mbsnrtowcs() 98 bytes = mbrtowc (ptr, *src, nms, ps); in mbsnrtowcs() 119 ps->__count = 0; in mbsnrtowcs()
|
D | mbsinit.c | 10 mbsinit(const mbstate_t *ps) in mbsinit() argument 12 if (ps == NULL || ps->__count == 0) in mbsinit()
|
D | mbrlen.c | 11 mbrlen(const char *__restrict s, size_t n, mbstate_t *__restrict ps) in mbrlen() argument 13 return mbrtowc(NULL, s, n, ps); in mbrlen()
|
D | wcsrtombs.c | 15 mbstate_t *__restrict ps) in wcsrtombs() argument 17 return wcsnrtombs (dst, src, (size_t) -1, len, ps); in wcsrtombs()
|
D | mbsrtowcs.c | 18 mbstate_t *__restrict ps) in mbsrtowcs() argument 20 return mbsnrtowcs (dst, src, (size_t) -1, len, ps); in mbsrtowcs()
|
D | ldtoa.c | 1021 unsigned short *ps; in m16m() local 1030 ps = &b[NI - 1]; in m16m() 1034 if (*ps == 0) in m16m() 1036 --ps; in m16m() 1042 m = (unsigned long) aa **ps--; in m16m()
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/ |
D | iconvnls.h | 49 _iconv_nls_get_state (iconv_t cd, mbstate_t *ps, int direction); 52 _iconv_nls_set_state (iconv_t cd, mbstate_t *ps, int direction);
|
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/lib/ |
D | iconvnls.c | 218 mbstate_t *ps, in _iconv_nls_get_state() argument 223 ic->handlers->get_state (ic->data, ps, direction); in _iconv_nls_get_state() 244 mbstate_t *ps, in _iconv_nls_set_state() argument 249 return ic->handlers->set_state (ic->data, ps, direction); in _iconv_nls_set_state()
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/ |
D | vfprintf.c | 923 mbstate_t ps; in VFPRINTF() local 925 memset ((void *)&ps, '\0', sizeof (mbstate_t)); in VFPRINTF() 928 &ps)) == -1) { in VFPRINTF() 1207 mbstate_t ps; in VFPRINTF() local 1212 memset ((void *)&ps, '\0', sizeof (mbstate_t)); in VFPRINTF() 1222 buf, wcp[m], &ps)) == -1) { in VFPRINTF() 1236 NULL, &wcp, 0, &ps)) == -1) { in VFPRINTF() 1258 memset ((void *)&ps, '\0', sizeof (mbstate_t)); in VFPRINTF() 1259 if ((int)wcsrtombs (cp, &wcp, size, &ps) in VFPRINTF()
|
D | vfwprintf.c | 1175 mbstate_t ps; in VFWPRINTF() local 1180 memset ((void *)&ps, '\0', sizeof (mbstate_t)); in VFWPRINTF() 1182 nconv = mbrlen (p, MB_CUR_MAX, &ps); in VFWPRINTF() 1205 memset ((void *)&ps, '\0', sizeof (mbstate_t)); in VFWPRINTF() 1208 nconv = mbrtowc (p, arg, insize, &ps); in VFWPRINTF()
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | NEWS | 232 * documentation fixes to support pdf, info, ps formats and
|