/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/process/ |
D | SymbolTable.cpp | 99 std::unique_ptr<Symbol> symbol = delegate_->FindByName(*mangled_name, sources_); in FindByName() local 100 if (symbol == nullptr) { in FindByName() 106 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindByName() 128 std::unique_ptr<Symbol> symbol = delegate_->FindById(id, sources_); in FindById() local 129 if (symbol == nullptr) { in FindById() 135 std::shared_ptr<Symbol> shared_symbol(std::move(symbol)); in FindById() 151 const SymbolTable::Symbol* symbol = nullptr; in FindByReference() local 153 symbol = FindById(ref.id.value()); in FindByReference() 156 if (ref.name && !symbol) { in FindByReference() 157 symbol = FindByName(ref.name.value()); in FindByReference() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 83 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in Visit() local 85 if (symbol) { in Visit() 87 entry.key.id = symbol->id; in Visit() 91 entry.value = ParseValueWithAttribute(std::move(entry.value), symbol->attribute.get()); in Visit() 99 if (!symbol->attribute->Matches(*entry.value, nullptr)) { in Visit() 105 symbol->attribute->Matches(*entry.value, &msg); in Visit() 178 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible() argument 180 if (symbol.is_public || ref.private_reference) { in IsSymbolVisible() 196 if (ref.id && symbol.id) { in IsSymbolVisible() 197 return ref.id.value().package_id() == symbol.id.value().package_id(); in IsSymbolVisible() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 60 static bool IsValidSymbol(const StringPiece& symbol) { in IsValidSymbol() argument 61 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); in IsValidSymbol() 66 std::string JavaClassGenerator::TransformToFieldName(const StringPiece& symbol) { in TransformToFieldName() argument 67 std::string output = symbol.to_string(); in TransformToFieldName() 177 for (const Attribute::Symbol& symbol : attr->symbols) { in AddAttributeFormatDoc() local 179 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" in AddAttributeFormatDoc() 180 << "<td>" << std::hex << symbol.value << std::dec << "</td>" in AddAttributeFormatDoc() 181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc() 207 bool JavaClassGenerator::SkipSymbol(const Maybe<SymbolTable::Symbol>& symbol) { in SkipSymbol() argument 208 return !symbol || (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic && in SkipSymbol() [all …]
|
D | JavaClassGenerator.h | 82 static std::string TransformToFieldName(const android::StringPiece& symbol); 86 bool SkipSymbol(const Maybe<SymbolTable::Symbol>& symbol);
|
/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/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 | 131 for (const auto& symbol : attr->symbols) { in Visit() local 132 if (symbol.symbol.name) { in Visit() 133 printer_->Print(symbol.symbol.name.value().entry); in Visit() 135 if (symbol.symbol.id) { in Visit() 137 printer_->Print(symbol.symbol.id.value().to_string()); in Visit() 140 } else if (symbol.symbol.id) { in Visit() 141 printer_->Print(symbol.symbol.id.value().to_string()); in Visit() 146 printer_->Println(StringPrintf("=0x%08x", symbol.value)); in Visit()
|
/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/native/libs/graphicsenv/ |
D | GraphicsEnv.cpp | 370 #define GET_SYMBOL(symbol) \ in checkAngleRules() argument 371 fp##symbol symbol = (fp##symbol)dlsym(so, #symbol); \ in checkAngleRules() 372 if (!symbol) { \ in checkAngleRules() 373 ALOGW("Cannot find " #symbol " in ANGLE feature-support library"); \ in checkAngleRules()
|
/frameworks/compile/mclinker/tools/mcld/ |
D | Main.cpp | 634 const char* symbol = arg->getValue(); in TranslateArguments() local 637 script_.renameMap().insert(symbol, exist); in TranslateArguments() 641 .append(symbol); in TranslateArguments() 645 mcld::warning(mcld::diag::rewrap) << symbol << to_wrap_str; in TranslateArguments() 650 .append(symbol); in TranslateArguments() 653 from_real->setValue(symbol); in TranslateArguments() 656 mcld::warning(mcld::diag::rewrap) << symbol << from_real_str; in TranslateArguments() 662 const char* symbol = arg->getValue(); in TranslateArguments() local 665 script_.renameMap().insert(symbol, exist); in TranslateArguments() 668 to_wrap_str.append(symbol) in TranslateArguments() [all …]
|
D | Options.td | 19 HelpText<"Use the explicit symbol as the entrance of your program">; 181 HelpText<"Omit debugger symbol information from the output file">; 188 HelpText<"Omit all symbol information from the output file">; 281 "a non-weak undefined symbol reference from">; 383 HelpText<"Define a symbol">; 387 HelpText<"Use a wrap function for the symbol">; 391 HelpText<"Use a portable function for the symbol">; 437 def SymbolGroup : OptionGroup<"symbol">, 442 HelpText<"Force symbol to be undefined in the output file">; 449 HelpText<"Define common symbol">;
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Stub.cpp | 44 LDSymbol* symbol = in applyFixup() local 54 setSymInfo(symbol->resolveInfo()); in applyFixup()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 280 String symbol = uniqueNames.get(senderName); in updateTitleAndNamesDisplay() local 282 symbol, mLayoutColor); in updateTitleAndNamesDisplay() 310 public Icon createAvatarSymbol(CharSequence senderName, String symbol, int layoutColor) { in createAvatarSymbol() argument 311 if (symbol.isEmpty() || TextUtils.isDigitsOnly(symbol) || in createAvatarSymbol() 312 SPECIAL_CHAR_PATTERN.matcher(symbol).find()) { in createAvatarSymbol() 326 mTextPaint.setTextSize(symbol.length() == 1 ? mAvatarSize * 0.5f : mAvatarSize * 0.3f); in createAvatarSymbol() 328 canvas.drawText(symbol, radius, yPos, mTextPaint); in createAvatarSymbol()
|