Lines Matching refs:abs_path
322 copy_absolute(wchar_t *abs_path, const wchar_t *path, size_t abs_path_len) in copy_absolute() argument
325 if (safe_wcscpy(abs_path, path, abs_path_len) < 0) { in copy_absolute()
330 if (!_Py_wgetcwd(abs_path, abs_path_len)) { in copy_absolute()
332 if (safe_wcscpy(abs_path, path, abs_path_len) < 0) { in copy_absolute()
340 PyStatus status = joinpath(abs_path, path, abs_path_len); in copy_absolute()
355 wchar_t abs_path[MAXPATHLEN+1]; in absolutize() local
358 PyStatus status = copy_absolute(abs_path, path, Py_ARRAY_LENGTH(abs_path)); in absolutize()
364 *path_p = _PyMem_RawWcsdup(abs_path); in absolutize()
886 wchar_t *abs_path; in calculate_which() local
893 abs_path = joinpath2(path, program_name); in calculate_which()
897 abs_path = joinpath2(path_env, program_name); in calculate_which()
900 if (abs_path == NULL) { in calculate_which()
904 if (isxfile(abs_path)) { in calculate_which()
905 *abs_path_p = abs_path; in calculate_which()
908 PyMem_RawFree(abs_path); in calculate_which()
976 wchar_t *abs_path = NULL; in calculate_program_impl() local
977 status = calculate_program_macos(&abs_path); in calculate_program_impl()
981 if (abs_path) { in calculate_program_impl()
982 pathconfig->program_full_path = abs_path; in calculate_program_impl()
988 wchar_t *abs_path = NULL; in calculate_program_impl() local
990 &abs_path); in calculate_program_impl()
994 if (abs_path) { in calculate_program_impl()
995 pathconfig->program_full_path = abs_path; in calculate_program_impl()
1073 wchar_t *abs_path = joinpath2(*path_p, new_path); in resolve_symlinks() local
1074 if (abs_path == NULL) { in resolve_symlinks()
1079 *path_p = abs_path; in resolve_symlinks()