/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | FileSystem.inc | 27 int open(const Path& pPath, int pOFlag) 29 return ::open(pPath.native().c_str(), pOFlag); 32 int open(const Path& pPath, int pOFlag, int pPerm) 34 return ::open(pPath.native().c_str(), pOFlag, pPerm);
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | HandleToArea.cpp | 41 bool HandleToArea::erase(const sys::fs::Path& pPath) argument 44 llvm::StringRef(pPath.native().c_str(), 45 pPath.native().size())); 49 if (bucket->hash_value == hash_value && bucket->handle->path() == pPath) { 59 HandleToArea::Result HandleToArea::findFirst(const sys::fs::Path& pPath) argument 61 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(), 62 pPath.native().size())); 68 if (bucket->handle->path() == pPath) { 77 HandleToArea::ConstResult HandleToArea::findFirst(const sys::fs::Path& pPath) const 79 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath [all...] |
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 | 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 | Path.cpp | 73 Path& Path::append(const Path& pPath) argument 77 pPath.native()[0] == separator) { 79 unsigned int new_size = old_size + pPath.native().size(); 82 strcpy(const_cast<char*>(m_PathName.data()+old_size), pPath.native().data()); 86 pPath.string()[0] != separator) { 88 m_PathName.append(pPath.native()); 92 m_PathName.append(pPath.native()); 206 bool mcld::sys::fs::exists(const Path &pPath) argument 209 detail::status(pPath, pFileStatus); 213 bool mcld::sys::fs::is_directory(const Path &pPath) argument 220 operator <<(std::ostream& pOS, const Path& pPath) argument 226 operator >>(std::istream& pOS, Path& pPath) argument 232 operator <<(llvm::raw_ostream &pOS, const Path &pPath) argument [all...] |
H A D | ToolOutputFile.cpp | 50 ToolOutputFile::ToolOutputFile(const sys::fs::Path& pPath, argument 53 : m_Installer(pPath.native()), 58 if (!m_FileHandle.open(pPath, pMode, pPermission)) { 62 << pPath
|
H A D | Directory.cpp | 41 Directory::Directory(const Path& pPath, argument 44 : m_Path(pPath), 82 void Directory::assign(const Path& pPath, argument 89 m_Path = pPath;
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | BitcodeOption.h | 33 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } argument
|
H A D | Linker.h | 56 /// emit - To open a file for output in pPath and to emit output mcld::Module 58 bool emit(const std::string& pPath);
|
/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 | 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 | 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
|
/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 | ContextFactory.h | 42 LDContext* produce(const sys::fs::Path& pPath);
|
H A D | MCLDDirectory.h | 40 void setSysroot(const sys::fs::Path& pPath);
|
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; }
|
H A D | InputFactory.h | 44 const sys::fs::Path& pPath,
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | MemoryAreaFactory.h | 49 MemoryArea* produce(const sys::fs::Path& pPath, 53 MemoryArea* produce(const sys::fs::Path& pPath,
|
H A D | Path.h | 71 Path& append(const Path& pPath); 123 bool exists(const Path &pPath); 125 bool is_directory(const Path &pPath); 128 std::ostream &operator<<(std::ostream& pOS, const Path& pPath); 130 std::istream &operator>>(std::istream& pOS, Path& pPath); 132 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Path &pPath);
|
H A D | HandleToArea.h | 83 bool erase(const sys::fs::Path& pPath); 85 Result findFirst(const sys::fs::Path& pPath); 87 ConstResult findFirst(const sys::fs::Path& pPath) const;
|
H A D | FileSystem.h | 80 bool exists(const Path &pPath); 81 bool is_directory(const Path &pPath); 110 int open(const Path& pPath, int pOFlag); 111 int open(const Path& pPath, int pOFlag, int pPermission);
|
H A D | RealPath.h | 35 explicit RealPath(const Path& pPath); 39 RealPath& assign(const Path& pPath);
|
H A D | ToolOutputFile.h | 39 ToolOutputFile(const sys::fs::Path& pPath,
|