Searched defs:pName (Results 1 - 25 of 40) sorted by relevance

12

/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);
/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 DSymbolResolvers.cpp84 void *DyldSymbolResolver::getAddress(const char *pName) { argument
86 return ::dlsym(mHandle, pName);
/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);
H A DOutputSectDesc.cpp25 OutputSectDesc::OutputSectDesc(const std::string& pName, argument
28 m_Name(pName),
/frameworks/compile/mclinker/lib/Core/
H A DGeneralOptions.cpp72 void GeneralOptions::setSOName(const std::string& pName) argument
74 size_t pos = pName.find_last_of(sys::fs::separator);
76 m_SOName = pName;
78 m_SOName = pName.substr(pos + 1);
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)
/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 DInputFactory.cpp34 Input* InputFactory::produce(llvm::StringRef pName, argument
40 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset);
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/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...]
H A DTargetRegistry.cpp19 const char* pName,
22 pTarget.Name = pName;
18 RegisterTarget(Target& pTarget, const char* pName, Target::TripleMatchQualityFnTy pQualityFn) argument
/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 DLDSection.cpp39 LDSection::LDSection(const std::string& pName, argument
45 : m_Name(pName),
68 LDSection* LDSection::Create(const std::string& pName, argument
76 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr);
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/MC/
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/wilhelm/src/itf/
H A DIAndroidEffectCapabilities.c45 SLchar * pName, SLuint16 *pNameSize) {
60 if ((NULL != pName) && (0 < *pNameSize)) {
62 strncpy((char*)pName, thiz->mFxDescriptors[index].name,
43 IAndroidEffectCapabilities_QueryEffect(SLAndroidEffectCapabilitiesItf self, SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, SLchar * pName, SLuint16 *pNameSize) argument
/frameworks/compile/mclinker/tools/mcld/
H A Dmain.cpp37 const char* pName,
55 llvm::cl::ParseCommandLineOptions(pArgc, pArgv, pName);
35 ConfigLinker(int pArgc, char* pArgv[], const char* pName, mcld::Module& pModule, mcld::LinkerScript& pScript, mcld::LinkerConfig& pConfig, mcld::IRBuilder& pBuilder, std::vector<mcld::InputAction*>& pInputActions) argument
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp61 const char *pName,
69 ALOGE("Unable to load bitcode `%s' from buffer!", pName);
167 Source *Source::CreateEmpty(BCCContext &pContext, const std::string &pName) { argument
170 new (std::nothrow) llvm::Module(pName, pContext.mImpl->mLLVMContext);
173 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str());
60 CreateFromBuffer(BCCContext &pContext, const char *pName, const char *pBitcode, size_t pBitcodeSize) argument
/frameworks/compile/mclinker/include/mcld/Support/
H A DTargetRegistry.h54 const char* pName,
147 RegisterTarget(mcld::Target &pTarget, const char* pName) { argument
151 if (0 == strcmp((*target)->name(), pName))
155 TargetRegistry::RegisterTarget(pTarget, pName, &getTripleMatchQuality);

Completed in 233 milliseconds

12