Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/core/res/
DMakeJavaSymbols.sed2 # 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/
DDiagSymbolResolutions.inc3 "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 …]
DDiagRelocations.inc19 "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 …]
DBranchIsland.h111 const LDSymbol* symbol() const { return m_pSymbol; } in symbol() function
117 llvm::StringRef sym_name(KEY.symbol()->name()); in operator()
129 if (KEY1.symbol() == KEY2.symbol()) { in operator()
133 if (KEY1.symbol()->hasFragRef() && KEY2.symbol()->hasFragRef()) { in operator()
134 const FragmentRef* ref1 = KEY1.symbol()->fragRef(); in operator()
135 const FragmentRef* ref2 = KEY2.symbol()->fragRef(); in operator()
DDiagGOTPLT.inc3 "%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")
DDiagCommonKinds.inc46 "wrapped symbol `%0' had been claimed",
47 "wrapped symbol `%0' had been claimed")
56 "can not read symbol[%0] in file %1",
57 "can not read symbol[%0] in file %1")
/frameworks/compile/mclinker/lib/Object/
DObjectLinker.cpp525 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/
DSymbol.h50 Symbol symbol; member
85 : symbol(s) in SymbolDefinition()
91 return (symbol < rhs.symbol) || (config < rhs.config) || (source < rhs.source);
DAaptAssets.h462 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/
DBinaryResourceParser.cpp53 idToName(entry.symbol); in visit()
713 ResourceNameRef symbol; in parseValue() local
714 if (getSymbol(&value->data, &symbol)) { in parseValue()
715 return util::make_unique<Reference>(symbol, type); in parseValue()
761 ResourceNameRef symbol; in parseStyle() local
762 if (getSymbol(&map->parent.ident, &symbol)) { in parseStyle()
763 style->parent.name = symbol.toResourceName(); in parseStyle()
777 ResourceNameRef symbol; in parseStyle() local
778 bool result = getSymbol(&mapEntry.name.ident, &symbol); in parseStyle()
780 styleEntry.key.name = symbol.toResourceName(); in parseStyle()
[all …]
DDebug.cpp39 for (const auto& symbol : attr.symbols) { in visit() local
41 << symbol.symbol.name.entry << " (" << symbol.symbol.id << ") = " in visit()
42 << symbol.value; in visit()
DJavaClassGenerator.cpp65 static bool isValidSymbol(const StringPiece16& symbol) { in isValidSymbol() argument
66 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end(); in isValidSymbol()
73 static std::u16string transform(const StringPiece16& symbol) { in transform() argument
74 std::u16string output = symbol.toString(); in transform()
DResourceParser_test.cpp278 EXPECT_EQ(enumAttr->symbols[0].symbol.name.entry, u"bar"); in TEST_F()
281 EXPECT_EQ(enumAttr->symbols[1].symbol.name.entry, u"bat"); in TEST_F()
284 EXPECT_EQ(enumAttr->symbols[2].symbol.name.entry, u"baz"); in TEST_F()
302 EXPECT_EQ(flagAttr->symbols[0].symbol.name.entry, u"bar"); in TEST_F()
305 EXPECT_EQ(flagAttr->symbols[1].symbol.name.entry, u"bat"); in TEST_F()
308 EXPECT_EQ(flagAttr->symbols[2].symbol.name.entry, u"baz"); in TEST_F()
DLinker.cpp256 for (auto& symbol : attr.symbols) { in visit() local
257 visit(symbol.symbol, a); in visit()
/frameworks/compile/mclinker/lib/Script/
DScriptParser.yy195 %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 …]
DRpnEvaluator.cpp87 const LDSymbol* symbol = in eval() local
89 if (symbol == NULL) { in eval()
93 sym_opd->setValue(symbol->value()); in eval()
DAssignment.cpp115 *it = &(prevDotAssign.symbol()); in activate()
152 *it = &(prevDotAssign.symbol()); in activate()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp732 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/media/libmediaplayerservice/
DSharedLibrary.cpp43 void *SharedLibrary::lookup(const char *symbol) const { in lookup()
47 return dlsym(mLibHandle, symbol); in lookup()
DSharedLibrary.h31 void *lookup(const char *symbol) const;
/frameworks/compile/mclinker/include/mcld/Script/
DAssignment.h46 const SymOperand& symbol() const { return m_Symbol; } in symbol() function
47 SymOperand& symbol() { return m_Symbol; } in symbol() function
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp620 const char* symbol = arg->getValue(); in TranslateArguments() local
623 script_.renameMap().insert(symbol, exist); in TranslateArguments()
627 .append(symbol); in TranslateArguments()
631 mcld::warning(mcld::diag::rewrap) << symbol << to_wrap_str; in TranslateArguments()
636 .append(symbol); in TranslateArguments()
639 from_real->setValue(symbol); in TranslateArguments()
642 mcld::warning(mcld::diag::rewrap) << symbol << from_real_str; in TranslateArguments()
648 const char* symbol = arg->getValue(); in TranslateArguments() local
651 script_.renameMap().insert(symbol, exist); in TranslateArguments()
654 to_wrap_str.append(symbol) in TranslateArguments()
[all …]
DOptions.td19 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">;
285 "a non-weak undefined symbol reference from">;
387 HelpText<"Define a symbol">;
391 HelpText<"Use a wrap function for the symbol">;
395 HelpText<"Use a portable function for the symbol">;
445 def SymbolGroup : OptionGroup<"symbol">,
450 HelpText<"Force symbol to be undefined in the output file">;
457 HelpText<"Define common symbol">;
/frameworks/compile/mclinker/lib/LD/
DStubFactory.cpp83 LDSymbol* symbol = in create() local
93 stub->setSymInfo(symbol->resolveInfo()); in create()
DELFReader.cpp222 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); in readRela() local
223 if (symbol == NULL) { in readRela()
227 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset, r_addend); in readRela()
249 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); in readRel() local
250 if (symbol == NULL) { in readRel()
254 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset); in readRel()
717 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); in readRela() local
718 if (symbol == NULL) { in readRela()
722 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset, r_addend); in readRela()
743 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); in readRel() local
[all …]

123