/frameworks/compile/mclinker/lib/Script/ |
H A D | RpnEvaluator.cpp | 84 // we set up symbol operand here. 87 const LDSymbol* symbol = local 89 if (symbol == NULL) { 93 sym_opd->setValue(symbol->value());
|
/frameworks/base/tools/aapt/ |
H A D | Symbol.h | 27 * A resource symbol, not attached to any configuration or context. 43 * A specific defintion of a symbol, defined with a configuration and a definition site. 50 Symbol symbol; member in struct:SymbolDefinition 85 : symbol(s) 91 return (symbol < rhs.symbol) || (config < rhs.config) || (source < rhs.source);
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | Stub.cpp | 35 // build a name for stub symbol 44 LDSymbol* symbol = local 54 setSymInfo(symbol->resolveInfo());
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | Assignment.h | 46 const SymOperand& symbol() const { return m_Symbol; } function in class:mcld::Assignment 47 SymOperand& symbol() { return m_Symbol; } function in class:mcld::Assignment
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 48 std::unique_ptr<Symbol> symbol = symbolSource->findByName(name); local 49 if (symbol) { 50 // Take ownership of the symbol into a shared_ptr. We do this because LruCache 52 std::shared_ptr<Symbol> sharedSymbol = std::shared_ptr<Symbol>(symbol.release()); 56 // The symbol has an ID, so we can also cache this! 72 std::unique_ptr<Symbol> symbol = symbolSource->findById(id); local 73 if (symbol) { 74 // Take ownership of the symbol into a shared_ptr. We do this because LruCache 76 std::shared_ptr<Symbol> sharedSymbol = std::shared_ptr<Symbol>(symbol.release()); 92 const SymbolTable::Symbol* symbol local 116 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>(); local 194 Attribute::Symbol symbol; local [all...] |
/frameworks/base/tools/aapt2/test/ |
H A D | Context.h | 108 std::unique_ptr<SymbolTable::Symbol> symbol = util::make_unique<SymbolTable::Symbol>( local 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>( local 120 mSymbolSource->mNameMap[parseNameOrDie(name)] = symbol.get(); 121 mSymbolSource->mIdMap[id] = symbol.get(); 122 mSymbolSource->mSymbols.push_back(std::move(symbol));
|
H A D | Builders.h | 116 Symbol symbol; local 117 symbol.state = state; 118 bool result = mTable->setSymbolStateAllowMangled(resName, id, symbol, &mDiagnostics);
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64LongBranchStub.cpp | 106 LDSymbol* symbol = pSrcReloc.symInfo()->outSymbol(); local 107 uint64_t dest = symbol->fragRef()->frag()->getParent()->getSection().addr() + 108 symbol->fragRef()->getOutputOffset();
|
H A D | AArch64LDBackend.cpp | 127 // Define the symbol _GLOBAL_OFFSET_TABLE_ if there is a symbol with the 161 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create 332 // A stub symbol should be local 390 // calculate the possible symbol value 392 LDSymbol* symbol = relocation->symInfo()->outSymbol(); local 393 if (symbol->hasFragRef()) { 394 uint64_t value = symbol->fragRef()->getOutputOffset(); 396 symbol->fragRef()->frag()->getParent()->getSection().addr(); 407 sym_value, // symbol valu [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 430 const Symbol& symbol, IDiagnostics* diag) { 431 return setSymbolStateImpl(name, resId, symbol, kValidNameChars, diag); 436 const Symbol& symbol, IDiagnostics* diag) { 437 return setSymbolStateImpl(name, resId, symbol, kValidNameMangledChars, diag); 441 const Symbol& symbol, const char16_t* validChars, 447 diag->error(DiagMessage(symbol.source) 460 diag->error(DiagMessage(symbol.source) 474 diag->error(DiagMessage(symbol.source) 488 diag->error(DiagMessage(symbol.source) 505 if (symbol 429 setSymbolState(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, IDiagnostics* diag) argument 434 setSymbolStateAllowMangled(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, IDiagnostics* diag) argument 440 setSymbolStateImpl(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, const char16_t* validChars, IDiagnostics* diag) argument [all...] |
H A D | ResourceValues.h | 266 Reference symbol; member in struct:aapt::Attribute::Symbol 348 if (s.symbol.name) { 349 out << s.symbol.name.value().entry;
|
H A D | ResourceParser.cpp | 91 Symbol symbol; local 92 symbol.state = res->symbolState.value(); 93 symbol.source = res->source; 94 symbol.comment = res->comment; 95 if (!table->setSymbolState(res->name, res->id, symbol, diag)) { 333 { u"java-symbol", std::mem_fn(&ResourceParser::parseSymbol) }, 339 { u"symbol", std::mem_fn(&ResourceParser::parseSymbol) }, 806 return a.symbol.name.value() < b.symbol.name.value(); 848 Attribute::Symbol& symbol local [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | ReferenceLinker.cpp | 80 // Find the attribute in the symbol table and check if it is visible from this callsite. 81 const SymbolTable::Symbol* symbol = ReferenceLinker::resolveAttributeCheckVisibility( variable 83 if (symbol) { 86 entry.key.id = symbol->id; 91 symbol->attribute.get()); 99 if (!symbol->attribute->matches(entry.value.get(), nullptr)) { 105 symbol->attribute->matches(entry.value.get(), &msg); 164 * The symbol is visible if it is public, or if the reference to it is requesting private access 167 bool ReferenceLinker::isSymbolVisible(const SymbolTable::Symbol& symbol, const Reference& ref, argument 169 if (!symbol 197 const SymbolTable::Symbol* symbol = resolveSymbol(reference, nameMangler, symbols); local 213 const SymbolTable::Symbol* symbol = resolveSymbolCheckVisibility(reference, nameMangler, local 232 const SymbolTable::Symbol* symbol = resolveSymbol(reference, nameMangler, symbols); local [all...] |
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 361 Symbol symbol; local 362 symbol.state = SymbolState::kPublic; 363 symbol.source = mSource.withLine(0); 364 if (!mTable->setSymbolStateAllowMangled(name, resId, symbol, 518 Attribute::Symbol symbol; local 519 symbol.value = util::deviceToHost32(mapEntry.value.data); 520 symbol.symbol = Reference(util::deviceToHost32(mapEntry.name.ident)); 521 attr->symbols.push_back(std::move(symbol));
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | BranchIsland.h | 115 const LDSymbol* symbol() const { return m_pSymbol; } function in class:mcld::BranchIsland::Key 121 llvm::StringRef sym_name(KEY.symbol()->name()); 133 if (KEY1.symbol() == KEY2.symbol()) { 137 if (KEY1.symbol()->hasFragRef() && KEY2.symbol()->hasFragRef()) { 138 const FragmentRef* ref1 = KEY1.symbol()->fragRef(); 139 const FragmentRef* ref2 = KEY2.symbol()->fragRef();
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 55 static bool isValidSymbol(const StringPiece16& symbol) { argument 56 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); 63 static std::string transform(const StringPiece16& symbol) { argument 64 std::string output = util::utf16ToUtf8(symbol); 166 for (const Attribute::Symbol& symbol : attr->symbols) { 168 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>" 169 << "<td>" << std::hex << symbol.value << std::dec << "</td>" 170 << "<td>" << util::trimWhitespace(symbol.symbol 192 std::unique_ptr<SymbolTable::Symbol> symbol; member in struct:aapt::StyleableAttr 246 const SymbolTable::Symbol* symbol = mContext->getExternalSymbols()->findByReference( local [all...] |
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 87 // Deserialize the symbol status (public/private with source and comments). 103 // This is a public symbol, we must encode the ID now if there is one. 240 Attribute::Symbol symbol; local 241 deserializeItemCommon(pbSymbol, &symbol.symbol); 242 if (!deserializeReferenceFromPb(pbSymbol.name(), &symbol.symbol)) { 245 symbol.value = pbSymbol.value(); 246 attr->symbols.push_back(std::move(symbol)); 427 diag->error(DiagMessage(source) << "invalid symbol poo [all...] |
/frameworks/compile/mclinker/tools/mcld/ |
H A D | Main.cpp | 526 // Setup symbol stripping mode. 622 // -u symbol 631 // --wrap=symbol 634 const char* symbol = arg->getValue(); local 635 // symbol -> __wrap_symbol 637 script_.renameMap().insert(symbol, exist); 641 .append(symbol); 645 mcld::warning(mcld::diag::rewrap) << symbol << to_wrap_str; 647 // __real_symbol -> symbol 650 .append(symbol); 662 const char* symbol = arg->getValue(); local [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFReader.cpp | 81 // skip the first NULL symbol 135 // Section symbol's st_name is the section index. 167 // 2. easy to know if a symbol is from .so 170 // sort symbols by symbol value and then weak before strong 173 // for each weak symbol, find out all its aliases, and 222 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); local 223 if (symbol == NULL) { 227 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset, r_addend); 249 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); 250 if (symbol 717 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); local [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 119 // Add the symbol set by -u as an undefind global symbol into symbol pool 137 // create the output symbol if it dose not have one 452 // symbol table. Since these symbols has fragRef to input fragments, which 487 // Traverse all the resolveInfo and add the output symbol to output 523 // go through the entire symbol assignments 525 LDSymbol* symbol = NULL; local 526 assert((*it).second.symbol().type() == Operand::SYMBOL); 527 const llvm::StringRef symName = (*it).second.symbol() 714 Module::sym_iterator symbol, symEnd = m_pModule->sym_end(); local 748 LDSymbol* symbol = (*assign).first; local [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ExprModel.java | 147 public SymbolExpr symbol(String text, Class type) { method in class:ExprModel 218 return register(new TernaryExpr(left, right, symbol("false", boolean.class))); 222 return register(new TernaryExpr(left, symbol("true", boolean.class), right));
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkMonitor.java | 662 private static String getSetting(Context context, String symbol, String defaultValue) { argument 663 final String value = Settings.Global.getString(context.getContentResolver(), symbol);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 62 /// Helper function to create a local symbol at the end of the fragment. 65 // Create and add symbol to the name pool. 78 // Create input symbol. 87 // The output symbol is simply an alias to the input symbol. 198 // Define the symbol _GLOBAL_OFFSET_TABLE_ if there is a symbol with the 365 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create 461 /// finalizeSymbol - finalize the symbol value 843 // calculate the possible symbol valu 845 LDSymbol* symbol = relocation->symInfo()->outSymbol(); local [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 324 // define symbol _GLOBAL_OFFSET_TABLE_ 478 // Define the symbol _GLOBAL_OFFSET_TABLE_ if there is a symbol with the 568 LDSymbol* symbol = relocation->symInfo()->outSymbol(); local 569 if (symbol->hasFragRef()) { 570 uint64_t value = symbol->fragRef()->getOutputOffset(); 572 symbol->fragRef()->frag()->getParent()->getSection().addr(); 576 sym_value, // symbol value 661 /// finalizeSymbol - finalize the symbol value 785 // We have to reset the description of the symbol her [all...] |
/frameworks/native/libs/input/ |
H A D | KeyCharacterMap.cpp | 1119 char16_t symbol = 0; local 1128 symbol = ch; 1132 key->number = digit ? digit : symbol;
|