Home
last modified time | relevance | path

Searched refs:_Py_PackageContext (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Python/
Dimportdl.c158 oldcontext = _Py_PackageContext; in _PyImport_LoadDynamicModuleWithSpec()
159 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
160 if (_Py_PackageContext == NULL) { in _PyImport_LoadDynamicModuleWithSpec()
161 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModuleWithSpec()
165 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModuleWithSpec()
Dmodsupport.c13 const char *_Py_PackageContext = NULL; variable
/external/python/cpython2/Python/
Dimportdl.c51 oldcontext = _Py_PackageContext; in _PyImport_LoadDynamicModule()
52 _Py_PackageContext = packagecontext; in _PyImport_LoadDynamicModule()
54 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModule()
Dmodsupport.c12 char *_Py_PackageContext = NULL; variable
58 if (_Py_PackageContext != NULL) { in Py_InitModule4()
59 char *p = strrchr(_Py_PackageContext, '.'); in Py_InitModule4()
61 name = _Py_PackageContext; in Py_InitModule4()
62 _Py_PackageContext = NULL; in Py_InitModule4()
/external/python/cpython3/Objects/
Dmoduleobject.c208 if (_Py_PackageContext != NULL) { in _PyModule_CreateInitialized()
209 const char *p = strrchr(_Py_PackageContext, '.'); in _PyModule_CreateInitialized()
211 name = _Py_PackageContext; in _PyModule_CreateInitialized()
212 _Py_PackageContext = NULL; in _PyModule_CreateInitialized()
/external/python/cpython2/Include/
Dmodsupport.h129 PyAPI_DATA(char *) _Py_PackageContext;
/external/python/cpython3/Include/
Dmodsupport.h242 PyAPI_DATA(const char *) _Py_PackageContext;
/external/python/cpython2/PC/os2vacpp/
Dpython.def75 _Py_PackageContext
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt225 _Py_PackageContext # Slight race during import! Move to PyThreadState?
/external/python/cpython2/PC/os2emx/
Dpython27.def1007 "_Py_PackageContext"
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst6411 Private variable _Py_PackageContext is now of type ``const char *`` rather