Lines Matching defs:winpath
728 char fullpath[PATH_MAX], winpath[PATH_MAX];
730 cygwin_conv_to_full_win32_path (fullpath, winpath);
733 if (strcmp (fullpath, winpath) == 0)
737 if (winpath[0] && winpath[1] == ':' && strchr ("AaBb", winpath[0]))
738 return xstrdup (strchr ("Aa", winpath[0]) ? "/dev/fd0" : "/dev/fd1");
1549 char winpath[PATH_MAX];
1550 if (cygwin_conv_path (CCP_POSIX_TO_WIN_A, path, winpath, sizeof(winpath)))
1553 int len = strlen (winpath);
1554 int offs = (len > 2 && winpath[1] == ':' ? 2 : 0);
1558 if (winpath[i] == '\\')
1559 winpath[i] = '/';
1560 return xstrdup (winpath + offs);