Searched defs:pFile (Results 1 - 25 of 57) sorted by relevance

123

/vbox/src/VBox/Runtime/common/misc/
H A DRTFileOpenF.cpp35 RTR3DECL(int) RTFileOpenF(PRTFILE pFile, uint64_t fOpen, const char *pszFilenameFmt, ...) argument
39 int rc = RTFileOpenV(pFile, fOpen, pszFilenameFmt, va);
H A DRTFileOpenV.cpp39 RTR3DECL(int) RTFileOpenV(PRTFILE pFile, uint64_t fOpen, const char *pszFilenameFmt, va_list va) argument
45 return RTFileOpen(pFile, szFilename, fOpen);
/vbox/src/VBox/Runtime/r3/linux/
H A Dsystemmem-linux.cpp66 FILE *pFile = fopen("/proc/meminfo", "r"); local
67 if (pFile)
75 while (fgets(sz, sizeof(sz), pFile))
88 fclose(pFile);
H A Dmp-linux.cpp78 FILE *pFile = fopen("/proc/cpuinfo", "r"); local
79 if (!pFile)
85 while (fgets(sz, sizeof(sz), pFile))
113 fclose(pFile);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A Dslist.cpp109 int SList::printMessage(FILE* pFile, const char* pFormat, ...) argument
113 int iRet = vfprintf(pFile, pFormat, marker);
H A DASTBase.cpp248 int ASTBase::printMessage(FILE* pFile, const char* pFormat, ...) argument
252 int iRet = vfprintf(pFile, pFormat, marker);
H A DATokenBuffer.cpp351 int ANTLRTokenBuffer::printMessage(FILE* pFile, const char* pFormat, ...) argument
358 parser->printMessageV(pFile, pFormat, marker);
360 iRet = vfprintf(pFile, pFormat, marker);
H A DAToken.h91 virtual int printMessage(FILE* pFile, const char* pFormat, ...) // MR23 argument
95 int iRet = vfprintf(pFile, pFormat, marker);
H A DDLexerBase.cpp289 int DLGLexerBase::printMessage(FILE* pFile, const char* pFormat, ...) argument
296 parser->printMessageV(pFile, pFormat, marker);
298 iRet = vfprintf(pFile, pFormat, marker);
H A DPCCTSAST.cpp677 int PCCTS_AST::printMessage(FILE* pFile, const char* pFormat, ...) argument
681 int iRet = vfprintf(pFile, pFormat, marker);
/vbox/src/bldprogs/
H A Dpreload.cpp168 FILE *pFile = fopen(&argv[i][1], "r"); local
169 if (pFile)
172 while (fgets(szLine, sizeof(szLine), pFile))
189 fclose(pFile);
H A DVBoxCmp.cpp55 FILE *pFile = fopen(pszFile, "rb"); local
57 FILE *pFile = fopen(pszFile, "r");
59 if (!pFile)
61 return pFile;
H A Dbin2c.c33 * @param pFile File to size.
35 static size_t fsize(FILE *pFile) argument
38 off_t Pos = ftell(pFile);
40 && !fseek(pFile, 0, SEEK_END))
42 cbFile = ftell(pFile);
44 && !fseek(pFile, 0, SEEK_SET))
H A Dfilesplitter.cpp96 FILE *pFile= fopen(pcszPath, "w"); local
97 if (!pFile)
100 if (fprintf(pFile, "%s := \\\n", pcszVariableName) <= 0)
102 fclose(pFile);
106 *ppFile = pFile;
115 * @param pFile The file stream of the makefile list.
118 static int addFileToMakefileList(FILE *pFile, char *pszFilename) argument
120 if (pFile)
126 if (fprintf(pFile, "\t%s \\\n", pszFilename) <= 0)
137 * @param pFile Th
140 closeMakefileList(FILE *pFile, int rc) argument
159 FILE *pFile; local
241 FILE *pFile = fopen(pcszFilename, "w"); local
[all...]
/vbox/src/VBox/Runtime/VBox/
H A Dlog-vbox.cpp330 FILE* pFile = fopen(szArgFileBuf, "rb"); local
331 if (pFile)
333 if (fread(&psi, sizeof(psi), 1, pFile) == 1)
344 fclose(pFile);
348 FILE *pFile = fopen("/proc/self/cmdline", "r"); local
349 if (pFile)
355 while (!feof(pFile) && (ch = fgetc(pFile)) != EOF)
372 fclose(pFile);
/vbox/src/VBox/HostDrivers/VBoxUSB/win/dev/
H A DVBoxUsbRt.h58 PFILE_OBJECT pFile; member in struct:VBOXUSBRT_IDC
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_dump.h108 FILE *pFile; member in struct:CR_HTML_DUMPER
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/
H A DVfrCompiler.cpp624 FILE *pFile = NULL; local
631 if ((pFile = fopen (mOptions.PkgOutputFileName, "wb")) == NULL) {
635 if (gCFormPkg.BuildPkg (pFile, &gRBuffer) != VFR_RETURN_SUCCESS) {
636 fclose (pFile);
639 fclose (pFile);
666 FILE *pFile; local
674 if ((pFile = fopen (mOptions.COutputFileName, "w")) == NULL) {
680 fprintf (pFile, "%s\n", gSourceFileHeader[Index]);
684 gCVfrBufferConfig.OutputCFile (pFile, mOptions.VfrBaseFileName);
687 if (gCFormPkg.GenCFile (mOptions.VfrBaseFileName, pFile,
[all...]
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageGuestCtrlListener.cpp217 ComPtr<IGuestFile> pFile; local
218 CHECK_ERROR_BREAK(pEvent, COMGETTER(File)(pFile.asOutParam()));
219 AssertBreak(!pFile.isNull());
223 CHECK_ERROR_BREAK(pFile, COMGETTER(FileName)(strPath.asOutParam()));
239 CHECK_ERROR_BREAK(pFile, COMGETTER(EventSource)(es.asOutParam()));
246 mFiles[pFile] = fileStats;
250 GuestEventFiles::iterator itFile = mFiles.find(pFile);
/vbox/src/VBox/Runtime/testcase/
H A DtstRTDigest.cpp82 static char *MyGetNextSignificantLine(PRTSTREAM pFile, char *pszBuf, size_t cbBuf, uint32_t *piLine, int *prc) argument
87 int rc = RTStrmGetLine(pFile, pszBuf, cbBuf);
453 PRTSTREAM pFile;
454 rc = RTStrmOpen(ValueUnion.psz, "r", &pFile);
469 psz = MyGetNextSignificantLine(pFile, s_szLine, sizeof(s_szLine), &iLine, &rc);
487 psz = MyGetNextSignificantLine(pFile, s_szLine, sizeof(s_szLine), &iLine, &rc);
505 psz = MyGetNextSignificantLine(pFile, s_szLine, sizeof(s_szLine), &iLine, &rc);
544 RTStrmClose(pFile);
/vbox/src/VBox/Additions/solaris/DRM/
H A Dvboxvideo_drm.c363 static void vboxVideoSolarisPreClose(drm_device_t *pDevice, drm_file_t *pFile) argument
/vbox/src/VBox/Runtime/r3/
H A Disofs.cpp43 * @param pFile ISO handle.
45 static void rtIsoFsDestroyPathCache(PRTISOFSFILE pFile) argument
47 PRTISOFSPATHTABLEENTRY pNode = RTListGetFirst(&pFile->listPaths, RTISOFSPATHTABLEENTRY, Node);
51 bool fLast = RTListNodeIsLast(&pFile->listPaths, &pNode->Node);
146 * @param pFile ISO handle.
148 static int rtIsoFsUpdatePathCache(PRTISOFSFILE pFile) argument
150 AssertPtrReturn(pFile, VERR_INVALID_PARAMETER);
151 rtIsoFsDestroyPathCache(pFile);
153 RTListInit(&pFile->listPaths);
157 Assert(pFile
219 RTIsoFsOpen(PRTISOFSFILE pFile, const char *pszFileName) argument
283 RTIsoFsClose(PRTISOFSFILE pFile) argument
306 rtIsoFsFindEntry(PRTISOFSFILE pFile, const char *pszFileName, uint32_t uExtentSector, uint32_t cbExtent , PRTISOFSDIRRECORD *ppRec) argument
403 rtIsoFsResolvePath(PRTISOFSFILE pFile, const char *pszPath, uint32_t *puSector) argument
484 rtIsoFsGetDirectoryRecord(PRTISOFSFILE pFile, const char *pszPath, PRTISOFSDIRRECORD *ppRecord) argument
521 RTIsoFsGetFileInfo(PRTISOFSFILE pFile, const char *pszPath, uint32_t *pcbOffset, size_t *pcbLength) argument
551 RTIsoFsExtractFile(PRTISOFSFILE pFile, const char *pszSource, const char *pszDest) argument
[all...]
/vbox/src/libs/zlib-1.2.6/contrib/minizip/
H A Dminizip.c228 FILE* pFile = FOPEN_FUNC(filename, "rb"); local
230 if(pFile != NULL)
232 int n = FSEEKO_FUNC(pFile, 0, SEEK_END);
233 pos = FTELLO_FUNC(pFile);
240 fclose(pFile);
/vbox/src/libs/kStuff/iprt/
H A DkRdrFile-iprt.cpp138 * @param pFile The instance data.
141 static PKRDRFILEPREP krdrRTFileFindPrepExact(PKRDRFILE pFile, void *pv) argument
143 KI32 i = pFile->cPreps;
145 if (pFile->aPreps[i].pv == pv)
146 return &pFile->aPreps[i];
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/support/genmk/
H A Dgenmk_old.c131 pFile( char *s ) function
133 pFile( s )
252 { "*", 0,pFile, "" }, /* anything else is a file */

Completed in 92 milliseconds

123