Home
last modified time | relevance | path

Searched refs:PyState_FindModule (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython3/Modules/
Dpwdmodule.c62 #define modulestate_global get_pwd_state(PyState_FindModule(&pwdmodule))
355 if ((m = PyState_FindModule(&pwdmodule)) != NULL) { in PyInit_pwd()
Dgrpmodule.c49 #define modulestate_global get_grp_state(PyState_FindModule(&grpmodule))
360 if ((m = PyState_FindModule(&grpmodule)) != NULL) { in PyInit_grp()
Dtermios.c54 #define modulestate_global get_termios_state(PyState_FindModule(&termiosmodule))
1018 if ((m = PyState_FindModule(&termiosmodule)) != NULL) { in PyInit_termios()
D_posixsubprocess.c79 #define _posixsubprocessstate_global get_posixsubprocess_state(PyState_FindModule(&_posixsubprocess…
1003 m = PyState_FindModule(&_posixsubprocessmodule); in PyInit__posixsubprocess()
D_curses_panel.c56 ((_curses_panelstate *) PyModule_GetState(PyState_FindModule(&_curses_panelmodule)))
D_randommodule.c97 #define _randomstate_global get_random_state(PyState_FindModule(&_randommodule))
D_testmultiphase.c304 mod = PyState_FindModule(def); in call_state_registration_func()
Dzlibmodule.c50 #define _zlibstate_global ((_zlibstate *)PyModule_GetState(PyState_FindModule(&zlibmodule)))
1412 m = PyState_FindModule(&zlibmodule); in PyInit_zlib()
Dreadline.c131 #define readlinestate_global ((readlinestate *)PyModule_GetState(PyState_FindModule(&readlinemodule…
D_csv.c56 #define _csvstate_global ((_csvstate *)PyModule_GetState(PyState_FindModule(&_csvmodule)))
D_hashopenssl.c2108 PyObject *m = PyState_FindModule(&_hashlibmodule); in PyInit__hashlib()
D_elementtree.c116 ((elementtreestate *) PyModule_GetState(PyState_FindModule(&elementtreemodule)))
4391 m = PyState_FindModule(&elementtreemodule); in PyInit__elementtree()
Dselectmodule.c80 #define _selectstate_global get_select_state(PyState_FindModule(&selectmodule))
D_struct.c33 #define _structmodulestate_global get_struct_state(PyState_FindModule(&_structmodule))
D_pickle.c193 return _Pickle_GetState(PyState_FindModule(&_picklemodule)); in _Pickle_GetGlobalState()
8004 m = PyState_FindModule(&_picklemodule); in PyInit__pickle()
D_testcapimodule.c6397 m = PyState_FindModule(&_testcapimodule); in heapctypesubclasswithfinalizer_finalize()
/external/python/cpython3/Include/
Dpystate.h56 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
/external/python/cpython3/Doc/c-api/
Dmodule.rst508 .. c:function:: PyObject* PyState_FindModule(PyModuleDef *def)
518 the module object to be accessible via :c:func:`PyState_FindModule`.
525 subsequently calls ``PyState_FindModule``.
/external/python/cpython3/Modules/_io/
D_iomodule.c585 PyObject *mod = PyState_FindModule(&_PyIO_Module); in _PyIO_get_module_state()
/external/python/cpython3/PC/
Dpython3.def545 PyState_FindModule=python39.PyState_FindModule
/external/python/cpython3/Python/
Dpystate.c653 PyState_FindModule(struct PyModuleDef* module) in PyState_FindModule() function
/external/python/cpython3/Doc/data/
Drefcounts.dat2106 PyState_FindModule:PyObject*::0:
2107 PyState_FindModule:PyModuleDef*:def::
/external/python/cpython3/Misc/
DHISTORY6630 - Issue #15726: Fix incorrect bounds checking in PyState_FindModule. Patch by
7403 - Issue #15081: Document PyState_FindModule.