/frameworks/compile/mclinker/include/mcld/LD/ |
D | StaticResolver.h | 70 U = ResolveInfo::global_flag | ResolveInfo::regular_flag | ResolveInfo::undefine_flag, 71 w_U = ResolveInfo::weak_flag | ResolveInfo::regular_flag | ResolveInfo::undefine_flag, 72 d_U = ResolveInfo::global_flag | ResolveInfo::dynamic_flag | ResolveInfo::undefine_flag, 73 wd_U = ResolveInfo::weak_flag | ResolveInfo::dynamic_flag | ResolveInfo::undefine_flag, 74 D = ResolveInfo::global_flag | ResolveInfo::regular_flag | ResolveInfo::define_flag, 75 w_D = ResolveInfo::weak_flag | ResolveInfo::regular_flag | ResolveInfo::define_flag, 76 d_D = ResolveInfo::global_flag | ResolveInfo::dynamic_flag | ResolveInfo::define_flag, 77 wd_D = ResolveInfo::weak_flag | ResolveInfo::dynamic_flag | ResolveInfo::define_flag, 78 C = ResolveInfo::global_flag | ResolveInfo::regular_flag | ResolveInfo::common_flag, 79 w_C = ResolveInfo::weak_flag | ResolveInfo::regular_flag | ResolveInfo::common_flag, [all …]
|
D | NamePool.h | 41 typedef HashTable<ResolveInfo, StringHash<ELF> > Table; 52 ResolveInfo* createSymbol(const llvm::StringRef& pName, 54 ResolveInfo::Type pType, 55 ResolveInfo::Desc pDesc, 56 ResolveInfo::Binding pBinding, 57 ResolveInfo::SizeType pSize, 58 ResolveInfo::Visibility pVisibility = ResolveInfo::Default); 68 ResolveInfo::Type pType, 69 ResolveInfo::Desc pDesc, 70 ResolveInfo::Binding pBinding, [all …]
|
D | ResolveInfo.h | 37 class ResolveInfo 97 static ResolveInfo* Create(const key_type& pKey); 99 static void Destroy(ResolveInfo*& pInfo); 101 static ResolveInfo* Null(); 131 void override(const ResolveInfo& pForm); 133 void overrideAttributes(const ResolveInfo& pFrom); 135 void overrideVisibility(const ResolveInfo& pFrom); 140 void setLink(const ResolveInfo* pTarget) { in setLink() 141 m_Ptr.info_ptr = const_cast<ResolveInfo*>(pTarget); in setLink() 190 ResolveInfo* link() in link() [all …]
|
D | Resolver.h | 20 class ResolveInfo; variable 48 ResolveInfo* info; 60 virtual bool resolve(ResolveInfo & __restrict__ pOld, 61 const ResolveInfo & __restrict__ pNew, 69 ResolveInfo& __restrict__ pOld, in resolveAgain() 70 const ResolveInfo& __restrict__ pNew, in resolveAgain()
|
D | LDSymbol.h | 36 typedef ResolveInfo::SizeType SizeType; 43 static LDSymbol* Create(ResolveInfo& pResolveInfo); 109 ResolveInfo* resolveInfo() in resolveInfo() 112 const ResolveInfo* resolveInfo() const in resolveInfo() 128 void setResolveInfo(const ResolveInfo& pInfo); 140 ResolveInfo* m_pResolveInfo;
|
/frameworks/compile/mclinker/lib/LD/ |
D | ResolveInfo.cpp | 16 static ResolveInfo* g_NullResolveInfo = NULL; 21 ResolveInfo::ResolveInfo() in ResolveInfo() function in ResolveInfo 26 ResolveInfo::~ResolveInfo() in ~ResolveInfo() 30 void ResolveInfo::override(const ResolveInfo& pFrom) in override() 37 void ResolveInfo::overrideAttributes(const ResolveInfo& pFrom) in overrideAttributes() 45 void ResolveInfo::overrideVisibility(const ResolveInfo& pFrom) in overrideVisibility() 72 void ResolveInfo::setRegular() in setRegular() 77 void ResolveInfo::setDynamic() in setDynamic() 82 void ResolveInfo::setSource(bool pIsDyn) in setSource() 90 void ResolveInfo::setType(uint32_t pType) in setType() [all …]
|
D | ELFReaderIf.cpp | 34 ResolveInfo::Type ELFReaderIF::getSymType(uint8_t pInfo, uint16_t pShndx) const in getSymType() 36 ResolveInfo::Type result = static_cast<ResolveInfo::Type>(pInfo & 0xF); in getSymType() 37 if (llvm::ELF::SHN_ABS == pShndx && ResolveInfo::Section == result) { in getSymType() 42 return ResolveInfo::Object; in getSymType() 49 ResolveInfo::Desc ELFReaderIF::getSymDesc(uint16_t pShndx, const Input& pInput) const in getSymDesc() 52 return ResolveInfo::Undefined; in getSymDesc() 60 return ResolveInfo::Undefined; in getSymDesc() 61 return ResolveInfo::Define; in getSymDesc() 65 return ResolveInfo::Define; in getSymDesc() 68 return ResolveInfo::Common; in getSymDesc() [all …]
|
D | NamePool.cpp | 28 ResolveInfo::Destroy(*info); in ~NamePool() 33 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, in createSymbol() 35 ResolveInfo::Type pType, in createSymbol() 36 ResolveInfo::Desc pDesc, in createSymbol() 37 ResolveInfo::Binding pBinding, in createSymbol() 38 ResolveInfo::SizeType pSize, in createSymbol() 39 ResolveInfo::Visibility pVisibility) in createSymbol() 41 ResolveInfo** result = m_FreeInfoSet.allocate(); in createSymbol() 42 (*result) = ResolveInfo::Create(pName); in createSymbol() 58 ResolveInfo::Type pType, in insertSymbol() [all …]
|
D | ELFBinaryReader.cpp | 81 ResolveInfo::Section, in readBinary() 82 ResolveInfo::Define, in readBinary() 83 ResolveInfo::Local, in readBinary() 98 ResolveInfo::NoType, in readBinary() 99 ResolveInfo::Define, in readBinary() 100 ResolveInfo::Global, in readBinary() 108 ResolveInfo::NoType, in readBinary() 109 ResolveInfo::Define, in readBinary() 110 ResolveInfo::Global, in readBinary() 118 ResolveInfo::NoType, in readBinary() [all …]
|
D | LDSymbol.cpp | 53 LDSymbol* LDSymbol::Create(ResolveInfo& pResolveInfo) in Create() 77 g_NullSymbol->setResolveInfo(*ResolveInfo::Null()); in Null() 79 ResolveInfo::Null()->setSymPtr(&*g_NullSymbol); in Null() 89 void LDSymbol::setResolveInfo(const ResolveInfo& pInfo) in setResolveInfo() 91 m_pResolveInfo = const_cast<ResolveInfo*>(&pInfo); in setResolveInfo()
|
D | SectionSymbolSet.cpp | 41 ResolveInfo* sym_info = pNamePool.createSymbol(sym_name, in add() 43 ResolveInfo::Section, in add() 44 ResolveInfo::Define, in add() 45 ResolveInfo::Local, in add() 47 ResolveInfo::Default); in add()
|
/frameworks/compile/mclinker/unittests/ |
D | StaticResolverTest.cpp | 53 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F() 54 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F() 55 new_sym->setDesc(ResolveInfo::Define); in TEST_F() 56 old_sym->setDesc(ResolveInfo::Define); in TEST_F() 57 ASSERT_TRUE( mcld::ResolveInfo::Define == new_sym->desc()); in TEST_F() 58 ASSERT_TRUE( mcld::ResolveInfo::Define == old_sym->desc()); in TEST_F() 59 ASSERT_TRUE( mcld::ResolveInfo::define_flag == new_sym->info()); in TEST_F() 60 ASSERT_TRUE( mcld::ResolveInfo::define_flag == old_sym->info()); in TEST_F() 68 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F() 69 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F() [all …]
|
D | SymbolCategoryTest.cpp | 48 ResolveInfo* a = ResolveInfo::Create("a"); in TEST_F() 49 ResolveInfo* b = ResolveInfo::Create("b"); in TEST_F() 50 ResolveInfo* c = ResolveInfo::Create("c"); in TEST_F() 51 ResolveInfo* d = ResolveInfo::Create("d"); in TEST_F() 52 ResolveInfo* e = ResolveInfo::Create("e"); in TEST_F() 53 e->setBinding(ResolveInfo::Global); in TEST_F() 54 d->setBinding(ResolveInfo::Weak); in TEST_F() 55 c->setDesc(ResolveInfo::Common); in TEST_F() 56 c->setBinding(ResolveInfo::Global); in TEST_F() 57 b->setBinding(ResolveInfo::Local); in TEST_F() [all …]
|
D | LinkerTest.cpp | 424 "Output/gotplt.bc", ResolveInfo::File, in TEST_F() 425 ResolveInfo::Define, ResolveInfo::Local, 0); in TEST_F() 428 ".text", ResolveInfo::Section, in TEST_F() 429 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, text); in TEST_F() 432 ".data", ResolveInfo::Section, in TEST_F() 433 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, data); in TEST_F() 436 ".bss", ResolveInfo::Section, in TEST_F() 437 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, bss); in TEST_F() 440 ".ARM.attributes", ResolveInfo::Section, in TEST_F() 441 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, attr); in TEST_F() [all …]
|
D | NamePoolTest.cpp | 72 ResolveInfo::Type type = ResolveInfo::Function; in TEST_F() 73 ResolveInfo::Desc desc = ResolveInfo::Define; in TEST_F() 74 ResolveInfo::Binding binding = ResolveInfo::Local; in TEST_F() 77 ResolveInfo::Visibility other = ResolveInfo::Default; in TEST_F() 124 ResolveInfo::Type type = ResolveInfo::NoType; in TEST_F() 125 ResolveInfo::Desc desc = ResolveInfo::Undefined; in TEST_F() 126 ResolveInfo::Binding binding = ResolveInfo::Global; in TEST_F() 128 ResolveInfo::Visibility other = ResolveInfo::Default; in TEST_F()
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 404 ResolveInfo::Type pType, 405 ResolveInfo::Desc pDesc, 406 ResolveInfo::Binding pBind, 407 ResolveInfo::SizeType pSize, 410 ResolveInfo::Visibility pVis = ResolveInfo::Default); 449 ResolveInfo::Type pType, 450 ResolveInfo::Desc pDesc, 451 ResolveInfo::Binding pBinding, 452 ResolveInfo::SizeType pSize = 0, 455 ResolveInfo::Visibility pVisibility = ResolveInfo::Default); [all …]
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 86 bool ShouldForceLocal(const ResolveInfo& pInfo, const LinkerConfig& pConfig) in ShouldForceLocal() 94 (pInfo.visibility() == ResolveInfo::Hidden || in ShouldForceLocal() 95 pInfo.visibility() == ResolveInfo::Internal) && in ShouldForceLocal() 435 ResolveInfo::Type pType, in AddSymbol() 436 ResolveInfo::Desc pDesc, in AddSymbol() 437 ResolveInfo::Binding pBind, in AddSymbol() 438 ResolveInfo::SizeType pSize, in AddSymbol() 441 ResolveInfo::Visibility pVis) in AddSymbol() 446 ResolveInfo::Undefined == pDesc) { in AddSymbol() 460 ResolveInfo::Undefined == pDesc || in AddSymbol() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 136 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity() 139 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity() 152 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity() 165 final List<ResolveInfo> infoList = in testQueryDisabledActivity() 169 final List<ResolveInfo> infoList2 = in testQueryDisabledActivity() 173 final ResolveInfo info = infoList2.get(0); in testQueryDisabledActivity() 185 final List<ResolveInfo> infoList = in testQueryEnabledActivity() 188 final ResolveInfo info = infoList.get(0); in testQueryEnabledActivity() 232 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity() 237 final ResolveInfo info2 = in testEnableActivity() [all …]
|
/frameworks/base/services/java/com/android/server/search/ |
D | Searchables.java | 29 import android.content.pm.ResolveInfo; 66 private List<ResolveInfo> mGlobalSearchActivities; 213 List<ResolveInfo> searchList; in buildSearchableList() 220 List<ResolveInfo> webSearchInfoList; in buildSearchableList() 231 ResolveInfo info = (ii < search_count) in buildSearchableList() 250 List<ResolveInfo> newGlobalSearchActivities = findGlobalSearchActivities(); in buildSearchableList() 281 private List<ResolveInfo> findGlobalSearchActivities() { in findGlobalSearchActivities() 285 List<ResolveInfo> activities = in findGlobalSearchActivities() 298 private ComponentName findGlobalSearchActivity(List<ResolveInfo> installed) { in findGlobalSearchActivity() 322 List<ResolveInfo> activities = queryIntentActivities(intent, in isInstalled() [all …]
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 230 ResolveInfo::NoType, in initStandardSymbols() 231 ResolveInfo::Define, in initStandardSymbols() 232 ResolveInfo::Global, in initStandardSymbols() 236 ResolveInfo::Default); in initStandardSymbols() 243 ResolveInfo::NoType, in initStandardSymbols() 244 ResolveInfo::Define, in initStandardSymbols() 245 ResolveInfo::Global, in initStandardSymbols() 249 ResolveInfo::Default); in initStandardSymbols() 269 ResolveInfo::NoType, in initStandardSymbols() 270 ResolveInfo::Define, in initStandardSymbols() [all …]
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | SymbolEntryMap.h | 19 class ResolveInfo; variable 32 const ResolveInfo* symbol; 43 const EntryType* lookUp(const ResolveInfo& pSymbol) const; 44 EntryType* lookUp(const ResolveInfo& pSymbol); 46 void record(const ResolveInfo& pSymbol, EntryType& pEntry); 65 SymbolEntryMap<EntryType>::lookUp(const ResolveInfo& pSymbol) const in lookUp() 79 SymbolEntryMap<EntryType>::lookUp(const ResolveInfo& pSymbol) in lookUp() 93 SymbolEntryMap<EntryType>::record(const ResolveInfo& pSymbol, EntryType& pEntry) in record()
|
/frameworks/base/core/java/android/content/pm/ |
D | ResolveInfo.java | 35 public class ResolveInfo implements Parcelable { class 230 public ResolveInfo() { in ResolveInfo() method in ResolveInfo 233 public ResolveInfo(ResolveInfo orig) { in ResolveInfo() method in ResolveInfo 287 public static final Creator<ResolveInfo> CREATOR 288 = new Creator<ResolveInfo>() { 289 public ResolveInfo createFromParcel(Parcel source) { 290 return new ResolveInfo(source); 292 public ResolveInfo[] newArray(int size) { 293 return new ResolveInfo[size]; 297 private ResolveInfo(Parcel source) { in ResolveInfo() method in ResolveInfo [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.cpp | 123 ResolveInfo::Object, in initTargetSymbols() 124 ResolveInfo::Define, in initTargetSymbols() 125 ResolveInfo::Local, in initTargetSymbols() 129 ResolveInfo::Hidden); in initTargetSymbols() 139 ResolveInfo::Object, in initTargetSymbols() 140 ResolveInfo::Define, in initTargetSymbols() 141 ResolveInfo::Local, in initTargetSymbols() 145 ResolveInfo::Default); in initTargetSymbols() 150 ResolveInfo::Object, in initTargetSymbols() 151 ResolveInfo::Define, in initTargetSymbols() [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsGOT.h | 56 void setLocal(const ResolveInfo* pInfo) { in setLocal() 60 void setGlobal(const ResolveInfo* pInfo) { in setGlobal() 64 bool isLocal(const ResolveInfo* pInfo) { in isLocal() 68 bool isGlobal(const ResolveInfo* pInfo) { in isGlobal() 76 typedef llvm::DenseMap<const ResolveInfo*, bool> SymbolTypeMapType;
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | Relocation.h | 23 class ResolveInfo; variable 88 const ResolveInfo* symInfo() const { return m_pSymInfo; } in symInfo() 89 ResolveInfo* symInfo() { return m_pSymInfo; } in symInfo() 110 void setSymInfo(ResolveInfo* pSym); 120 ResolveInfo* m_pSymInfo;
|