Home
last modified time | relevance | path

Searched refs:bytesobj (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
D_cursesmodule.c681 PyObject *bytesobj = NULL; in _curses_window_addstr_impl() local
690 strtype = PyCurses_ConvertToString(self, str, &bytesobj, &wstr); in _curses_window_addstr_impl()
692 strtype = PyCurses_ConvertToString(self, str, &bytesobj, NULL); in _curses_window_addstr_impl()
712 const char *str = PyBytes_AS_STRING(bytesobj); in _curses_window_addstr_impl()
718 Py_DECREF(bytesobj); in _curses_window_addstr_impl()
763 PyObject *bytesobj = NULL; in _curses_window_addnstr_impl() local
772 strtype = PyCurses_ConvertToString(self, str, &bytesobj, &wstr); in _curses_window_addnstr_impl()
774 strtype = PyCurses_ConvertToString(self, str, &bytesobj, NULL); in _curses_window_addnstr_impl()
795 const char *str = PyBytes_AS_STRING(bytesobj); in _curses_window_addnstr_impl()
801 Py_DECREF(bytesobj); in _curses_window_addnstr_impl()
[all …]
/external/python/cpython3/Lib/test/
Dtest_marshal.py430 bytesobj = b"abcde"*3
431 self.helper(bytesobj)
432 self.helper3(bytesobj)