/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackManagerImpl.cpp | 1498 ExtPack::i_hlpGetFilePath(PCVBOXEXTPACKHLP pHlp, const char *pszFilename, char *pszPath, size_t cbPath) argument 1503 AssertPtrReturn(pszFilename, VERR_INVALID_POINTER); 1517 int vrc = RTPathJoin(pszPath, cbPath, pThis->m->strExtPackPath.c_str(), pszFilename);
|
/vbox/src/VBox/Main/src-server/ |
H A D | ApplianceImplImport.cpp | 810 const char *pszFilename; local 811 int vrc = fssRdOnlyGetCurrentName(pTarIo, &pszFilename); 816 availableImage = pszFilename; 821 pszFilename, VERR_IS_A_DIRECTORY); 1258 char *pszFilename = RTPathFilename(strTmpOvf.c_str()); local 1259 vrc = RTS3GetKey(hS3, bucket.c_str(), pszFilename, strTmpOvf.c_str()); 1269 pszFilename); 1272 tr("Cannot download file '%s' from S3 storage server (File not found)"), pszFilename); 1275 tr("Cannot download file '%s' from S3 storage server (%Rrc)"), pszFilename, vrc); 1651 const char *pszFilename; local 1895 char *pszFilename = RTPathFilename(strSrcFile.c_str()); local 1928 char *pszFilename = RTPathFilename(strManifestFile.c_str()); local [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageGuestCtrl.cpp | 183 char *pszFilename = RTPathFilename(pszPath); local 184 if ( pszFilename 185 && strpbrk(pszFilename, "*?"))
|
/vbox/src/VBox/Storage/ |
H A D | DMG.cpp | 315 const char *pszFilename; member in struct:DMGIMAGE 855 if (fDelete && pThis->pszFilename) 856 vdIfIoIntFileDelete(pThis->pIfIoXxx, pThis->pszFilename); 1457 * @param pszFilename The input filename, optional. 1466 static int dmgOpenImageWithinXar(uint32_t fOpen, PVDINTERFACEIOINT pVDIfIoInt, void *pvStorage, const char *pszFilename, argument 1474 int rc = RTVfsFileOpenNormal(pszFilename, fOpen, &hVfsFile); 1517 if (pszFilename) 1518 DMG_PRINTF(("DMG: Using '%s' within XAR file '%s'...\n", pszName, pszFilename)); 1561 int rc = vdIfIoIntFileOpen(pThis->pIfIoXxx, pThis->pszFilename, 1583 pThis->pszFilename, 1707 dmgCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE *penmType) argument 1800 dmgOpen(const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE enmType, void **ppBackendData) argument 1854 dmgCreate(const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PCRTUUID pUuid, unsigned uOpenFlags, unsigned uPercentStart, unsigned uPercentSpan, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation, VDTYPE enmType, void **ppBackendData) argument 1872 dmgRename(void *pBackendData, const char *pszFilename) argument [all...] |
H A D | ISCSI.cpp | 480 const char *pszFilename; member in struct:ISCSIIMAGE 4551 static int iscsiCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, 4554 LogFlowFunc(("pszFilename=\"%s\"\n", pszFilename)); 4565 static int iscsiOpen(const char *pszFilename, unsigned uOpenFlags, 4569 LogFlowFunc(("pszFilename=\"%s\" uOpenFlags=%#x pVDIfsDisk=%#p pVDIfsImage=%#p enmType=%u ppBackendData=%#p\n", pszFilename, uOpenFlags, pVDIfsDisk, pVDIfsImage, enmType, ppBackendData)); 4583 if ( !VALID_PTR(pszFilename) 4584 || !*pszFilename 4585 || strchr(pszFilename, '"')) [all...] |
H A D | VHD.cpp | 129 const char *pszFilename; member in struct:VHDIMAGE 266 static int vhdFilenameToUtf16(const char *pszFilename, uint16_t *pu16Buf, argument 274 rc = RTStrToUtf16(pszFilename, &tmp16); 301 static int vhdLocatorUpdate(PVHDIMAGE pImage, PVHDPLE pLocator, const char *pszFilename) argument 315 if (RTPathStartsWithRoot(pszFilename)) 319 rc = RTPathCalcRelative(szPath, sizeof(szPath), pImage->pszFilename, 320 pszFilename); 336 cb = (uint32_t)strlen(pszFilename); 342 memcpy(pvBuf, pszFilename, cb); 350 rc = RTPathAbs(pszFilename, (cha 1238 vhdCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE *penmType) argument 1295 vhdOpen(const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE enmType, void **ppBackendData) argument 1344 vhdCreate(const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PCRTUUID pUuid, unsigned uOpenFlags, unsigned uPercentStart, unsigned uPercentSpan, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation, VDTYPE enmType, void **ppBackendData) argument 1431 vhdRename(void *pBackendData, const char *pszFilename) argument 2854 vhdRepair(const char *pszFilename, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, uint32_t fFlags) argument [all...] |
H A D | VHDX.cpp | 515 const char *pszFilename; member in struct:VHDXIMAGE 985 if (fDelete && pImage->pszFilename) 986 vdIfIoIntFileDelete(pImage->pIfIo, pImage->pszFilename); 1020 pImage->pszFilename); 1025 pImage->pszFilename, pHdr->u16Version); 1197 i, pImage->pszFilename); 1210 i, pImage->pszFilename); 1225 pImage->pszFilename); 1235 cbBatEntries, cbRegion, pImage->pszFilename); 1262 sizeof(VhdxFileParameters), cbItem, pImage->pszFilename); 1734 vhdxCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE *penmType) argument 1790 vhdxOpen(const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE enmType, void **ppBackendData) argument 1830 vhdxCreate(const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PCRTUUID pUuid, unsigned uOpenFlags, unsigned uPercentStart, unsigned uPercentSpan, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation, VDTYPE enmType, void **ppBackendData) argument 1848 vhdxRename(void *pBackendData, const char *pszFilename) argument [all...] |
H A D | VD.cpp | 114 char *pszFilename; member in struct:VDIMAGE 145 char *pszFilename; member in struct:VDCACHE 614 char *pszFilename; member in struct:VDPLUGIN 3558 * @param pszFilename The filename to check. 3560 static bool vdPluginFind(const char *pszFilename) argument 3566 if (!RTStrCmp(pIt->pszFilename, pszFilename)) 3578 * @param pszFilename The associated filename, used for finding duplicates. 3580 static int vdAddPlugin(RTLDRMOD hPlugin, const char *pszFilename) argument 3588 pPlugin->pszFilename 3603 vdRemovePlugin(const char *pszFilename) argument 3665 vdPluginLoadFromFilename(const char *pszFilename) argument 3824 vdPluginUnloadFromFilename(const char *pszFilename) argument 5719 VDPluginLoadFromFilename(const char *pszFilename) argument 5755 VDPluginUnloadFromFilename(const char *pszFilename) argument 6081 VDGetFormat(PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, const char *pszFilename, char **ppszFormat, VDTYPE *penmType) argument 6227 VDOpen(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsImage) argument 6554 VDCacheOpen(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsCache) argument 6837 VDCreateBase(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PCRTUUID pUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation) argument 7119 VDCreateDiff(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, unsigned uImageFlags, const char *pszComment, PCRTUUID pUuid, PCRTUUID pParentUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation) argument 7394 VDCreateCache(PVBOXHDD pDisk, const char *pszBackend, const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCRTUUID pUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsCache, PVDINTERFACE pVDIfsOperation) argument 8059 VDCopyEx(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo, const char *pszBackend, const char *pszFilename, bool fMoveByRename, uint64_t cbSize, unsigned nImageFromSame, unsigned nImageToSame, unsigned uImageFlags, PCRTUUID pDstUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsOperation, PVDINTERFACE pDstVDIfsImage, PVDINTERFACE pDstVDIfsOperation) argument 8390 VDCopy(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo, const char *pszBackend, const char *pszFilename, bool fMoveByRename, uint64_t cbSize, unsigned uImageFlags, PCRTUUID pDstUuid, unsigned uOpenFlags, PVDINTERFACE pVDIfsOperation, PVDINTERFACE pDstVDIfsImage, PVDINTERFACE pDstVDIfsOperation) argument 10167 VDGetFilename(PVBOXHDD pDisk, unsigned nImage, char *pszFilename, unsigned cbFilename) argument 10986 VDRepair(PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, const char *pszFilename, const char *pszBackend, uint32_t fFlags) argument [all...] |
H A D | VMDK.cpp | 234 const char *pszFilename; member in struct:VMDKFILE 413 const char *pszFilename; member in struct:VMDKIMAGE 544 const char *pszFilename, uint32_t fOpen) 553 if (!strcmp(pszFilename, pVmdkFile->pszFilename)) 572 pVmdkFile->pszFilename = RTStrDup(pszFilename); 573 if (!pVmdkFile->pszFilename) 581 rc = vdIfIoIntFileOpen(pImage->pIfIo, pszFilename, fOpen, 595 RTStrFree((char *)(void *)pVmdkFile->pszFilename); 543 vmdkFileOpen(PVMDKIMAGE pImage, PVMDKFILE *ppVmdkFile, const char *pszFilename, uint32_t fOpen) argument 5217 vmdkCheckIfValid(const char *pszFilename, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE *penmType) argument 5262 vmdkOpen(const char *pszFilename, unsigned uOpenFlags, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, VDTYPE enmType, void **ppBackendData) argument 5315 vmdkCreate(const char *pszFilename, uint64_t cbSize, unsigned uImageFlags, const char *pszComment, PCVDGEOMETRY pPCHSGeometry, PCVDGEOMETRY pLCHSGeometry, PCRTUUID pUuid, unsigned uOpenFlags, unsigned uPercentStart, unsigned uPercentSpan, PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, PVDINTERFACE pVDIfsOperation, VDTYPE enmType, void **ppBackendData) argument 5441 vmdkRename(void *pBackendData, const char *pszFilename) argument [all...] |
/vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
H A D | TestExecService.cpp | 2843 char *pszFilename = RTPathFilename(g_szScratchPath); local 2844 if (!pszFilename) 2848 if (strchr(pszFilename, 'X')) 2850 char ch = *pszFilename; 2852 *pszFilename = ch;
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPDrv-win.cpp | 1698 int VBOXCALL supdrvOSLdrOpen(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, const char *pszFilename) argument 1707 NOREF(pDevExt); NOREF(pszFilename); NOREF(pImage); 1715 int rc = RTStrCalcUtf16LenEx(pszFilename, RTSTR_MAX, &cwcFilename); 1728 rc = RTStrToUtf16Ex(pszFilename, RTSTR_MAX, &pwcsTmp, cwcFilename + 1, NULL);
|
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | VBoxSDL.cpp | 160 static RTEXITCODE readPasswordFile(const char *pszFilename, com::Utf8Str *pPasswd); 161 static RTEXITCODE settingsPasswordFile(ComPtr<IVirtualBox> virtualBox, const char *pszFilename); 3102 static RTEXITCODE readPasswordFile(const char *pszFilename, com::Utf8Str *pPasswd) argument 3108 bool fStdIn = !strcmp(pszFilename, "stdin"); 3111 vrc = RTStrmOpen(pszFilename, "r", &pStrm); 3121 RTPrintf("Provided password in file '%s' is too long\n", pszFilename); 3135 RTPrintf("Cannot read password from file '%s': %Rrc\n", pszFilename, vrc); 3143 RTPrintf("Cannot open password file '%s' (%Rrc)\n", pszFilename, vrc); 3150 static RTEXITCODE settingsPasswordFile(ComPtr<IVirtualBox> virtualBox, const char *pszFilename) argument 3153 RTEXITCODE rcExit = readPasswordFile(pszFilename, [all...] |
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmodcodeview.cpp | 2211 * @param pszFilename The filename (for logging). 2213 static int rtDbgModCvAddSegmentsFromDbg(PRTDBGMODCV pThis, PCIMAGE_SEPARATE_DEBUG_HEADER pDbgHdr, const char *pszFilename) argument 2256 pszFilename, paShs[i].VirtualAddress, uRvaPrev, i, sizeof(paShs[i].Name), paShs[i].Name)); 2264 pszFilename, paShs[i].VirtualAddress, paShs[i].Misc.VirtualSize, 2272 pszFilename, paShs[i].VirtualAddress, pDbgHdr->SectionAlignment, i, sizeof(paShs[i].Name), paShs[i].Name)); 2285 Log(("RTDbgModCv: %s: No loadable sections.\n", pszFilename)); 2290 Log(("RTDbgModCv: %s: No space for PE headers.\n", pszFilename)); 2379 * @param pszFilename The path to the file (for logging). 2382 uint32_t off, uint32_t cb, const char *pszFilename) 2410 Log2(("RTDbgModCv: Found COFF debug info header at %#x (LB %#x) in %s\n", off, cb, pszFilename)); 2381 rtDbgModCvProbeCoff(PRTDBGMODINT pDbgMod, RTCVFILETYPE enmFileType, RTFILE hFile, uint32_t off, uint32_t cb, const char *pszFilename) argument 2472 rtDbgModCvProbeCommon(PRTDBGMODINT pDbgMod, PRTCVHDR pCvHdr, RTCVFILETYPE enmFileType, RTFILE hFile, uint32_t off, uint32_t cb, RTLDRARCH enmArch, const char *pszFilename) argument 2559 rtDbgModCvProbeFile2(PRTDBGMODINT pThis, RTCVFILETYPE enmFileType, RTFILE hFile, uint32_t off, uint32_t cb, RTLDRARCH enmArch, const char *pszFilename) argument 2579 rtDbgModCvProbeFile(PRTDBGMODINT pDbgMod, const char *pszFilename, RTLDRARCH enmArch) argument [all...] |
H A D | dbgmoddwarf.cpp | 2309 * @param pszFilename The name of the file. 2312 static int rtDwarfLine_DefineFileName(PRTDWARFLINESTATE pLnState, const char *pszFilename, uint64_t idxInc) argument 2329 if ( pszFilename[0] == '/' 2330 || pszFilename[0] == '\\' 2331 || (RT_C_IS_ALPHA(pszFilename[0]) && pszFilename[1] == ':') ) 2332 pLnState->papszFileNames[iFileName] = RTStrDup(pszFilename); 2334 pLnState->papszFileNames[iFileName] = RTPathJoinA(pLnState->papszIncPaths[idxInc], pszFilename); 2586 const char *pszFilename = rtDwarfCursor_GetSZ(pCursor, NULL); local 2590 Log2(("%08x: DW_LNE_define_file: {%d}/%s\n", offOpCode, idxInc, pszFilename)); [all...] |