Home
last modified time | relevance | path

Searched refs:pPath (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/
DHandleToArea.cpp42 bool HandleToArea::erase(const sys::fs::Path& pPath) in erase() argument
45 llvm::StringRef(pPath.native().c_str(), in erase()
46 pPath.native().size())); in erase()
50 if (bucket->hash_value == hash_value && bucket->handle->path() == pPath) { in erase()
60 HandleToArea::Result HandleToArea::findFirst(const sys::fs::Path& pPath) in findFirst() argument
62 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(), in findFirst()
63 pPath.native().size())); in findFirst()
69 if (bucket->handle->path() == pPath) { in findFirst()
78 HandleToArea::ConstResult HandleToArea::findFirst(const sys::fs::Path& pPath) const in findFirst()
80 unsigned int hash_value = HashFunction()(llvm::StringRef(pPath.native().c_str(), in findFirst()
[all …]
DMemoryAreaFactory.cpp35 MemoryAreaFactory::produce(const sys::fs::Path& pPath, in produce() argument
38 HandleToArea::Result map_result = m_HandleToArea.findFirst(pPath); in produce()
42 if (!handler->open(pPath, pMode)) { in produce()
43 error(diag::err_cannot_open_file) << pPath in produce()
58 MemoryAreaFactory::produce(const sys::fs::Path& pPath, in produce() argument
62 HandleToArea::Result map_result = m_HandleToArea.findFirst(pPath); in produce()
66 if (!handler->open(pPath, pMode, pPerm)) { in produce()
67 error(diag::err_cannot_open_file) << pPath in produce()
DToolOutputFile.cpp28 ToolOutputFile::CleanupInstaller::CleanupInstaller(const sys::fs::Path& pPath) in CleanupInstaller() argument
29 : Keep(false), m_Path(pPath) { in CleanupInstaller()
52 ToolOutputFile::ToolOutputFile(const sys::fs::Path& pPath, in ToolOutputFile() argument
55 : m_Installer(pPath), in ToolOutputFile()
60 if (!m_FileHandle.open(pPath, pMode, pPermission)) { in ToolOutputFile()
64 << pPath in ToolOutputFile()
DFileSystem.cpp16 bool mcld::sys::fs::exists(const Path &pPath) in exists() argument
19 mcld::sys::fs::detail::status(pPath, file_status); in exists()
24 bool mcld::sys::fs::is_directory(const Path &pPath) in is_directory() argument
27 detail::status(pPath, file_status); in is_directory()
DRealPath.cpp30 RealPath::RealPath(const Path& pPath) in RealPath() argument
31 : Path(pPath) { in RealPath()
39 RealPath& RealPath::assign(const Path& pPath) in assign() argument
41 Path::m_PathName.assign(pPath.native()); in assign()
DPath.cpp98 Path& Path::append(const Path& pPath) in append() argument
102 pPath.native()[0] == separator) { in append()
104 unsigned int new_size = old_size + pPath.native().size(); in append()
107 strcpy(const_cast<ValueType*>(m_PathName.data()+old_size), pPath.native().data()); in append()
111 pPath.native()[0] != separator) { in append()
113 m_PathName.append(pPath.native()); in append()
117 m_PathName.append(pPath.native()); in append()
DDirectory.cpp44 Directory::Directory(const Path& pPath, in Directory() argument
47 : m_Path(pPath), in Directory()
85 void Directory::assign(const Path& pPath, in assign() argument
92 m_Path = pPath; in assign()
DFileHandle.cpp78 bool FileHandle::open(const sys::fs::Path& pPath, in open() argument
89 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); in open()
91 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), (int)pPerm); in open()
93 m_Path = pPath; in open()
/frameworks/compile/mclinker/include/mcld/Support/
DPath.h68 Path& append(const Path& pPath);
107 bool exists(const Path &pPath);
109 bool is_directory(const Path &pPath);
113 operator<<(std::basic_ostream<Char, Traits>& pOS, const Path& pPath)
115 return pOS << pPath.native();
120 operator>>(std::basic_istream<Char, Traits>& pOS, Path& pPath)
122 return pOS >> pPath.native();
126 operator<<(llvm::raw_ostream& pOS, const Path& pPath)
128 return pOS << pPath.native();
DFileSystem.h80 bool exists(const Path &pPath);
81 bool is_directory(const Path &pPath);
101 int open(const Path& pPath, int pOFlag);
102 int open(const Path& pPath, int pOFlag, int pPermission);
DHandleToArea.h82 bool erase(const sys::fs::Path& pPath);
84 Result findFirst(const sys::fs::Path& pPath);
86 ConstResult findFirst(const sys::fs::Path& pPath) const;
DMemoryAreaFactory.h49 MemoryArea* produce(const sys::fs::Path& pPath,
53 MemoryArea* produce(const sys::fs::Path& pPath,
DToolOutputFile.h39 ToolOutputFile(const sys::fs::Path& pPath,
62 explicit CleanupInstaller(const sys::fs::Path& pPath);
DRealPath.h35 explicit RealPath(const Path& pPath);
39 RealPath& assign(const Path& pPath);
/frameworks/compile/mclinker/include/mcld/MC/
DInputBuilder.h61 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);
DMCLDInput.h54 const sys::fs::Path& pPath,
59 const sys::fs::Path& pPath,
75 void setPath(const sys::fs::Path& pPath) in setPath() argument
76 { m_Path = pPath; } in setPath()
/frameworks/compile/mclinker/lib/MC/
DMCLDInput.cpp42 const sys::fs::Path& pPath, in Input() argument
47 m_Path(pPath), in Input()
56 const sys::fs::Path& pPath, in Input() argument
62 m_Path(pPath), in Input()
DSearchDirs.cpp49 bool SearchDirs::insert(const std::string& pPath) in insert() argument
51 MCLDDirectory* dir = new MCLDDirectory(pPath); in insert()
66 bool SearchDirs::insert(const char* pPath) in insert() argument
68 return insert(std::string(pPath)); in insert()
71 bool SearchDirs::insert(const sys::fs::Path& pPath) in insert() argument
73 return insert(pPath.native()); in insert()
DContextFactory.cpp25 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) in produce() argument
27 LDContext* result = find(pPath); in produce()
31 f_KeyMap.insert(std::make_pair(pPath, result)); in produce()
DCommandAction.cpp23 const sys::fs::Path &pPath) in InputFileAction() argument
24 : InputAction(pPosition), m_Path(pPath) { in InputFileAction()
77 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path &pPath) in BitcodeAction() argument
78 : InputAction(pPosition), m_Path(pPath) { in BitcodeAction()
DInputFactory.cpp35 const sys::fs::Path& pPath, in produce() argument
40 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); in produce()
/frameworks/compile/mclinker/include/mcld/
DBitcodeOption.h33 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } in setPath() argument
/frameworks/compile/libbcc/lib/Core/
DSource.cpp89 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile() argument
92 llvm::error_code ec = llvm::MemoryBuffer::getFile(pPath, input_data); in CreateFromFile()
94 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(), in CreateFromFile()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc72 int open(const Path& pPath, int pOFlag)
74 return ::_open(pPath.native().c_str(), pOFlag | _O_BINARY);
77 int open(const Path& pPath, int pOFlag, int pPerm)
90 return ::_open(pPath.native().c_str(), pOFlag | _O_BINARY, perm);
/frameworks/compile/mclinker/include/mcld/LD/
DMsgHandler.h63 operator<<(const MsgHandler& pHandler, const sys::fs::Path& pPath)
65 pHandler.addString(pPath.native());

12