Home
last modified time | relevance | path

Searched refs:pName (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/compile/mclinker/lib/MC/
DMCLDDirectory.cpp22 MCLDDirectory::MCLDDirectory(const char* pName) in MCLDDirectory() argument
23 : Directory(), m_Name(pName) { in MCLDDirectory()
24 Directory::m_Path.assign(pName); in MCLDDirectory()
36 MCLDDirectory::MCLDDirectory(const std::string &pName) in MCLDDirectory() argument
37 : Directory(), m_Name(pName) { in MCLDDirectory()
38 Directory::m_Path.assign(pName); in MCLDDirectory()
50 MCLDDirectory::MCLDDirectory(llvm::StringRef pName) in MCLDDirectory() argument
51 : Directory(), m_Name(pName.data(), pName.size()) { in MCLDDirectory()
52 Directory::m_Path.assign(pName.str()); in MCLDDirectory()
64 MCLDDirectory &MCLDDirectory::assign(llvm::StringRef pName) in assign() argument
[all …]
DMCLDInput.cpp19 Input::Input(llvm::StringRef pName) in Input() argument
21 m_Name(pName.data()), in Input()
30 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) in Input() argument
32 m_Name(pName.data()), in Input()
41 Input::Input(llvm::StringRef pName, in Input() argument
46 m_Name(pName.data()), in Input()
55 Input::Input(llvm::StringRef pName, in Input() argument
61 m_Name(pName.data()), in Input()
/frameworks/base/media/jni/mediaeditor/
DVideoEditorJava.cpp127 const char* pName, in videoEditJava_getClass() argument
135 "videoEditJava_getClass(%s)", pName); in videoEditJava_getClass()
138 jclass clazz = pEnv->FindClass(pName); in videoEditJava_getClass()
156 "videoEditJava_getClass, error: unable to locate class %s", pName); in videoEditJava_getClass()
170 const char* pName, in videoEditJava_getMethodId() argument
179 "videoEditJava_getMethodId(%s,%s)", pName, pType); in videoEditJava_getMethodId()
182 jmethodID methodId = pEnv->GetMethodID(clazz, pName, pType); in videoEditJava_getMethodId()
201 pName, pType); in videoEditJava_getMethodId()
214 const char* pName, in videoEditJava_getFieldId() argument
223 "videoEditJava_getFieldId(%s,%s)", pName, pType); in videoEditJava_getFieldId()
[all …]
DVideoEditorJava.h298 const char* pName; member
306 const char* pName; member
316 const char* pName; member
323 const char* pName; member
336 const char* pName; member
343 const char* pName; member
400 const char* pName,
408 const char* pName,
416 const char* pName,
446 const char* pName,
/frameworks/compile/libbcc/lib/ExecutionEngine/
DObjectLoader.cpp30 const char *pName, in Load() argument
38 pName, pMemStart, static_cast<unsigned>(pMemSize)); in Load()
45 ALOGE("Out of memory when create object loader for %s!", pName); in Load()
54 ALOGE("Out of memory when create ELF object loader for %s", pName); in Load()
60 ALOGE("Failed to load %s!", pName); in Load()
66 ALOGE("Error occurred when performs relocation on %s!", pName); in Load()
86 "failure debug image preparation!", pName); in Load()
151 void *ObjectLoader::getSymbolAddress(const char *pName) const { in getSymbolAddress()
152 return mImpl->getSymbolAddress(pName); in getSymbolAddress()
155 size_t ObjectLoader::getSymbolSize(const char *pName) const { in getSymbolSize()
[all …]
DELFObjectLoaderImpl.cpp102 void *ELFObjectLoaderImpl::getSymbolAddress(const char *pName) const { in getSymbolAddress()
107 const ELFSymbol<32> *symbol = mSymTab->getByName(pName); in getSymbolAddress()
109 ALOGV("Request symbol '%s' is not found in the object!", pName); in getSymbolAddress()
117 size_t ELFObjectLoaderImpl::getSymbolSize(const char *pName) const { in getSymbolSize()
122 const ELFSymbol<32> *symbol = mSymTab->getByName(pName); in getSymbolSize()
125 ALOGV("Request symbol '%s' is not found in the object!", pName); in getSymbolSize()
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp42 LDSection* LDContext::getSection(const std::string& pName) in getSection() argument
46 if(NULL != *sect_iter && (*sect_iter)->name() == pName) in getSection()
52 const LDSection* LDContext::getSection(const std::string& pName) const in getSection()
56 if(NULL != *sect_iter && (*sect_iter)->name() == pName) in getSection()
62 size_t LDContext::getSectionIdx(const std::string& pName) const in getSectionIdx()
67 if (m_SectionTable[result]->name() == pName) in getSectionIdx()
87 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) in getSymbol() argument
92 if (m_SymTab[sym]->name() == pName) in getSymbol()
97 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const in getSymbol()
102 if (m_SymTab[sym]->name() == pName) in getSymbol()
DNamePool.cpp33 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, in createSymbol() argument
42 (*result) = ResolveInfo::Create(pName); in createSymbol()
56 void NamePool::insertSymbol(const llvm::StringRef& pName, in insertSymbol() argument
71 ResolveInfo* old_symbol = m_Table.insert(pName, exist); in insertSymbol()
74 new_symbol = m_Table.getEntryFactory().produce(pName); in insertSymbol()
136 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) in findInfo() argument
138 Table::iterator iter = m_Table.find(pName); in findInfo()
143 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const in findInfo()
145 Table::const_iterator iter = m_Table.find(pName); in findInfo()
150 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) in findSymbol() argument
[all …]
DArchive.cpp124 bool Archive::addArchiveMember(const llvm::StringRef& pName, in addArchiveMember() argument
129 ArchiveMemberEntryType* entry = m_ArchiveMemberMap.insert(pName, exist); in addArchiveMember()
143 bool Archive::hasArchiveMember(const llvm::StringRef& pName) const in hasArchiveMember()
145 return (m_ArchiveMemberMap.find(pName) != m_ArchiveMemberMap.end()); in hasArchiveMember()
149 Archive::ArchiveMember* Archive::getArchiveMember(const llvm::StringRef& pName) in getArchiveMember() argument
151 ArchiveMemberMapType::iterator it = m_ArchiveMemberMap.find(pName); in getArchiveMember()
190 void Archive::addSymbol(const char* pName, in addSymbol() argument
195 new (entry) Symbol(pName, pFileOffset, pStatus); in addSymbol()
255 const std::string& pName, in getMemberFile() argument
261 member = m_Builder.createInput(pName, pPath, Input::Unknown, pFileOffset); in getMemberFile()
[all …]
DLDSection.cpp39 LDSection::LDSection(const std::string& pName, in LDSection() argument
45 : m_Name(pName), in LDSection()
68 LDSection* LDSection::Create(const std::string& pName, in Create() argument
76 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); in Create()
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
DCompilerRTSymbolResolver.h29 virtual void *getAddress(const char *pName) { in getAddress() argument
31 if (pName && (pName[0] == '_') && (pName[1] == '_')) { in getAddress()
32 return DyldSymbolResolver::getAddress(pName); in getAddress()
DSymbolResolvers.h42 virtual void *getAddress(const char *pName);
77 virtual void *getAddress(const char *pName) { in getAddress() argument
82 const SymbolMap key = { pName, NULL }; in getAddress()
92 if (::strcmp(Subclass::SymbolArray[i].mName, pName) == 0) { in getAddress()
106 typedef void *(*LookupFunctionTy)(ContextTy pContext, const char *pName);
117 virtual void *getAddress(const char *pName) { in getAddress() argument
118 return ((mLookupFunc != NULL) ? mLookupFunc(mContext, pName) : NULL); in getAddress()
DSymbolResolverInterface.h26 static void *LookupFunction(void *pResolver, const char *pName) { in LookupFunction() argument
29 return ((resolver != NULL) ? resolver->getAddress(pName) : NULL); in LookupFunction()
33 virtual void *getAddress(const char *pName) = 0;
DObjectLoader.h49 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;
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h102 Input* CreateInput(const std::string& pName,
120 Input* ReadInput(const std::string& pName, const sys::fs::Path& pPath);
160 Input* ReadInput(const std::string& pName, void* pRawMemory, size_t pSize);
251 const std::string& pName,
405 const std::string& pName,
450 LDSymbol* AddSymbol(const llvm::StringRef& pName,
474 LDSymbol* addSymbolFromObject(const std::string& pName,
484 const std::string& pName,
501 const llvm::StringRef& pName,
512 const llvm::StringRef& pName,
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DNamePool.h52 ResolveInfo* createSymbol(const llvm::StringRef& pName,
66 void insertSymbol(const llvm::StringRef& pName,
77 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
78 LDSymbol* findSymbol(const llvm::StringRef& pName);
81 const ResolveInfo* findInfo(const llvm::StringRef& pName) const;
82 ResolveInfo* findInfo(const llvm::StringRef& pName);
DLDContext.h57 const LDSection* getSection(const std::string& pName) const;
58 LDSection* getSection(const std::string& pName);
60 size_t getSectionIdx(const std::string& pName) const;
69 const LDSymbol* getSymbol(const llvm::StringRef& pName) const;
70 LDSymbol* getSymbol(const llvm::StringRef& pName);
DArchive.h114 Symbol(const char* pName, in Symbol()
117 : name(pName), fileOffset(pOffset), status(pStatus) in Symbol()
178 bool addArchiveMember(const llvm::StringRef& pName,
183 bool hasArchiveMember(const llvm::StringRef& pName) const;
186 ArchiveMember* getArchiveMember(const llvm::StringRef& pName);
207 addSymbol(const char* pName,
240 const std::string& pName,
/frameworks/compile/mclinker/lib/Core/
DModule.cpp30 Module::Module(const std::string& pName, LinkerScript& pScript) in Module() argument
31 : m_Name(pName), m_Script(pScript), m_NamePool(1024) { in Module()
39 LDSection* Module::getSection(const std::string& pName) in getSection() argument
43 if ((*sect)->name() == pName) in getSection()
49 const LDSection* Module::getSection(const std::string& pName) const in getSection()
53 if ((*sect)->name() == pName) in getSection()
DIRBuilder.cpp24 LDFileFormat::Kind GetELFSectionKind(uint32_t pType, const char* pName, in GetELFSectionKind() argument
34 llvm::StringRef name(pName); in GetELFSectionKind()
90 fatal(diag::err_unsupported_section) << pName << pType; in GetELFSectionKind()
127 Input* IRBuilder::CreateInput(const std::string& pName, in CreateInput() argument
131 return ReadInput(pName, pPath); in CreateInput()
133 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, pType); in CreateInput()
144 IRBuilder::ReadInput(const std::string& pName, const sys::fs::Path& pPath) in ReadInput() argument
146 m_InputBuilder.createNode<InputTree::Positional>(pName, pPath, Input::Unknown); in ReadInput()
242 Input* IRBuilder::ReadInput(const std::string& pName, void* pRawMemory, size_t pSize) in ReadInput() argument
244 m_InputBuilder.createNode<InputTree::Positional>(pName, "NAN"); in ReadInput()
[all …]
DGeneralOptions.cpp78 void GeneralOptions::setSOName(const std::string& pName) in setSOName() argument
80 size_t pos = pName.find_last_of(sys::fs::separator); in setSOName()
82 m_SOName = pName; in setSOName()
84 m_SOName = pName.substr(pos + 1); in setSOName()
/frameworks/compile/mclinker/include/mcld/MC/
DMCLDInput.h48 explicit Input(llvm::StringRef pName);
50 Input(llvm::StringRef pName,
53 Input(llvm::StringRef pName,
58 Input(llvm::StringRef pName,
69 void setName(const std::string& pName) in setName() argument
70 { m_Name = pName; } in setName()
DMCLDDirectory.h30 MCLDDirectory(const char* pName);
31 MCLDDirectory(const std::string& pName);
32 MCLDDirectory(llvm::StringRef pName);
36 MCLDDirectory &assign(llvm::StringRef pName);
DInputBuilder.h60 InputTree& createNode(const std::string& pName,
65 Input* createInput(const std::string& pName,
109 InputBuilder::createNode<InputTree::Inclusive>(const std::string& pName,
115 Input* input = createInput(pName, pPath, pType);
124 InputBuilder::createNode<InputTree::Positional>(const std::string& pName,
130 Input* input = createInput(pName, pPath, pType);
/frameworks/compile/libbcc/lib/Core/
DSource.cpp62 const char *pName, in CreateFromBuffer() argument
70 ALOGE("Unable to load bitcode `%s' from buffer!", pName); in CreateFromBuffer()
159 Source *Source::CreateEmpty(BCCContext &pContext, const std::string &pName) { in CreateEmpty() argument
162 new (std::nothrow) llvm::Module(pName, pContext.mImpl->mLLVMContext); in CreateEmpty()
165 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str()); in CreateEmpty()

12