Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_cursesmodule.c1955 static PyObject *ModDict; variable
1981 if (o && PyDict_SetItemString(ModDict, string, o) == 0) { \ in PyCurses_InitScr()
2394 if (PyDict_SetItemString(ModDict, "LINES", o)) { in update_lines_cols()
2410 if (PyDict_SetItemString(ModDict, "COLS", o)) { in update_lines_cols()
2501 PyDict_SetItemString(ModDict, "COLORS", c); in PyCurses_Start_Color()
2504 PyDict_SetItemString(ModDict, "COLOR_PAIRS", cp); in PyCurses_Start_Color()
2816 ModDict = d; /* For PyCurses_InitScr to use later */ in init_curses()
/external/python/cpython3/Modules/
D_cursesmodule.c2424 static PyObject *ModDict; variable
2451 if (o && PyDict_SetItemString(ModDict, string, o) == 0) { \ in PyCurses_InitScr()
2865 if (PyDict_SetItem(ModDict, PyId_LINES.object, o)) { in update_lines_cols()
2881 if (PyDict_SetItem(ModDict, PyId_COLS.object, o)) { in update_lines_cols()
2980 PyDict_SetItemString(ModDict, "COLORS", c); in PyCurses_Start_Color()
2985 PyDict_SetItemString(ModDict, "COLOR_PAIRS", cp); in PyCurses_Start_Color()
3361 ModDict = d; /* For PyCurses_InitScr to use later */ in PyInit__curses()