/frameworks/compile/mclinker/lib/Support/ |
H A D | FileSystem.cpp | 16 bool mcld::sys::fs::exists(const Path &pPath) argument 19 mcld::sys::fs::detail::status(pPath, file_status); 24 bool mcld::sys::fs::is_directory(const Path &pPath) argument 27 detail::status(pPath, file_status);
|
H A D | RealPath.cpp | 30 RealPath::RealPath(const Path& pPath) argument 31 : Path(pPath) { 39 RealPath& RealPath::assign(const Path& pPath) argument 41 Path::m_PathName.assign(pPath.native());
|
H A D | MemoryAreaFactory.cpp | 26 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 29 llvm::StringRef name(pPath.native()); 40 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 44 llvm::StringRef name(pPath.native());
|
H A D | ToolOutputFile.cpp | 28 ToolOutputFile::CleanupInstaller::CleanupInstaller(const sys::fs::Path& pPath) argument 29 : Keep(false), m_Path(pPath) { 54 ToolOutputFile::ToolOutputFile(const sys::fs::Path& pPath, argument 57 : m_Installer(pPath), 61 if (!m_FileHandle.open(pPath, pMode, pPermission)) { 65 << pPath
|
H A D | Directory.cpp | 44 Directory::Directory(const Path& pPath, argument 47 : m_Path(pPath), 85 void Directory::assign(const Path& pPath, argument 92 m_Path = pPath;
|
H A D | FileHandle.cpp | 78 bool FileHandle::open(const sys::fs::Path& pPath, argument 89 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); 91 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), (int)pPerm); 93 m_Path = pPath;
|
H A D | Path.cpp | 98 Path& Path::append(const Path& pPath) argument 102 pPath.native()[0] == separator) { 104 unsigned int new_size = old_size + pPath.native().size(); 107 strcpy(const_cast<ValueType*>(m_PathName.data()+old_size), pPath.native().data()); 111 pPath.native()[0] != separator) { 113 m_PathName.append(pPath.native()); 117 m_PathName.append(pPath.native());
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | ContextFactory.cpp | 25 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) argument 27 LDContext* result = find(pPath); 31 f_KeyMap.insert(std::make_pair(pPath, result));
|
H A D | Input.cpp | 43 const sys::fs::Path& pPath, 48 m_Path(pPath), 58 const sys::fs::Path& pPath, 64 m_Path(pPath), 42 Input(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument 57 Input(llvm::StringRef pName, const sys::fs::Path& pPath, const AttributeProxy& pProxy, unsigned int pType, off_t pFileOffset) argument
|
H A D | InputFactory.cpp | 35 const sys::fs::Path& pPath, 40 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); 34 produce(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument
|
H A D | SearchDirs.cpp | 49 bool SearchDirs::insert(const std::string& pPath) argument 51 MCLDDirectory* dir = new MCLDDirectory(pPath); 66 bool SearchDirs::insert(const char* pPath) argument 68 return insert(std::string(pPath)); 71 bool SearchDirs::insert(const sys::fs::Path& pPath) argument 73 return insert(pPath.native());
|
H A D | CommandAction.cpp | 25 const sys::fs::Path &pPath) 26 : InputAction(pPosition), m_Path(pPath) { 79 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path &pPath) argument 80 : InputAction(pPosition), m_Path(pPath) { 24 InputFileAction(unsigned int pPosition, const sys::fs::Path &pPath) argument
|
H A D | InputBuilder.cpp | 54 const sys::fs::Path& pPath, 58 return m_pInputFactory->produce(pName, pPath, pType, pFileOffset); 53 createInput(const std::string& pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | SearchDirCmd.cpp | 19 SearchDirCmd::SearchDirCmd(const std::string& pPath) argument 21 m_Path(pPath)
|
H A D | ScriptFile.cpp | 124 void ScriptFile::addSearchDirCmd(const std::string& pPath) argument 126 m_CommandQueue.push_back(new SearchDirCmd(pPath));
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | BitcodeOption.h | 30 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } argument
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | MsgHandler.h | 60 operator<<(const MsgHandler& pHandler, const sys::fs::Path& pPath) argument 62 pHandler.addString(pPath.native());
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | InputBuilder.h | 57 const sys::fs::Path& pPath, 62 const sys::fs::Path& pPath, 106 const sys::fs::Path& pPath, 111 Input* input = createInput(pName, pPath, pType); 121 const sys::fs::Path& pPath, 126 Input* input = createInput(pName, pPath, pType); 105 createNode(const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument 120 createNode(const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument
|
H A D | Input.h | 52 const sys::fs::Path& pPath, 57 const sys::fs::Path& pPath, 73 void setPath(const sys::fs::Path& pPath) argument 74 { m_Path = pPath; }
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Path.h | 65 Path& append(const Path& pPath); 104 bool exists(const Path &pPath); 106 bool is_directory(const Path &pPath); 110 operator<<(std::basic_ostream<Char, Traits>& pOS, const Path& pPath) argument 112 return pOS << pPath.native(); 117 operator>>(std::basic_istream<Char, Traits>& pOS, Path& pPath) argument 119 return pOS >> pPath.native(); 123 operator<<(llvm::raw_ostream& pOS, const Path& pPath) argument 125 return pOS << pPath.native();
|
/frameworks/compile/libbcc/lib/Core/ |
H A D | Source.cpp | 88 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { argument 91 llvm::MemoryBuffer::getFile(pPath); 93 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 261 bool Linker::emit(const Module& pModule, const std::string& pPath) argument 278 if (!file.open(pPath, 281 error(diag::err_cannot_open_output_file) << "Linker::emit()" << pPath;
|
H A D | IRBuilder.cpp | 120 const sys::fs::Path& pPath, Input::Type pType) 123 return ReadInput(pName, pPath); 125 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType); 136 IRBuilder::ReadInput(const std::string& pName, const sys::fs::Path& pPath) argument 138 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, Input::Unknown); 119 CreateInput(const std::string& pName, const sys::fs::Path& pPath, Input::Type pType) argument
|