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

/frameworks/compile/mclinker/lib/Support/
H A DFileSystem.cpp16 bool mcld::sys::fs::exists(const Path& pPath) { argument
18 mcld::sys::fs::detail::status(pPath, file_status);
23 bool mcld::sys::fs::is_directory(const Path& pPath) { argument
25 detail::status(pPath, file_status);
H A DMemoryAreaFactory.cpp25 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument
27 llvm::StringRef name(pPath.native());
38 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, argument
41 llvm::StringRef name(pPath.native());
H A DRealPath.cpp29 RealPath::RealPath(const Path& pPath) : Path(pPath) { argument
36 RealPath& RealPath::assign(const Path& pPath) { argument
37 Path::m_PathName.assign(pPath.native());
H A DDirectory.cpp43 Directory::Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) argument
44 : m_Path(pPath),
56 Directory::Directory(const char* pPath, FileStatus st, FileStatus symlink_st) argument
57 : Directory(sys::fs::Path(pPath), st, symlink_st) {
83 void Directory::assign(const Path& pPath, argument
89 m_Path = pPath;
H A DFileHandle.cpp76 bool FileHandle::open(const sys::fs::Path& pPath, argument
86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode));
88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode),
91 m_Path = pPath;
H A DPath.cpp89 Path& Path::append(const Path& pPath) { argument
92 pPath.native()[0] == separator) {
93 llvm::StringRef path(pPath.native());
96 pPath.native()[0] != separator) {
99 m_PathName.append(pPath.native());
102 m_PathName.append(pPath.native());
108 Path& Path::append(const StringType& pPath) { argument
109 Path path(pPath);
/frameworks/compile/mclinker/lib/MC/
H A DContextFactory.cpp24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { argument
25 LDContext* result = find(pPath);
29 f_KeyMap.insert(std::make_pair(pPath, result));
34 LDContext* ContextFactory::produce(const char* pPath) { argument
35 return produce(sys::fs::Path(pPath));
H A DInput.cpp44 const sys::fs::Path& pPath,
49 m_Path(pPath),
59 const sys::fs::Path& pPath,
65 m_Path(pPath),
43 Input(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument
58 Input(llvm::StringRef pName, const sys::fs::Path& pPath, const AttributeProxy& pProxy, unsigned int pType, off_t pFileOffset) argument
H A DInputFactory.cpp34 const sys::fs::Path& pPath,
38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset);
43 const char* pPath,
47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset);
33 produce(llvm::StringRef pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument
42 produce(llvm::StringRef pName, const char* pPath, unsigned int pType, off_t pFileOffset) argument
H A DSearchDirs.cpp47 bool SearchDirs::insert(const std::string& pPath) { argument
48 MCLDDirectory* dir = new MCLDDirectory(pPath);
62 bool SearchDirs::insert(const char* pPath) { argument
63 return insert(std::string(pPath));
66 bool SearchDirs::insert(const sys::fs::Path& pPath) { argument
67 return insert(pPath.native());
H A DCommandAction.cpp26 const sys::fs::Path& pPath)
27 : InputAction(pPosition), m_Path(pPath) {
31 const char* pPath)
32 : InputAction(pPosition), m_Path(pPath) {
81 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath) argument
82 : InputAction(pPosition), m_Path(pPath) {
25 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath) argument
30 InputFileAction(unsigned int pPosition, const char* pPath) argument
H A DInputBuilder.cpp55 const sys::fs::Path& pPath,
58 return m_pInputFactory->produce(pName, pPath, pType, pFileOffset);
54 createInput(const std::string& pName, const sys::fs::Path& pPath, unsigned int pType, off_t pFileOffset) argument
/frameworks/compile/mclinker/lib/Script/
H A DSearchDirCmd.cpp20 SearchDirCmd::SearchDirCmd(const std::string& pPath) argument
21 : ScriptCommand(ScriptCommand::SEARCH_DIR), m_Path(pPath) {
H A DScriptFile.cpp132 void ScriptFile::addSearchDirCmd(const std::string& pPath) { argument
133 m_CommandQueue.push_back(new SearchDirCmd(pPath));
/frameworks/compile/mclinker/include/mcld/LD/
H A DMsgHandler.h59 const sys::fs::Path& pPath) {
60 pHandler.addString(pPath.native());
58 operator <<(const MsgHandler& pHandler, const sys::fs::Path& pPath) argument
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputBuilder.h56 const sys::fs::Path& pPath,
61 const sys::fs::Path& pPath,
105 const sys::fs::Path& pPath,
109 Input* input = createInput(pName, pPath, pType);
120 const sys::fs::Path& pPath,
124 Input* input = createInput(pName, pPath, pType);
103 createNode( const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument
118 createNode( const std::string& pName, const sys::fs::Path& pPath, unsigned int pType) argument
H A DInput.h51 const sys::fs::Path& pPath,
56 const sys::fs::Path& pPath,
69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } argument
/frameworks/compile/mclinker/include/mcld/Support/
H A DPath.h65 Path& append(const Path& pPath);
66 Path& append(const StringType& pPath);
104 bool exists(const Path& pPath);
106 bool is_directory(const Path& pPath);
111 const Path& pPath) {
112 return pOS << pPath.native();
118 Path& pPath) {
119 return pOS >> pPath.native();
123 const Path& pPath) {
124 return pOS << pPath
109 operator <<( std::basic_ostream<Char, Traits>& pOS, const Path& pPath) argument
116 operator >>( std::basic_istream<Char, Traits>& pOS, Path& pPath) argument
122 operator <<(llvm::raw_ostream& pOS, const Path& pPath) argument
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp255 bool Linker::emit(const Module& pModule, const std::string& pPath) { argument
274 bool result = file.open(sys::fs::Path(pPath), open_mode, permission);
276 error(diag::err_cannot_open_output_file) << "Linker::emit()" << pPath;
H A DIRBuilder.cpp124 const sys::fs::Path& pPath,
127 return ReadInput(pName, pPath);
129 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType);
140 const sys::fs::Path& pPath) {
142 pName, pPath, Input::Unknown);
123 CreateInput(const std::string& pName, const sys::fs::Path& pPath, Input::Type pType) argument
139 ReadInput(const std::string& pName, const sys::fs::Path& pPath) argument
/frameworks/compile/libbcc/lib/
H A DSource.cpp138 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { argument
141 llvm::MemoryBuffer::getFile(pPath);
143 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
165 Source *result = CreateFromModule(pContext, pPath.c_str(), *module,

Completed in 76 milliseconds