/frameworks/base/core/res/ |
D | MakeJavaSymbols.sed | 2 # to generate the set of <java-symbol> commands to have aapt generate 3 # the symbol for them. 7 s|.*R.id.\([a-zA-Z0-9_]*\).*| <java-symbol type="id" name="\1" />|gp 8 s|.*R.attr.\([a-zA-Z0-9_]*\).*| <java-symbol type="attr" name="\1" />|gp 9 s|.*R.bool.\([a-zA-Z0-9_]*\).*| <java-symbol type="bool" name="\1" />|gp 10 s|.*R.integer.\([a-zA-Z0-9_]*\).*| <java-symbol type="integer" name="\1" />|gp 11 s|.*R.color.\([a-zA-Z0-9_]*\).*| <java-symbol type="color" name="\1" />|gp 12 s|.*R.dimen.\([a-zA-Z0-9_]*\).*| <java-symbol type="dimen" name="\1" />|gp 13 s|.*R.fraction.\([a-zA-Z0-9_]*\).*| <java-symbol type="fraction" name="\1" />|gp 14 s|.*R.string.\([a-zA-Z0-9_]*\).*| <java-symbol type="string" name="\1" />|gp [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagSymbolResolutions.inc | 3 "input file `%0' has no symbol table `%2'\n path of input file: %1", 4 "input file `%0' has no symbol table `%2'\n path of input file: %1") 15 "refer to dynamic symbol %0", 19 "common symbol %0 is overridden by previous definition", 20 "common symbol %0 is overridden by previous definition") 23 "common symbol %0 is overridden by definition", 24 "common symbol %0 is overriden by definition") 27 "indirect symbol %0 points to a common symbol", 28 "indirect symbol %0 points to a common symbol") 31 "indirect symbol %0 points to a undefined symbol", [all …]
|
D | DiagRelocations.inc | 19 "attempt to generate unsupported relocation `%0' for symbol `%1', " 21 "attempt to generate unsupported relocation `%0' for symbol `%1, " 25 "relocation type `%0' is not supported for symbol `%1'\nPlease report to " 27 "relocation type `%0' is not supported for symbol `%1'\nPlease report to " 39 "encounter unknown relocation type `%0' for symbol `%1'", 40 "encounter unknown relocation type `%0' for symbol `%1'") 43 "relocation type `%0' is invalid for global symbol `%1'", 44 "relocation type `%0' is invalid for global symbol `%1'") 47 "applying relocation `%0' causes overflow on symbol `%1'", 48 "applying relocation `%0' causes overflow on symbol `%1'") [all …]
|
D | BranchIsland.h | 115 const LDSymbol* symbol() const { return m_pSymbol; } in symbol() function 121 llvm::StringRef sym_name(KEY.symbol()->name()); in operator() 133 if (KEY1.symbol() == KEY2.symbol()) { in operator() 137 if (KEY1.symbol()->hasFragRef() && KEY2.symbol()->hasFragRef()) { in operator() 138 const FragmentRef* ref1 = KEY1.symbol()->fragRef(); in operator() 139 const FragmentRef* ref2 = KEY2.symbol()->fragRef(); in operator()
|
D | DiagGOTPLT.inc | 3 "%0 is not a dynamic symbol, do not put it in global got", 4 "%0 is not a dynamic symbol, do not put it in global got")
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 81 const SymbolTable::Symbol* symbol = ReferenceLinker::resolveAttributeCheckVisibility( in visit() local 83 if (symbol) { in visit() 86 entry.key.id = symbol->id; in visit() 91 symbol->attribute.get()); in visit() 99 if (!symbol->attribute->matches(entry.value.get(), nullptr)) { in visit() 105 symbol->attribute->matches(entry.value.get(), &msg); in visit() 167 bool ReferenceLinker::isSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in isSymbolVisible() argument 169 if (!symbol.isPublic && !ref.privateReference) { in isSymbolVisible() 172 } else if (ref.id && symbol.id) { in isSymbolVisible() 173 return ref.id.value().packageId() == symbol.id.value().packageId(); in isSymbolVisible() [all …]
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 48 std::unique_ptr<Symbol> symbol = symbolSource->findByName(name); in findByName() local 49 if (symbol) { in findByName() 52 std::shared_ptr<Symbol> sharedSymbol = std::shared_ptr<Symbol>(symbol.release()); in findByName() 72 std::unique_ptr<Symbol> symbol = symbolSource->findById(id); in findById() local 73 if (symbol) { in findById() 76 std::shared_ptr<Symbol> sharedSymbol = std::shared_ptr<Symbol>(symbol.release()); in findById() 92 const SymbolTable::Symbol* symbol = nullptr; in findByReference() local 94 symbol = findById(ref.id.value()); in findByReference() 97 if (ref.name && !symbol) { in findByReference() 98 symbol = findByName(ref.name.value()); in findByReference() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 55 static bool isValidSymbol(const StringPiece16& symbol) { in isValidSymbol() argument 56 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); in isValidSymbol() 63 static std::string transform(const StringPiece16& symbol) { in transform() argument 64 std::string output = util::utf16ToUtf8(symbol); in transform() 166 for (const Attribute::Symbol& symbol : attr->symbols) { in addAttributeFormatDoc() local 168 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" in addAttributeFormatDoc() 169 << "<td>" << std::hex << symbol.value << std::dec << "</td>" in addAttributeFormatDoc() 170 << "<td>" << util::trimWhitespace(symbol.symbol.getComment()) << "</td></tr>"; in addAttributeFormatDoc() 192 std::unique_ptr<SymbolTable::Symbol> symbol; member 246 const SymbolTable::Symbol* symbol = mContext->getExternalSymbols()->findByReference( in addMembersToStyleableClass() local [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 108 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>( variable 110 mSymbolSource->mNameMap[parseNameOrDie(name)] = symbol.get(); 111 mSymbolSource->mIdMap[id] = symbol.get(); 112 mSymbolSource->mSymbols.push_back(std::move(symbol)); 118 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>( variable 120 mSymbolSource->mNameMap[parseNameOrDie(name)] = symbol.get(); 121 mSymbolSource->mIdMap[id] = symbol.get(); 122 mSymbolSource->mSymbols.push_back(std::move(symbol));
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectLinker.cpp | 525 LDSymbol* symbol = NULL; in addScriptSymbols() local 526 assert((*it).second.symbol().type() == Operand::SYMBOL); in addScriptSymbols() 527 const llvm::StringRef symName = (*it).second.symbol().name(); in addScriptSymbols() 549 symbol = m_pBuilder->AddSymbol<IRBuilder::Force, IRBuilder::Unresolve>( in addScriptSymbols() 563 symbol = in addScriptSymbols() 576 (*it).first = symbol; in addScriptSymbols() 714 Module::sym_iterator symbol, symEnd = m_pModule->sym_end(); in finalizeSymbolValue() local 715 for (symbol = m_pModule->sym_begin(); symbol != symEnd; ++symbol) { in finalizeSymbolValue() 716 if ((*symbol)->resolveInfo()->isAbsolute() || in finalizeSymbolValue() 717 (*symbol)->resolveInfo()->type() == ResolveInfo::File) { in finalizeSymbolValue() [all …]
|
/frameworks/base/tools/aapt/ |
D | Symbol.h | 50 Symbol symbol; member 85 : symbol(s) in SymbolDefinition() 91 return (symbol < rhs.symbol) || (config < rhs.config) || (source < rhs.source);
|
D | AaptAssets.h | 462 bool check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) { in check_valid_symbol_name() argument 463 if (valid_symbol_name(symbol)) { in check_valid_symbol_name() 466 pos.error("invalid %s: '%s'\n", label, symbol.string()); in check_valid_symbol_name() 469 AaptSymbolEntry& edit_symbol(const String8& symbol, const SourcePos* pos) { in edit_symbol() argument 470 ssize_t i = mSymbols.indexOfKey(symbol); in edit_symbol() 472 i = mSymbols.add(symbol, AaptSymbolEntry(symbol)); in edit_symbol() 480 const AaptSymbolEntry& get_symbol(const String8& symbol) const { in get_symbol() argument 481 ssize_t i = mSymbols.indexOfKey(symbol); in get_symbol()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 43 for (const auto& symbol : attr->symbols) { in visit() local 44 std::cout << "\n " << symbol.symbol.name.value().entry; in visit() 45 if (symbol.symbol.id) { in visit() 46 std::cout << " (" << symbol.symbol.id.value() << ")"; in visit() 48 std::cout << " = " << symbol.value; in visit()
|
D | ResourceTable.cpp | 419 const Symbol& symbol, IDiagnostics* diag) { in setSymbolState() argument 420 return setSymbolStateImpl(name, resId, symbol, kValidNameChars, diag); in setSymbolState() 425 const Symbol& symbol, IDiagnostics* diag) { in setSymbolStateAllowMangled() argument 426 return setSymbolStateImpl(name, resId, symbol, kValidNameMangledChars, diag); in setSymbolStateAllowMangled() 430 const Symbol& symbol, const char16_t* validChars, in setSymbolStateImpl() argument 436 diag->error(DiagMessage(symbol.source) in setSymbolStateImpl() 449 diag->error(DiagMessage(symbol.source) in setSymbolStateImpl() 463 diag->error(DiagMessage(symbol.source) in setSymbolStateImpl() 477 diag->error(DiagMessage(symbol.source) in setSymbolStateImpl() 494 if (symbol.state == SymbolState::kPublic) { in setSymbolStateImpl() [all …]
|
D | ResourceParser_test.cpp | 218 AAPT_ASSERT_TRUE(enumAttr->symbols[0].symbol.name); in TEST_F() 219 EXPECT_EQ(enumAttr->symbols[0].symbol.name.value().entry, u"bar"); in TEST_F() 222 AAPT_ASSERT_TRUE(enumAttr->symbols[1].symbol.name); in TEST_F() 223 EXPECT_EQ(enumAttr->symbols[1].symbol.name.value().entry, u"bat"); in TEST_F() 226 AAPT_ASSERT_TRUE(enumAttr->symbols[2].symbol.name); in TEST_F() 227 EXPECT_EQ(enumAttr->symbols[2].symbol.name.value().entry, u"baz"); in TEST_F() 244 AAPT_ASSERT_TRUE(flagAttr->symbols[0].symbol.name); in TEST_F() 245 EXPECT_EQ(flagAttr->symbols[0].symbol.name.value().entry, u"bar"); in TEST_F() 248 AAPT_ASSERT_TRUE(flagAttr->symbols[1].symbol.name); in TEST_F() 249 EXPECT_EQ(flagAttr->symbols[1].symbol.name.value().entry, u"bat"); in TEST_F() [all …]
|
D | ValueVisitor.h | 63 for (Attribute::Symbol& symbol : attribute->symbols) { in visitSubValues() 64 visit(&symbol.symbol); in visitSubValues()
|
D | ResourceUtils.cpp | 275 for (const Attribute::Symbol& symbol : enumAttr->symbols) { in tryParseEnumSymbol() local 278 const ResourceName& enumSymbolResourceName = symbol.symbol.name.value(); in tryParseEnumSymbol() 282 value.data = symbol.value; in tryParseEnumSymbol() 304 for (const Attribute::Symbol& symbol : flagAttr->symbols) { in tryParseFlagSymbol() local 307 const ResourceName& flagSymbolResourceName = symbol.symbol.name.value(); in tryParseFlagSymbol() 309 flags.data |= symbol.value; in tryParseFlagSymbol()
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptParser.yy | 195 %type <string> string symbol opt_region opt_lma_region wildcard_pattern 321 a symbol assignment (see Assignments) 480 a symbol assignment (see Assignments) 594 symbol_assignment : symbol '=' script_exp ';' 596 | symbol ADD_ASSIGN exp ';' 597 | symbol SUB_ASSIGN exp ';' 598 | symbol MUL_ASSIGN exp ';' 599 | symbol DIV_ASSIGN exp ';' 600 | symbol AND_ASSIGN exp ';' 601 | symbol OR_ASSIGN exp ';' [all …]
|
D | RpnEvaluator.cpp | 87 const LDSymbol* symbol = in eval() local 89 if (symbol == NULL) { in eval() 93 sym_opd->setValue(symbol->value()); in eval()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 732 Module::const_sym_iterator symbol, symEnd; in sizeNamePools() local 746 for (symbol = symbols.begin(); symbol != symEnd; ++symbol) { in sizeNamePools() 748 if (hasEntryInStrTab(**symbol)) in sizeNamePools() 749 strtab += (*symbol)->nameSize() + 1; in sizeNamePools() 770 for (symbol = symbols.localDynBegin(); symbol != symEnd; ++symbol) { in sizeNamePools() 772 if (hasEntryInStrTab(**symbol)) in sizeNamePools() 773 dynstr += (*symbol)->nameSize() + 1; in sizeNamePools() 782 for (symbol = symbols.dynamicBegin(); symbol != symEnd; ++symbol) { in sizeNamePools() 783 if (DynsymCompare().needGNUHash(**symbol)) in sizeNamePools() 960 Module::const_sym_iterator symbol, symEnd; in emitRegNamePools() local [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | SharedLibrary.cpp | 42 void *SharedLibrary::lookup(const char *symbol) const { in lookup() 46 return dlsym(mLibHandle, symbol); in lookup()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64LongBranchStub.cpp | 106 LDSymbol* symbol = pSrcReloc.symInfo()->outSymbol(); in applyFixup() local 107 uint64_t dest = symbol->fragRef()->frag()->getParent()->getSection().addr() + in applyFixup() 108 symbol->fragRef()->getOutputOffset(); in applyFixup()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 361 Symbol symbol; in parseType() local 362 symbol.state = SymbolState::kPublic; in parseType() 363 symbol.source = mSource.withLine(0); in parseType() 364 if (!mTable->setSymbolStateAllowMangled(name, resId, symbol, in parseType() 518 Attribute::Symbol symbol; in parseAttr() local 519 symbol.value = util::deviceToHost32(mapEntry.value.data); in parseAttr() 520 symbol.symbol = Reference(util::deviceToHost32(mapEntry.name.ident)); in parseAttr() 521 attr->symbols.push_back(std::move(symbol)); in parseAttr()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | Assignment.h | 46 const SymOperand& symbol() const { return m_Symbol; } in symbol() function 47 SymOperand& symbol() { return m_Symbol; } in symbol() function
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 92 for (auto& symbol : attr->symbols) { in visit() local 94 serializeItemCommonToPb(symbol.symbol, pbSymbol); in visit() 95 serializeReferenceToPb(symbol.symbol, pbSymbol->mutable_name()); in visit() 96 pbSymbol->set_value(symbol.value); in visit()
|