• Home
  • Raw
  • Download

Lines Matching refs:_Py_path_config

13 _PyPathConfig _Py_path_config = _PyPathConfig_INIT;  variable
52 if (_Py_path_config.module_search_path) { in _PyPathConfig_Init()
89 _PyPathConfig_Clear(&_Py_path_config); in _PyPathConfig_Init()
90 _Py_path_config = new_config; in _PyPathConfig_Init()
103 if (_Py_path_config.module_search_path) { in pathconfig_global_init()
136 _PyPathConfig_Clear(&_Py_path_config); in Py_SetPath()
154 new_config.home = _Py_path_config.home; in Py_SetPath()
155 _Py_path_config.home = NULL; in Py_SetPath()
156 new_config.program_name = _Py_path_config.program_name; in Py_SetPath()
157 _Py_path_config.program_name = NULL; in Py_SetPath()
159 _PyPathConfig_Clear(&_Py_path_config); in Py_SetPath()
160 _Py_path_config = new_config; in Py_SetPath()
176 PyMem_RawFree(_Py_path_config.home); in Py_SetPythonHome()
177 _Py_path_config.home = _PyMem_RawWcsdup(home); in Py_SetPythonHome()
181 if (_Py_path_config.home == NULL) { in Py_SetPythonHome()
197 PyMem_RawFree(_Py_path_config.program_name); in Py_SetProgramName()
198 _Py_path_config.program_name = _PyMem_RawWcsdup(program_name); in Py_SetProgramName()
202 if (_Py_path_config.program_name == NULL) { in Py_SetProgramName()
218 PyMem_RawFree(_Py_path_config.program_full_path); in _Py_SetProgramFullPath()
219 _Py_path_config.program_full_path = _PyMem_RawWcsdup(program_full_path); in _Py_SetProgramFullPath()
223 if (_Py_path_config.program_full_path == NULL) { in _Py_SetProgramFullPath()
233 return _Py_path_config.module_search_path; in Py_GetPath()
241 return _Py_path_config.prefix; in Py_GetPrefix()
252 return _Py_path_config.exec_prefix; in Py_GetExecPrefix()
261 return _Py_path_config.program_full_path; in Py_GetProgramFullPath()
269 return _Py_path_config.home; in Py_GetPythonHome()
277 return _Py_path_config.program_name; in Py_GetProgramName()