Lines Matching refs:siz
27 * convert native path to posix fs representation in <buf,siz>
29 * if return length >= siz then buf is indeterminate, but another call
30 * with siz=length+1 would work
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)
57 if (!buf || siz < PATH_MAX)
62 if ((n = strlen(tmp)) < siz && 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)
98 pathposix(const char* path, char *buf, size_t siz)
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)