Home
last modified time | relevance | path

Searched refs:program_full_path (Results 1 – 6 of 6) 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()
217 SET_ITEM_STR(program_full_path); in _PyPathConfig_AsDict()
401 COPY_ATTR(program_full_path, executable); in config_init_pathconfig()
548 _Py_SetProgramFullPath(const wchar_t *program_full_path) in _Py_SetProgramFullPath() argument
550 if (program_full_path == NULL || program_full_path[0] == L'\0') { in _Py_SetProgramFullPath()
557 PyMem_RawFree(_Py_path_config.program_full_path); in _Py_SetProgramFullPath()
558 _Py_path_config.program_full_path = _PyMem_RawWcsdup(program_full_path); in _Py_SetProgramFullPath()
562 if (_Py_path_config.program_full_path == NULL) { in _Py_SetProgramFullPath()
[all …]
Dinitconfig.c1558 const wchar_t *program_full_path = _Py_path_config.program_full_path; in config_init_executable() local
1559 if (program_full_path != NULL) { in config_init_executable()
1562 program_full_path); in config_init_executable()
/external/python/cpython3/PC/
Dgetpathp.c496 wchar_t program_full_path[MAXPATHLEN+1]; in get_program_full_path() local
497 memset(program_full_path, 0, sizeof(program_full_path)); in get_program_full_path()
499 if (!GetModuleFileNameW(NULL, program_full_path, MAXPATHLEN)) { in get_program_full_path()
517 program_full_path); in get_program_full_path()
523 wcscpy_s(program_full_path, MAXPATHLEN+1, pyvenv_launcher); in get_program_full_path()
529 if (pathconfig->program_full_path == NULL) { in get_program_full_path()
530 pathconfig->program_full_path = PyMem_RawMalloc( in get_program_full_path()
532 if (pathconfig->program_full_path == NULL) { in get_program_full_path()
536 status = canonicalize(pathconfig->program_full_path, in get_program_full_path()
537 program_full_path); in get_program_full_path()
[all …]
/external/python/cpython3/Modules/
Dgetpath.c958 assert(pathconfig->program_full_path == NULL); in calculate_program_impl()
968 pathconfig->program_full_path = _PyMem_RawWcsdup(pathconfig->program_name); in calculate_program_impl()
969 if (pathconfig->program_full_path == NULL) { in calculate_program_impl()
982 pathconfig->program_full_path = abs_path; in calculate_program_impl()
995 pathconfig->program_full_path = abs_path; in calculate_program_impl()
1001 pathconfig->program_full_path = _PyMem_RawWcsdup(L""); in calculate_program_impl()
1002 if (pathconfig->program_full_path == NULL) { in calculate_program_impl()
1020 if (pathconfig->program_full_path[0] != '\0') { in calculate_program()
1024 if (!_Py_isabs(pathconfig->program_full_path)) { in calculate_program()
1025 status = absolutize(&pathconfig->program_full_path); in calculate_program()
[all …]
/external/python/cpython3/Include/internal/
Dpycore_pathconfig.h13 wchar_t *program_full_path; member
/external/python/cpython3/Doc/data/
Dpython3.10.abi16395 …<var-decl name='program_full_path' type-id='type-id-325' visibility='default' filepath='./Include/…
16434 …<parameter type-id='type-id-478' name='program_full_path' filepath='Python/pathconfig.c' line='548…
16438 …<parameter type-id='type-id-478' name='program_full_path' filepath='Python/pathconfig.c' line='548…
16442 …<parameter type-id='type-id-478' name='program_full_path' filepath='Python/pathconfig.c' line='548…