Searched refs:_Py_PackageContext (Results 1 – 11 of 11) sorted by relevance
158 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()
13 const char *_Py_PackageContext = NULL; variable
51 oldcontext = _Py_PackageContext; in _PyImport_LoadDynamicModule()52 _Py_PackageContext = packagecontext; in _PyImport_LoadDynamicModule()54 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModule()
12 char *_Py_PackageContext = NULL; variable58 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()
208 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()
129 PyAPI_DATA(char *) _Py_PackageContext;
242 PyAPI_DATA(const char *) _Py_PackageContext;
75 _Py_PackageContext
225 _Py_PackageContext # Slight race during import! Move to PyThreadState?
1007 "_Py_PackageContext"
6411 Private variable _Py_PackageContext is now of type ``const char *`` rather