Lines Matching refs:wstr
363 PyObject **bytes, wchar_t **wstr) in PyCurses_ConvertToString() argument
368 assert (wstr != NULL); in PyCurses_ConvertToString()
370 *wstr = PyUnicode_AsWideCharString(obj, NULL); in PyCurses_ConvertToString()
371 if (*wstr == NULL) in PyCurses_ConvertToString()
375 assert (wstr == NULL); in PyCurses_ConvertToString()
749 wchar_t wstr[2]; in _curses_window_addch_impl() local
755 type = PyCurses_ConvertToCchar_t(self, ch, &cch, wstr); in _curses_window_addch_impl()
758 wstr[1] = L'\0'; in _curses_window_addch_impl()
759 setcchar(&wcval, wstr, attr, PAIR_NUMBER(attr), NULL); in _curses_window_addch_impl()
821 wchar_t *wstr = NULL; in _curses_window_addstr_impl() local
828 strtype = PyCurses_ConvertToString(self, str, &bytesobj, &wstr); in _curses_window_addstr_impl()
843 rtn = mvwaddwstr(self->win,y,x,wstr); in _curses_window_addstr_impl()
845 rtn = waddwstr(self->win,wstr); in _curses_window_addstr_impl()
846 PyMem_Free(wstr); in _curses_window_addstr_impl()
904 wchar_t *wstr = NULL; in _curses_window_addnstr_impl() local
911 strtype = PyCurses_ConvertToString(self, str, &bytesobj, &wstr); in _curses_window_addnstr_impl()
926 rtn = mvwaddnwstr(self->win,y,x,wstr,n); in _curses_window_addnstr_impl()
928 rtn = waddnwstr(self->win,wstr,n); in _curses_window_addnstr_impl()
929 PyMem_Free(wstr); in _curses_window_addnstr_impl()
1822 wchar_t *wstr = NULL; in _curses_window_insstr_impl() local
1829 strtype = PyCurses_ConvertToString(self, str, &bytesobj, &wstr); in _curses_window_insstr_impl()
1844 rtn = mvwins_wstr(self->win,y,x,wstr); in _curses_window_insstr_impl()
1846 rtn = wins_wstr(self->win,wstr); in _curses_window_insstr_impl()
1847 PyMem_Free(wstr); in _curses_window_insstr_impl()
1907 wchar_t *wstr = NULL; in _curses_window_insnstr_impl() local
1914 strtype = PyCurses_ConvertToString(self, str, &bytesobj, &wstr); in _curses_window_insnstr_impl()
1929 rtn = mvwins_nwstr(self->win,y,x,wstr,n); in _curses_window_insnstr_impl()
1931 rtn = wins_nwstr(self->win,wstr,n); in _curses_window_insnstr_impl()
1932 PyMem_Free(wstr); in _curses_window_insnstr_impl()