Home
last modified time | relevance | path

Searched refs:PyModule_GetState (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Include/
Dmoduleobject.h35 PyAPI_FUNC(void*) PyModule_GetState(PyObject*);
/external/python/cpython3/Doc/c-api/
Dmodule.rst88 .. c:function:: void* PyModule_GetState(PyObject *module)
161 retrieved with :c:func:`PyModule_GetState`, rather than in static globals.
200 is allocated (:c:func:`PyModule_GetState()` may return `NULL`),
207 is allocated (:c:func:`PyModule_GetState()` may return `NULL`),
214 is allocated (:c:func:`PyModule_GetState()` may return `NULL`),
264 using :c:func:`PyModule_GetState`), or its contents (such as the module's
/external/python/cpython3/Modules/
D_curses_panel.c24 #define _curses_panelstate(o) ((_curses_panelstate *)PyModule_GetState(o))
49 ((_curses_panelstate *) PyModule_GetState(PyState_FindModule(&_curses_panelmodule)))
D_testmultiphase.c626 m_state = PyModule_GetState(self); in bad_traverse()
635 m_state = PyModule_GetState(mod); in execfunc_with_bad_traverse()
Dreadline.c91 #define readline_state(o) ((readlinestate *)PyModule_GetState(o))
127 #define readlinestate_global ((readlinestate *)PyModule_GetState(PyState_FindModule(&readlinemodule…
1370 mod_state = (readlinestate *) PyModule_GetState(m); in PyInit_readline()
Datexitmodule.c31 #define GET_ATEXIT_STATE(mod) ((atexitmodule_state*)PyModule_GetState(mod))
D_csv.c23 #define _csvstate(o) ((_csvstate *)PyModule_GetState(o))
49 #define _csvstate_global ((_csvstate *)PyModule_GetState(PyState_FindModule(&_csvmodule)))
D_elementtree.c102 #define ET_STATE(mod) ((elementtreestate *) PyModule_GetState(mod))
108 ((elementtreestate *) PyModule_GetState(PyState_FindModule(&elementtreemodule)))
D_pickle.c175 return (PickleState *)PyModule_GetState(module); in _Pickle_GetState()
/external/python/cpython3/Modules/_io/
D_iomodule.h147 #define IO_MOD_STATE(mod) ((_PyIO_State *)PyModule_GetState(mod))
/external/python/cpython3/Doc/howto/
Dcporting.rst119 #define GETSTATE(m) ((struct module_state*)PyModule_GetState(m))
/external/python/cpython2/Doc/howto/
Dcporting.rst119 #define GETSTATE(m) ((struct module_state*)PyModule_GetState(m))
/external/python/cpython3/PC/
Dpython3.def375 PyModule_GetState=python37.PyModule_GetState
/external/python/cpython3/Objects/
Dmoduleobject.c563 PyModule_GetState(PyObject* m) in PyModule_GetState() function
/external/python/cpython3/Python/
Dimport.c2100 state = PyModule_GetState(mod); in exec_builtin_or_dynamic()
/external/python/cpython3/Doc/data/
Drefcounts.dat1368 PyModule_GetState:void*:::
1369 PyModule_GetState:PyObject*:module:0: