Searched defs:szFilename (Results 1 - 18 of 18) sorted by relevance

/vbox/src/VBox/Runtime/common/misc/
H A DRTFileOpenV.cpp41 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 Dsplit-soapC.cpp99 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 DldrFile.cpp67 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 DDrvNetSniffer.cpp66 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 DSUPHardenedVerify-win.h110 char szFilename[1]; member in struct:SUPHNTVIRDR
/vbox/src/VBox/Runtime/r3/linux/
H A Dsysfs.cpp149 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 DkRdrFile-iprt.cpp71 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 Ddbg.h186 char szFilename[RTDBG_FILE_NAME_LENGTH]; member in struct:RTDBGLINE
/vbox/src/VBox/VMM/VMMR3/
H A DPDMDevice.cpp546 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 DPDMDriver.cpp176 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 DPDMUsb.cpp345 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 DSUPR3HardenedVerify.cpp893 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 DSUPDrvIOC.h319 char szFilename[260]; member in struct:SUPLDROPEN::__anon16287::__anon16288
/vbox/src/VBox/Runtime/r3/
H A Dstream.cpp348 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 Dlog.cpp200 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 DDBGPlugInSolaris.cpp453 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 DPDMInternal.h778 char szFilename[1]; member in struct:PDMMOD
/vbox/include/VBox/vmm/
H A Ddbgf.h617 char szFilename[260]; member in struct:DBGFLINE

Completed in 222 milliseconds