Home
last modified time | relevance | path

Searched refs:FileHandle (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp28 FileHandle::FileHandle() in FileHandle() function in FileHandle
36 FileHandle::~FileHandle() in ~FileHandle()
42 inline static int oflag(FileHandle::OpenMode pMode) in oflag()
45 if (FileHandle::Unknown == pMode) in oflag()
48 if (FileHandle::ReadWrite == (pMode & FileHandle::ReadWrite)) in oflag()
50 else if (FileHandle::ReadOnly == (pMode & FileHandle::ReadOnly)) in oflag()
52 else if (FileHandle::WriteOnly == (pMode & FileHandle::WriteOnly)) in oflag()
55 if (FileHandle::Append == (pMode & FileHandle::Append)) in oflag()
58 if (FileHandle::Create == (pMode & FileHandle::Create)) in oflag()
61 if (FileHandle::Truncate == (pMode & FileHandle::Truncate)) in oflag()
[all …]
DMemoryAreaFactory.cpp27 FileHandle::OpenMode pMode) in produce()
41 FileHandle::OpenMode pMode, in produce()
42 FileHandle::Permission pPerm) in produce()
69 MemoryArea* MemoryAreaFactory::produce(int pFD, FileHandle::OpenMode pMode) in produce()
DFileOutputBuffer.cpp17 FileHandle& pFileHandle) in FileOutputBuffer()
28 std::error_code FileOutputBuffer::create(FileHandle& pFileHandle, in create()
DToolOutputFile.cpp55 FileHandle::OpenMode pMode, in ToolOutputFile()
56 FileHandle::Permission pPermission) in ToolOutputFile()
/frameworks/compile/mclinker/include/mcld/MC/
DFileAction.h36 FileHandle::OpenMode pMode,
37 FileHandle::Permission pPerm = FileHandle::System);
42 FileHandle::OpenMode m_Mode;
43 FileHandle::Permission m_Permission;
DInputBuilder.h69 FileHandle::OpenMode pMode,
70 FileHandle::Permission pPerm = FileHandle::System);
/frameworks/compile/mclinker/include/mcld/Support/
DToolOutputFile.h22 class FileHandle; variable
34 FileHandle::OpenMode pMode,
35 FileHandle::Permission pPermission);
40 FileHandle& fd() { return m_FileHandle; } in fd()
68 FileHandle m_FileHandle;
DMemoryAreaFactory.h47 FileHandle::OpenMode pMode);
51 FileHandle::OpenMode pMode,
52 FileHandle::Permission pPerm);
60 MemoryArea* produce(int pFD, FileHandle::OpenMode pMode);
DFileOutputBuffer.h20 class FileHandle; variable
29 static std::error_code create(FileHandle& pFileHandle,
60 FileHandle& pFileHandle);
63 FileHandle& m_FileHandle;
DFileHandle.h25 class FileHandle
69 FileHandle();
71 ~FileHandle();
DTarget.h28 class FileHandle; variable
51 FileHandle& pFileHandle);
77 FileHandle& pFileHandle) const;
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc16 #include <mcld/Support/FileHandle.h>
80 if (pPerm & FileHandle::ReadOwner ||
81 pPerm & FileHandle::ReadGroup ||
82 pPerm & FileHandle::ReadOther)
85 if (pPerm & FileHandle::WriteOwner ||
86 pPerm & FileHandle::WriteGroup ||
87 pPerm & FileHandle::WriteOther)
156 // FileHandle
158 bool FileHandle::mmap(void*& pMemBuffer, size_t pStartOffset, size_t pLength)
165 bool FileHandle::munmap(void* pMemBuffer, size_t pLength)
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc16 #include <mcld/Support/FileHandle.h>
107 if (pPerm & FileHandle::ReadOwner)
109 if (pPerm & FileHandle::WriteOwner)
111 if (pPerm & FileHandle::ExeOwner)
113 if (pPerm & FileHandle::ReadGroup)
115 if (pPerm & FileHandle::WriteGroup)
117 if (pPerm & FileHandle::ExeGroup)
119 if (pPerm & FileHandle::ReadOther)
121 if (pPerm & FileHandle::WriteOther)
123 if (pPerm & FileHandle::ExeOther)
[all …]
/frameworks/compile/mclinker/lib/Core/
DLinker.cpp263 FileHandle file; in emit()
264 FileHandle::Permission perm; in emit()
268 perm = mcld::FileHandle::Permission(0x644); in emit()
273 perm = mcld::FileHandle::Permission(0x755); in emit()
279 FileHandle::ReadWrite | FileHandle::Truncate | FileHandle::Create, in emit()
297 FileHandle file; in emit()
/frameworks/compile/mclinker/unittests/
DFileHandleTest.cpp23 m_pTestee = new FileHandle(); in FileHandleTest()
48 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); in TEST_F()
68 ASSERT_TRUE(m_pTestee->delegate(fd, FileHandle::ReadOnly)); in TEST_F()
89 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); in TEST_F()
DFileHandleTest.h16 class FileHandle; variable
44 mcld::FileHandle* m_pTestee;
DUniqueGCFactoryBaseTest.cpp79 MemoryArea* area1 = memFactory->produce(path1, FileHandle::ReadOnly); in TEST_F()
80 MemoryArea* area2 = memFactory->produce(path2, FileHandle::ReadOnly); in TEST_F()
83 MemoryArea* area3 = memFactory->produce(path1, FileHandle::ReadOnly); in TEST_F()
/frameworks/compile/mclinker/include/mcld/CodeGen/
DMCLinker.h31 class FileHandle; variable
54 FileHandle& pFileHandle);
71 FileHandle& m_FileHandle;
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsELFMCLinker.h16 class FileHandle; variable
26 FileHandle& pFileHandle);
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64ELFMCLinker.h16 class FileHandle; variable
26 FileHandle& pFileHandle);
/frameworks/compile/mclinker/lib/Target/X86/
DX86ELFMCLinker.h16 class FileHandle; variable
28 FileHandle& pFileHandle);
/frameworks/compile/mclinker/lib/Target/ARM/
DARMELFMCLinker.h16 class FileHandle; variable
26 FileHandle& pFileHandle);
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonELFMCLinker.h16 class FileHandle; variable
28 FileHandle& pFileHandle);
/frameworks/compile/mclinker/include/mcld/Target/
DELFMCLinker.h22 class FileHandle; variable
29 FileHandle& pFileHandle);
/frameworks/compile/mclinker/lib/MC/
DFileAction.cpp43 FileHandle::OpenMode pMode, in MemoryAreaAction()
44 FileHandle::Permission pPerm) in MemoryAreaAction()

12