Searched defs:File (Results 26 - 50 of 61) sorted by relevance

123

/vbox/src/libs/kStuff/iprt/
H A DkRdrFile-iprt.cpp57 RTFILE File; member in struct:KRDRFILE
447 return (KIPTR)pRdrFile->File;
461 pRdrFile->off = RTFileTell(pRdrFile->File);
543 rc = RTFileSeek(pRdrFile->File, off, RTFILE_SEEK_BEGIN, NULL);
554 rc = RTFileRead(pRdrFile->File, pvBuf, cb, NULL);
572 rc = RTFileClose(pRdrFile->File);
590 RTFILE File; local
598 rc = RTFileOpen(&File, pszFilename, RTFILE_O_OPEN | RTFILE_O_READ | RTFILE_O_DENY_WRITE);
602 rc = RTFileGetSize(File, &cb);
620 pRdrFile->File
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Dispatcher/
H A DDispatcher.c88 MEDIA_FW_VOL_FILEPATH_DEVICE_PATH File; member in struct:__anon10914
171 @param Type Fv File Type of file to add to mDiscoveredList.
849 EfiInitializeFwVolDevicepathNode (&mFvDevicePath.File, DriverName);
876 @param Type Fv File Type of file to add to mDiscoveredList.
1212 EfiInitializeFwVolDevicepathNode (&mFvDevicePath.File, &NameGuid);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DDispatcher.c113 MEDIA_FW_VOL_FILEPATH_DEVICE_PATH File; member in struct:__anon10968
1074 EfiInitializeFwVolDevicepathNode (&mFvDevicePath.File, DriverName);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigFileExplorer.c18 /// File system selection menu
380 @param[in] FHand File Handle.
608 EFI_FILE_HANDLE File; local
610 File = NULL;
613 // File the file system interface to the device
627 &File
633 return EFI_ERROR (Status) ? NULL : File;
721 // Locate Handles that support Simple File System protocol
732 // Find all the instances of the File System prototocol
1001 Update the File Explor
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DBcfg.c112 @param[in] File The file to make the target.
117 @param[in] UseHandle TRUE to use HandleNumber, FALSE to use File and Desc.
128 IN CONST CHAR16 *File,
163 if (File == NULL || Desc == NULL) {
264 ShellOpenFileMetaArg ((CHAR16*)File, EFI_FILE_MODE_READ, &FileList);
270 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_FILE_OPEN_FAIL), gShellDebug1HiiHandle, File);
276 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_BCFG_FILE), gShellDebug1HiiHandle, File);
281 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_BCFG_FILE_OPEN), gShellDebug1HiiHandle, File, Arg->Status);
126 BcfgAddDebug1( IN UINTN Position, IN CONST CHAR16 *File, IN CONST CHAR16 *Desc, IN CONST UINT16 *CurrentOrder, IN CONST UINTN OrderCount, IN CONST BCFG_OPERATION_TARGET Target, IN CONST BOOLEAN UseHandle, IN CONST BOOLEAN UsePath, IN CONST UINTN HandleNumber ) argument
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellInstall1CommandsLib/
H A DBcfg.c112 @param[in] File The file to make the target.
117 @param[in] UseHandle TRUE to use HandleNumber, FALSE to use File and Desc.
128 IN CONST CHAR16 *File,
163 if (File == NULL || Desc == NULL) {
264 ShellOpenFileMetaArg ((CHAR16*)File, EFI_FILE_MODE_READ, &FileList);
270 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_GEN_FILE_OPEN_FAIL), gShellInstall1HiiHandle, File);
276 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_BCFG_FILE), gShellInstall1HiiHandle, File);
281 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_BCFG_FILE_OPEN), gShellInstall1HiiHandle, File, Arg->Status);
126 BcfgAddInstall1( IN UINTN Position, IN CONST CHAR16 *File, IN CONST CHAR16 *Desc, IN CONST UINT16 *CurrentOrder, IN CONST UINTN OrderCount, IN CONST BCFG_OPERATION_TARGET Target, IN CONST BOOLEAN UseHandle, IN CONST BOOLEAN UsePath, IN CONST UINTN HandleNumber ) argument
/vbox/src/VBox/GuestHost/DragAndDrop/
H A DDnDURIList.cpp57 if (m_Type == File)
77 case File:
158 case File:
255 : DnDURIObject::File, member in class:DnDURIObject
325 m_lstTree.append(DnDURIObject(DnDURIObject::File,
/vbox/include/iprt/
H A Dfile.h2 * IPRT - File I/O.
37 /** @defgroup grp_rt_fileio RTFile - File I/O
301 * @param File The file handle to close.
303 RTDECL(int) RTFileClose(RTFILE File); variable
318 * @param File The IPRT file handle.
320 RTDECL(RTHCINTPTR) RTFileToNative(RTFILE File); variable
350 * @param File Handle to the file.
356 RTDECL(int) RTFileSeek(RTFILE File, int64_t offSeek, unsigned uMethod, uint64_t *poffActual);
362 * @param File Handle to the file.
368 RTDECL(int) RTFileRead(RTFILE File, voi
444 RTDECL(int) RTFileFlush(RTFILE File); variable
472 RTDECL(RTFOFF) RTFileGetMaxSize(RTFILE File); variable
491 RTDECL(RTFOFF) RTFileGetMaxSize(RTFILE File); variable
500 RTDECL(uint64_t) RTFileTell(RTFILE File); variable
509 RTDECL(bool) RTFileIsValid(RTFILE File); variable
[all...]
/vbox/src/VBox/Runtime/r3/
H A Dfileio.cpp3 * IPRT - File I/O.
197 * @param File Handle to the file.
204 RTR3DECL(int) RTFileReadAt(RTFILE File, RTFOFF off, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument
206 int rc = RTFileSeek(File, off, RTFILE_SEEK_BEGIN, NULL);
208 rc = RTFileRead(File, pvBuf, cbToRead, pcbRead);
261 * @param File Handle to the file.
268 RTR3DECL(int) RTFileWriteAt(RTFILE File, RTFOFF off, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument
270 int rc = RTFileSeek(File, off, RTFILE_SEEK_BEGIN, NULL);
272 rc = RTFileWrite(File, pvBuf, cbToWrite, pcbWritten);
323 * @returns File offse
327 RTFileTell(RTFILE File) argument
349 RTFileGetMaxSize(RTFILE File) argument
[all...]
H A Dxml.cpp165 // File Class
169 struct File::Data
181 File::File(Mode aMode, const char *aFileName, bool aFlushIt /* = false */) function in class:xml::File
218 File::File(RTFILE aHandle, const char *aFileName /* = NULL */, bool aFlushIt /* = false */) function in class:xml::File
234 File::~File()
248 const char *File::uri() const
253 uint64_t File
[all...]
/vbox/src/VBox/VMM/testcase/
H A DtstAnimate.cpp196 static DECLCALLBACK(int) scriptRun(PVM pVM, RTFILE File) argument
200 int rc = RTFileGetSize(File, &cb);
210 rc = RTFileRead(File, pszBuf, cb, NULL);
280 static DECLCALLBACK(int) loadMem(PVM pVM, RTFILE File, uint64_t *poff) argument
285 int rc = RTFileSeek(File, off, RTFILE_SEEK_BEGIN, NULL);
297 rc = RTFileRead(File, &au8Page, sizeof(au8Page), &cbRead);
299 rc = RTFileRead(File, &au8Page, sizeof(au8Page), &cbRead);
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DBootOption.c305 // Locate Handles that support Simple File System protocol
316 // Find all the instances of the File System prototocol
402 // Searching for handles that support Load File protocol
437 L"Load File [%s]",
1160 Efi Image File.
1162 @param FileName File need to be checked.
1204 @param FileName Pointer to current File name.
1219 EFI_FILE_HANDLE File; local
1223 Status = Dir->Open (Dir, &File, FileName, EFI_FILE_MODE_READ, 0);
1230 File
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c105 @param[in] File This is a pointer to the device path of the file that is
113 IN CONST EFI_DEVICE_PATH_PROTOCOL *File
122 // First check to see if File is from a Firmware Volume
125 TempDevicePath = (EFI_DEVICE_PATH_PROTOCOL *) File;
146 // Next check to see if File is from a Block I/O device
149 TempDevicePath = (EFI_DEVICE_PATH_PROTOCOL *) File;
183 // File is not in a Firmware Volume or on a Block I/O device, so check to see if
184 // the device path supports the Simple File System Protocol.
187 TempDevicePath = (EFI_DEVICE_PATH_PROTOCOL *) File;
195 // Simple File Syste
1197 DxeImageVerificationHandler( IN UINT32 AuthenticationStatus, IN CONST EFI_DEVICE_PATH_PROTOCOL *File, IN VOID *FileBuffer, IN UINTN FileSize ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DFirmwareVolumeBuffer.c217 EFI_FFS_FILE_HEADER* File = (EFI_FFS_FILE_HEADER*)FfsFile; local
221 FileSize = FvBufExpand3ByteSize (File->Size);
226 File->IntegrityCheck.Checksum.Header = 0;
227 File->IntegrityCheck.Checksum.File = 0;
228 StateBackup = File->State;
229 File->State = 0;
231 File->IntegrityCheck.Checksum.Header =
233 (UINT8 *) File,
237 if (File
1080 EFI_FFS_FILE_HEADER* File; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/Common/
H A DPiFirmwareFile.h14 File Name: PiFirmwareFile.h
31 UINT8 File; member in struct:__anon10035::__anon10036
41 // File Types Definitions
65 // FFS File Attributes.
77 // FFS File State Bits.
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/
H A Dfsw_efi.c76 #define FSW_EFI_DRIVER_NAME(t) L"Fsw " FSW_EFI_STRINGIFY(t) L" File System Driver"
113 EFI_STATUS fsw_efi_file_read(IN FSW_FILE_DATA *File,
116 EFI_STATUS fsw_efi_file_getpos(IN FSW_FILE_DATA *File,
118 EFI_STATUS fsw_efi_file_setpos(IN FSW_FILE_DATA *File,
121 EFI_STATUS fsw_efi_dir_open(IN FSW_FILE_DATA *File,
126 EFI_STATUS fsw_efi_dir_read(IN FSW_FILE_DATA *File,
129 EFI_STATUS fsw_efi_dir_setpos(IN FSW_FILE_DATA *File,
132 EFI_STATUS fsw_efi_dnode_getinfo(IN FSW_FILE_DATA *File,
308 * If successful, an EFI Simple File System protocol is exported on the
406 // uninstall Simple File Syste
562 FSW_FILE_DATA *File = FSW_FILE_FROM_FILE_HANDLE(This); local
577 FSW_FILE_DATA *File = FSW_FILE_FROM_FILE_HANDLE(This); local
616 FSW_FILE_DATA *File = FSW_FILE_FROM_FILE_HANDLE(This); local
646 FSW_FILE_DATA *File = FSW_FILE_FROM_FILE_HANDLE(This); local
662 FSW_FILE_DATA *File = FSW_FILE_FROM_FILE_HANDLE(This); local
681 FSW_FILE_DATA *File = FSW_FILE_FROM_FILE_HANDLE(This); local
721 FSW_FILE_DATA *File; local
769 fsw_efi_file_read(IN FSW_FILE_DATA *File, IN OUT UINTN *BufferSize, OUT VOID *Buffer) argument
794 fsw_efi_file_getpos(IN FSW_FILE_DATA *File, OUT UINT64 *Position) argument
806 fsw_efi_file_setpos(IN FSW_FILE_DATA *File, IN UINT64 Position) argument
824 fsw_efi_dir_open(IN FSW_FILE_DATA *File, OUT EFI_FILE **NewHandle, IN CHAR16 *FileName, IN UINT64 OpenMode, IN UINT64 Attributes) argument
873 fsw_efi_dir_read(IN FSW_FILE_DATA *File, IN OUT UINTN *BufferSize, OUT VOID *Buffer) argument
911 fsw_efi_dir_setpos(IN FSW_FILE_DATA *File, IN UINT64 Position) argument
929 fsw_efi_dnode_getinfo(IN FSW_FILE_DATA *File, IN EFI_GUID *InformationType, IN OUT UINTN *BufferSize, OUT VOID *Buffer) argument
[all...]
/vbox/src/VBox/Storage/testcase/
H A DtstVD.cpp104 RTFILE File; local
105 rc = RTFileOpen(&File, pszFilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
108 RTFileClose(File);
156 RTFILE File; local
157 rc = RTFileOpen(&File, pszFilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
160 RTFileClose(File);
537 RTFILE File; local
538 rc = RTFileOpen(&File, pszBaseFilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
541 RTFileClose(File);
658 RTFILE File; local
824 RTFILE File; local
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/shader/slang/
H A Dslang_ir.h144 enum register_file File; /**< PROGRAM_TEMPORARY, PROGRAM_INPUT, etc */ member in struct:_slang_ir_storage
/vbox/include/iprt/cpp/
H A Dxml.h231 * The File class is a stream implementation that reads from and writes to
234 * The File class uses IPRT File API for file operations. Note that IPRT File
236 * different File instances that may be simultaneously used on different
238 * when reading from or writing to such File instances.
240 class RT_DECL_CLASS File : public Input, public Output class in namespace:xml
254 * @param aMode File mode.
255 * @param aFileName File name.
258 File(Mod
[all...]
/vbox/include/iprt/crypto/
H A Dspc.h328 RTCRSPCSTRING File; member in struct:RTCRSPCLINK::__anon434::__anon435
368 RTCRSPCLINK File; member in struct:RTCRSPCPEIMAGEDATA::__anon436
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Pi/
H A DPiFirmwareFile.h30 /// header. The State and IntegrityCheck.Checksum.File fields are assumed
36 /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit
39 /// the IntegrityCheck.Checksum.File field must be initialized with a value of
40 /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the
43 UINT8 File; member in struct:__anon11959::__anon11960
62 /// File Types Definitions
86 /// FFS File Attributes.
94 /// FFS File State Bits.
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp896 IN FILE *File,
908 if (File == NULL) {
916 fprintf (File, ">%08X: ", pNode->mOffset);
920 fprintf (File, "%02X ", (UINT8)(pNode->mIfrBinBuf[Index]));
923 fprintf (File, "\n");
928 fprintf (File, "\nTotal Size of all record is 0x%08X\n", TotalSize);
895 IfrRecordOutput( IN FILE *File, IN UINT32 LineNo ) argument
/vbox/src/VBox/Main/src-server/linux/
H A DHostHardwareLinux.cpp118 RTFILE File; local
119 int rc = RTFileOpen(&File, pcszNode, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_NONE | RTFILE_O_NON_BLOCK);
123 rc = RTFileIoCtl(File, FDGETDRVTYP, pszName, 0, &rcIoCtl);
124 RTFileClose(File);
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/Pi/
H A DPiFirmwareFile.h32 /// header. The State and IntegrityCheck.Checksum.File fields are assumed
38 /// field is set to one, the IntegrityCheck.Checksum.File field is an 8-bit
42 /// the IntegrityCheck.Checksum.File field must be initialized with a value of
43 /// 0xAA. The IntegrityCheck.Checksum.File field is valid any time the
46 UINT8 File; member in struct:__anon15561::__anon15562
65 /// File Types Definitions
89 /// FFS File Attributes.
97 /// FFS File State Bits.
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageDisk.cpp998 RTFILE File; local
1000 rc = RTFileFromNative(&File, RTFILE_NATIVE_STDIN);
1002 rc = RTFileOpen(&File, srcfilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE);
1014 rc = RTFileGetSize(File, &cbFile);
1069 rc = RTFileRead(File, pvBuf, cbToRead, &cbRead);
1086 if (File != NIL_RTFILE)
1087 RTFileClose(File);

Completed in 109 milliseconds

123