/vbox/src/VBox/Storage/testcase/ |
H A D | VDMemDisk.h | 102 * @param pcszFilename Where to dump the content. 104 int VDMemDiskWriteToFile(PVDMEMDISK pMemDisk, const char *pcszFilename); 113 * @param pcszFilename The file to load from. 115 int VDMemDiskReadFromFile(PVDMEMDISK pMemDisk, const char *pcszFilename);
|
H A D | VDMemDisk.cpp | 318 int VDMemDiskWriteToFile(PVDMEMDISK pMemDisk, const char *pcszFilename) argument 323 LogFlowFunc(("pMemDisk=%#p pcszFilename=%s\n", pMemDisk, pcszFilename)); 325 AssertPtrReturn(pcszFilename, VERR_INVALID_POINTER); 327 rc = RTFileOpen(&hFile, pcszFilename, RTFILE_O_DENY_NONE | RTFILE_O_CREATE | RTFILE_O_WRITE); 334 RTFileDelete(pcszFilename); 341 int VDMemDiskReadFromFile(PVDMEMDISK pMemDisk, const char *pcszFilename) argument
|
H A D | vbox-img.cpp | 512 static int convInDelete(void *pvUser, const char *pcszFilename) argument 515 NOREF(pcszFilename); 529 static int convInGetFreeSpace(void *pvUser, const char *pcszFilename, argument 533 NOREF(pcszFilename); 539 static int convInGetModificationTime(void *pvUser, const char *pcszFilename, argument 543 NOREF(pcszFilename); 715 static int convOutDelete(void *pvUser, const char *pcszFilename) argument 718 NOREF(pcszFilename); 732 static int convOutGetFreeSpace(void *pvUser, const char *pcszFilename, argument 736 NOREF(pcszFilename); 742 convOutGetModificationTime(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument [all...] |
H A D | tstVDIo.cpp | 1306 const char *pcszFilename = NULL; local 1316 pcszFilename = paScriptArgs[4].psz; 1331 rc = VDCopyEx(pDiskFrom->pVD, nImageFrom, pDiskTo->pVD, pcszBackend, pcszFilename, 2160 static DECLCALLBACK(int) tstVDIoFileDelete(void *pvUser, const char *pcszFilename) argument 2171 if ( strlen(pcszFilename) >= 2 2172 && *pcszFilename == '.' 2173 && pcszFilename[1] == '/') 2174 pcszFilename += 2; 2180 if (!RTStrCmp(pIt->pszName, pcszFilename)) 2234 static DECLCALLBACK(int) tstVDIoFileGetFreeSpace(void *pvUser, const char *pcszFilename, int64_ argument 2242 tstVDIoFileGetModificationTime(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument 2787 tstVDIoScriptRun(const char *pcszFilename) argument [all...] |
/vbox/src/bldprogs/ |
H A D | filesplitter.cpp | 205 * @param pcszFilename The path to the file. 209 static bool compareSubFile(const char *pcszFilename, const char *pcszSubContent, size_t cchSubContent) argument 212 if (stat(pcszFilename, &FileStat)) 219 int rc = readFile(pcszFilename, &pszExisting, &cchExisting); 235 * @param pcszFilename The path to the sub-file. 239 static int writeSubFile(const char *pcszFilename, const char *pcszSubContent, size_t cchSubContent) argument 241 FILE *pFile = fopen(pcszFilename, "w"); 243 return printErr("Failed to open \"%s\" for writing: %s\n", pcszFilename, strerror(errno)); 248 rc = printErr("Error writing \"%s\": %s\n", pcszFilename, strerror(errno)); 253 rc = printErr("Error closing \"%s\": %s\n", pcszFilename, strerro [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | ApplianceImplIO.cpp | 130 static DECLCALLBACK(int) notImpl_Delete(void *pvUser, const char *pcszFilename) argument 132 NOREF(pvUser); NOREF(pcszFilename); 146 static DECLCALLBACK(int) notImpl_GetFreeSpace(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace) argument 148 NOREF(pvUser); NOREF(pcszFilename); NOREF(pcbFreeSpace); 154 static DECLCALLBACK(int) notImpl_GetModificationTime(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument 156 NOREF(pvUser); NOREF(pcszFilename); NOREF(pModificationTime); 235 static int fileDeleteCallback(void * /* pvUser */, const char *pcszFilename) argument 239 return RTFileDelete(pcszFilename); 249 static int fileGetFreeSpaceCallback(void * /* pvUser */, const char *pcszFilename, int64_t *pcbFreeSpace) argument 252 AssertPtrReturn(pcszFilename, VERR_INVALID_POINTE 260 fileGetModificationTimeCallback(void * , const char *pcszFilename, PRTTIMESPEC pModificationTime) argument 1210 shaDeleteCallback(void *pvUser, const char *pcszFilename) argument 1239 shaGetFreeSpaceCallback(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace) argument 1253 shaGetModificationTimeCallback(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument 1567 readFileIntoBuffer(const char *pcszFilename, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pIfIo, void *pvUser) argument 1634 writeBufferToFile(const char *pcszFilename, void *pvBuf, size_t cbSize, PVDINTERFACEIO pIfIo, void *pvUser) argument [all...] |
/vbox/src/VBox/Runtime/r3/ |
H A D | xml.cpp | 1738 const char *pcszFilename = strFilename.c_str(); local 1744 pcszFilename, 1818 IOContext(const char *pcszFilename, File::Mode mode, bool fFlush = false) argument 1819 : file(mode, pcszFilename, fFlush) 1836 ReadContext(const char *pcszFilename) argument 1837 : IOContext(pcszFilename, File::Mode_Read) 1844 WriteContext(const char *pcszFilename, bool fFlush) argument 1845 : IOContext(pcszFilename, File::Mode_Overwrite, fFlush) 1866 const char *pcszFilename = strFilename.c_str(); local 1868 ReadContext context(pcszFilename); 1932 writeInternal(const char *pcszFilename, bool fSafe) argument 1966 write(const char *pcszFilename, bool fSafe) argument [all...] |
/vbox/include/VBox/ |
H A D | vd-ifs-internal.h | 152 * @param pcszFilename Name of the file to delete. 154 DECLR3CALLBACKMEMBER(int, pfnDelete, (void *pvUser, const char *pcszFilename)); 173 * @param pcszFilename Name of a file to identify the disk. 176 DECLR3CALLBACKMEMBER(int, pfnGetFreeSpace, (void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace)); 183 * @param pcszFilename Name of a file to identify the disk. 186 DECLR3CALLBACKMEMBER(int, pfnGetModificationTime, (void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime)); 468 DECLINLINE(int) vdIfIoIntFileGetModificationTime(PVDINTERFACEIOINT pIfIoInt, const char *pcszFilename, argument 471 return pIfIoInt->pfnGetModificationTime(pIfIoInt->Core.pvUser, pcszFilename,
|
H A D | vd-ifs.h | 379 * @param pcszFilename Name of the file to delete. 381 DECLR3CALLBACKMEMBER(int, pfnDelete, (void *pvUser, const char *pcszFilename)); 400 * @param pcszFilename Name of a file to identify the disk. 403 DECLR3CALLBACKMEMBER(int, pfnGetFreeSpace, (void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace)); 410 * @param pcszFilename Name of a file to identify the disk. 413 DECLR3CALLBACKMEMBER(int, pfnGetModificationTime, (void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime)); 571 DECLINLINE(int) vdIfIoFileGetModificationTime(PVDINTERFACEIO pIfIo, const char *pcszFilename, argument 574 return pIfIo->pfnGetModificationTime(pIfIo->Core.pvUser, pcszFilename,
|
/vbox/src/VBox/Main/include/ |
H A D | ApplianceImplPrivate.h | 273 int readFileIntoBuffer(const char *pcszFilename, void **ppvBuf, size_t *pcbSize, PVDINTERFACEIO pIfIo, void *pvUser); 274 int writeBufferToFile(const char *pcszFilename, void *pvBuf, size_t cbSize, PVDINTERFACEIO pIfIo, void *pvUser);
|
/vbox/include/iprt/cpp/ |
H A D | xml.h | 1041 * @param pcszFilename The name of the output file. 1053 void write(const char *pcszFilename, bool fSafe); 1064 void writeInternal(const char *pcszFilename, bool fSafe);
|
/vbox/src/VBox/Storage/ |
H A D | VD.cpp | 3955 static int vdIODeleteFallback(void *pvUser, const char *pcszFilename) argument 3957 return RTFileDelete(pcszFilename); 3965 static int vdIOGetFreeSpaceFallback(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace) argument 3967 return RTFsQuerySizes(pcszFilename, NULL, pcbFreeSpace, NULL, NULL); 3970 static int vdIOGetModificationTimeFallback(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument 3973 int rc = RTPathQueryInfo(pcszFilename, &info, RTFSOBJATTRADD_NOTHING); 4572 static int vdIOIntDelete(void *pvUser, const char *pcszFilename) argument 4576 pcszFilename); 4587 static int vdIOIntGetFreeSpace(void *pvUser, const char *pcszFilename, argument 4592 pcszFilename, pcbFreeSpac 4595 vdIOIntGetModificationTime(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument 5386 vdIOIntDeleteLimited(void *pvUser, const char *pcszFilename) argument 5399 vdIOIntGetFreeSpaceLimited(void *pvUser, const char *pcszFilename, int64_t *pcbFreeSpace) argument 5406 vdIOIntGetModificationTimeLimited(void *pvUser, const char *pcszFilename, PRTTIMESPEC pModificationTime) argument [all...] |
/vbox/src/VBox/HostServices/SharedFolders/testcase/ |
H A D | tstSharedFolderService.cpp | 563 const char *pcszFilename, uint32_t fCreateFlags, 571 fillTestShflString(&Path, pcszFilename); 562 createFile(VBOXHGCMSVCFNTABLE *psvcTable, SHFLROOT Root, const char *pcszFilename, uint32_t fCreateFlags, SHFLHANDLE *pHandle, SHFLCREATERESULT *pResult) argument
|