Home
last modified time | relevance | path

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

12

/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DMapUnittestProto3.cs201 mapInt32Int32_ = other.mapInt32Int32_.Clone(); in TestMap()
202 mapInt64Int64_ = other.mapInt64Int64_.Clone(); in TestMap()
203 mapUint32Uint32_ = other.mapUint32Uint32_.Clone(); in TestMap()
204 mapUint64Uint64_ = other.mapUint64Uint64_.Clone(); in TestMap()
205 mapSint32Sint32_ = other.mapSint32Sint32_.Clone(); in TestMap()
206 mapSint64Sint64_ = other.mapSint64Sint64_.Clone(); in TestMap()
207 mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone(); in TestMap()
208 mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone(); in TestMap()
209 mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone(); in TestMap()
210 mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone(); in TestMap()
[all …]
DUnittestWellKnownTypes.cs204 AnyField = other.anyField_ != null ? other.AnyField.Clone() : null; in TestWellKnownTypes()
205 ApiField = other.apiField_ != null ? other.ApiField.Clone() : null; in TestWellKnownTypes()
206 DurationField = other.durationField_ != null ? other.DurationField.Clone() : null; in TestWellKnownTypes()
207 EmptyField = other.emptyField_ != null ? other.EmptyField.Clone() : null; in TestWellKnownTypes()
208 FieldMaskField = other.fieldMaskField_ != null ? other.FieldMaskField.Clone() : null; in TestWellKnownTypes()
209 … SourceContextField = other.sourceContextField_ != null ? other.SourceContextField.Clone() : null; in TestWellKnownTypes()
210 StructField = other.structField_ != null ? other.StructField.Clone() : null; in TestWellKnownTypes()
211 TimestampField = other.timestampField_ != null ? other.TimestampField.Clone() : null; in TestWellKnownTypes()
212 TypeField = other.typeField_ != null ? other.TypeField.Clone() : null; in TestWellKnownTypes()
222 ValueField = other.valueField_ != null ? other.ValueField.Clone() : null; in TestWellKnownTypes()
[all …]
DUnittestProto3.cs276 …SingleNestedMessage = other.singleNestedMessage_ != null ? other.SingleNestedMessage.Clone() : nul… in TestAllTypes()
277 …SingleForeignMessage = other.singleForeignMessage_ != null ? other.SingleForeignMessage.Clone() : … in TestAllTypes()
278 …SingleImportMessage = other.singleImportMessage_ != null ? other.SingleImportMessage.Clone() : nul… in TestAllTypes()
282 …essage = other.singlePublicImportMessage_ != null ? other.SinglePublicImportMessage.Clone() : null; in TestAllTypes()
283 repeatedInt32_ = other.repeatedInt32_.Clone(); in TestAllTypes()
284 repeatedInt64_ = other.repeatedInt64_.Clone(); in TestAllTypes()
285 repeatedUint32_ = other.repeatedUint32_.Clone(); in TestAllTypes()
286 repeatedUint64_ = other.repeatedUint64_.Clone(); in TestAllTypes()
287 repeatedSint32_ = other.repeatedSint32_.Clone(); in TestAllTypes()
288 repeatedSint64_ = other.repeatedSint64_.Clone(); in TestAllTypes()
[all …]
DUnittestIssues.cs112 public Issue307 Clone() { in Clone() method in UnitTest.Issues.TestProtos.Issue307
203 public NestedOnce Clone() { in Clone() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce
294 public NestedTwice Clone() { in Clone() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice
391 values_ = other.values_.Clone(); in NegativeEnumMessage()
392 packedValues_ = other.packedValues_.Clone(); in NegativeEnumMessage()
396 public NegativeEnumMessage Clone() { in Clone() method in UnitTest.Issues.TestProtos.NegativeEnumMessage
552 public DeprecatedChild Clone() { in Clone() method in UnitTest.Issues.TestProtos.DeprecatedChild
639 primitiveArray_ = other.primitiveArray_.Clone(); in DeprecatedFieldsMessage()
640 MessageValue = other.messageValue_ != null ? other.MessageValue.Clone() : null; in DeprecatedFieldsMessage()
641 messageArray_ = other.messageArray_.Clone(); in DeprecatedFieldsMessage()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs259 public ConformanceRequest Clone() { in Clone() method in Conformance.ConformanceRequest
480 public ConformanceResponse Clone() { in Clone() method in Conformance.ConformanceResponse
804 …lNestedMessage = other.optionalNestedMessage_ != null ? other.OptionalNestedMessage.Clone() : null; in TestAllTypes()
805 …reignMessage = other.optionalForeignMessage_ != null ? other.OptionalForeignMessage.Clone() : null; in TestAllTypes()
810 RecursiveMessage = other.recursiveMessage_ != null ? other.RecursiveMessage.Clone() : null; in TestAllTypes()
811 repeatedInt32_ = other.repeatedInt32_.Clone(); in TestAllTypes()
812 repeatedInt64_ = other.repeatedInt64_.Clone(); in TestAllTypes()
813 repeatedUint32_ = other.repeatedUint32_.Clone(); in TestAllTypes()
814 repeatedUint64_ = other.repeatedUint64_.Clone(); in TestAllTypes()
815 repeatedSint32_ = other.repeatedSint32_.Clone(); in TestAllTypes()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs201 file_ = other.file_.Clone(); in FileDescriptorSet()
205 public FileDescriptorSet Clone() { in Clone() method in Google.Protobuf.Reflection.FileDescriptorSet
315 dependency_ = other.dependency_.Clone(); in FileDescriptorProto()
316 publicDependency_ = other.publicDependency_.Clone(); in FileDescriptorProto()
317 weakDependency_ = other.weakDependency_.Clone(); in FileDescriptorProto()
318 messageType_ = other.messageType_.Clone(); in FileDescriptorProto()
319 enumType_ = other.enumType_.Clone(); in FileDescriptorProto()
320 service_ = other.service_.Clone(); in FileDescriptorProto()
321 extension_ = other.extension_.Clone(); in FileDescriptorProto()
322 Options = other.options_ != null ? other.Options.Clone() : null; in FileDescriptorProto()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs119 fields_ = other.fields_.Clone(); in Type()
120 oneofs_ = other.oneofs_.Clone(); in Type()
121 options_ = other.options_.Clone(); in Type()
122 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone() : null; in Type()
127 public Type Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Type
385 options_ = other.options_.Clone(); in Field()
391 public Field Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Field
886 enumvalue_ = other.enumvalue_.Clone(); in Enum()
887 options_ = other.options_.Clone(); in Enum()
888 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone() : null; in Enum()
[all …]
DStruct.cs102 fields_ = other.fields_.Clone(); in Struct()
106 public Struct Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Struct
236 StructValue = other.StructValue.Clone(); in Value()
239 ListValue = other.ListValue.Clone(); in Value()
246 public Value Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Value
556 values_ = other.values_.Clone(); in ListValue()
560 public ListValue Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.ListValue
DApi.cs81 methods_ = other.methods_.Clone(); in Api()
82 options_ = other.options_.Clone(); in Api()
84 SourceContext = other.sourceContext_ != null ? other.SourceContext.Clone() : null; in Api()
85 mixins_ = other.mixins_.Clone(); in Api()
90 public Api Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Api
397 options_ = other.options_.Clone(); in Method()
402 public Method Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Method
774 public Mixin Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Mixin
DWrappers.cs86 public DoubleValue Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.DoubleValue
211 public FloatValue Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.FloatValue
336 public Int64Value Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Int64Value
461 public UInt64Value Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.UInt64Value
586 public Int32Value Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.Int32Value
711 public UInt32Value Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.UInt32Value
836 public BoolValue Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.BoolValue
961 public StringValue Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.StringValue
1086 public BytesValue Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.BytesValue
DFieldMask.cs265 paths_ = other.paths_.Clone(); in FieldMask()
269 public FieldMask Clone() { in Clone() method in Google.Protobuf.WellKnownTypes.FieldMask
/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.cpp373 std::unique_ptr<XmlResource> XmlResource::Clone() const { in Clone() function in aapt::xml::XmlResource
385 cloned_attr.compiled_value.reset(attr.compiled_value->Clone(&cloned->string_pool)); in Clone()
492 std::unique_ptr<Node> Element::Clone(const ElementCloneFunc& el_cloner) const { in Clone() function in aapt::xml::Element
504 el->AppendChild(child->Clone(el_cloner)); in Clone()
510 return std::unique_ptr<Element>(static_cast<Element*>(Clone(el_cloner).release())); in CloneElement()
525 std::unique_ptr<Node> Text::Clone(const ElementCloneFunc&) const { in Clone() function in aapt::xml::Text
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DByteString.cs122 return (byte[]) bytes.Clone(); in ToByteArray()
153 return new ByteString((byte[]) bytes.Clone()); in CopyFrom()
DIDeepCloneable.cs52 T Clone(); in Clone() method
/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddressbook.cs75 phones_ = other.phones_.Clone(); in Person()
79 public Person Clone() { in Clone() method in Google.Protobuf.Examples.AddressBook.Person
281 public PhoneNumber Clone() { in Clone() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber
429 people_ = other.people_.Clone(); in AddressBook()
433 public AddressBook Clone() { in Clone() method in Google.Protobuf.Examples.AddressBook.AddressBook
/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;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs68 public RepeatedField<T> Clone() in Clone() method in Google.Protobuf.Collections.RepeatedField
73 clone.array = (T[])array.Clone(); in Clone()
79 clone.array[i] = cloneableArray[i].Clone(); in Clone()

12