Home
last modified time | relevance | path

Searched refs:OpenMode (Results 1 – 16 of 16) sorted by relevance

/frameworks/compile/libbcc/include/bcc/Support/
DFile.h24 template<enum FileBase::OpenModeEnum OpenMode>
47 template<enum FileBase::OpenModeEnum OpenMode>
51 : FileBase(pFilename, FileAttribute<OpenMode>::kOpenFlags, pFlags) { }
54 FileAttribute<OpenMode>::kDefaultLockMode),
64 (OpenMode == FileBase::kReadMode)) {
/frameworks/compile/mclinker/include/mcld/Support/
DMemoryAreaFactory.h45 MemoryArea* produce(const sys::fs::Path& pPath, FileHandle::OpenMode pMode);
49 FileHandle::OpenMode pMode,
58 MemoryArea* produce(int pFD, FileHandle::OpenMode pMode);
DFileHandle.h47 typedef Flags<OpenModeEnum> OpenMode; typedef
72 bool open(const sys::fs::Path& pPath, OpenMode pMode, Permission pPerm);
125 OpenMode m_OpenMode;
/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp42 inline static int oflag(FileHandle::OpenMode pMode) { in oflag()
77 FileHandle::OpenMode pMode, in open()
93 m_OpenMode = OpenMode(NotOpen); in open()
113 m_OpenMode = OpenMode(pMode); in delegate()
139 m_OpenMode = OpenMode(NotOpen); in close()
DMemoryAreaFactory.cpp26 FileHandle::OpenMode pMode) { in produce()
39 FileHandle::OpenMode pMode, in produce()
65 MemoryArea* MemoryAreaFactory::produce(int pFD, FileHandle::OpenMode pMode) { in produce()
/frameworks/compile/mclinker/unittests/
DUniqueGCFactoryBaseTest.cpp74 memFactory->produce(path1, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
77 memFactory->produce(path2, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
82 memFactory->produce(path1, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
DFileHandleTest.cpp43 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
85 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
DFragmentRefTest.cpp47 areaFactory->produce(path, FileHandle::OpenMode(FileHandle::ReadWrite),
/frameworks/compile/mclinker/include/mcld/MC/
DFileAction.h40 FileHandle::OpenMode m_Mode;
DInputBuilder.h68 FileHandle::OpenMode pMode,
/frameworks/compile/mclinker/lib/MC/
DInputBuilder.cpp122 FileHandle::OpenMode pMode, in setMemory()
/frameworks/compile/mclinker/lib/Script/
DGroupCmd.cpp156 if (!m_Builder.setMemory(*input, FileHandle::OpenMode(FileHandle::ReadOnly), in activate()
DInputCmd.cpp172 FileHandle::OpenMode(FileHandle::ReadOnly), in activate()
/frameworks/compile/mclinker/lib/LD/
DArchive.cpp239 FileHandle::OpenMode(FileHandle::ReadOnly), in getMemberFile()
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp149 m_InputBuilder.setMemory(*input, FileHandle::OpenMode(FileHandle::ReadOnly), in ReadInput()
188 m_InputBuilder.setMemory(*input, FileHandle::OpenMode(FileHandle::ReadOnly), in ReadInput()
205 m_InputBuilder.setMemory(*input, FileHandle::OpenMode(FileHandle::ReadOnly), in ReadInput()
DLinker.cpp257 FileHandle::OpenMode open_mode( in emit()