Searched refs:pPath (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/Unix/
H A DFileSystem.inc27 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 DHandleToArea.cpp41 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 DRealPath.cpp30 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 DMemoryAreaFactory.cpp41 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 DPath.cpp72 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 DDirectory.cpp40 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 DContextFactory.cpp25 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 DInputFactory.cpp25 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 DMCLDInput.cpp24 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 DMCLDFile.cpp29 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 DTestLinker.h53 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 DTestLinker.cpp135 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 DMCLDFile.h61 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 DContextFactory.h42 LDContext* produce(const sys::fs::Path& pPath);
H A DInputFactory.h45 const sys::fs::Path& pPath,
H A DMCLDDirectory.h40 void setSysroot(const sys::fs::Path& pPath);
/frameworks/compile/mclinker/include/mcld/Support/
H A DDerivedPositionDependentOptions.h32 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 DPath.h71 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 DHandleToArea.h83 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 DFileSystem.h80 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 DMemoryAreaFactory.h50 MemoryArea* produce(const sys::fs::Path& pPath,
54 MemoryArea* produce(const sys::fs::Path& pPath,
H A DRealPath.h35 explicit RealPath(const Path& pPath);
39 RealPath& assign(const Path& pPath);
H A DFileHandle.h74 bool open(const sys::fs::Path& pPath,
77 bool open(const sys::fs::Path& pPath,
/frameworks/compile/libbcc/include/bcc/
H A DLinker.h91 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 DLinker.h84 enum ErrorCode setOutput(const std::string &pPath);
93 enum ErrorCode openFile(const mcld::sys::fs::Path& pPath,

Completed in 60 milliseconds

12