Searched defs:wio (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libxcurses2/src/libc/wide/
H A Dwio_get.c65 m_wio_get(t_wide_io *wio) argument
70 if (wio == NULL || wio->get == (int (*)(void *)) NULL) {
76 if (wio->_next < wio->_size) {
77 return ((wint_t)wio->_mb[wio->_next++]);
81 wio->_size = 0;
82 for (wio->_next = 0; wio
[all...]
H A Dwio_put.c59 m_wio_put(wint_t wc, t_wide_io *wio) argument
64 if (wio == NULL || wio->put == (int (*)(int, void *)) NULL) {
73 if ((mb_len = wctomb((char *) wio->_mb, wc)) < 0)
87 for (ptr = wio->_mb, count = 0; count < mb_len; ++ptr, ++count)
88 if ((*wio->put)(*ptr, wio->object) == EOF)
92 wio->_size = mb_len;
93 wio->_next = count;
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwget_wch.c82 t_wide_io *wio; local
102 wio = (t_wide_io *) __m_screen->_in;
103 wio->object = w;
122 *wcp = m_wio_get(wio);
132 while (wio->_next < wio->_size)
133 PUSH(wio->_mb[--wio->_size]);
H A Dnewterm.c206 t_wide_io *wio; local
277 if ((wio = (t_wide_io *) calloc(1, sizeof *wio)) == (t_wide_io *) 0)
281 wio->get = (int (*)(void *)) wgetch;
282 wio->unget = __xc_ungetc;
283 wio->reset = __xc_clearerr;
284 wio->iserror = __xc_ferror;
285 wio->iseof = __xc_feof;
286 sp->_in = wio;
H A Dwgetn_ws.c265 t_wide_io *wio; local
271 wio = (t_wide_io *) __m_screen->_in;
282 if (fld_mb && fld_maxlength < fld_bytes + wio->_size) {
295 fld_bytes += wio->_size;
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwget_wch.c82 t_wide_io *wio; local
101 wio = (t_wide_io *) __m_screen->_in;
102 wio->object = w;
132 *wcp = m_wio_get(wio);
143 while (wio->_next < wio->_size)
144 iqPush(wio->_mb[--wio->_size]);
H A Dnewterm.c206 t_wide_io *wio; local
273 if ((wio = (t_wide_io *) calloc(1, sizeof (*wio))) == NULL)
277 wio->get = (int (*)(void *)) wgetch;
278 wio->unget = __xc_ungetc;
279 wio->reset = __xc_clearerr;
280 wio->iserror = __xc_ferror;
281 wio->iseof = __xc_feof;
282 sp->_in = wio;
H A Dwgetn_ws.c289 t_wide_io *wio; local
295 wio = (t_wide_io *) __m_screen->_in;
307 if (fld_mb && fld_maxlength < fld_bytes + wio->_size) {
320 fld_bytes += wio->_size;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_termio.c1451 mdb_termio_create(const char *name, mdb_io_t *rio, mdb_io_t *wio) argument
1502 td->tio_out_io = wio;

Completed in 65 milliseconds