Lines Matching defs:path
27 * convert native path to posix fs representation in <buf,siz>
28 * length of converted path returned
41 pathposix(const char* path, char* buf, size_t siz)
43 return uwin_unpath(path, buf, siz);
53 pathposix(const char* path, char* buf, size_t siz)
61 cygwin_conv_to_posix_path(path, tmp);
66 cygwin_conv_to_posix_path(path, buf);
75 pathposix(const char* path, char* buf, size_t siz)
80 if (!_posixpath(buf, path, siz))
86 else if ((n = strlen(path)) < siz && buf)
87 memcpy(buf, path, n + 1);
98 pathposix(const char* path, char *buf, size_t siz)
103 if (!strncasecmp(path, pfx, sizeof(pfx) - 1))
104 strlcpy(buf, path, siz);
106 winpath2unix(path, PATH_NONSTRICT, buf, siz);
113 pathposix(const char* path, char* buf, size_t siz)
117 if ((n = strlen(path)) < siz && buf)
118 memcpy(buf, path, n + 1);