Searched defs:symbol (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/compile/mclinker/lib/Script/
H A DRpnEvaluator.cpp84 // 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 DSymbol.h27 * 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);
H A DAaptAssets.cpp850 entry.sourcePos.error("Symbol '%s' declared with <java-symbol> not defined\n", name.string());
854 //printf("**** setting symbol #%d/%d %s to isJavaSymbol=%d\n",
866 pos.error("Java symbol dir %s not defined\n", name.string());
1499 pos.error("Java symbol dir %s not defined\n", name.string());
1620 valid_symbol_name(const String8& symbol) argument
1635 const char*const s = symbol.string();
/frameworks/compile/mclinker/lib/Fragment/
H A DStub.cpp35 // build a name for stub symbol
44 LDSymbol* symbol = local
54 setSymInfo(symbol->resolveInfo());
/frameworks/compile/mclinker/include/mcld/Script/
H A DAssignment.h46 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 DSymbolTable.cpp48 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 DContext.h108 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 DBuilders.h116 Symbol symbol; local
117 symbol.state = state;
118 bool result = mTable->setSymbolStateAllowMangled(resName, id, symbol, &mDiagnostics);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LongBranchStub.cpp106 LDSymbol* symbol = pSrcReloc.symInfo()->outSymbol(); local
107 uint64_t dest = symbol->fragRef()->frag()->getParent()->getSection().addr() +
108 symbol->fragRef()->getOutputOffset();
H A DAArch64LDBackend.cpp127 // 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 DResourceTable.cpp419 const Symbol& symbol, IDiagnostics* diag) {
420 return setSymbolStateImpl(name, resId, symbol, kValidNameChars, diag);
425 const Symbol& symbol, IDiagnostics* diag) {
426 return setSymbolStateImpl(name, resId, symbol, kValidNameMangledChars, diag);
430 const Symbol& symbol, const char16_t* validChars,
436 diag->error(DiagMessage(symbol.source)
449 diag->error(DiagMessage(symbol.source)
463 diag->error(DiagMessage(symbol.source)
477 diag->error(DiagMessage(symbol.source)
494 if (symbol
418 setSymbolState(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, IDiagnostics* diag) argument
423 setSymbolStateAllowMangled(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, IDiagnostics* diag) argument
429 setSymbolStateImpl(const ResourceNameRef& name, const ResourceId resId, const Symbol& symbol, const char16_t* validChars, IDiagnostics* diag) argument
[all...]
H A DResourceValues.h260 Reference symbol; member in struct:aapt::Attribute::Symbol
337 if (s.symbol.name) {
338 out << s.symbol.name.value().entry;
H A DResourceParser.cpp91 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 DReferenceLinker.cpp80 // 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 DBinaryResourceParser.cpp361 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 DBranchIsland.h115 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 DJavaClassGenerator.cpp55 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 DTableProtoDeserializer.cpp87 // 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.
238 Attribute::Symbol symbol; local
239 deserializeItemCommon(pbSymbol, &symbol.symbol);
240 if (!deserializeReferenceFromPb(pbSymbol.name(), &symbol.symbol)) {
243 symbol.value = pbSymbol.value();
244 attr->symbols.push_back(std::move(symbol));
425 diag->error(DiagMessage(source) << "invalid symbol poo
[all...]
/frameworks/compile/mclinker/tools/mcld/
H A DMain.cpp526 // 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 DELFReader.cpp81 // 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 DObjectLinker.cpp119 // 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 DExprModel.java147 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/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp62 /// 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 DHexagonLDBackend.cpp324 // 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 DKeyCharacterMap.cpp1119 char16_t symbol = 0; local
1128 symbol = ch;
1132 key->number = digit ? digit : symbol;

Completed in 6253 milliseconds

12