Lines Matching refs:abs_path

323 copy_absolute(wchar_t *abs_path, const wchar_t *path, size_t abs_path_len)  in copy_absolute()  argument
326 if (safe_wcscpy(abs_path, path, abs_path_len) < 0) { in copy_absolute()
331 if (!_Py_wgetcwd(abs_path, abs_path_len)) { in copy_absolute()
333 if (safe_wcscpy(abs_path, path, abs_path_len) < 0) { in copy_absolute()
341 PyStatus status = joinpath(abs_path, path, abs_path_len); in copy_absolute()
356 wchar_t abs_path[MAXPATHLEN+1]; in absolutize() local
359 PyStatus status = copy_absolute(abs_path, path, Py_ARRAY_LENGTH(abs_path)); in absolutize()
365 *path_p = _PyMem_RawWcsdup(abs_path); in absolutize()
887 wchar_t *abs_path; in calculate_which() local
894 abs_path = joinpath2(path, program_name); in calculate_which()
898 abs_path = joinpath2(path_env, program_name); in calculate_which()
901 if (abs_path == NULL) { in calculate_which()
905 if (isxfile(abs_path)) { in calculate_which()
906 *abs_path_p = abs_path; in calculate_which()
909 PyMem_RawFree(abs_path); in calculate_which()
977 wchar_t *abs_path = NULL; in calculate_program_impl() local
978 status = calculate_program_macos(&abs_path); in calculate_program_impl()
982 if (abs_path) { in calculate_program_impl()
983 pathconfig->program_full_path = abs_path; in calculate_program_impl()
989 wchar_t *abs_path = NULL; in calculate_program_impl() local
991 &abs_path); in calculate_program_impl()
995 if (abs_path) { in calculate_program_impl()
996 pathconfig->program_full_path = abs_path; in calculate_program_impl()
1074 wchar_t *abs_path = joinpath2(*path_p, new_path); in resolve_symlinks() local
1075 if (abs_path == NULL) { in resolve_symlinks()
1080 *path_p = abs_path; in resolve_symlinks()