/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 | 97 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in Visit() local 99 if (symbol) { in Visit() 102 entry.key.id = symbol->id; in Visit() 106 entry.value = ParseValueWithAttribute(std::move(entry.value), symbol->attribute.get()); in Visit() 117 if (!symbol->attribute->Matches(entry.value.get(), nullptr)) { in Visit() 123 symbol->attribute->Matches(entry.value.get(), &msg); in Visit() 204 bool ReferenceLinker::IsSymbolVisible(const SymbolTable::Symbol& symbol, in IsSymbolVisible() argument 207 if (!symbol.is_public && !ref.private_reference) { in IsSymbolVisible() 210 } else if (ref.id && symbol.id) { in IsSymbolVisible() 211 return ref.id.value().package_id() == symbol.id.value().package_id(); in IsSymbolVisible() [all …]
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 93 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName() local 94 if (symbol == nullptr) { in FindByName() 100 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindByName() 122 std::unique_ptr<Symbol> symbol = delegate_->FindById(id, sources_); in FindById() local 123 if (symbol == nullptr) { in FindById() 129 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindById() 145 const SymbolTable::Symbol* symbol = nullptr; in FindByReference() local 147 symbol = FindById(ref.id.value()); in FindByReference() 150 if (ref.name && !symbol) { in FindByReference() 151 symbol = FindByName(ref.name.value()); in FindByReference() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 58 static bool IsValidSymbol(const StringPiece& symbol) { in IsValidSymbol() argument 59 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); in IsValidSymbol() 64 static std::string TransformToFieldName(const StringPiece& symbol) { in TransformToFieldName() argument 65 std::string output = symbol.to_string(); in TransformToFieldName() 175 for (const Attribute::Symbol& symbol : attr->symbols) { in AddAttributeFormatDoc() local 177 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" in AddAttributeFormatDoc() 178 << "<td>" << std::hex << symbol.value << std::dec << "</td>" in AddAttributeFormatDoc() 179 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc() 205 bool JavaClassGenerator::SkipSymbol(const Maybe<SymbolTable::Symbol>& symbol) { in SkipSymbol() argument 206 return !symbol || (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic && in SkipSymbol() [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 140 std::unique_ptr<SymbolTable::Symbol> symbol = variable 142 symbol_source_->name_map_[ParseNameOrDie(name)] = symbol.get(); 143 symbol_source_->id_map_[id] = symbol.get(); 144 symbol_source_->symbols_.push_back(std::move(symbol)); 150 std::unique_ptr<SymbolTable::Symbol> symbol = variable 152 symbol_source_->name_map_[ParseNameOrDie(name)] = symbol.get(); 153 symbol_source_->id_map_[id] = symbol.get(); 154 symbol_source_->symbols_.push_back(std::move(symbol));
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.cpp | 444 const Symbol& symbol, IDiagnostics* diag) { in SetSymbolState() argument 445 return SetSymbolStateImpl(name, res_id, symbol, ValidateName, diag); in SetSymbolState() 450 const Symbol& symbol, in SetSymbolStateAllowMangled() argument 452 return SetSymbolStateImpl(name, res_id, symbol, SkipValidateName, diag); in SetSymbolStateAllowMangled() 456 const Symbol& symbol, NameValidator name_validator, in SetSymbolStateImpl() argument 462 diag->Error(DiagMessage(symbol.source) << "resource '" << name << "' has invalid entry name '" in SetSymbolStateImpl() 470 diag->Error(DiagMessage(symbol.source) in SetSymbolStateImpl() 479 diag->Error(DiagMessage(symbol.source) in SetSymbolStateImpl() 488 diag->Error(DiagMessage(symbol.source) in SetSymbolStateImpl() 502 if (symbol.state == SymbolState::kPublic) { in SetSymbolStateImpl() [all …]
|
D | Debug.cpp | 46 for (const auto& symbol : attr->symbols) { in Visit() local 47 std::cout << "\n " << symbol.symbol.name.value().entry; in Visit() 48 if (symbol.symbol.id) { in Visit() 49 std::cout << " (" << symbol.symbol.id.value() << ")"; in Visit() 51 std::cout << " = " << symbol.value; in Visit()
|
D | ValueVisitor.h | 66 for (Attribute::Symbol& symbol : attribute->symbols) { in VisitSubValues() 67 Visit(&symbol.symbol); in VisitSubValues()
|
D | ResourceParser_test.cpp | 324 AAPT_ASSERT_TRUE(enum_attr->symbols[0].symbol.name); in TEST_F() 325 EXPECT_EQ(enum_attr->symbols[0].symbol.name.value().entry, "bar"); in TEST_F() 328 AAPT_ASSERT_TRUE(enum_attr->symbols[1].symbol.name); in TEST_F() 329 EXPECT_EQ(enum_attr->symbols[1].symbol.name.value().entry, "bat"); in TEST_F() 332 AAPT_ASSERT_TRUE(enum_attr->symbols[2].symbol.name); in TEST_F() 333 EXPECT_EQ(enum_attr->symbols[2].symbol.name.value().entry, "baz"); in TEST_F() 351 AAPT_ASSERT_TRUE(flag_attr->symbols[0].symbol.name); in TEST_F() 352 EXPECT_EQ(flag_attr->symbols[0].symbol.name.value().entry, "bar"); in TEST_F() 355 AAPT_ASSERT_TRUE(flag_attr->symbols[1].symbol.name); in TEST_F() 356 EXPECT_EQ(flag_attr->symbols[1].symbol.name.value().entry, "bat"); in TEST_F() [all …]
|
D | ResourceParser.cpp | 110 Symbol symbol; in AddResourcesToTable() local 111 symbol.state = res->symbol_state.value(); in AddResourcesToTable() 112 symbol.source = res->source; in AddResourcesToTable() 113 symbol.comment = res->comment; in AddResourcesToTable() 114 symbol.allow_new = res->allow_new; in AddResourcesToTable() 115 if (!table->SetSymbolState(res->name, res->id, symbol, diag)) { in AddResourcesToTable() 945 return a.symbol.name.value() < b.symbol.name.value(); in ParseAttrImpl() 989 Attribute::Symbol& symbol = s.value(); in ParseAttrImpl() local 991 child_resource.name = symbol.symbol.name.value(); in ParseAttrImpl() 996 symbol.symbol.SetComment(std::move(comment)); in ParseAttrImpl() [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/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/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() 49 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/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/unflatten/ |
D | BinaryResourceParser.cpp | 399 Symbol symbol; in ParseType() local 400 symbol.state = SymbolState::kPublic; in ParseType() 401 symbol.source = source_.WithLine(0); in ParseType() 402 if (!table_->SetSymbolStateAllowMangled(name, res_id, symbol, context_->GetDiagnostics())) { in ParseType() 537 Attribute::Symbol symbol; in ParseAttr() local 538 symbol.value = util::DeviceToHost32(map_entry.value.data); in ParseAttr() 539 symbol.symbol = Reference(util::DeviceToHost32(map_entry.name.ident)); in ParseAttr() 540 attr->symbols.push_back(std::move(symbol)); in ParseAttr()
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Stub.cpp | 44 LDSymbol* symbol = in applyFixup() local 54 setSymInfo(symbol->resolveInfo()); in applyFixup()
|