Lines Matching refs:res
125 my $res;
127 $res = Cygwin::posix_to_win_path(Cwd::abs_path($path));
130 $res = uc($2) . ":/" . $3;
133 $res = Cwd::abs_path($path);
136 $res =~ s{[/\\]+}{/}g;
137 return $res;
151 my $res;
153 $res = Cygwin::win_to_posix_path($path, 1);
156 $res = Cwd::abs_path($path);
158 if($res =~ m{^([A-Za-z]):(.*)}) {
159 $res = "/" . lc($1) . $2;
160 $res = '/cygdrive' . $res if(drives_mounted_on_cygdrive());
164 return $res;