Searched defs:pPath (Results 1 - 20 of 20) sorted by relevance

/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 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
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 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 DInputTree.cpp47 const sys::fs::Path& pPath,
51 node->data = m_FileFactory.produce(pNamespec, pPath, pType);
44 insert(TreeIteratorBase pRoot, const InputTree::Mover& pMover, const std::string& pNamespec, const sys::fs::Path& pPath, unsigned int pType) argument
/frameworks/compile/mclinker/lib/Support/
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 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 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 DDirectory.cpp40 Directory::Directory(const Path& pPath, argument
43 : m_Path(pPath),
81 void Directory::assign(const Path& pPath, argument
88 m_Path = pPath;
H A DFileHandle.cpp70 bool FileHandle::open(const sys::fs::Path& pPath, argument
79 m_Handler = ::open(pPath.native().c_str(), oflag(pMode));
80 m_Path = pPath;
95 bool FileHandle::open(const sys::fs::Path& pPath, argument
105 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), (int)pPerm);
106 m_Path = 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...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DMsgHandler.h64 operator<<(const MsgHandler& pHandler, const sys::fs::Path& pPath) argument
66 pHandler.addString(pPath.native());
/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) { }
/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/libbcc/lib/Core/
H A DLinker.cpp151 enum Linker::ErrorCode Linker::openFile(const mcld::sys::fs::Path& pPath, argument
154 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pPath,
163 mcld::LDContext *input_context = mLDInfo->contextFactory().produce(pPath);
296 enum Linker::ErrorCode Linker::setOutput(const std::string &pPath) { argument
306 pPath,
324 mLDInfo->output().setContext(mLDInfo->contextFactory().produce(pPath));
H A DSource.cpp84 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { argument
87 llvm::error_code ec = llvm::MemoryBuffer::getFile(pPath, input_data);
89 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputTree.h151 const sys::fs::Path& pPath,
168 const sys::fs::Path& pPath,
205 const mcld::sys::fs::Path& pPath,
209 node->data = m_FileFactory.produce(pNamespec, pPath, pType);
203 insert(mcld::TreeIteratorBase pRoot, const std::string& pNamespec, const mcld::sys::fs::Path& pPath, unsigned int pType) argument
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
/frameworks/compile/mclinker/tools/mcld/lib/Core/
H A DLinker.cpp144 enum Linker::ErrorCode Linker::openFile(const mcld::sys::fs::Path& pPath, argument
147 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pPath,
156 mcld::LDContext *input_context = mLDInfo->contextFactory().produce(pPath);
289 enum Linker::ErrorCode Linker::setOutput(const std::string &pPath) { argument
299 pPath,
317 mLDInfo->output().setContext(mLDInfo->contextFactory().produce(pPath));

Completed in 2768 milliseconds