Lines Matching refs:new_config
58 _PyPathConfig new_config = _PyPathConfig_INIT; in _PyPathConfig_Init() local
65 err = _PyPathConfig_Calculate(&new_config, core_config); in _PyPathConfig_Init()
67 _PyPathConfig_Clear(&new_config); in _PyPathConfig_Init()
73 new_config.home = _PyMem_RawWcsdup(core_config->home); in _PyPathConfig_Init()
74 if (new_config.home == NULL) { in _PyPathConfig_Init()
80 new_config.home = NULL; in _PyPathConfig_Init()
83 new_config.program_name = _PyMem_RawWcsdup(core_config->program_name); in _PyPathConfig_Init()
84 if (new_config.program_name == NULL) { in _PyPathConfig_Init()
90 _Py_path_config = new_config; in _PyPathConfig_Init()
143 _PyPathConfig new_config; in Py_SetPath() local
144 new_config.program_full_path = _PyMem_RawWcsdup(Py_GetProgramName()); in Py_SetPath()
145 new_config.prefix = _PyMem_RawWcsdup(L""); in Py_SetPath()
147 new_config.dll_path = _PyMem_RawWcsdup(L""); in Py_SetPath()
149 new_config.exec_prefix = _PyMem_RawWcsdup(L""); in Py_SetPath()
151 new_config.module_search_path = _PyMem_RawWcsdup(path); in Py_SetPath()
154 new_config.home = _Py_path_config.home; in Py_SetPath()
156 new_config.program_name = _Py_path_config.program_name; in Py_SetPath()
160 _Py_path_config = new_config; in Py_SetPath()