Home
last modified time | relevance | path

Searched refs:symbols (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp48 ReferenceLinkerVisitor(IAaptContext* context, SymbolTable* symbols, StringPool* stringPool, in ReferenceLinkerVisitor() argument
50 mContext(context), mSymbols(symbols), mPackageDecls(decl), mStringPool(stringPool), in ReferenceLinkerVisitor()
183 SymbolTable* symbols) { in resolveSymbol() argument
186 return symbols->findByName(mangled ? mangled.value() : reference.name.value()); in resolveSymbol()
188 return symbols->findById(reference.id.value()); in resolveSymbol()
195 const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, in resolveSymbolCheckVisibility() argument
197 const SymbolTable::Symbol* symbol = resolveSymbol(reference, nameMangler, symbols); in resolveSymbolCheckVisibility()
211 const Reference& reference, NameMangler* nameMangler, SymbolTable* symbols, in resolveAttributeCheckVisibility() argument
214 symbols, callSite, in resolveAttributeCheckVisibility()
229 SymbolTable* symbols, in compileXmlAttribute() argument
[all …]
DReferenceLinker.h49 NameMangler* mangler, SymbolTable* symbols);
58 SymbolTable* symbols,
68 SymbolTable* symbols,
78 SymbolTable* symbols,
95 static bool linkReference(Reference* reference, IAaptContext* context, SymbolTable* symbols,
DXmlReferenceLinker.cpp40 ReferenceVisitor(IAaptContext* context, SymbolTable* symbols, xml::IPackageDeclStack* decls, in ReferenceVisitor() argument
42 mContext(context), mSymbols(symbols), mDecls(decls), mCallSite(callSite), in ReferenceVisitor()
71 XmlVisitor(IAaptContext* context, SymbolTable* symbols, const Source& source, in XmlVisitor() argument
73 mContext(context), mSymbols(symbols), mSource(source), mSdkLevelsFound(sdkLevelsFound), in XmlVisitor()
74 mCallSite(callSite), mReferenceVisitor(context, symbols, this, callSite) { in XmlVisitor()
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp216 ASSERT_EQ(enumAttr->symbols.size(), 3u); in TEST_F()
218 AAPT_ASSERT_TRUE(enumAttr->symbols[0].symbol.name); in TEST_F()
219 EXPECT_EQ(enumAttr->symbols[0].symbol.name.value().entry, u"bar"); in TEST_F()
220 EXPECT_EQ(enumAttr->symbols[0].value, 0u); in TEST_F()
222 AAPT_ASSERT_TRUE(enumAttr->symbols[1].symbol.name); in TEST_F()
223 EXPECT_EQ(enumAttr->symbols[1].symbol.name.value().entry, u"bat"); in TEST_F()
224 EXPECT_EQ(enumAttr->symbols[1].value, 1u); in TEST_F()
226 AAPT_ASSERT_TRUE(enumAttr->symbols[2].symbol.name); in TEST_F()
227 EXPECT_EQ(enumAttr->symbols[2].symbol.name.value().entry, u"baz"); in TEST_F()
228 EXPECT_EQ(enumAttr->symbols[2].value, 2u); in TEST_F()
[all …]
DResourceValues.cpp362 if (!symbols.empty()) { in print()
364 << util::joiner(symbols.begin(), symbols.end(), ", ") in print()
DValueVisitor.h63 for (Attribute::Symbol& symbol : attribute->symbols) { in visitSubValues()
DFormat.proto133 repeated Symbol symbols = 4; field
DResourceUtils.cpp275 for (const Attribute::Symbol& symbol : enumAttr->symbols) { in tryParseEnumSymbol()
304 for (const Attribute::Symbol& symbol : flagAttr->symbols) { in tryParseFlagSymbol()
DResourceValues.h267 std::vector<Symbol> symbols; member
DDebug.cpp43 for (const auto& symbol : attr->symbols) { in visit()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DPickerConstant.java41 DateFormatSymbols symbols = DateFormatSymbols.getInstance(locale); in PickerConstant() local
42 months = symbols.getShortMonths(); in PickerConstant()
49 ampm = symbols.getAmPmStrings(); in PickerConstant()
/frameworks/base/tools/aapt/
DResource.cpp1620 sp<AaptSymbols> symbols = assets->getSymbolsFor(String8("R")); in buildResources() local
1621 err = table.addSymbols(symbols, bundle->getSkipSymbolsWithoutDefaultLocalization()); in buildResources()
1822 sp<AaptSymbols> symbols = in buildResources() local
1824 syms = permissionSymbols = symbols->addNestedSymbol( in buildResources()
1830 sp<AaptSymbols> symbols = in buildResources() local
1832 syms = permissionGroupSymbols = symbols->addNestedSymbol( in buildResources()
2096 const sp<AaptSymbols>& symbols, int indent, bool /* includePrivate */) in writeResourceLoadedCallbackForLayoutClasses() argument
2105 size_t N = symbols->getNestedSymbols().size(); in writeResourceLoadedCallbackForLayoutClasses()
2107 sp<AaptSymbols> nsymbols = symbols->getNestedSymbols().valueAt(i); in writeResourceLoadedCallbackForLayoutClasses()
2108 String8 realClassName(symbols->getNestedSymbols().keyAt(i)); in writeResourceLoadedCallbackForLayoutClasses()
[all …]
DResourceTable.cpp982 sp<AaptSymbols> symbols = assets->getSymbolsFor(String8("R")); in compileResourceFile() local
983 if (symbols != NULL) { in compileResourceFile()
984 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
986 if (symbols != NULL) { in compileResourceFile()
987 symbols->makeSymbolPublic(String8(name), srcPos); in compileResourceFile()
990 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
1094 sp<AaptSymbols> symbols = assets->getSymbolsFor(String8("R")); in compileResourceFile() local
1095 if (symbols != NULL) { in compileResourceFile()
1096 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1098 if (symbols != NULL) { in compileResourceFile()
[all …]
DAaptAssets.cpp862 const sp<AaptSymbols>& symbols = javaSymbols->mNestedSymbols.valueAt(i); in applyJavaSymbols() local
871 status_t myerr = mNestedSymbols.valueAt(pos)->applyJavaSymbols(symbols); in applyJavaSymbols()
1495 const sp<AaptSymbols>& symbols = mJavaSymbols.valueAt(i); in applyJavaSymbols() local
1503 status_t err = mSymbols.valueAt(pos)->applyJavaSymbols(symbols); in applyJavaSymbols()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagSymbolResolutions.inc11 "Fails to resolve symbols [%0:%1]\nPlease reports to `%2'",
12 "Fails to resolve symbols [%0:%1]\nPlease reports to `%2'")
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp731 Module::SymbolTable& symbols = pModule.getSymbolTable(); in sizeNamePools() local
745 symEnd = symbols.end(); in sizeNamePools()
746 for (symbol = symbols.begin(); symbol != symEnd; ++symbol) { in sizeNamePools()
751 symtab_local_cnt = 1 + symbols.numOfFiles() + symbols.numOfLocals() + in sizeNamePools()
752 symbols.numOfLocalDyns(); in sizeNamePools()
769 symEnd = symbols.dynamicEnd(); in sizeNamePools()
770 for (symbol = symbols.localDynBegin(); symbol != symEnd; ++symbol) { in sizeNamePools()
775 dynsym_local_cnt = 1 + symbols.numOfLocalDyns(); in sizeNamePools()
781 symEnd = symbols.dynamicEnd(); in sizeNamePools()
782 for (symbol = symbols.dynamicBegin(); symbol != symEnd; ++symbol) { in sizeNamePools()
[all …]
/frameworks/base/
DCleanSpec.mk61 $(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib/libequalizer.so)
62 $(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib/libequalizertest.so)
63 $(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib/libreverb.so)
64 $(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib/libreverbtest.so)
73 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/libandroid_runtime.so)
77 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/libhwui.so)
156 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/librtp_jni.so)
224 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/inputflinger $(PRODUCT_OUT)/symbols/system/…
231 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/inputflinger $(PRODUCT_OUT)/symbols/system/…
233 …(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/libinputflingerhost.so $(PRODUCT_OU…
/frameworks/base/core/res/
DAndroid.mk26 LOCAL_AAPT_FLAGS += --private-symbols com.android.internal
DMakeJavaSymbols.sed1 # Run this on the errors output by javac of missing resource symbols,
/frameworks/av/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/libmedia_native.so)
/frameworks/compile/mclinker/tools/mcld/
DOptions.td195 HelpText<"Discard all temporary local symbols">;
202 HelpText<"Discard all local symbols">;
231 HelpText<"Export all dynamic symbols">;
238 HelpText<"Not export all dynamic symbols">;
/frameworks/base/docs/html/ndk/guides/
Dprebuilts.jd112 <p>We recommend that you provide prebuilt shared libraries containing debug symbols. The NDK build
113 system always strips the symbols from the version of the library that it installs into
Dndk-build.jd91 optimization-related behavior, and inclusion of symbols. Table 1 shows the
105 </td><td>Release; Symbols; Not optimized</td><td>Release; No symbols;
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp237 for (const pb::Attribute_Symbol& pbSymbol : pbAttr.symbols()) { in deserializeValueFromPb()
244 attr->symbols.push_back(std::move(symbol)); in deserializeValueFromPb()
/frameworks/base/tools/aapt2/test/
DBuilders.h184 mAttr->symbols.push_back(Attribute::Symbol{ in addItem()

123