/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 | HandleToArea.cpp | 42 bool HandleToArea::erase(const sys::fs::Path& pPath) argument 45 llvm::StringRef(pPath.native().c_str(), 46 pPath.native().size())); 50 if (bucket->hash_value == hash_value && bucket->handle->path() == pPath) { 60 HandleToArea::Result HandleToArea::findFirst(const sys::fs::Path& pPath) argument 62 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(), 63 pPath.native().size())); 69 if (bucket->handle->path() == pPath) { 78 HandleToArea::ConstResult HandleToArea::findFirst(const sys::fs::Path& pPath) const 80 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath [all...] |
H A D | ToolOutputFile.cpp | 28 ToolOutputFile::CleanupInstaller::CleanupInstaller(const sys::fs::Path& pPath) argument 29 : Keep(false), m_Path(pPath) { 52 ToolOutputFile::ToolOutputFile(const sys::fs::Path& pPath, argument 55 : m_Installer(pPath), 60 if (!m_FileHandle.open(pPath, pMode, pPermission)) { 64 << pPath
|
H A D | MemoryAreaFactory.cpp | 35 MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 38 HandleToArea::Result map_result = m_HandleToArea.findFirst(pPath); 42 if (!handler->open(pPath, pMode)) { 43 error(diag::err_cannot_open_file) << pPath 58 MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 62 HandleToArea::Result map_result = m_HandleToArea.findFirst(pPath); 66 if (!handler->open(pPath, pMode, pPerm)) { 67 error(diag::err_cannot_open_file) << 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 | MCLDInput.cpp | 42 const sys::fs::Path& pPath, 47 m_Path(pPath), 56 const sys::fs::Path& pPath, 62 m_Path(pPath), 41 Input(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument 55 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 | CommandAction.cpp | 23 const sys::fs::Path &pPath) 24 : InputAction(pPosition), m_Path(pPath) { 77 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path &pPath) argument 78 : InputAction(pPosition), m_Path(pPath) { 22 InputFileAction(unsigned int pPosition, const sys::fs::Path &pPath) 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 | 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/include/mcld/ |
H A D | BitcodeOption.h | 33 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } argument
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | MsgHandler.h | 63 operator<<(const MsgHandler& pHandler, const sys::fs::Path& pPath) argument 65 pHandler.addString(pPath.native());
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | InputBuilder.h | 61 const sys::fs::Path& pPath, 66 const sys::fs::Path& pPath, 110 const sys::fs::Path& pPath, 115 Input* input = createInput(pName, pPath, pType); 125 const sys::fs::Path& pPath, 130 Input* input = createInput(pName, pPath, pType); 109 createNode(const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument 124 createNode(const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument
|
H A D | MCLDInput.h | 54 const sys::fs::Path& pPath, 59 const sys::fs::Path& pPath, 75 void setPath(const sys::fs::Path& pPath) argument 76 { m_Path = pPath; }
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Path.h | 68 Path& append(const Path& pPath); 107 bool exists(const Path &pPath); 109 bool is_directory(const Path &pPath); 113 operator<<(std::basic_ostream<Char, Traits>& pOS, const Path& pPath) argument 115 return pOS << pPath.native(); 120 operator>>(std::basic_istream<Char, Traits>& pOS, Path& pPath) argument 122 return pOS >> pPath.native(); 126 operator<<(llvm::raw_ostream& pOS, const Path& pPath) argument 128 return pOS << pPath.native();
|
/frameworks/compile/mclinker/tools/mcld/lib/Core/ |
H A D | Linker.cpp | 153 enum Linker::ErrorCode Linker::setOutput(const std::string &pPath) { argument 154 mOutputPath = pPath;
|
/frameworks/compile/libbcc/lib/Core/ |
H A D | Source.cpp | 89 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { argument 92 llvm::error_code ec = llvm::MemoryBuffer::getFile(pPath, input_data); 94 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 248 bool Linker::emit(const std::string& pPath) argument 252 if (!file.open(pPath, 255 error(diag::err_cannot_open_output_file) << "Linker::emit()" << pPath;
|
H A D | IRBuilder.cpp | 128 const sys::fs::Path& pPath, Input::Type pType) 131 return ReadInput(pName, pPath); 133 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType); 144 IRBuilder::ReadInput(const std::string& pName, const sys::fs::Path& pPath) argument 146 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, Input::Unknown); 127 CreateInput(const std::string& pName, const sys::fs::Path& pPath, Input::Type pType) argument
|