Home
last modified time | relevance | path

Searched refs:Clone (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.h105 virtual Value* Clone(StringPool* new_pool) const = 0;
133 virtual Item* Clone(StringPool* new_pool) const override = 0;
169 Reference* Clone(StringPool* new_pool) const override;
188 Id* Clone(StringPool* new_pool) const override;
201 RawString* Clone(StringPool* new_pool) const override;
235 String* Clone(StringPool* new_pool) const override;
252 StyledString* Clone(StringPool* new_pool) const override;
272 FileReference* Clone(StringPool* new_pool) const override;
286 BinaryPrimitive* Clone(StringPool* new_pool) const override;
313 Attribute* Clone(StringPool* new_pool) const override;
[all …]
DResourceValues.cpp80 RawString* RawString::Clone(StringPool* new_pool) const { in Clone() function in aapt::RawString
139 Reference* Reference::Clone(StringPool* /*new_pool*/) const { in Clone() function in aapt::Reference
223 Id* Id::Clone(StringPool* /*new_pool*/) const { in Clone() function in aapt::Id
269 String* String::Clone(StringPool* new_pool) const { in Clone() function in aapt::String
324 StyledString* StyledString::Clone(StringPool* new_pool) const { in Clone() function in aapt::StyledString
360 FileReference* FileReference::Clone(StringPool* new_pool) const { in Clone() function in aapt::FileReference
409 BinaryPrimitive* BinaryPrimitive::Clone(StringPool* /*new_pool*/) const { in Clone() function in aapt::BinaryPrimitive
594 Attribute* Attribute::Clone(StringPool* /*new_pool*/) const { in Clone() function in aapt::Attribute
900 Style* Style::Clone(StringPool* new_pool) const { in Clone() function in aapt::Style
907 style->entries.push_back(Entry{entry.key, std::unique_ptr<Item>(entry.value->Clone(new_pool))}); in Clone()
[all …]
DResourceValues_test.cpp65 std::unique_ptr<Plural> b(a.Clone(&pool)); in TEST()
100 std::unique_ptr<Array> b(a.Clone(&pool)); in TEST()
163 std::unique_ptr<Style> b(a->Clone(nullptr)); in TEST()
177 std::unique_ptr<String> str_b(str_a.Clone(&pool_b)); in TEST()
DResourceTable.h296 std::unique_ptr<ResourceTable> Clone() const;
DResourceTable.cpp646 std::unique_ptr<ResourceTable> ResourceTable::Clone() const { in Clone() function in aapt::ResourceTable
665 new_value->value.reset(config_value->value->Clone(&new_table->string_pool)); in Clone()
/frameworks/base/tools/aapt2/xml/
DXmlDom.h56 virtual std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const = 0;
128 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const override;
139 std::unique_ptr<Node> Clone(const ElementCloneFunc& el_cloner) const override;
157 std::unique_ptr<XmlResource> Clone() const;
DXmlDom.cpp375 std::unique_ptr<XmlResource> XmlResource::Clone() const { in Clone() function in aapt::xml::XmlResource
387 cloned_attr.compiled_value.reset(attr.compiled_value->Clone(&cloned->string_pool)); in Clone()
494 std::unique_ptr<Node> Element::Clone(const ElementCloneFunc& el_cloner) const { in Clone() function in aapt::xml::Element
506 el->AppendChild(child->Clone(el_cloner)); in Clone()
512 return std::unique_ptr<Element>(static_cast<Element*>(Clone(el_cloner).release())); in CloneElement()
527 std::unique_ptr<Node> Text::Clone(const ElementCloneFunc&) const { in Clone() function in aapt::xml::Text
/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner.cpp28 dst.compiled_value.reset(src.compiled_value->Clone(out_string_pool)); in CopyAttr()
44 dst_attr->compiled_value.reset(src_attr.compiled_value->Clone(out_string_pool)); in CopyAttribute()
161 return std::unique_ptr<Item>(src->Clone(out_string_pool)); in CloneIfNotNull()
DTableMerger.cpp292 new_file_ref = std::unique_ptr<FileReference>(f->Clone(&master_table_->string_pool)); in DoMerge()
301 src_config_value->value->Clone(&master_table_->string_pool)); in DoMerge()
329 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool)); in CloneAndMangleFile()
DAutoVersioner.cpp131 std::unique_ptr<Style> new_style(style->Clone(&table->string_pool)); in Consume()
/frameworks/base/media/mca/filterfw/native/core/
Dnative_frame.h67 NativeFrame* Clone() const;
Dnative_frame.cpp45 NativeFrame* NativeFrame::Clone() const { in Clone() function in android::filterfw::NativeFrame
Dgl_frame.h73 GLFrame* Clone() const;
Dgl_frame.cpp195 GLFrame* GLFrame::Clone() const { in Clone() function in android::filterfw::GLFrame
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp245 std::unique_ptr<ResourceTable> table = old_table.Clone(); in FilterTable()
266 *updated_manifest = apk_manifest->Clone(); in UpdateManifest()
/frameworks/base/tools/aapt2/test/
DContext.h192 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->Clone(nullptr)); in CloneSymbol()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp352 std::unique_ptr<Styleable>(styleable.Clone(nullptr))) in TEST()
390 std::unique_ptr<Styleable>(styleable.Clone(nullptr))) in TEST()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp731 static std::shared_ptr<Impl> Clone(const std::shared_ptr<Impl> &);
740 std::shared_ptr<C2FieldUtils::Info::Impl> C2FieldUtils::Info::Impl::Clone(const std::shared_ptr<Imp… in Clone() function in C2FieldUtils::Info::Impl
749 res.parent = Clone(res.parent); in clone()
1077 : C2FieldUtils::Iterator::Impl(C2FieldUtils::Info::Impl::Clone(info)) { in C2FieldUtilsCousinsIterator()
/frameworks/base/tools/aapt2/split/
DTableSplitter.cpp261 config_value->value->Clone(&split_table->string_pool)); in SplitTable()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp237 localized->values[i] = std::unique_ptr<Item>(plural->values[i]->Clone(pool_)); in Visit()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp313 std::unique_ptr<Value>(value->Clone(nullptr)), in BuildTableWithSparseEntries()
319 std::unique_ptr<Value>(value->Clone(nullptr)), in BuildTableWithSparseEntries()