/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 | 41 MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 44 HandleToArea::Result map_result = m_HandleToArea.findFirst(pPath); 48 if (!handler->open(pPath, pMode)) { 49 error(diag::err_cannot_open_file) << pPath 64 MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument 68 HandleToArea::Result map_result = m_HandleToArea.findFirst(pPath); 72 if (!handler->open(pPath, pMode, pPerm)) { 73 error(diag::err_cannot_open_file) << pPath
|
H A D | Path.cpp | 72 Path& Path::append(const Path& pPath) argument 76 pPath.native()[0] == separator) { 78 unsigned int new_size = old_size + pPath.native().size(); 81 strcpy(const_cast<char*>(m_PathName.data()+old_size), pPath.native().data()); 85 pPath.string()[0] != separator) { 87 m_PathName.append(pPath.native()); 91 m_PathName.append(pPath.native()); 195 bool mcld::sys::fs::exists(const Path &pPath) argument 198 detail::status(pPath, pFileStatus); 202 bool mcld::sys::fs::is_directory(const Path &pPath) argument 209 operator <<(std::ostream& pOS, const Path& pPath) argument 215 operator >>(std::istream& pOS, Path& pPath) argument 221 operator <<(llvm::raw_ostream &pOS, const Path &pPath) argument [all...] |
H A D | Directory.cpp | 40 Directory::Directory(const Path& pPath, argument 43 : m_Path(pPath), 81 void Directory::assign(const Path& pPath, argument 88 m_Path = 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 | InputFactory.cpp | 25 const sys::fs::Path& pPath, 30 new (result) mcld::Input(pName, pPath, m_AttrFactory.last(), pType, pFileOffset); 24 produce(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument
|
H A D | MCLDInput.cpp | 24 const sys::fs::Path& pPath, 28 : MCLDFile(pName, pPath, pType), 23 Input(llvm::StringRef pName, const sys::fs::Path& pPath, const AttributeProxy& pProxy, unsigned int pType, off_t pFileOffset) argument
|
H A D | MCLDFile.cpp | 29 const sys::fs::Path& pPath, 31 : m_Type(pType), m_pContext(0), m_Path(pPath), m_Name(pName.data()), m_pMemArea(0) { 28 MCLDFile(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType) argument
|
/frameworks/compile/mclinker/unittests/Linker/ |
H A D | TestLinker.h | 53 void addSearchDir(const std::string &pPath); 55 void setSysRoot(const mcld::sys::fs::Path &pPath); 58 void addObject(const std::string &pPath); 60 void addObject(const mcld::sys::fs::Path &pPath) argument 61 { addObject(pPath.native()); } 69 bool setOutput(const std::string &pPath); 73 bool setOutput(const sys::fs::Path &pPath);
|
H A D | TestLinker.cpp | 135 void TestLinker::setSysRoot(const mcld::sys::fs::Path &pPath) argument 138 m_pInfo->options().setSysroot(pPath); 141 void TestLinker::addObject(const std::string &pPath) argument 143 mcld::Input* input = m_pInfo->inputFactory().produce(pPath, pPath, 152 if (!handler->open(pPath, mcld::FileHandle::ReadOnly)) { 154 << pPath 162 mcld::LDContext* context = m_pInfo->contextFactory().produce(pPath); 260 bool TestLinker::setOutput(const std::string &pPath) argument 267 bool open_res = handler->open(pPath, mcl 289 setOutput(const sys::fs::Path &pPath) argument [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | MCLDFile.h | 61 const sys::fs::Path& pPath, 73 void setPath(const sys::fs::Path& pPath) argument 74 { m_Path = pPath; } 145 const sys::fs::Path& pPath, 157 const mcld::sys::fs::Path& pPath, 161 new (result) mcld::MCLDFile(pName, pPath, pType); 156 produce(llvm::StringRef pName, const mcld::sys::fs::Path& pPath, unsigned int pType) argument
|
H A D | ContextFactory.h | 42 LDContext* produce(const sys::fs::Path& pPath);
|
H A D | InputFactory.h | 45 const sys::fs::Path& pPath,
|
H A D | MCLDDirectory.h | 40 void setSysroot(const sys::fs::Path& pPath);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | DerivedPositionDependentOptions.h | 32 FileOption(unsigned pPosition, Type pType, const sys::fs::Path &pPath) argument 34 { m_Path.assign(pPath); } 54 BitcodeOption(unsigned pPosition, const sys::fs::Path &pPath) argument 55 : FileOption(pPosition, PositionDependentOption::BITCODE, pPath) { } 74 InputFileOption(unsigned pPosition, const sys::fs::Path &pPath) argument 75 : FileOption(pPosition, PositionDependentOption::INPUT_FILE, pPath) { }
|
H A D | Path.h | 71 Path& append(const Path& pPath); 122 bool exists(const Path &pPath); 124 bool is_directory(const Path &pPath); 127 std::ostream &operator<<(std::ostream& pOS, const Path& pPath); 129 std::istream &operator>>(std::istream& pOS, Path& pPath); 131 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 | MemoryAreaFactory.h | 50 MemoryArea* produce(const sys::fs::Path& pPath, 54 MemoryArea* produce(const sys::fs::Path& pPath,
|
H A D | RealPath.h | 35 explicit RealPath(const Path& pPath); 39 RealPath& assign(const Path& pPath);
|
H A D | FileHandle.h | 74 bool open(const sys::fs::Path& pPath, 77 bool open(const sys::fs::Path& pPath,
|
/frameworks/compile/libbcc/include/bcc/ |
H A D | Linker.h | 91 enum ErrorCode setOutput(const std::string &pPath); 100 enum ErrorCode openFile(const mcld::sys::fs::Path& pPath,
|
/frameworks/compile/mclinker/tools/mcld/include/alone/ |
H A D | Linker.h | 84 enum ErrorCode setOutput(const std::string &pPath); 93 enum ErrorCode openFile(const mcld::sys::fs::Path& pPath,
|