Searched refs:pszNativePath (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Runtime/generic/
H A Dpathhost-generic.cpp47 void rtPathFreeNative(char const *pszNativePath, const char *pszPath) argument
49 Assert(pszNativePath == pszPath || !pszNativePath);
50 NOREF(pszNativePath); NOREF(pszPath);
54 int rtPathFromNative(const char **ppszPath, const char *pszNativePath, const char *pszBasePath) argument
56 int rc = RTStrValidateEncodingEx(pszNativePath, RTSTR_MAX, 0 /*fFlags*/);
58 *ppszPath = pszNativePath;
66 void rtPathFreeIprt(const char *pszPath, const char *pszNativePath) argument
68 Assert(pszPath == pszNativePath || !pszPath);
69 NOREF(pszPath); NOREF(pszNativePath);
73 rtPathFromNativeCopy(char *pszPath, size_t cbPath, const char *pszNativePath, const char *pszBasePath) argument
83 rtPathFromNativeDup(char **ppszPath, const char *pszNativePath, const char *pszBasePath) argument
[all...]
/vbox/src/VBox/Runtime/r3/darwin/
H A Dpathhost-darwin.cpp53 void rtPathFreeNative(char const *pszNativePath, const char *pszPath) argument
55 Assert(pszNativePath == pszPath || !pszNativePath);
56 NOREF(pszNativePath);
61 int rtPathFromNative(char const **ppszPath, const char *pszNativePath, const char *pszBasePath) argument
66 int rc = RTStrValidateEncodingEx(pszNativePath, RTSTR_MAX, 0 /*fFlags*/);
68 *ppszPath = pszNativePath;
76 void rtPathFreeIprt(const char *pszPath, const char *pszNativePath) argument
78 Assert(pszPath == pszNativePath || !pszPath);
79 NOREF(pszPath); NOREF(pszNativePath);
83 rtPathFromNativeCopy(char *pszPath, size_t cbPath, const char *pszNativePath, const char *pszBasePath) argument
96 rtPathFromNativeDup(char **ppszPath, const char *pszNativePath, const char *pszBasePath) argument
[all...]
/vbox/src/VBox/Runtime/r3/posix/
H A Dpathhost-posix.cpp199 void rtPathFreeNative(char const *pszNativePath, const char *pszPath) argument
201 if ( pszNativePath != pszPath
202 && pszNativePath)
203 RTStrFree((char *)pszNativePath);
207 int rtPathFromNative(const char **ppszPath, const char *pszNativePath, const char *pszBasePath) argument
214 if (g_fPassthruUtf8 || !*pszNativePath)
218 rc = rtUtf8Length(pszNativePath, RTSTR_MAX, &cCpsIgnored, &cchNativePath);
224 memcpy(pszPath, pszNativePath, cchNativePath + 1);
230 rc = rtStrConvert(pszNativePath, strlen(pszNativePath), g_szFsCodese
239 rtPathFreeIprt(const char *pszPath, const char *pszNativePath) argument
247 rtPathFromNativeCopy(char *pszPath, size_t cbPath, const char *pszNativePath, const char *pszBasePath) argument
267 rtPathFromNativeDup(char **ppszPath, const char *pszNativePath, const char *pszBasePath) argument
[all...]
H A Dpath2-posix.cpp75 char const *pszNativePath; local
76 int rc = rtPathToNative(&pszNativePath, pszPath, NULL);
81 rc = stat(pszNativePath, &Stat);
83 rc = lstat(pszNativePath, &Stat); /** @todo how doesn't have lstat again? */
115 rtPathFreeNative(pszNativePath, pszPath);
148 char const *pszNativePath; local
149 int rc = rtPathToNative(&pszNativePath, pszPath, NULL);
187 if (utimes(pszNativePath, aTimevals))
196 if (lutimes(pszNativePath, aTimevals))
208 if (utimes(pszNativePath, aTimeval
250 char const *pszNativePath; local
[all...]
H A Dpath-posix.cpp59 char const *pszNativePath; local
60 int rc = rtPathToNative(&pszNativePath, pszPath, NULL);
68 const char *psz = realpath(pszNativePath, szTmpPath);
73 rtPathFreeNative(pszNativePath, pszPath);
91 char const *pszNativePath; local
92 rc = rtPathToNative(&pszNativePath, pszPath, NULL);
95 if (chmod(pszNativePath, fMode & RTFS_UNIX_MASK) != 0)
97 rtPathFreeNative(pszNativePath, pszPath);
326 char const *pszNativePath; local
327 int rc = rtPathToNative(&pszNativePath, pszPat
368 char const *pszNativePath; local
[all...]
H A Ddir-posix.cpp63 char const *pszNativePath; local
64 int rc = rtPathToNative(&pszNativePath, pszPath, NULL);
68 fRc = !stat(pszNativePath, &s)
71 rtPathFreeNative(pszNativePath, pszPath);
85 char const *pszNativePath; local
86 rc = rtPathToNative(&pszNativePath, pszPath, NULL);
89 if (mkdir(pszNativePath, fMode & RTFS_UNIX_MASK))
106 if (!stat(pszNativePath, &st))
125 if (!stat(pszNativePath, &st) && !S_ISDIR(st.st_mode))
131 rtPathFreeNative(pszNativePath, pszPat
145 char const *pszNativePath; local
222 char const *pszNativePath; local
[all...]
H A Dfileio-posix.cpp86 char const *pszNativePath; local
87 int rc = rtPathToNative(&pszNativePath, pszPath, NULL);
91 fRc = !stat(pszNativePath, &s)
94 rtPathFreeNative(pszNativePath, pszPath);
/vbox/src/VBox/Runtime/include/internal/
H A Dpath.h73 * @param pszNativePath The host path to free. NULL allowed.
80 void rtPathFreeNative(char const *pszNativePath, const char *pszPath);
88 * @param pszNativePath The native path to convert.
89 * @param pszBasePath What pszNativePath is relative to - in IPRT
95 int rtPathFromNative(const char **ppszPath, const char *pszNativePath, const char *pszBasePath);
101 * @param pszNativePath The original path.
103 void rtPathFreeIprt(const char *pszPath, const char *pszNativePath);
113 * @param pszNativePath The path to convert.
114 * @param pszBasePath What pszNativePath is relative to - in IPRT
117 int rtPathFromNativeCopy(char *pszPath, size_t cbPath, const char *pszNativePath, cons
[all...]

Completed in 62 milliseconds