Searched refs:compiled_value (Results 1 – 17 of 17) sorted by relevance
28 if (src.compiled_value != nullptr) { in CopyAttr()29 dst.compiled_value = src.compiled_value->Transform(cloner); in CopyAttr()45 if (src_attr.compiled_value != nullptr) { in CopyAttribute()46 dst_attr->compiled_value = src_attr.compiled_value->Transform(cloner); in CopyAttribute()176 CloneIfNotNull(src_attr.compiled_value, out_string_pool)}, in Degrade()
93 attr.compiled_value = ResourceUtils::TryParseItemForAttribute(context_->GetDiagnostics(), in Visit()95 if (attr.compiled_value) { in Visit()97 attr.compiled_value->SetSource(source); in Visit()98 attr.compiled_value = attr.compiled_value->Transform(reference_transformer_); in Visit()
376 attr->compiled_value = std::move(result); in FixCoreAppAttribute()794 attr->compiled_value = {}; in Consume()800 attr->compiled_value = {}; in Consume()809 attr->compiled_value = {}; in Consume()815 attr->compiled_value = {}; in Consume()
776 EXPECT_THAT(attr->compiled_value, NotNull()); in TEST_F()777 EXPECT_THAT(ValueCast<BinaryPrimitive>(attr->compiled_value.get()), NotNull()); in TEST_F()
361 if (attr.compiled_value != nullptr) { in ExtractCompiledString()362 const String* compiled_str = ValueCast<String>(attr.compiled_value.get()); in ExtractCompiledString()385 if (attr.compiled_value != nullptr) { in ExtractCompiledInt()386 const BinaryPrimitive* compiled_prim = ValueCast<BinaryPrimitive>(attr.compiled_value.get()); in ExtractCompiledInt()409 if (attr.compiled_value != nullptr) { in ExtractSdkVersion()410 const BinaryPrimitive* compiled_prim = ValueCast<BinaryPrimitive>(attr.compiled_value.get()); in ExtractSdkVersion()420 const String* compiled_str = ValueCast<String>(attr.compiled_value.get()); in ExtractSdkVersion()539 version_code->compiled_value = ResourceUtils::TryParseInt(version_code->value); in SetLongVersionCode()546 version_major->compiled_value = ResourceUtils::TryParseInt(version_major->value); in SetLongVersionCode()
831 if (BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(attr->compiled_value.get())) { in ExtractCompileSdkVersions()842 } else if (String* str = ValueCast<String>(attr->compiled_value.get())) { in ExtractCompileSdkVersions()855 if (String* str = ValueCast<String>(attr->compiled_value.get())) { in ExtractCompileSdkVersions()1113 if (localeConfig->compiled_value) { in VerifyLocaleFormat()1114 const auto localeconfig_reference = ValueCast<Reference>(localeConfig->compiled_value.get()); in VerifyLocaleFormat()1123 android::DiagMessage(localeConfig->compiled_value->GetSource()) in VerifyLocaleFormat()1131 android::DiagMessage(localeConfig->compiled_value->GetSource()) in VerifyLocaleFormat()1771 const auto icon_reference = ValueCast<Reference>(icon->compiled_value.get()); in AliasAdaptiveIcon()1788 const auto round_icon_reference = ValueCast<Reference>(round_icon->compiled_value.get()); in AliasAdaptiveIcon()1852 if (attr->compiled_value) { in VerifySharedUserId()[all …]
298 auto version_code_value = ValueCast<BinaryPrimitive>(version_code->compiled_value.get()); in UpdateManifest()308 version_code_major_value = ValueCast<BinaryPrimitive>(version_code_major->compiled_value.get()); in UpdateManifest()331 min_sdk_attr->compiled_value = ResourceUtils::TryParseInt(min_sdk_str); in UpdateManifest()396 size->compiled_value = ResourceUtils::MakeInt(screen_size); in AddScreens()400 density->compiled_value = ResourceUtils::MakeInt(config.density); in AddScreens()
269 if (xml_attr->compiled_value != nullptr) { in WriteAttributes()272 String* string_value = ValueCast<String>(xml_attr->compiled_value.get()); in WriteAttributes()278 CHECK(xml_attr->compiled_value->Flatten(&flat_attr->typedValue)); in WriteAttributes()
477 doc->root->attributes[0].compiled_value = in TEST_F()500 doc->root->attributes[0].compiled_value = ResourceUtils::MakeBool(true); in TEST_F()520 doc->root->attributes[0].compiled_value = ResourceUtils::MakeBool(true); in TEST_F()
259 attr.compiled_value = ResourceUtils::ParseBinaryResValue( in CopyAttributes()389 if (attr.compiled_value != nullptr) { in Clone()390 cloned_attr.compiled_value = attr.compiled_value->Transform(cloner); in Clone()
82 std::unique_ptr<Item> compiled_value; member
69 if (attr.compiled_value) { in Visit()70 auto ref = ValueCast<Reference>(attr.compiled_value.get()); in Visit()
811 if (attr.compiled_value != nullptr) { in SerializeXmlToPb()812 SerializeItemToPb(*attr.compiled_value, pb_attr->mutable_compiled_item()); in SerializeXmlToPb()814 pb_src->set_line_number(attr.compiled_value->GetSource().line.value_or(0)); in SerializeXmlToPb()
273 attr.compiled_value = ResourceUtils::TryParseItemForAttribute( in TEST()275 attr.compiled_value->SetSource(android::Source().WithLine(25)); in TEST()320 ASSERT_THAT(actual_attr.compiled_value, NotNull()); in TEST()321 const BinaryPrimitive* prim = ValueCast<BinaryPrimitive>(actual_attr.compiled_value.get()); in TEST()
1104 attr.compiled_value = in DeserializeXmlFromPb()1106 if (attr.compiled_value == nullptr) { in DeserializeXmlFromPb()1109 attr.compiled_value->SetSource(android::Source().WithLine(pb_attr.source().line_number())); in DeserializeXmlFromPb()
349 if (attr->compiled_value) { in GetAttributeInteger()351 Value* value = attr->compiled_value.get(); in GetAttributeInteger()355 value = attr->compiled_value.get(); in GetAttributeInteger()388 if (attr->compiled_value) { in GetAttributeString()390 Value* value = attr->compiled_value.get(); in GetAttributeString()394 value = attr->compiled_value.get(); in GetAttributeString()
522 if (attr.compiled_value != nullptr) { in Visit()523 attr.compiled_value->PrettyPrint(printer_); in Visit()