Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.cpp1074 std::unique_ptr<T> CopyValueFields(std::unique_ptr<T> new_value, const T* value) { in CopyValueFields() argument
1075 new_value->SetSource(value->GetSource()); in CopyValueFields()
1076 new_value->SetComment(value->GetComment()); in CopyValueFields()
1077 return new_value; in CopyValueFields()
1093 auto new_value = std::make_unique<RawString>(pool_->MakeRef(value->value)); in TransformDerived() local
1094 return CopyValueFields(std::move(new_value), value); in TransformDerived()
1098 auto new_value = std::make_unique<String>(pool_->MakeRef(value->value)); in TransformDerived() local
1099 new_value->untranslatable_sections = value->untranslatable_sections; in TransformDerived()
1100 return CopyValueFields(std::move(new_value), value); in TransformDerived()
1104 auto new_value = std::make_unique<StyledString>(pool_->MakeRef(value->value)); in TransformDerived() local
[all …]
DResourceTable.cpp667 ResourceConfigValue* new_value = in Clone() local
669 new_value->value = config_value->value->Transform(cloner); in Clone()
/frameworks/base/media/mca/filterfw/native/core/
Dvalue.cpp64 int SetPODValue(Value* value, POD new_value) { in SetPODValue() argument
71 *reinterpret_cast<POD*>(value->value) = new_value; in SetPODValue()
202 int SetIntValue(Value* value, int new_value) { in SetIntValue() argument
203 return SetPODValue<int, INT_VALUE_TYPE>(value, new_value); in SetIntValue()
206 int SetFloatValue(Value* value, float new_value) { in SetFloatValue() argument
207 return SetPODValue<float, FLOAT_VALUE_TYPE>(value, new_value); in SetFloatValue()
210 int SetStringValue(Value* value, const char* new_value) { in SetStringValue() argument
211 return SetPtrValue<char, STRING_VALUE_TYPE>(value, new_value, strlen(new_value) + 1); in SetStringValue()
Dvalue.h65 int SetIntValue(Value* value, int new_value);
66 int SetFloatValue(Value* value, float new_value);
67 int SetStringValue(Value* value, const char* new_value);
/frameworks/base/tools/aapt2/optimize/
DVersionCollapser.cpp125 std::unique_ptr<ResourceConfigValue> new_value = in CollapseVersions() local
129 new_value->value = std::move(config_value->value); in CollapseVersions()
130 config_value = std::move(new_value); in CollapseVersions()
/frameworks/native/cmds/installd/
Dunique_file.cpp57 void UniqueFile::reset(int new_value, std::string path, CleanUpFunction new_cleanup) { in reset() argument
67 value_ = new_value; in reset()
Dunique_file.h86 void reset(int new_value, std::string path, CleanUpFunction new_cleanup = nullptr);
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_write_local.py35 def _try_modifying_local(self, local_name, new_value, data_type_in, argument
60 % (local_name, data_type_in, new_value),
Dtest_write_global.py36 def _try_modifying_global(self, global_name, new_value, data_type_in, argument
60 (global_name, data_type_in, new_value),
Dtest_write_local_element.py47 def _try_modifying_local(self, local_name, new_value, expected_output, argument
68 self.try_command('expr %s = %s' % (local_name, new_value),
Dtest_write_global_element.py48 def _try_modifying_global(self, global_name, new_value, expected_output, argument
69 self.try_command('expr %s = %s' % (global_name, new_value),
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp421 auto new_value = ResourceParser::ParseXml(sub_tree, type_flags, reference.allow_raw, *table, in LinkReference() local
423 if (new_value == nullptr) { in LinkReference()
432 if (auto ref = ValueCast<Reference>(new_value.get())) { in LinkReference()
435 return new_value; in LinkReference()
DManifestFixer.cpp526 if (Maybe<std::string> new_value = util::GetFullyQualifiedClassName(package, attr->value)) { in FullyQualifyClassName() local
527 attr->value = std::move(new_value.value()); in FullyQualifyClassName()
/frameworks/rs/tests/lldb/tests/harness/
Dutil_android.py592 def push_prop(self, name, new_value): argument
602 self._set_prop(name, new_value)
/frameworks/compile/mclinker/lib/Target/ARM/
DARMELFAttributeData.cpp479 char new_value[] = { in encode_secondary_compatibility_attribute() local
481 pValue.setStringValue(std::string(new_value, sizeof(new_value))); in encode_secondary_compatibility_attribute()
/frameworks/proto_logging/stats/
Datoms.proto3827 // is A,B,C and value is -B, then new_value is A,C and prev_value is A,B,C.
3829 optional string new_value = 3; field