Home
last modified time | relevance | path

Searched refs:wcio (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfwide.c39 struct wchar_io_data *wcio; in fwide() local
53 wcio = WCIO_GET(fp); in fwide()
54 if (!wcio) in fwide()
57 if (wcio->wcio_mode == 0 && mode != 0) in fwide()
58 wcio->wcio_mode = mode; in fwide()
60 mode = wcio->wcio_mode; in fwide()
Dungetwc.c40 struct wchar_io_data *wcio; in __ungetwc() local
52 wcio = WCIO_GET(fp); in __ungetwc()
53 if (wcio == 0) { in __ungetwc()
58 if (wcio->wcio_ungetwc_inbuf >= WCIO_UNGETWC_BUFSIZE) { in __ungetwc()
62 wcio->wcio_ungetwc_buf[wcio->wcio_ungetwc_inbuf++] = wc; in __ungetwc()
Dfgetwc.c40 struct wchar_io_data *wcio; in __fgetwc_unlock() local
46 wcio = WCIO_GET(fp); in __fgetwc_unlock()
47 if (wcio == 0) { in __fgetwc_unlock()
53 if (wcio->wcio_ungetwc_inbuf) { in __fgetwc_unlock()
54 wc = wcio->wcio_ungetwc_buf[--wcio->wcio_ungetwc_inbuf]; in __fgetwc_unlock()
59 st = &wcio->wcio_mbstate_in; in __fgetwc_unlock()
Dfputwc.c42 struct wchar_io_data *wcio; in __fputwc_unlock() local
55 wcio = WCIO_GET(fp); in __fputwc_unlock()
56 if (wcio == 0) { in __fputwc_unlock()
61 wcio->wcio_ungetwc_inbuf = 0; in __fputwc_unlock()
62 st = &wcio->wcio_mbstate_out; in __fputwc_unlock()