/frameworks/compile/mclinker/lib/Support/ |
D | FileHandle.cpp | 28 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 …]
|
D | MemoryAreaFactory.cpp | 27 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()
|
D | FileOutputBuffer.cpp | 17 FileHandle& pFileHandle) in FileOutputBuffer() 28 std::error_code FileOutputBuffer::create(FileHandle& pFileHandle, in create()
|
D | ToolOutputFile.cpp | 55 FileHandle::OpenMode pMode, in ToolOutputFile() 56 FileHandle::Permission pPermission) in ToolOutputFile()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | FileAction.h | 36 FileHandle::OpenMode pMode, 37 FileHandle::Permission pPerm = FileHandle::System); 42 FileHandle::OpenMode m_Mode; 43 FileHandle::Permission m_Permission;
|
D | InputBuilder.h | 69 FileHandle::OpenMode pMode, 70 FileHandle::Permission pPerm = FileHandle::System);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | ToolOutputFile.h | 22 class FileHandle; variable 34 FileHandle::OpenMode pMode, 35 FileHandle::Permission pPermission); 40 FileHandle& fd() { return m_FileHandle; } in fd() 68 FileHandle m_FileHandle;
|
D | MemoryAreaFactory.h | 47 FileHandle::OpenMode pMode); 51 FileHandle::OpenMode pMode, 52 FileHandle::Permission pPerm); 60 MemoryArea* produce(int pFD, FileHandle::OpenMode pMode);
|
D | FileOutputBuffer.h | 20 class FileHandle; variable 29 static std::error_code create(FileHandle& pFileHandle, 60 FileHandle& pFileHandle); 63 FileHandle& m_FileHandle;
|
D | FileHandle.h | 25 class FileHandle 69 FileHandle(); 71 ~FileHandle();
|
D | Target.h | 28 class FileHandle; variable 51 FileHandle& pFileHandle); 77 FileHandle& pFileHandle) const;
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | FileSystem.inc | 16 #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/ |
D | FileSystem.inc | 16 #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/ |
D | Linker.cpp | 263 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/ |
D | FileHandleTest.cpp | 23 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()
|
D | FileHandleTest.h | 16 class FileHandle; variable 44 mcld::FileHandle* m_pTestee;
|
D | UniqueGCFactoryBaseTest.cpp | 79 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/ |
D | MCLinker.h | 31 class FileHandle; variable 54 FileHandle& pFileHandle); 71 FileHandle& m_FileHandle;
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsELFMCLinker.h | 16 class FileHandle; variable 26 FileHandle& pFileHandle);
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64ELFMCLinker.h | 16 class FileHandle; variable 26 FileHandle& pFileHandle);
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86ELFMCLinker.h | 16 class FileHandle; variable 28 FileHandle& pFileHandle);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMELFMCLinker.h | 16 class FileHandle; variable 26 FileHandle& pFileHandle);
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonELFMCLinker.h | 16 class FileHandle; variable 28 FileHandle& pFileHandle);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFMCLinker.h | 22 class FileHandle; variable 29 FileHandle& pFileHandle);
|
/frameworks/compile/mclinker/lib/MC/ |
D | FileAction.cpp | 43 FileHandle::OpenMode pMode, in MemoryAreaAction() 44 FileHandle::Permission pPerm) in MemoryAreaAction()
|