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()
66 PyErr_SetString(_curses_panelstate_global->PyCursesError, catchall_ERR); in PyCursesCheckERR()
68 PyErr_Format(_curses_panelstate_global->PyCursesError, "%s() returned ERR", fname); in PyCursesCheckERR()
317 PyErr_SetString(_curses_panelstate_global->PyCursesError, "replace_panel() returned ERR"); in PyCursesPanel_replace_panel()
350 PyErr_SetString(_curses_panelstate_global->PyCursesError, "no userptr set"); in PyCursesPanel_userptr()
432 PyErr_SetString(_curses_panelstate_global->PyCursesError, catchall_NULL); in PyCurses_new_panel()
525 _curses_panelstate(m)->PyCursesError = PyErr_NewException("_curses_panel.error", NULL, NULL); in PyInit__curses_panel()
526 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, \
195 PyErr_SetString(PyCursesError, catchall_ERR); in PyCursesCheckERR()
197 PyErr_Format(PyCursesError, "%s() returned ERR", fname); in PyCursesCheckERR()
1038 PyErr_SetString(PyCursesError, catchall_NULL); in PyCursesWindow_DerWin()
1154 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_GetKey()
1199 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_Get_WCh()
1631 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()
772 PyErr_SetString(PyCursesError, catchall_NULL); in PyCursesWindow_DerWin()
890 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_GetKey()
1274 PyErr_SetString(PyCursesError, in PyCursesWindow_NoOutRefresh()
1418 PyErr_SetString(PyCursesError, in PyCursesWindow_Refresh()
[all …]