Lines Matching refs:argv0_path
142 wchar_t *argv0_path; member
476 wchar_t *path = joinpath2(calculate->argv0_path, BUILD_LANDMARK); in search_for_prefix()
490 if (safe_wcscpy(prefix, calculate->argv0_path, prefix_len) < 0) { in search_for_prefix()
517 status = copy_absolute(prefix, calculate->argv0_path, prefix_len); in search_for_prefix()
645 calculate_pybuilddir(const wchar_t *argv0_path, in calculate_pybuilddir() argument
656 wchar_t *filename = joinpath2(argv0_path, L"pybuilddir.txt"); in calculate_pybuilddir()
680 if (safe_wcscpy(exec_prefix, argv0_path, exec_prefix_len) < 0) { in calculate_pybuilddir()
733 status = calculate_pybuilddir(calculate->argv0_path, in search_for_exec_prefix()
743 status = copy_absolute(exec_prefix, calculate->argv0_path, exec_prefix_len); in search_for_exec_prefix()
1153 PyMem_RawFree(calculate->argv0_path); in calculate_argv0_path_framework()
1154 calculate->argv0_path = _PyMem_RawWcsdup(pathconfig->program_full_path); in calculate_argv0_path_framework()
1155 if (calculate->argv0_path == NULL) { in calculate_argv0_path_framework()
1165 PyMem_RawFree(calculate->argv0_path); in calculate_argv0_path_framework()
1166 calculate->argv0_path = wbuf; in calculate_argv0_path_framework()
1182 calculate->argv0_path = _PyMem_RawWcsdup(pathconfig->program_full_path); in calculate_argv0_path()
1183 if (calculate->argv0_path == NULL) { in calculate_argv0_path()
1194 status = resolve_symlinks(&calculate->argv0_path); in calculate_argv0_path()
1199 reduce(calculate->argv0_path); in calculate_argv0_path()
1213 wchar_t *filename = joinpath2(calculate->argv0_path, env_cfg); in calculate_open_pyenv()
1230 wchar_t *parent = _PyMem_RawWcsdup(calculate->argv0_path); in calculate_open_pyenv()
1283 PyMem_RawFree(calculate->argv0_path); in calculate_read_pyenv()
1284 calculate->argv0_path = home; in calculate_read_pyenv()
1484 PyMem_RawFree(calculate->argv0_path); in calculate_free()