Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_curses_panel.c20 PyObject *PyCursesError; member
29 Py_CLEAR(_curses_panelstate(m)->PyCursesError); in _curses_panel_clear()
36 Py_VISIT(_curses_panelstate(m)->PyCursesError); in _curses_panel_traverse()
65 PyErr_SetString(_curses_panelstate_global->PyCursesError, catchall_ERR); in PyCursesCheckERR()
67 PyErr_Format(_curses_panelstate_global->PyCursesError, "%s() returned ERR", fname); in PyCursesCheckERR()
314 PyErr_SetString(_curses_panelstate_global->PyCursesError, "replace_panel() returned ERR"); in PyCursesPanel_replace_panel()
346 PyErr_SetString(_curses_panelstate_global->PyCursesError, "no userptr set"); in PyCursesPanel_userptr()
427 PyErr_SetString(_curses_panelstate_global->PyCursesError, catchall_NULL); in PyCurses_new_panel()
518 _curses_panelstate(m)->PyCursesError = PyErr_NewException("_curses_panel.error", NULL, NULL); in PyInit__curses_panel()
519 PyDict_SetItemString(d, "error", _curses_panelstate(m)->PyCursesError); in PyInit__curses_panel()
D_cursesmodule.c147 static PyObject *PyCursesError; variable
163 PyErr_SetString(PyCursesError, \
169 PyErr_SetString(PyCursesError, \
175 PyErr_SetString(PyCursesError, \
194 PyErr_SetString(PyCursesError, catchall_ERR); in PyCursesCheckERR()
196 PyErr_Format(PyCursesError, "%s() returned ERR", fname); in PyCursesCheckERR()
1054 PyErr_SetString(PyCursesError, catchall_NULL); in PyCursesWindow_DerWin()
1171 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_GetKey()
1219 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_Get_WCh()
1649 PyErr_SetString(PyCursesError, in PyCursesWindow_NoOutRefresh()
[all …]
/external/python/cpython2/Modules/
D_curses_panel.c19 static PyObject *PyCursesError; variable
37 PyErr_SetString(PyCursesError, catchall_ERR); in PyCursesCheckERR()
39 PyErr_Format(PyCursesError, "%s() returned ERR", fname); in PyCursesCheckERR()
288 PyErr_SetString(PyCursesError, "replace_panel() returned ERR"); in PyCursesPanel_replace_panel()
321 PyErr_SetString(PyCursesError, "no userptr set"); in PyCursesPanel_userptr()
413 PyErr_SetString(PyCursesError, catchall_NULL); in PyCurses_new_panel()
487 PyCursesError = PyErr_NewException("_curses_panel.error", NULL, NULL); in init_curses_panel()
488 PyDict_SetItemString(d, "error", PyCursesError); in init_curses_panel()
D_cursesmodule.c136 static PyObject *PyCursesError; variable
150 PyErr_SetString(PyCursesError, \
156 PyErr_SetString(PyCursesError, \
162 PyErr_SetString(PyCursesError, \
186 PyErr_SetString(PyCursesError, catchall_ERR); in PyCursesCheckERR()
188 PyErr_Format(PyCursesError, "%s() returned ERR", fname); in PyCursesCheckERR()
783 PyErr_SetString(PyCursesError, catchall_NULL); in PyCursesWindow_DerWin()
902 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_GetKey()
1281 PyErr_SetString(PyCursesError, in PyCursesWindow_NoOutRefresh()
1425 PyErr_SetString(PyCursesError, in PyCursesWindow_Refresh()
[all …]