Searched refs:_Py_PackageContext (Results 1 – 11 of 11) sorted by relevance
153 oldcontext = _Py_PackageContext; in _PyImport_LoadDynamicModuleWithSpec()154 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()155 if (_Py_PackageContext == NULL) { in _PyImport_LoadDynamicModuleWithSpec()156 _Py_PackageContext = oldcontext; in _PyImport_LoadDynamicModuleWithSpec()160 _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;
223 PyAPI_DATA(const char *) _Py_PackageContext;
75 _Py_PackageContext
225 _Py_PackageContext # Slight race during import! Move to PyThreadState?
1007 "_Py_PackageContext"
6435 Private variable _Py_PackageContext is now of type ``const char *`` rather