/frameworks/base/errorprone/java/com/google/errorprone/matchers/android/ |
D | FieldMatchers.java | 45 boolean fieldSymbolIsAppropriate(Symbol symbol) { in anyFieldInClass() argument 60 boolean fieldSymbolIsAppropriate(Symbol symbol) { 61 return symbol != null 62 && symbol.isStatic() && symbol.getSimpleName().contentEquals(fieldName); 76 boolean fieldSymbolIsAppropriate(Symbol symbol) { 77 return symbol != null 78 && !symbol.isStatic() && symbol.getSimpleName().contentEquals(fieldName); 92 private boolean isSymbolFieldInAppropriateClass(@Nullable Symbol symbol) { 93 if (symbol == null) { 96 return symbol.getKind().isField() [all …]
|
/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()
|
/frameworks/libs/native_bridge_support/android_api/ |
D | gen_known_trampolines.py | 122 def _get_default_trampoline(symbol, guest_api): argument 125 if 'type' in guest_api['symbols'][symbol]: 126 if 'signature' in guest_api['symbols'][symbol]: 128 ' a symbol with defined type: %s') % symbol) 130 type_name = guest_api['symbols'][symbol]['type'] 133 custom_signature = guest_api['symbols'][symbol].get('signature', None) 154 for symbol, descr in guest_api['symbols'].items(): 158 trampoline = _get_default_trampoline(symbol, guest_api) 161 (symbol, err)) 167 trampoline = 'DoCustomTrampoline_' + symbol [all …]
|
D | api_analysis.py | 355 for symbol, descr in guest_symbols.items(): 356 if (symbol not in host_symbols): 358 comparator.compare_types(descr['type'], host_symbols[symbol]['type']) 373 for symbol, descr in guest_symbols.items(): 374 if (symbol not in host_symbols): 376 print("Symbol '%s' doesn't present on host" % symbol) 382 descr['type'], host_symbols[symbol]['type']) 401 for symbol, descr in guest_api['symbols'].items(): 413 for symbol, descr in guest_api['symbols'].items(): 419 for symbol, descr in guest_api['symbols'].items(): [all …]
|
/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 | 114 const SymbolTable::Symbol* symbol = ReferenceLinker::ResolveAttributeCheckVisibility( in TransformDerived() local 116 if (symbol) { in TransformDerived() 118 entry.key.id = symbol->id; in TransformDerived() 125 entry.value = ParseValueWithAttribute(std::move(entry.value), symbol->attribute.get()); in TransformDerived() 130 if (!symbol->attribute->Matches(*entry.value, nullptr)) { in TransformDerived() 136 symbol->attribute->Matches(*entry.value, &msg); in TransformDerived() 226 bool IsSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, in IsSymbolVisible() argument 228 if (symbol.is_public || ref.private_reference) { in IsSymbolVisible() 244 if (ref.id && symbol.id) { in IsSymbolVisible() 245 return ref.id.value().package_id() == symbol.id.value().package_id(); in IsSymbolVisible() [all …]
|
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
D | BluetoothPermissionChecker.java | 122 final MethodSymbol symbol = ASTHelpers.getSymbol(tree); in matchMethod() local 123 if (isCallbackOrWrapper(symbol)) return Description.NO_MATCH; in matchMethod() 126 if (isSuppressed(symbol)) return Description.NO_MATCH; in matchMethod() 138 .setMessage("Method " + symbol.name.toString() in matchMethod() 149 .setMessage("Method " + symbol.name.toString() in matchMethod() 156 .setMessage("Method " + symbol.name.toString() in matchMethod() 163 .setMessage("Method " + symbol.name.toString() in matchMethod() 177 private static boolean isCallbackOrWrapper(Symbol symbol) { in isCallbackOrWrapper() argument 178 if (symbol == null) return false; in isCallbackOrWrapper() 179 final String name = symbol.name.toString(); in isCallbackOrWrapper() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 60 static bool IsValidSymbol(StringPiece symbol) { in IsValidSymbol() argument 61 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); in IsValidSymbol() 66 std::string JavaClassGenerator::TransformToFieldName(StringPiece symbol) { in TransformToFieldName() argument 67 std::string output(symbol); 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() 210 bool JavaClassGenerator::SkipSymbol(const std::optional<SymbolTable::Symbol>& symbol) { in SkipSymbol() argument 211 return !symbol || (options_.types == JavaClassGeneratorOptions::SymbolTypes::kPublic && in SkipSymbol() [all …]
|
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/ |
D | ImmutabilityProcessor.kt | 156 symbol = field, in <lambda>() 322 symbol: Symbol, in <lambda>() 328 if (isIgnored(symbol)) return false in <lambda>() 338 printError(parentChain, symbol, MessageUtils.voidReturnFailure()) in <lambda>() 342 val policyAnnotation = symbol.getAnnotation(Immutable.Policy::class.java) in <lambda>() 352 printError(parentChain, symbol, nonInterfaceClassFailure()) in <lambda>() 356 parentChain, seenTypesByPolicy, symbol, in <lambda>() 369 visitType(parentChain, seenTypesByPolicy, symbol, typeArg, newPolicyExceptions) { in <lambda>() 402 private fun isIgnored(symbol: Symbol) = when { in <lambda>() 404 symbol.getAnnotation(Immutable.Ignore::class.java) != null -> true in <lambda>() [all …]
|
/frameworks/libs/binary_translation/kernel_api/tools/ |
D | api_analysis.py | 353 for symbol, descr in guest_symbols.items(): 354 if (symbol not in host_symbols): 356 comparator.compare_types(descr['type'], host_symbols[symbol]['type']) 371 for symbol, descr in guest_symbols.items(): 372 if (symbol not in host_symbols): 374 print("Symbol '%s' doesn't present on host" % symbol) 380 descr['type'], host_symbols[symbol]['type']) 399 for symbol, descr in guest_api['symbols'].items(): 411 for symbol, descr in guest_api['symbols'].items(): 417 for symbol, descr in guest_api['symbols'].items(): [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Context.h | 154 std::unique_ptr<SymbolTable::Symbol> symbol = variable 156 symbol_source_->name_map_[ParseNameOrDie(name)] = symbol.get(); 157 symbol_source_->id_map_[id] = symbol.get(); 158 symbol_source_->symbols_.push_back(std::move(symbol)); 164 std::unique_ptr<SymbolTable::Symbol> symbol = variable 166 symbol_source_->name_map_[ParseNameOrDie(name)] = symbol.get(); 167 symbol_source_->id_map_[id] = symbol.get(); 168 symbol_source_->symbols_.push_back(std::move(symbol));
|
/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);
|
/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/libs/hwui/platform/darwin/utils/ |
D | SharedLib.cpp | 28 void* SharedLib::getSymbol(void* library, const char* symbol) { in getSymbol() argument 29 return dlsym(library, symbol); in getSymbol()
|
/frameworks/base/libs/hwui/platform/linux/utils/ |
D | SharedLib.cpp | 28 void* SharedLib::getSymbol(void* library, const char* symbol) { in getSymbol() argument 29 return dlsym(library, symbol); in getSymbol()
|
/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/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/ |
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/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/core/java/com/android/internal/widget/ |
D | PeopleHelper.java | 111 public Icon createAvatarSymbol(@NonNull CharSequence name, @NonNull String symbol, in createAvatarSymbol() argument 113 if (symbol.isEmpty() || TextUtils.isDigitsOnly(symbol) in createAvatarSymbol() 114 || SPECIAL_CHAR_PATTERN.matcher(symbol).find()) { in createAvatarSymbol() 127 mTextPaint.setTextSize(symbol.length() == 1 ? mAvatarSize * 0.5f : mAvatarSize * 0.3f); in createAvatarSymbol() 129 canvas.drawText(symbol, radius, yPos, mTextPaint); in createAvatarSymbol()
|
/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
|