HomeSort by relevance Sort by last modified time
    Searched refs:FileHandle (Results 1 - 25 of 240) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/native/libs/vr/libpdx/private/pdx/
file_handle.h 20 class FileHandle {
24 // Constructs an empty FileHandle object.
25 FileHandle() : fd_(kEmptyFileHandle) {}
27 // Constructs a FileHandle from an integer file descriptor and takes
29 explicit FileHandle(int fd) : fd_(fd) {}
31 // Constructs a FileHandle by opening |path|. The arguments follow the
33 FileHandle(const std::string& path, int flags, mode_t mode = 0) {
37 // Constructs a FileHandle by opening |path| relative to |dir_fd|, following
39 FileHandle(const int directory_fd, const std::string& path, int flags,
45 // other FileHandle object empty
    [all...]
  /frameworks/compile/mclinker/lib/Support/
FileHandle.cpp 1 //===- FileHandle.cpp -----------------------------------------------------===//
10 #include "mcld/Support/FileHandle.h"
27 // FileHandle
29 FileHandle::FileHandle()
37 FileHandle::~FileHandle() {
42 inline static int oflag(FileHandle::OpenMode pMode) {
44 if (FileHandle::Unknown == pMode)
47 if (FileHandle::ReadWrite == (pMode & FileHandle::ReadWrite)
    [all...]
  /frameworks/compile/mclinker/include/mcld/MC/
FileAction.h 12 #include "mcld/Support/FileHandle.h"
34 FileHandle::OpenModeEnum pMode,
35 FileHandle::PermissionEnum pPerm = FileHandle::System);
40 FileHandle::OpenMode m_Mode;
41 FileHandle::Permission m_Permission;
  /frameworks/compile/mclinker/unittests/
FileHandleTest.h 15 class FileHandle;
24 * \see FileHandle
41 mcld::FileHandle* m_pTestee;
UniqueGCFactoryBaseTest.cpp 74 memFactory->produce(path1, FileHandle::OpenMode(FileHandle::ReadOnly),
75 FileHandle::Permission(FileHandle::System));
77 memFactory->produce(path2, FileHandle::OpenMode(FileHandle::ReadOnly),
78 FileHandle::Permission(FileHandle::System));
82 memFactory->produce(path1, FileHandle::OpenMode(FileHandle::ReadOnly)
    [all...]
FileHandleTest.cpp 9 #include "mcld/Support/FileHandle.h"
21 m_pTestee = new FileHandle();
43 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly),
44 FileHandle::Permission(FileHandle::System)));
64 ASSERT_TRUE(m_pTestee->delegate(fd, FileHandle::ReadOnly));
85 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly),
86 FileHandle::Permission(FileHandle::System)))
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/PeimEntryPoint/
PeimEntryPoint.c 29 @param FileHandle Handle of the file being invoked.
38 IN EFI_PEI_FILE_HANDLE FileHandle,
52 ProcessLibraryConstructorList (FileHandle, PeiServices);
57 return ProcessModuleEntryPointList (FileHandle, PeiServices);
64 This function is required to call _ModuleEntryPoint() passing in FileHandle and PeiServices.
66 @param FileHandle Handle of the file being invoked.
76 IN EFI_PEI_FILE_HANDLE FileHandle,
80 return _ModuleEntryPoint (FileHandle, PeiServices);
  /device/linaro/bootloader/edk2/MdePkg/Include/Library/
PeimEntryPoint.h 31 @param FileHandle Handle of the file being invoked.
40 IN EFI_PEI_FILE_HANDLE FileHandle,
48 This function is required to call _ModuleEntryPoint() passing in FileHandle and PeiServices.
50 @param FileHandle Handle of the file being invoked.
60 IN EFI_PEI_FILE_HANDLE FileHandle,
76 @param FileHandle Handle of the file being invoked.
83 IN EFI_PEI_FILE_HANDLE FileHandle,
95 @param FileHandle Handle of the file being invoked.
105 IN EFI_PEI_FILE_HANDLE FileHandle,
FileHandleLib.h 31 @param[in] FileHandle The file handle of the file for which information is
40 IN EFI_FILE_HANDLE FileHandle
47 @param[in] FileHandle The file handle of the file for which information
54 @retval EFI_UNSUPPORTED The FileHandle does not support FileInfo.
65 IN EFI_FILE_HANDLE FileHandle,
72 If FileHandle is not a directory, the function reads the requested number of
76 returned. If FileHandle is a directory, the function reads the directory entry
85 @param[in] FileHandle The opened file handle.
101 IN EFI_FILE_HANDLE FileHandle,
116 @param[in] FileHandle The opened file for writing.
    [all...]
  /frameworks/compile/mclinker/include/mcld/Support/
MemoryAreaFactory.h 11 #include "mcld/Support/FileHandle.h"
45 MemoryArea* produce(const sys::fs::Path& pPath, FileHandle::OpenMode pMode);
49 FileHandle::OpenMode pMode,
50 FileHandle::Permission pPerm);
58 MemoryArea* produce(int pFD, FileHandle::OpenMode pMode);
FileOutputBuffer.h 22 class FileHandle;
31 static std::error_code create(FileHandle& pFileHandle,
60 FileHandle& pFileHandle);
63 FileHandle& m_FileHandle;
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
BootMonFsLoader.h 28 @param[in] FileHandle Handle of the file to check.
36 IN CONST EFI_FILE_HANDLE FileHandle
42 @param[in] FileHandle Handle of the file to load.
60 IN CONST EFI_FILE_HANDLE FileHandle,
BootMonFsLoader.c 37 @param[in] FileHandle Handle of the file to check.
45 IN CONST EFI_FILE_HANDLE FileHandle
53 ASSERT (FileHandle != NULL);
58 Status = FileHandle->GetInfo (FileHandle, &gArmBootMonFsFileInfoGuid,
88 @param[in] FileHandle Handle of the file to load.
106 IN CONST EFI_FILE_HANDLE FileHandle,
119 ASSERT (FileHandle != NULL);
127 Status = FileHandle->GetInfo (FileHandle, &gArmBootMonFsFileInfoGuid,
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
MkDir.c 36 SHELL_FILE_HANDLE FileHandle;
92 FileHandle = NULL;
94 &FileHandle,
99 ShellCloseFile(&FileHandle);
104 ASSERT(FileHandle == NULL);
108 Status = ShellCreateDirectory(NewDirName, &FileHandle);
109 if (FileHandle != NULL) {
110 gEfiShellProtocol->CloseFile(FileHandle);
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/
FileHandleLib.h 43 @param[in] FileHandle The file handle of the file for which information is
52 IN EFI_FILE_HANDLE FileHandle
59 @param[in] FileHandle The file handle of the file for which information
66 @retval EFI_UNSUPPORTED The FileHandle does not support FileInfo.
77 IN EFI_FILE_HANDLE FileHandle,
84 If FileHandle is not a directory, the function reads the requested number of
88 returned. If FileHandle is a directory, the function reads the directory entry
97 @param[in] FileHandle The opened file handle.
113 IN EFI_FILE_HANDLE FileHandle,
128 @param[in] FileHandle The opened file for writing.
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Include/Library/
SemihostLib.h 42 OUT UINTN *FileHandle
47 IN UINTN FileHandle,
53 IN UINTN FileHandle,
60 IN UINTN FileHandle,
67 IN UINTN FileHandle
72 IN UINTN FileHandle,
  /external/syslinux/gnu-efi/gnu-efi-3.0/lib/
sread.c 27 EFI_FILE_HANDLE FileHandle;
62 EFI_FILE_HANDLE FileHandle, LastHandle;
98 FileHandle = NULL;
101 FileHandle = LibOpenRoot (*DeviceHandle);
104 Status = FileHandle ? EFI_SUCCESS : EFI_UNSUPPORTED;
136 LastHandle = FileHandle;
137 FileHandle = NULL;
143 &FileHandle,
167 ASSERT(FileHandle);
168 FHand->FileHandle = FileHandle
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Library/SemihostLib/
SemihostLib.c 34 OUT UINTN *FileHandle
40 if (FileHandle == NULL) {
58 *FileHandle = Result;
65 IN UINTN FileHandle,
72 SeekBlock.Handle = FileHandle;
88 IN UINTN FileHandle,
100 ReadBlock.Handle = FileHandle;
116 IN UINTN FileHandle,
127 WriteBlock.Handle = FileHandle;
141 IN UINTN FileHandle
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/PyUtility/
PyUtility.c 34 HANDLE FileHandle;
48 FileHandle = CreateFile(
57 if (FileHandle == INVALID_HANDLE_VALUE) {
62 while (WriteFile(FileHandle, Data, DataLength, &WriteBytes, NULL)) {
81 //if (!FlushFileBuffers(FileHandle)) {
90 CloseHandle(FileHandle);
  /external/chromium-trace/catapult/telemetry/telemetry/internal/util/
file_handle.py 11 class FileHandle(object):
13 """Constructs a FileHandle object.
57 """Constructs a FileHandle pointing to a temporary file.
60 A FileHandle referring to a named temporary file.
62 return FileHandle(temp_file)
66 """Constructs a FileHandle from an absolute file path.
71 A FileHandle referring to the file at the specified path.
73 return FileHandle(None, os.path.abspath(path))
  /device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
FirmwareVolume.h 66 The FileHandle must be unique within the system.
75 @param FileHandle Points to the current handle from which to
81 @retval EFI_NOT_FOUND The file was not found. FileHandle contains NULL.
90 IN OUT EFI_PEI_FILE_HANDLE *FileHandle
109 @param FileHandle Upon exit, points to the found file's
114 @retval EFI_INVALID_PARAMETER FvHandle or FileHandle or
125 OUT EFI_PEI_FILE_HANDLE *FileHandle
138 @param FileHandle Handle of the file.
143 @retval EFI_INVALID_PARAMETER If FileHandle does not
152 IN EFI_PEI_FILE_HANDLE FileHandle,
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
BitWriter.cpp 38 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) {
39 return LLVMWriteBitcodeToFD(M, FileHandle, true, false);
  /device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/
UefiFileHandleLib.c 42 @param FileHandle The file handle of the file for which information is
52 IN EFI_FILE_HANDLE FileHandle
59 if (FileHandle == NULL) {
68 Status = FileHandle->GetInfo(FileHandle,
80 Status = FileHandle->GetInfo(FileHandle,
99 @param[in] FileHandle The file handle of the file for which information
106 @retval EFI_UNSUPPORTED The FileHandle does not support FileInfo.
117 IN EFI_FILE_HANDLE FileHandle,
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/LoadedImage/
LoadedImage.h 51 EFI_PEI_FILE_HANDLE FileHandle;
  /device/linaro/bootloader/edk2/EmulatorPkg/Sec/
Sec.c 77 EFI_PEI_FILE_HANDLE FileHandle;
130 FileHandle = NULL;
131 Status = PeiServicesFfsFindNextFile (EFI_FV_FILETYPE_PEI_CORE, VolumeHandle, &FileHandle);
134 Status = PeiServicesFfsFindSectionData (EFI_SECTION_PE32, FileHandle, &PeCoffImage);

Completed in 653 milliseconds

1 2 3 4 5 6 7 8 910