/frameworks/compile/mclinker/lib/Support/ |
H A D | FileSystem.cpp | 16 bool mcld::sys::fs::exists(const Path& pPath) { argument 18 mcld::sys::fs::detail::status(pPath, file_status); 23 bool mcld::sys::fs::is_directory(const Path& pPath) { argument 25 detail::status(pPath, file_status);
|
H A D | MemoryAreaFactory.cpp | 25 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 27 llvm::StringRef name(pPath.native()); 38 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 41 llvm::StringRef name(pPath.native());
|
H A D | RealPath.cpp | 29 RealPath::RealPath(const Path& pPath) : Path(pPath) { argument 36 RealPath& RealPath::assign(const Path& pPath) { argument 37 Path::m_PathName.assign(pPath.native());
|
H A D | Directory.cpp | 43 Directory::Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) argument 44 : m_Path(pPath), 56 Directory::Directory(const char* pPath, FileStatus st, FileStatus symlink_st) argument 57 : Directory(sys::fs::Path(pPath), st, symlink_st) { 83 void Directory::assign(const Path& pPath, argument 89 m_Path = pPath;
|
H A D | FileHandle.cpp | 76 bool FileHandle::open(const sys::fs::Path& pPath, argument 86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); 88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), 91 m_Path = pPath;
|
H A D | Path.cpp | 89 Path& Path::append(const Path& pPath) { argument 92 pPath.native()[0] == separator) { 93 llvm::StringRef path(pPath.native()); 96 pPath.native()[0] != separator) { 99 m_PathName.append(pPath.native()); 102 m_PathName.append(pPath.native()); 108 Path& Path::append(const StringType& pPath) { argument 109 Path path(pPath);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | ContextFactory.cpp | 24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { argument 25 LDContext* result = find(pPath); 29 f_KeyMap.insert(std::make_pair(pPath, result)); 34 LDContext* ContextFactory::produce(const char* pPath) { argument 35 return produce(sys::fs::Path(pPath));
|
H A D | Input.cpp | 44 const sys::fs::Path& pPath, 49 m_Path(pPath), 59 const sys::fs::Path& pPath, 65 m_Path(pPath), 43 Input(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument 58 Input(llvm::StringRef pName, const sys::fs::Path& pPath, const AttributeProxy& pProxy, unsigned int pType, off_t pFileOffset) argument
|
H A D | InputFactory.cpp | 34 const sys::fs::Path& pPath, 38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); 43 const char* pPath, 47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset); 33 produce(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument 42 produce(llvm::StringRef pName, const char* pPath, unsigned int pType, off_t pFileOffset) argument
|
H A D | SearchDirs.cpp | 47 bool SearchDirs::insert(const std::string& pPath) { argument 48 MCLDDirectory* dir = new MCLDDirectory(pPath); 62 bool SearchDirs::insert(const char* pPath) { argument 63 return insert(std::string(pPath)); 66 bool SearchDirs::insert(const sys::fs::Path& pPath) { argument 67 return insert(pPath.native());
|
H A D | CommandAction.cpp | 26 const sys::fs::Path& pPath) 27 : InputAction(pPosition), m_Path(pPath) { 31 const char* pPath) 32 : InputAction(pPosition), m_Path(pPath) { 81 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath) argument 82 : InputAction(pPosition), m_Path(pPath) { 25 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath) argument 30 InputFileAction(unsigned int pPosition, const char* pPath) argument
|
H A D | InputBuilder.cpp | 55 const sys::fs::Path& pPath, 58 return m_pInputFactory->produce(pName, pPath, pType, pFileOffset); 54 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 | 20 SearchDirCmd::SearchDirCmd(const std::string& pPath) argument 21 : ScriptCommand(ScriptCommand::SEARCH_DIR), m_Path(pPath) {
|
H A D | ScriptFile.cpp | 132 void ScriptFile::addSearchDirCmd(const std::string& pPath) { argument 133 m_CommandQueue.push_back(new SearchDirCmd(pPath));
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | MsgHandler.h | 59 const sys::fs::Path& pPath) { 60 pHandler.addString(pPath.native()); 58 operator <<(const MsgHandler& pHandler, const sys::fs::Path& pPath) argument
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | InputBuilder.h | 56 const sys::fs::Path& pPath, 61 const sys::fs::Path& pPath, 105 const sys::fs::Path& pPath, 109 Input* input = createInput(pName, pPath, pType); 120 const sys::fs::Path& pPath, 124 Input* input = createInput(pName, pPath, pType); 103 createNode( const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument 118 createNode( const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument
|
H A D | Input.h | 51 const sys::fs::Path& pPath, 56 const sys::fs::Path& pPath, 69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } argument
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Path.h | 65 Path& append(const Path& pPath); 66 Path& append(const StringType& pPath); 104 bool exists(const Path& pPath); 106 bool is_directory(const Path& pPath); 111 const Path& pPath) { 112 return pOS << pPath.native(); 118 Path& pPath) { 119 return pOS >> pPath.native(); 123 const Path& pPath) { 124 return pOS << pPath 109 operator <<( std::basic_ostream<Char, Traits>& pOS, const Path& pPath) argument 116 operator >>( std::basic_istream<Char, Traits>& pOS, Path& pPath) argument 122 operator <<(llvm::raw_ostream& pOS, const Path& pPath) argument [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 255 bool Linker::emit(const Module& pModule, const std::string& pPath) { argument 274 bool result = file.open(sys::fs::Path(pPath), open_mode, permission); 276 error(diag::err_cannot_open_output_file) << "Linker::emit()" << pPath;
|
H A D | IRBuilder.cpp | 124 const sys::fs::Path& pPath, 127 return ReadInput(pName, pPath); 129 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType); 140 const sys::fs::Path& pPath) { 142 pName, pPath, Input::Unknown); 123 CreateInput(const std::string& pName, const sys::fs::Path& pPath, Input::Type pType) argument 139 ReadInput(const std::string& pName, const sys::fs::Path& pPath) argument
|
/frameworks/compile/libbcc/lib/ |
H A D | Source.cpp | 138 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { argument 141 llvm::MemoryBuffer::getFile(pPath); 143 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(), 165 Source *result = CreateFromModule(pContext, pPath.c_str(), *module,
|