Lines Matching refs:argv0_path
143 wchar_t *argv0_path; member
477 wchar_t *path = joinpath2(calculate->argv0_path, BUILD_LANDMARK); in search_for_prefix()
491 if (safe_wcscpy(prefix, calculate->argv0_path, prefix_len) < 0) { in search_for_prefix()
518 status = copy_absolute(prefix, calculate->argv0_path, prefix_len); in search_for_prefix()
646 calculate_pybuilddir(const wchar_t *argv0_path, in calculate_pybuilddir() argument
657 wchar_t *filename = joinpath2(argv0_path, L"pybuilddir.txt"); in calculate_pybuilddir()
681 if (safe_wcscpy(exec_prefix, argv0_path, exec_prefix_len) < 0) { in calculate_pybuilddir()
734 status = calculate_pybuilddir(calculate->argv0_path, in search_for_exec_prefix()
744 status = copy_absolute(exec_prefix, calculate->argv0_path, exec_prefix_len); in search_for_exec_prefix()
1154 PyMem_RawFree(calculate->argv0_path); in calculate_argv0_path_framework()
1155 calculate->argv0_path = _PyMem_RawWcsdup(pathconfig->program_full_path); in calculate_argv0_path_framework()
1156 if (calculate->argv0_path == NULL) { in calculate_argv0_path_framework()
1166 PyMem_RawFree(calculate->argv0_path); in calculate_argv0_path_framework()
1167 calculate->argv0_path = wbuf; in calculate_argv0_path_framework()
1183 calculate->argv0_path = _PyMem_RawWcsdup(pathconfig->program_full_path); in calculate_argv0_path()
1184 if (calculate->argv0_path == NULL) { in calculate_argv0_path()
1195 status = resolve_symlinks(&calculate->argv0_path); in calculate_argv0_path()
1200 reduce(calculate->argv0_path); in calculate_argv0_path()
1214 wchar_t *filename = joinpath2(calculate->argv0_path, env_cfg); in calculate_open_pyenv()
1231 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()
1489 PyMem_RawFree(calculate->argv0_path); in calculate_free()