Searched defs:pOpts (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Runtime/tools/
H A DRTGzip.cpp126 * @param pOpts The options.
129 static RTEXITCODE gzipPushFlushAndClose(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsDst) argument
149 if (!pOpts->fStdOut)
153 if (!pOpts->fKeep)
155 rc = RTFileDelete(pOpts->pszInput);
157 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Failed to delete '%s': %Rrc", pOpts->pszInput, rc);
162 rc = RTFileDelete(pOpts->szOutput);
164 RTMsgError("Failed to delete '%s': %Rrc", pOpts->szOutput, rc);
177 * @param pOpts The options.
180 static RTEXITCODE gzipCompressFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts, PRTVFSIOSTREA argument
233 gzipDecompressFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsDst) argument
249 gzipTestFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts) argument
272 gzipListFile(PRTVFSIOSTREAM phVfsSrc, PCRTGZIPCMDOPTS pOpts) argument
299 gzipOpenOutput(const char *pszFile, PRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsIos) argument
371 gzipOpenInput(const char *pszFile, PRTGZIPCMDOPTS pOpts, PRTVFSIOSTREAM phVfsIos) argument
[all...]
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceAutoMount.cpp184 vbsf_mount_opts *pOpts)
186 AssertPtrReturn(pOpts, VERR_INVALID_PARAMETER);
194 rc = RTPathSetOwnerEx(pszMountPoint, NIL_RTUID /* Owner, unchanged */, pOpts->gid, RTPATH_F_ON_LINK);
222 vbsf_mount_opts *pOpts)
224 AssertPtr(pOpts);
252 rc = VBoxServiceAutoMountPrepareMountPoint(pszMountPoint, pszShareName, pOpts);
258 if (pOpts->ronly)
261 pOpts->uid, pOpts->gid, pOpts
183 VBoxServiceAutoMountPrepareMountPoint(const char *pszMountPoint, const char *pszShareName, vbsf_mount_opts *pOpts) argument
221 VBoxServiceAutoMountSharedFolder(const char *pszShareName, const char *pszMountPoint, vbsf_mount_opts *pOpts) argument
[all...]
/vbox/src/VBox/Runtime/common/path/
H A DRTPathRmCmd.cpp109 static void rtPathRmVerbose(PRTPATHRMCMDOPTS pOpts, const char *pszPath) argument
111 if (!pOpts->fMachineReadable)
116 static int rtPathRmError(PRTPATHRMCMDOPTS pOpts, const char *pszPath, int rc, argument
119 if (pOpts->fMachineReadable)
136 * @param pOpts The RM options.
139 static int rtPathRmOneSymlink(PRTPATHRMCMDOPTS pOpts, const char *pszPath) argument
141 if (pOpts->fVerbose)
142 rtPathRmVerbose(pOpts, pszPath);
145 return rtPathRmError(pOpts, pszPath, rc, "Error removing symbolic link '%s': %Rrc\n", pszPath, rc);
156 * @param pOpts Th
160 rtPathRmOneFile(PRTPATHRMCMDOPTS pOpts, const char *pszPath, PRTFSOBJINFO pObjInfo) argument
233 rtPathRmOneDir(PRTPATHRMCMDOPTS pOpts, const char *pszPath) argument
256 rtPathRmRecursive(PRTPATHRMCMDOPTS pOpts, char *pszPath, size_t cchPath, PRTDIRENTRYEX pDirEntry) argument
372 rtPathRmOneValidate(PRTPATHRMCMDOPTS pOpts, const char *pszPath) argument
408 rtPathRmOne(PRTPATHRMCMDOPTS pOpts, const char *pszPath) argument
[all...]
/vbox/src/VBox/Runtime/common/zip/
H A Dunzipcmd.cpp83 * @param pOpts The Unzip options.
88 typedef RTEXITCODE (*PFNDOWITHMEMBER)(PRTZIPUNZIPCMDOPS pOpts, RTVFSOBJ hVfsObj, const char *pszName, RTEXITCODE rcExit, PRTFOFF pcBytes);
94 static RTEXITCODE rtZipUnzipCmdListCallback(PRTZIPUNZIPCMDOPS pOpts, RTVFSOBJ hVfsObj, argument
123 static RTEXITCODE rtZipUnzipCmdExtractFile(PRTZIPUNZIPCMDOPS pOpts, RTVFSOBJ hVfsObj, RTEXITCODE rcExit, argument
150 if (!pOpts->fNoModTimeFiles)
172 static RTEXITCODE rtZipUnzipCmdExtractCallback(PRTZIPUNZIPCMDOPS pOpts, RTVFSOBJ hVfsObj, argument
175 if (pOpts->fVerbose)
189 rc = RTPathJoin(szDst, sizeof(szDst), pOpts->pszDirectory ? pOpts->pszDirectory : ".", pszName);
199 return rtZipUnzipCmdExtractFile(pOpts, hVfsOb
251 rtZipUnzipCmdOpenInputArchive(PRTZIPUNZIPCMDOPS pOpts, PRTVFSFSSTREAM phVfsFss) argument
290 rtZipUnzipDoWithMembers(PRTZIPUNZIPCMDOPS pOpts, PFNDOWITHMEMBER pfnCallback, uint32_t *pcFiles, PRTFOFF pcBytes) argument
[all...]
H A Dtarcmd.cpp146 * @param pOpts The tar options.
151 typedef RTEXITCODE (*PFNDOWITHMEMBER)(PRTZIPTARCMDOPS pOpts, RTVFSOBJ hVfsObj, const char *pszName, RTEXITCODE rcExit);
180 * @param pOpts The options.
183 static RTEXITCODE rtZipTarCmdOpenInputArchive(PRTZIPTARCMDOPS pOpts, PRTVFSFSSTREAM phVfsFss) argument
191 if ( pOpts->pszFile
192 && strcmp(pOpts->pszFile, "-") != 0)
195 rc = RTVfsChainOpenIoStream(pOpts->pszFile,
206 rc, pOpts->pszFile, pszError - pOpts->pszFile, "");
208 "Failed with %Rrc opening the input archive '%s'", rc, pOpts
292 rtZipTarDoWithMembers(PRTZIPTARCMDOPS pOpts, PFNDOWITHMEMBER pfnCallback) argument
411 rtZipTarQueryExtractOwner(PRTZIPTARCMDOPS pOpts, PCRTFSOBJINFO pOwner, const char *pszName, RTEXITCODE rcExit, PRTUID pUid) argument
442 rtZipTarQueryExtractGroup(PRTZIPTARCMDOPS pOpts, PCRTFSOBJINFO pGroup, const char *pszName, RTEXITCODE rcExit, PRTGID pGid) argument
478 rtZipTarCmdExtractFile(PRTZIPTARCMDOPS pOpts, RTVFSOBJ hVfsObj, RTEXITCODE rcExit, const char *pszDst, PCRTFSOBJINFO pUnixInfo, PCRTFSOBJINFO pOwner, PCRTFSOBJINFO pGroup) argument
552 rtZipTarCmdExtractCallback(PRTZIPTARCMDOPS pOpts, RTVFSOBJ hVfsObj, const char *pszName, RTEXITCODE rcExit) argument
695 rtZipTarCmdListCallback(PRTZIPTARCMDOPS pOpts, RTVFSOBJ hVfsObj, const char *pszName, RTEXITCODE rcExit) argument
[all...]

Completed in 243 milliseconds