Home
last modified time | relevance | path

Searched refs:program_full_path (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Python/
Dpathconfig.c54 CLEAR(config->program_full_path); in pathconfig_clear()
82 COPY_ATTR(program_full_path); in pathconfig_copy()
167 COPY_CONFIG(program_full_path, executable); in pathconfig_set_from_config()
327 COPY_ATTR(program_full_path, executable); in config_calculate_pathconfig()
429 assert(_Py_path_config.program_full_path != NULL); in pathconfig_global_init()
461 wchar_t *program_full_path = _PyMem_RawWcsdup(Py_GetProgramFullPath()); in Py_SetPath() local
463 PyMem_RawFree(_Py_path_config.program_full_path); in Py_SetPath()
468 _Py_path_config.program_full_path = program_full_path; in Py_SetPath()
475 if (_Py_path_config.program_full_path == NULL in Py_SetPath()
527 _Py_SetProgramFullPath(const wchar_t *program_full_path) in _Py_SetProgramFullPath() argument
[all …]
Dinitconfig.c1209 const wchar_t *program_full_path = _Py_path_config.program_full_path; in config_init_executable() local
1210 if (program_full_path != NULL) { in config_init_executable()
1213 program_full_path); in config_init_executable()
/external/python/cpython3/PC/
Dgetpathp.c497 wchar_t program_full_path[MAXPATHLEN+1]; in get_program_full_path() local
498 memset(program_full_path, 0, sizeof(program_full_path)); in get_program_full_path()
500 if (!GetModuleFileNameW(NULL, program_full_path, MAXPATHLEN)) { in get_program_full_path()
518 program_full_path); in get_program_full_path()
524 wcscpy_s(program_full_path, MAXPATHLEN+1, pyvenv_launcher); in get_program_full_path()
530 if (pathconfig->program_full_path == NULL) { in get_program_full_path()
531 pathconfig->program_full_path = PyMem_RawMalloc( in get_program_full_path()
533 if (pathconfig->program_full_path == NULL) { in get_program_full_path()
537 status = canonicalize(pathconfig->program_full_path, in get_program_full_path()
538 program_full_path); in get_program_full_path()
[all …]
/external/python/cpython3/Modules/
Dgetpath.c959 assert(pathconfig->program_full_path == NULL); in calculate_program_impl()
969 pathconfig->program_full_path = _PyMem_RawWcsdup(pathconfig->program_name); in calculate_program_impl()
970 if (pathconfig->program_full_path == NULL) { in calculate_program_impl()
983 pathconfig->program_full_path = abs_path; in calculate_program_impl()
996 pathconfig->program_full_path = abs_path; in calculate_program_impl()
1002 pathconfig->program_full_path = _PyMem_RawWcsdup(L""); in calculate_program_impl()
1003 if (pathconfig->program_full_path == NULL) { in calculate_program_impl()
1021 if (pathconfig->program_full_path[0] != '\0') { in calculate_program()
1025 if (!_Py_isabs(pathconfig->program_full_path)) { in calculate_program()
1026 status = absolutize(&pathconfig->program_full_path); in calculate_program()
[all …]
/external/python/cpython3/Include/internal/
Dpycore_pathconfig.h13 wchar_t *program_full_path; member