/frameworks/compile/mclinker/unittests/ |
D | StaticResolverTest.cpp | 264 ResolveInfo* sym = ResolveInfo::Create("abc"); in TEST_F() local 266 sym->setIsSymbol(true); in TEST_F() 269 ASSERT_TRUE(sym->isSymbol()); in TEST_F() 270 ASSERT_TRUE(sym->isGlobal()); in TEST_F() 271 ASSERT_FALSE(sym->isWeak()); in TEST_F() 272 ASSERT_FALSE(sym->isLocal()); in TEST_F() 273 ASSERT_FALSE(sym->isDefine()); in TEST_F() 274 ASSERT_TRUE(sym->isUndef()); in TEST_F() 275 ASSERT_FALSE(sym->isDyn()); in TEST_F() 276 ASSERT_FALSE(sym->isCommon()); in TEST_F() [all …]
|
D | SymbolCategoryTest.cpp | 67 SymbolCategory::iterator sym = m_pTestee->begin(); in TEST_F() local 68 ASSERT_STREQ("a", (*sym)->name()); in TEST_F() 69 ++sym; in TEST_F() 70 ASSERT_STREQ("b", (*sym)->name()); in TEST_F() 71 ++sym; in TEST_F() 72 ASSERT_STREQ("c", (*sym)->name()); in TEST_F() 73 ++sym; in TEST_F() 74 ASSERT_STREQ("d", (*sym)->name()); in TEST_F() 75 ++sym; in TEST_F() 76 ASSERT_STREQ("e", (*sym)->name()); in TEST_F() [all …]
|
D | NamePoolTest.cpp | 153 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F() local 156 EXPECT_STREQ(name, sym->name()); in TEST_F() 157 EXPECT_EQ(result1, sym->name()); in TEST_F() 193 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F() local 195 ASSERT_EQ(sym, syms[i][j]); in TEST_F() 202 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F() local 204 ASSERT_EQ(sym, syms[i][j]); in TEST_F()
|
/frameworks/base/cmds/interrupter/ |
D | interrupter.h | 21 #define INTERRUPTER(sym) \ argument 22 if (real_##sym == NULL) \ 23 __init_##sym(); \ 29 #define CALL_FUNCTION_1(sym, ret, type1) \ argument 30 ret (*real_##sym)(type1) = NULL; \ 31 ret sym(type1 arg1) { \ 32 INTERRUPTER(sym) \ 33 return real_##sym(arg1); \ 36 #define CALL_FUNCTION_2(sym, ret, type1, type2) \ argument 37 ret (*real_##sym)(type1, type2) = NULL; \ [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | IdenticalCodeFolding.cpp | 102 LDContext::sym_iterator sym, symEnd = (*fobj)->context()->symTabEnd(); in foldIdenticalCode() local 103 for (sym = (*fobj)->context()->symTabBegin(); sym != symEnd; ++sym) { in foldIdenticalCode() 104 if ((*sym)->hasFragRef() && ((*sym)->type() == ResolveInfo::Function)) { in foldIdenticalCode() 105 LDSymbol* out_sym = (*sym)->resolveInfo()->outSymbol(); in foldIdenticalCode() 143 LDSymbol* sym = rel->symInfo()->outSymbol(); in findCandidates() local 144 if (sym->hasFragRef() && (sym->type() == ResolveInfo::Function)) { in findCandidates() 146 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates() 249 LDSymbol* sym = rel.symInfo()->outSymbol(); in initConstantContent() local 250 if ((sym->type() == ResolveInfo::Function) && sym->hasFragRef()) { in initConstantContent() 251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent() [all …]
|
D | LDContext.cpp | 80 size_t sym = 1; in getSymbol() local 82 for (; sym < size; ++sym) in getSymbol() 83 if (m_SymTab[sym]->name() == pName) in getSymbol() 84 return m_SymTab[sym]; in getSymbol() 89 size_t sym = 1; in getSymbol() local 91 for (; sym < size; ++sym) in getSymbol() 92 if (m_SymTab[sym]->name() == pName) in getSymbol() 93 return m_SymTab[sym]; in getSymbol()
|
D | Relocator.cpp | 81 LDSymbol& sym = **i; in issueUndefRef() local 82 if (sym.resolveInfo()->type() == ResolveInfo::File) in issueUndefRef() 83 caller_file_name = sym.resolveInfo()->name(); in issueUndefRef() 85 if (sym.resolveInfo()->type() == ResolveInfo::Function && in issueUndefRef() 86 sym.value() <= undef_sym_pos && in issueUndefRef() 87 sym.value() + sym.size() > undef_sym_pos) { in issueUndefRef() 88 caller_func_name = sym.name(); in issueUndefRef()
|
D | GarbageCollection.cpp | 152 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSections() local 155 if (sym == NULL) in setUpReachedSections() 157 if (!sym->isDefine() || !sym->outSymbol()->hasFragRef()) in setUpReachedSections() 163 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSections() 214 LDSymbol* sym = info->outSymbol(); in getEntrySections() local 215 if (sym == NULL || !sym->hasFragRef()) in getEntrySections() 221 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections() 252 LDSymbol* sym = info->outSymbol(); in getEntrySections() local 253 if (sym == NULL || !sym->hasFragRef()) in getEntrySections() 259 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections() [all …]
|
D | SectionSymbolSet.cpp | 48 LDSymbol* sym = LDSymbol::Create(*sym_info); in add() local 49 sym_info->setSymPtr(sym); in add() 56 entry->setValue(sym); in add() 67 LDSymbol* sym = get(pOutSect); in finalize() local 68 assert(sym != NULL); in finalize() 89 sym->setFragmentRef(frag_ref); in finalize() 91 pSymTab.add(*sym); in finalize()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.h | 374 AaptSymbolEntry& sym = edit_symbol(name, &pos); in addSymbol() local 375 sym.typeCode = AaptSymbolEntry::TYPE_INT32; in addSymbol() 376 sym.int32Val = value; in addSymbol() 385 AaptSymbolEntry& sym = edit_symbol(name, &pos); in addStringSymbol() local 386 sym.typeCode = AaptSymbolEntry::TYPE_STRING; in addStringSymbol() 387 sym.stringVal = value; in addStringSymbol() 395 AaptSymbolEntry& sym = edit_symbol(name, &pos); in makeSymbolPublic() local 396 sym.isPublic = true; in makeSymbolPublic() 404 AaptSymbolEntry& sym = edit_symbol(name, &pos); in makeSymbolJavaSymbol() local 405 sym.isJavaSymbol = true; in makeSymbolJavaSymbol() [all …]
|
D | Resource.cpp | 2296 const AaptSymbolEntry& sym = symbols->getSymbols().valueAt(i); in writeResourceLoadedCallback() local 2297 if (sym.typeCode != AaptSymbolEntry::TYPE_INT32) { in writeResourceLoadedCallback() 2300 if (!assets->isJavaSymbol(sym, includePrivate)) { in writeResourceLoadedCallback() 2303 String8 flat_name(flattenSymbol(sym.name)); in writeResourceLoadedCallback() 2360 const AaptSymbolEntry& sym(nsymbols->getSymbols().valueAt(a)); in writeLayoutClasses() local 2361 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 in writeLayoutClasses() 2362 ? sym.int32Val : 0; in writeLayoutClasses() 2365 String16 name16(sym.name); in writeLayoutClasses() 2373 nclassName.string(), sym.name.string()); in writeLayoutClasses() 2413 const AaptSymbolEntry& sym = nsymbols->getSymbols().valueAt(a); in writeLayoutClasses() local [all …]
|
D | AaptAssets.cpp | 1473 sp<AaptSymbols> sym = mSymbols.valueFor(name); in getSymbolsFor() local 1474 if (sym == NULL) { in getSymbolsFor() 1475 sym = new AaptSymbols(); in getSymbolsFor() 1476 mSymbols.add(name, sym); in getSymbolsFor() 1478 return sym; in getSymbolsFor() 1483 sp<AaptSymbols> sym = mJavaSymbols.valueFor(name); in getJavaSymbolsFor() local 1484 if (sym == NULL) { in getJavaSymbolsFor() 1485 sym = new AaptSymbols(); in getJavaSymbolsFor() 1486 mJavaSymbols.add(name, sym); in getJavaSymbolsFor() 1488 return sym; in getJavaSymbolsFor() [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 188 std::unique_ptr<SymbolTable::Symbol> CloneSymbol(SymbolTable::Symbol* sym) { in CloneSymbol() argument 190 clone->id = sym->id; in CloneSymbol() 191 if (sym->attribute) { in CloneSymbol() 192 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->Clone(nullptr)); in CloneSymbol() 194 clone->is_public = sym->is_public; in CloneSymbol()
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 86 def overrideSymbolName(sym, apiname): argument 103 if sym in wrapped_get_syms.get(apiname): 104 return '__' + sym 106 return sym
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.cpp | 584 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSectionsForGC() local 587 if (sym == NULL) in setUpReachedSectionsForGC() 589 if (!sym->isDefine() || !sym->outSymbol()->hasFragRef()) in setUpReachedSectionsForGC() 595 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSectionsForGC()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.h | 100 const RsdCpuReference::CpuSymbol * lookupSymbolMath(const char *sym);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 26414 Landroid/icu/impl/RuleCharacterIterator;->sym:Landroid/icu/text/SymbolTable;
|