Searched refs:pPath (Results 1 - 25 of 43) 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.cpp35 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 DPath.cpp73 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 DToolOutputFile.cpp50 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 DDirectory.cpp41 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 DBitcodeOption.h33 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } argument
H A DLinker.h56 /// 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 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 DMCLDInput.cpp42 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 DInputFactory.cpp35 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 DSearchDirs.cpp49 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 DCommandAction.cpp23 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 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);
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 DContextFactory.h42 LDContext* produce(const sys::fs::Path& pPath);
H A DMCLDDirectory.h40 void setSysroot(const sys::fs::Path& pPath);
H A DMCLDInput.h54 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 DInputFactory.h44 const sys::fs::Path& pPath,
/frameworks/compile/mclinker/include/mcld/Support/
H A DMemoryAreaFactory.h49 MemoryArea* produce(const sys::fs::Path& pPath,
53 MemoryArea* produce(const sys::fs::Path& pPath,
H A DPath.h71 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 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 DRealPath.h35 explicit RealPath(const Path& pPath);
39 RealPath& assign(const Path& pPath);
H A DToolOutputFile.h39 ToolOutputFile(const sys::fs::Path& pPath,

Completed in 196 milliseconds

12