Lines Matching defs:path
27 * convert path to native fs representation in <buf,siz>
28 * length of converted path returned
41 pathnative(const char* path, char* buf, size_t siz)
43 return uwin_path(path, buf, siz);
53 pathnative(const char* path, char* buf, size_t siz)
61 cygwin_conv_to_win32_path(path, tmp);
66 cygwin_conv_to_win32_path(path, buf);
75 pathnative(const char* path, char* buf, size_t siz)
80 if (!_fullpath(buf, path, siz))
86 else if ((n = strlen(path)) < siz && buf)
87 memcpy(buf, path, n + 1);
98 pathnative(const char* path, char* buf, size_t siz)
101 if (path[1] == ':')
102 strlcpy(buf, path, siz);
104 unixpath2win(path, 0, buf, siz);
111 pathnative(const char* path, char* buf, size_t siz)
115 if ((n = strlen(path)) < siz && buf)
116 memcpy(buf, path, n + 1);