Searched refs:pName (Results 1 - 25 of 64) sorted by relevance

123

/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
H A DCompilerRTSymbolResolver.h29 virtual void *getAddress(const char *pName) { argument
31 if (pName && (pName[0] == '_') && (pName[1] == '_')) {
32 return DyldSymbolResolver::getAddress(pName);
H A DSymbolResolverInterface.h26 static void *LookupFunction(void *pResolver, const char *pName) { argument
29 return ((resolver != NULL) ? resolver->getAddress(pName) : NULL);
33 virtual void *getAddress(const char *pName) = 0;
H A DSymbolResolvers.h42 virtual void *getAddress(const char *pName);
77 virtual void *getAddress(const char *pName) { argument
82 const SymbolMap key = { pName, NULL };
92 if (::strcmp(Subclass::SymbolArray[i].mName, pName) == 0) {
106 typedef void *(*LookupFunctionTy)(ContextTy pContext, const char *pName);
117 virtual void *getAddress(const char *pName) { argument
118 return ((mLookupFunc != NULL) ? mLookupFunc(mContext, pName) : NULL);
H A DObjectLoader.h48 // Load from a in-memory object. pName is a descriptive name of this memory.
49 static ObjectLoader *Load(void *pMemStart, size_t pMemSize, const char *pName,
58 void *getSymbolAddress(const char *pName) const;
60 size_t getSymbolSize(const char *pName) const;
H A DSymbolResolverProxy.h36 virtual void *getAddress(const char *pName);
/frameworks/compile/mclinker/lib/Support/
H A DDemangle.cpp19 std::string demangleName(const std::string& pName) { argument
23 if (pName.substr(0, 2) != "_Z")
24 return pName;
29 char* buffer = abi::__cxa_demangle(pName.c_str(), /*buffer=*/0,
32 return pName;
39 return pName;
43 bool isCtorOrDtor(const char* pName, size_t pLength) argument
56 demangle(pName, pName + pLength, db, internal_status);
65 demangle(pName, pNam
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DMCLDDirectory.h27 MCLDDirectory(const char* pName);
28 MCLDDirectory(const std::string& pName);
29 MCLDDirectory(llvm::StringRef pName);
33 MCLDDirectory &assign(llvm::StringRef pName);
H A DInput.h46 explicit Input(llvm::StringRef pName);
48 Input(llvm::StringRef pName,
51 Input(llvm::StringRef pName,
56 Input(llvm::StringRef pName,
67 void setName(const std::string& pName) argument
68 { m_Name = pName; }
H A DInputBuilder.h56 InputTree& createNode(const std::string& pName,
61 Input* createInput(const std::string& pName,
105 InputBuilder::createNode<InputTree::Inclusive>(const std::string& pName, argument
111 Input* input = createInput(pName, pPath, pType);
120 InputBuilder::createNode<InputTree::Positional>(const std::string& pName, argument
126 Input* input = createInput(pName, pPath, pType);
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSymbolResolverProxy.cpp21 void *SymbolResolverProxy::getAddress(const char *pName) { argument
24 void *addr = mChain[i]->getAddress(pName);
H A DObjectLoader.cpp30 const char *pName,
38 pName, pMemStart, static_cast<unsigned>(pMemSize));
45 ALOGE("Out of memory when create object loader for %s!", pName);
54 ALOGE("Out of memory when create ELF object loader for %s", pName);
60 ALOGE("Failed to load %s!", pName);
66 ALOGE("Error occurred when performs relocation on %s!", pName);
86 "failure debug image preparation!", pName);
151 void *ObjectLoader::getSymbolAddress(const char *pName) const {
152 return mImpl->getSymbolAddress(pName);
155 size_t ObjectLoader::getSymbolSize(const char *pName) cons
29 Load(void *pMemStart, size_t pMemSize, const char *pName, SymbolResolverInterface &pResolver, bool pEnableGDBDebug) argument
[all...]
H A DObjectLoaderImpl.h41 virtual void *getSymbolAddress(const char *pName) const = 0;
43 virtual size_t getSymbolSize(const char *pName) const = 0;
/frameworks/compile/mclinker/lib/MC/
H A DInput.cpp18 Input::Input(llvm::StringRef pName) argument
20 m_Name(pName.data()),
30 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) argument
32 m_Name(pName.data()),
42 Input::Input(llvm::StringRef pName, argument
47 m_Name(pName.data()),
57 Input::Input(llvm::StringRef pName, argument
63 m_Name(pName.data()),
H A DMCLDDirectory.cpp22 MCLDDirectory::MCLDDirectory(const char* pName) argument
23 : Directory(), m_Name(pName) {
24 Directory::m_Path.assign(pName);
36 MCLDDirectory::MCLDDirectory(const std::string &pName) argument
37 : Directory(), m_Name(pName) {
38 Directory::m_Path.assign(pName);
50 MCLDDirectory::MCLDDirectory(llvm::StringRef pName) argument
51 : Directory(), m_Name(pName.data(), pName.size()) {
52 Directory::m_Path.assign(pName
64 assign(llvm::StringRef pName) argument
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DInputToken.cpp21 InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded) argument
22 : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded)
H A DFileToken.cpp25 FileToken::FileToken(const std::string& pName, bool pAsNeeded) argument
26 : InputToken(InputToken::File, pName, pAsNeeded)
34 FileToken* FileToken::create(const std::string& pName, bool pAsNeeded) argument
37 new (result) FileToken(pName, pAsNeeded);
H A DNameSpec.cpp25 NameSpec::NameSpec(const std::string& pName, bool pAsNeeded) argument
26 : InputToken(InputToken::NameSpec, pName, pAsNeeded)
34 NameSpec* NameSpec::create(const std::string& pName, bool pAsNeeded) argument
37 new (result) NameSpec(pName, pAsNeeded);
/frameworks/compile/mclinker/include/mcld/Support/
H A DDemangle.h18 bool isCtorOrDtor(const char* pName, size_t pLength);
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp42 LDSection* LDContext::getSection(const std::string& pName) argument
46 if(NULL != *sect_iter && (*sect_iter)->name() == pName)
52 const LDSection* LDContext::getSection(const std::string& pName) const
56 if(NULL != *sect_iter && (*sect_iter)->name() == pName)
62 size_t LDContext::getSectionIdx(const std::string& pName) const
67 if (m_SectionTable[result]->name() == pName)
87 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) argument
92 if (m_SymTab[sym]->name() == pName)
97 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const
102 if (m_SymTab[sym]->name() == pName)
[all...]
H A DNamePool.cpp33 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, argument
42 (*result) = ResolveInfo::Create(pName);
56 void NamePool::insertSymbol(const llvm::StringRef& pName, argument
72 ResolveInfo* old_symbol = m_Table.insert(pName, exist);
75 new_symbol = m_Table.getEntryFactory().produce(pName);
137 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) argument
139 Table::iterator iter = m_Table.find(pName);
144 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const
146 Table::const_iterator iter = m_Table.find(pName);
151 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Script/
H A DFileToken.h29 FileToken(const std::string& pName, bool pAsNeeded);
40 static FileToken* create(const std::string& pName, bool pAsNeeded);
H A DNameSpec.h29 NameSpec(const std::string& pName, bool pAsNeeded);
40 static NameSpec* create(const std::string& pName, bool pAsNeeded);
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDContext.h54 const LDSection* getSection(const std::string& pName) const;
55 LDSection* getSection(const std::string& pName);
57 size_t getSectionIdx(const std::string& pName) const;
66 const LDSymbol* getSymbol(const llvm::StringRef& pName) const;
67 LDSymbol* getSymbol(const llvm::StringRef& pName);
H A DNamePool.h56 ResolveInfo* createSymbol(const llvm::StringRef& pName,
70 void insertSymbol(const llvm::StringRef& pName,
82 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
83 LDSymbol* findSymbol(const llvm::StringRef& pName);
86 const ResolveInfo* findInfo(const llvm::StringRef& pName) const;
87 ResolveInfo* findInfo(const llvm::StringRef& pName);
/frameworks/compile/mclinker/lib/Core/
H A DModule.cpp30 Module::Module(const std::string& pName, LinkerScript& pScript) argument
31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) {
39 LDSection* Module::getSection(const std::string& pName) argument
43 if ((*sect)->name() == pName)
49 const LDSection* Module::getSection(const std::string& pName) const
53 if ((*sect)->name() == pName)

Completed in 983 milliseconds

123