/vbox/src/VBox/Runtime/common/misc/ |
H A D | RTFileOpenV.cpp | 41 char szFilename[RTPATH_MAX]; local 42 size_t cchFilename = RTStrPrintfV(szFilename, sizeof(szFilename), pszFilenameFmt, va); 43 if (cchFilename >= sizeof(szFilename) - 1) 45 return RTFileOpen(pFile, szFilename, fOpen);
|
/vbox/src/VBox/Main/webservice/ |
H A D | split-soapC.cpp | 99 char szFilename[1024]; local 100 sprintf(szFilename, "%s/soapC-%lu.cpp", argv[2], ++cFiles); 101 szFilename[sizeof(szFilename)-1] = '\0'; 105 if (!(pFileOut = fopen(szFilename, "wb"))) 107 fprintf(stderr, "split-soapC: Failed to open file \"%s\" for writing\n", szFilename);
|
/vbox/src/VBox/Runtime/common/ldr/ |
H A D | ldrFile.cpp | 67 char szFilename[1]; member in struct:RTLDRREADERFILE 122 return pFileReader->szFilename; 213 memcpy(pFileReader->szFilename, pszFilename, cchFilename + 1);
|
/vbox/src/VBox/Devices/Network/ |
H A D | DrvNetSniffer.cpp | 66 char szFilename[RTPATH_MAX]; member in struct:DRVNETSNIFFER 424 rc = CFGMR3QueryString(pCfg, "File", pThis->szFilename, sizeof(pThis->szFilename)); 428 RTStrPrintf(pThis->szFilename, sizeof(pThis->szFilename), "./VBox-%x-%u.pcap", RTProcSelf(), pDrvIns->iInstance); 430 RTStrPrintf(pThis->szFilename, sizeof(pThis->szFilename), "./VBox-%x.pcap", RTProcSelf()); 485 rc = RTFileOpen(&pThis->hFile, pThis->szFilename, 489 N_("Netsniffer cannot open '%s' for writing. The directory must exist and it must be writable for the current user"), pThis->szFilename);
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPHardenedVerify-win.h | 110 char szFilename[1]; member in struct:SUPHNTVIRDR
|
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | sysfs.cpp | 149 char szFilename[RTPATH_MAX]; local 150 ssize_t rc = rtLinuxSysFsConstructPath(szFilename, sizeof(szFilename), pszFormat, va); 154 fRet = stat(szFilename, &st) == 0; 177 char szFilename[RTPATH_MAX]; local 178 ssize_t rc = rtLinuxSysFsConstructPath(szFilename, sizeof(szFilename), pszFormat, va); 180 rc = open(szFilename, O_RDONLY, 0); 365 char szFilename[RTPATH_MAX]; local 366 int rc = rtLinuxSysFsConstructPath(szFilename, sizeo 419 char szFilename[RTPATH_MAX]; local [all...] |
/vbox/src/libs/kStuff/iprt/ |
H A D | kRdrFile-iprt.cpp | 71 char szFilename[1]; member in struct:KRDRFILE 440 return &pRdrFile->szFilename[0]; 593 char szFilename[RTPATH_MAX]; local 605 rc = RTPathReal(pszFilename, szFilename, sizeof(szFilename)); 611 cchFilename = strlen(szFilename); 625 memcpy(&pRdrFile->szFilename[0], szFilename, cchFilename + 1);
|
/vbox/include/iprt/ |
H A D | dbg.h | 186 char szFilename[RTDBG_FILE_NAME_LENGTH]; member in struct:RTDBGLINE
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMDevice.cpp | 546 char szFilename[RTPATH_MAX]; local 547 rc = CFGMR3QueryString(pCur, "Path", &szFilename[0], sizeof(szFilename)); 549 strcpy(szFilename, szName); 557 if (!RTPathHavePath(szFilename)) 559 char *psz = pdmR3FileR3(szFilename, false /*fShared*/); 563 if (cch > sizeof(szFilename)) 569 memcpy(szFilename, psz, cch); 577 rc = pdmR3DevLoad(pVM, &RegCB, szFilename, szName);
|
H A D | PDMDriver.cpp | 176 char szFilename[RTPATH_MAX]; local 177 rc = CFGMR3QueryString(pCur, "Path", &szFilename[0], sizeof(szFilename)); 179 strcpy(szFilename, szName); 187 if (!RTPathHavePath(szFilename)) 189 char *psz = pdmR3FileR3(szFilename, false /*fShared*/); 193 if (cch > sizeof(szFilename)) 199 memcpy(szFilename, psz, cch); 207 rc = pdmR3DrvLoad(pVM, &RegCB, szFilename, szName);
|
H A D | PDMUsb.cpp | 345 char szFilename[RTPATH_MAX]; local 346 rc = CFGMR3QueryString(pCur, "Path", &szFilename[0], sizeof(szFilename)); 348 strcpy(szFilename, szName); 356 if (!RTPathHavePath(szFilename)) 358 char *psz = pdmR3FileR3(szFilename, false /*fShared*/); 362 if (cch > sizeof(szFilename)) 368 memcpy(szFilename, psz, cch); 375 rc = pdmR3UsbLoad(pVM, &RegCB, szFilename, szName);
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPR3HardenedVerify.cpp | 893 char szFilename[RTPATH_MAX]; local 894 int rc2 = supR3HardenedPathExecDir(szFilename, sizeof(szFilename) - cchProgName - sizeof(SUPLIB_EXE_SUFF)); 897 suplibHardenedStrCat(szFilename, "/"); 898 suplibHardenedStrCat(szFilename, g_aSupInstallFiles[iFile].pszFile); 899 supR3HardenedVerifySameFile(iFile, szFilename, fFatal);
|
H A D | SUPDrvIOC.h | 319 char szFilename[260]; member in struct:SUPLDROPEN::__anon16287::__anon16288
|
/vbox/src/VBox/Runtime/r3/ |
H A D | stream.cpp | 348 char szFilename[RTPATH_MAX]; local 349 size_t cch = RTStrPrintfV(szFilename, sizeof(szFilename), pszFilenameFmt, args); 350 if (cch < sizeof(szFilename)) 351 rc = RTStrmOpen(szFilename, pszMode, ppStream);
|
/vbox/src/VBox/Runtime/common/log/ |
H A D | log.cpp | 200 char szFilename[RTPATH_MAX]; member in struct:RTLOGGERINTERNAL 898 RTStrPrintfV(pLogger->pInt->szFilename, sizeof(pLogger->pInt->szFilename), pszFilenameFmt, args); 2270 char szTmp[sizeof(pLogger->pInt->szFilename)]; 2281 AssertReturn(cch < sizeof(pLogger->pInt->szFilename), VERR_OUT_OF_RANGE); 2282 memcpy(pLogger->pInt->szFilename, pszValue, cch); 2283 pLogger->pInt->szFilename[cch] = '\0'; 2289 const char *pszFile = RTPathFilename(pLogger->pInt->szFilename); 2291 AssertReturn(cchFile + cch + 1 < sizeof(pLogger->pInt->szFilename), VERR_OUT_OF_RANGE); 2294 memcpy(pLogger->pInt->szFilename, pszValu [all...] |
/vbox/src/VBox/Debugger/ |
H A D | DBGPlugInSolaris.cpp | 453 char szFilename[256]; local 454 rc = DBGFR3MemReadString(pUVM, 0, DBGFR3AddrFromFlat(pUVM, &Addr, pModCtl->v9_32.mod_filename), szFilename, sizeof(szFilename)); 456 strcpy(szFilename, szModName); 457 else if (!RTStrEnd(szFilename, sizeof(szFilename))) 458 szFilename[sizeof(szFilename) - 1] = '\0'; 556 DBGDiggerCommonParseElf32Mod(pUVM, szModName, szFilename, DBG_DIGGER_ELF_FUNNY_SHDRS, 600 char szFilename[25 local [all...] |
/vbox/src/VBox/VMM/include/ |
H A D | PDMInternal.h | 778 char szFilename[1]; member in struct:PDMMOD
|
/vbox/include/VBox/vmm/ |
H A D | dbgf.h | 617 char szFilename[260]; member in struct:DBGFLINE
|