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

123

/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;
30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status);
32 return pName;
39 return pName;
43 bool isCtorOrDtor(const char* pName, size_t pLength) { argument
55 demangle(pName, pName + pLength, db, internal_status);
62 demangle(pName, pNam
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DMCLDDirectory.h27 explicit MCLDDirectory(const char* pName);
28 explicit MCLDDirectory(const std::string& pName);
29 explicit MCLDDirectory(llvm::StringRef pName);
33 MCLDDirectory& assign(llvm::StringRef pName);
H A DInput.h46 explicit Input(llvm::StringRef pName);
48 Input(llvm::StringRef pName, const AttributeProxy& pAttr);
50 Input(llvm::StringRef pName,
55 Input(llvm::StringRef pName,
65 void setName(const std::string& pName) { m_Name = pName; } argument
H A DInputBuilder.h55 InputTree& createNode(const std::string& pName,
60 Input* createInput(const std::string& pName,
104 const std::string& pName,
109 Input* input = createInput(pName, pPath, pType);
119 const std::string& pName,
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 DInputFactory.h39 Input* produce(llvm::StringRef pName,
44 Input* produce(llvm::StringRef pName,
/frameworks/compile/mclinker/lib/MC/
H A DInput.cpp19 Input::Input(llvm::StringRef pName) argument
21 m_Name(pName.data()),
31 Input::Input(llvm::StringRef pName, const AttributeProxy& pProxy) argument
33 m_Name(pName.data()),
43 Input::Input(llvm::StringRef pName, argument
48 m_Name(pName.data()),
58 Input::Input(llvm::StringRef pName, argument
64 m_Name(pName.data()),
H A DMCLDDirectory.cpp20 MCLDDirectory::MCLDDirectory(const char* pName) : Directory(), m_Name(pName) { argument
21 Directory::m_Path.assign(pName);
33 MCLDDirectory::MCLDDirectory(const std::string& pName) argument
34 : Directory(), m_Name(pName) {
35 Directory::m_Path.assign(pName);
47 MCLDDirectory::MCLDDirectory(llvm::StringRef pName) argument
48 : Directory(), m_Name(pName.data(), pName.size()) {
49 Directory::m_Path.assign(pName
61 assign(llvm::StringRef pName) argument
[all...]
H A DInputFactory.cpp33 Input* InputFactory::produce(llvm::StringRef pName, argument
38 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset);
42 Input* InputFactory::produce(llvm::StringRef pName, argument
47 new (result) Input(pName, sys::fs::Path(pPath), *m_pLast, pType, pFileOffset);
/frameworks/compile/mclinker/lib/Script/
H A DInputToken.cpp19 InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded) argument
20 : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded) {
H A DFileToken.cpp26 FileToken::FileToken(const std::string& pName, bool pAsNeeded) argument
27 : InputToken(InputToken::File, pName, pAsNeeded) {
33 FileToken* FileToken::create(const std::string& pName, bool pAsNeeded) { argument
35 new (result) FileToken(pName, pAsNeeded);
H A DNameSpec.cpp26 NameSpec::NameSpec(const std::string& pName, bool pAsNeeded) argument
27 : InputToken(InputToken::NameSpec, pName, pAsNeeded) {
33 NameSpec* NameSpec::create(const std::string& pName, bool pAsNeeded) { argument
35 new (result) NameSpec(pName, pAsNeeded);
/frameworks/compile/mclinker/include/mcld/Support/
H A DDemangle.h18 bool isCtorOrDtor(const char* pName, size_t pLength);
H A DTargetRegistry.h54 const char* pName,
122 RegisterTarget(mcld::Target& pTarget, const char* pName) { argument
126 if (strcmp((*target)->name(), pName) == 0)
130 TargetRegistry::RegisterTarget(pTarget, pName, &getTripleMatchQuality);
/frameworks/compile/mclinker/include/mcld/Script/
H A DFileToken.h27 FileToken(const std::string& pName, bool pAsNeeded);
37 static FileToken* create(const std::string& pName, bool pAsNeeded);
H A DNameSpec.h27 NameSpec(const std::string& pName, bool pAsNeeded);
37 static NameSpec* create(const std::string& pName, bool pAsNeeded);
H A DInputToken.h26 InputToken(Type pType, const std::string& pName, bool pAsNeeded);
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp40 LDSection* LDContext::getSection(const std::string& pName) { argument
43 if (*sect_iter != NULL && (*sect_iter)->name() == pName)
49 const LDSection* LDContext::getSection(const std::string& pName) const {
52 if (*sect_iter != NULL && (*sect_iter)->name() == pName)
58 size_t LDContext::getSectionIdx(const std::string& pName) const {
62 if (m_SectionTable[result]->name() == pName)
79 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) { argument
83 if (m_SymTab[sym]->name() == pName)
88 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const {
92 if (m_SymTab[sym]->name() == pName)
[all...]
H A DNamePool.cpp34 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, argument
42 (*result) = ResolveInfo::Create(pName);
56 void NamePool::insertSymbol(const llvm::StringRef& pName, argument
71 ResolveInfo* old_symbol = m_Table.insert(pName, exist);
74 new_symbol = m_Table.getEntryFactory().produce(pName);
130 ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) { argument
131 Table::iterator iter = m_Table.find(pName);
136 const ResolveInfo* NamePool::findInfo(const llvm::StringRef& pName) const {
137 Table::const_iterator iter = m_Table.find(pName);
142 LDSymbol* NamePool::findSymbol(const llvm::StringRef& pName) { argument
[all...]
H A DLDSection.cpp39 LDSection::LDSection(const std::string& pName, argument
45 : m_Name(pName),
66 LDSection* LDSection::Create(const std::string& pName, argument
73 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr);
/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) {
38 LDSection* Module::getSection(const std::string& pName) { argument
41 if ((*sect)->name() == pName)
47 const LDSection* Module::getSection(const std::string& pName) const {
50 if ((*sect)->name() == pName)
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDContext.h55 const LDSection* getSection(const std::string& pName) const;
56 LDSection* getSection(const std::string& pName);
58 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.h52 const llvm::StringRef& pName,
66 void insertSymbol(const llvm::StringRef& pName,
78 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
79 LDSymbol* findSymbol(const llvm::StringRef& pName);
82 const ResolveInfo* findInfo(const llvm::StringRef& pName) const;
83 ResolveInfo* findInfo(const llvm::StringRef& pName);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64CA53Erratum843419Stub2.cpp40 const char* pName,
43 : AArch64CA53ErratumStub(pData, pSize, pName, pBegin, pEnd) {
37 AArch64CA53Erratum843419Stub2( const uint32_t* pData, size_t pSize, const char* pName, const_fixup_iterator pBegin, const_fixup_iterator pEnd) argument
/frameworks/compile/mclinker/include/mcld/
H A DIRBuilder.h81 /// @param pName [in] The name of the input file.
87 Input* CreateInput(const std::string& pName,
95 /// @ref IRBuilder::CreateInput(pName, pPath, Input::Unknown);
102 /// @param pName [in] The name of the input file.
105 Input* ReadInput(const std::string& pName, const sys::fs::Path& pPath);
128 /// @param [in] pName The name of the input file
132 Input* ReadInput(const std::string& pName, void* pRawMemory, size_t pSize);
214 /// @param pName [in] The name of the section.
223 const std::string& pName,
369 /// @param [in] pName Th
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerPresubmitTest.java89 String pName = packageInfo.requestedPermissions[i];
93 PermissionInfo permissionInfo = mPackageManager.getPermissionInfo(pName, 0);
106 assertTrue("Permission " + pName + " should be declared in "
109 privAppPermissions != null && privAppPermissions.contains(pName));
111 assertTrue("Permission " + pName + " should be granted to " + packageName, granted);

Completed in 283 milliseconds

123