Home
last modified time | relevance | path

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

12

/frameworks/compile/mclinker/include/mcld/Support/
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.native();
DFileSystem.h73 bool exists(const Path& pPath);
74 bool is_directory(const Path& pPath);
94 int open(const Path& pPath, int pOFlag);
95 int open(const Path& pPath, int pOFlag, int pPermission);
DMemoryAreaFactory.h45 MemoryArea* produce(const sys::fs::Path& pPath, FileHandle::OpenMode pMode);
48 MemoryArea* produce(const sys::fs::Path& pPath,
DDirectory.h48 explicit Directory(const Path& pPath,
52 explicit Directory(const char* pPath,
68 void assign(const Path& pPath,
DRealPath.h32 explicit RealPath(const Path& pPath);
36 RealPath& assign(const Path& pPath);
/frameworks/compile/mclinker/lib/MC/
DContextFactory.cpp24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { in produce() argument
25 LDContext* result = find(pPath); in produce()
29 f_KeyMap.insert(std::make_pair(pPath, result)); in produce()
34 LDContext* ContextFactory::produce(const char* pPath) { in produce() argument
35 return produce(sys::fs::Path(pPath)); in produce()
DInputFactory.cpp34 const sys::fs::Path& pPath, in produce() argument
38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset); in produce()
43 const char* pPath, in produce() argument
47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset); in produce()
DInput.cpp44 const sys::fs::Path& pPath, in Input() argument
49 m_Path(pPath), in Input()
59 const sys::fs::Path& pPath, in Input() argument
65 m_Path(pPath), in Input()
DSearchDirs.cpp47 bool SearchDirs::insert(const std::string& pPath) { in insert() argument
48 MCLDDirectory* dir = new MCLDDirectory(pPath); in insert()
62 bool SearchDirs::insert(const char* pPath) { in insert() argument
63 return insert(std::string(pPath)); in insert()
66 bool SearchDirs::insert(const sys::fs::Path& pPath) { in insert() argument
67 return insert(pPath.native()); in insert()
DCommandAction.cpp26 const sys::fs::Path& pPath) in InputFileAction() argument
27 : InputAction(pPosition), m_Path(pPath) { in InputFileAction()
31 const char* pPath) in InputFileAction() argument
32 : InputAction(pPosition), m_Path(pPath) { in InputFileAction()
81 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath) in BitcodeAction() argument
82 : InputAction(pPosition), m_Path(pPath) { in BitcodeAction()
/frameworks/compile/mclinker/lib/Support/
DPath.cpp89 Path& Path::append(const Path& pPath) { in append() argument
92 pPath.native()[0] == separator) { in append()
93 llvm::StringRef path(pPath.native()); in append()
96 pPath.native()[0] != separator) { in append()
99 m_PathName.append(pPath.native()); in append()
102 m_PathName.append(pPath.native()); in append()
108 Path& Path::append(const StringType& pPath) { in append() argument
109 Path path(pPath); in append()
DFileSystem.cpp16 bool mcld::sys::fs::exists(const Path& pPath) { in exists() argument
18 mcld::sys::fs::detail::status(pPath, file_status); in exists()
23 bool mcld::sys::fs::is_directory(const Path& pPath) { in is_directory() argument
25 detail::status(pPath, file_status); in is_directory()
DRealPath.cpp29 RealPath::RealPath(const Path& pPath) : Path(pPath) { in RealPath() argument
36 RealPath& RealPath::assign(const Path& pPath) { in assign() argument
37 Path::m_PathName.assign(pPath.native()); in assign()
DMemoryAreaFactory.cpp25 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, in produce() argument
27 llvm::StringRef name(pPath.native()); in produce()
38 MemoryArea* MemoryAreaFactory::produce(const sys::fs::Path& pPath, in produce() argument
41 llvm::StringRef name(pPath.native()); in produce()
DDirectory.cpp43 Directory::Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) in Directory() argument
44 : m_Path(pPath), in Directory()
56 Directory::Directory(const char* pPath, FileStatus st, FileStatus symlink_st) in Directory() argument
57 : Directory(sys::fs::Path(pPath), st, symlink_st) { in Directory()
83 void Directory::assign(const Path& pPath, in assign() argument
89 m_Path = pPath; in assign()
DFileHandle.cpp76 bool FileHandle::open(const sys::fs::Path& pPath, in open() argument
86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); in open()
88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), in open()
91 m_Path = pPath; in open()
/frameworks/compile/mclinker/include/mcld/MC/
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);
DInput.h51 const sys::fs::Path& pPath,
56 const sys::fs::Path& pPath,
69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } in setPath() argument
DContextFactory.h37 LDContext* produce(const sys::fs::Path& pPath);
38 LDContext* produce(const char* pPath);
DInputFactory.h40 const sys::fs::Path& pPath,
45 const char* pPath,
DCommandAction.h30 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath);
32 InputFileAction(unsigned int pPosition, const char* pPath);
61 BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath);
/frameworks/compile/mclinker/lib/Script/
DSearchDirCmd.cpp20 SearchDirCmd::SearchDirCmd(const std::string& pPath) in SearchDirCmd() argument
21 : ScriptCommand(ScriptCommand::SEARCH_DIR), m_Path(pPath) { in SearchDirCmd()
/frameworks/compile/libbcc/lib/Core/
DSource.cpp87 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile() argument
90 llvm::MemoryBuffer::getFile(pPath); in CreateFromFile()
92 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(), in CreateFromFile()
105 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, /* pNoDelete */false); in CreateFromFile()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc72 int open(const Path& pPath, int pOFlag) {
73 return ::_open(pPath.native().c_str(), pOFlag | _O_BINARY);
76 int open(const Path& pPath, int pOFlag, int pPerm) {
86 return ::_open(pPath.native().c_str(), pOFlag | _O_BINARY, perm);
/frameworks/compile/mclinker/include/mcld/LD/
DMsgHandler.h59 const sys::fs::Path& pPath) {
60 pHandler.addString(pPath.native());

12