Home
last modified time | relevance | path

Searched refs:CopyFrom (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs44 ByteString b1 = ByteString.CopyFrom(1, 2, 3); in Equality()
45 ByteString b2 = ByteString.CopyFrom(1, 2, 3); in Equality()
46 ByteString b3 = ByteString.CopyFrom(1, 2, 4); in Equality()
47 ByteString b4 = ByteString.CopyFrom(1, 2, 3, 4); in Equality()
78 ByteString bs = ByteString.CopyFrom("AB", Encoding.Unicode); in CopyFromStringWithExplicitEncoding()
103 ByteString bs = ByteString.CopyFrom(data); in CopyFromByteArrayCopiesContents()
135 ByteString bs = ByteString.CopyFrom(data, 2, 3); in CopyFromPortion()
151 ByteString bs = ByteString.CopyFrom("\u20ac", Encoding.Unicode); in ToStringWithExplicitEncoding()
DSampleMessages.cs52 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
74 …RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6), ByteString.CopyFrom(… in CreateFullTestAllTypes()
DGeneratedMessageTest.cs143 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in RoundTrip_SingleValues()
177 RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6) }, in RoundTrip_RepeatedValues()
218 { 5, ByteString.CopyFrom(6, 7, 8) }, in RoundTrip_Maps()
219 { 25, ByteString.CopyFrom(1, 2, 3, 4, 5) }, in RoundTrip_Maps()
445 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CloneSingleNonMessageValues()
475 RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6) }, in CloneRepeatedNonMessageValues()
571 var bytes = ByteString.CopyFrom(1, 2, 3); in OneofProperties()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwrappers.pb.h60 CopyFrom(from);
79 void CopyFrom(const ::google::protobuf::Message& from);
81 void CopyFrom(const DoubleValue& from);
155 CopyFrom(from);
174 void CopyFrom(const ::google::protobuf::Message& from);
176 void CopyFrom(const FloatValue& from);
250 CopyFrom(from);
269 void CopyFrom(const ::google::protobuf::Message& from);
271 void CopyFrom(const Int64Value& from);
345 CopyFrom(from);
[all …]
Dwrappers.pb.cc498 void DoubleValue::CopyFrom(const ::google::protobuf::Message& from) { in CopyFrom() function in google::protobuf::DoubleValue
505 void DoubleValue::CopyFrom(const DoubleValue& from) { in CopyFrom() function in google::protobuf::DoubleValue
524 CopyFrom(*other); in Swap()
525 other->CopyFrom(temp); in Swap()
760 void FloatValue::CopyFrom(const ::google::protobuf::Message& from) { in CopyFrom() function in google::protobuf::FloatValue
767 void FloatValue::CopyFrom(const FloatValue& from) { in CopyFrom() function in google::protobuf::FloatValue
786 CopyFrom(*other); in Swap()
787 other->CopyFrom(temp); in Swap()
1024 void Int64Value::CopyFrom(const ::google::protobuf::Message& from) { in CopyFrom() function in google::protobuf::Int64Value
1031 void Int64Value::CopyFrom(const Int64Value& from) { in CopyFrom() function in google::protobuf::Int64Value
[all …]
Dempty.pb.h52 CopyFrom(from);
71 void CopyFrom(const ::google::protobuf::Message& from);
73 void CopyFrom(const Empty& from);
Dduration.pb.h52 CopyFrom(from);
66 void CopyFrom(const ::google::protobuf::Message& from);
68 void CopyFrom(const Duration& from);
Dempty.pb.cc258 void Empty::CopyFrom(const ::google::protobuf::Message& from) { in CopyFrom() function in google::protobuf::Empty
265 void Empty::CopyFrom(const Empty& from) { in CopyFrom() function in google::protobuf::Empty
284 CopyFrom(*other); in Swap()
285 other->CopyFrom(temp); in Swap()
Dtimestamp.pb.h52 CopyFrom(from);
71 void CopyFrom(const ::google::protobuf::Message& from);
73 void CopyFrom(const Timestamp& from);
Dstruct.pb.h77 CopyFrom(from);
91 void CopyFrom(const ::google::protobuf::Message& from);
93 void CopyFrom(const Struct& from);
173 CopyFrom(from);
197 void CopyFrom(const ::google::protobuf::Message& from);
199 void CopyFrom(const Value& from);
339 CopyFrom(from);
353 void CopyFrom(const ::google::protobuf::Message& from);
355 void CopyFrom(const ListValue& from);
Dsource_context.pb.h52 CopyFrom(from);
66 void CopyFrom(const ::google::protobuf::Message& from);
68 void CopyFrom(const SourceContext& from);
Dfield_mask.pb.h52 CopyFrom(from);
66 void CopyFrom(const ::google::protobuf::Message& from);
68 void CopyFrom(const FieldMask& from);
Dmap_field.cc220 val->CopyFrom(map_val); in InsertOrLookupMapValue()
225 val->CopyFrom(iter->second); in InsertOrLookupMapValue()
258 map_iter->key_.CopyFrom(iter->first); in SetMapIteratorValue()
259 map_iter->value_.CopyFrom(iter->second); in SetMapIteratorValue()
342 reflection->MutableMessage(new_entry, val_des)->CopyFrom(message); in SyncRepeatedFieldWithMapNoLock()
416 value->CopyFrom(message); in SyncMapWithRepeatedFieldNoLock()
Ddescriptor.pb.h192 CopyFrom(from);
214 void CopyFrom(const ::google::protobuf::Message& from);
216 void CopyFrom(const FileDescriptorSet& from);
288 CopyFrom(from);
310 void CopyFrom(const ::google::protobuf::Message& from);
312 void CopyFrom(const FileDescriptorProto& from);
535 CopyFrom(from);
557 void CopyFrom(const ::google::protobuf::Message& from);
559 void CopyFrom(const DescriptorProto_ExtensionRange& from);
638 CopyFrom(from);
[all …]
Dtimestamp.pb.cc360 void Timestamp::CopyFrom(const ::google::protobuf::Message& from) { in CopyFrom() function in google::protobuf::Timestamp
367 void Timestamp::CopyFrom(const Timestamp& from) { in CopyFrom() function in google::protobuf::Timestamp
386 CopyFrom(*other); in Swap()
387 other->CopyFrom(temp); in Swap()
Dany.pb.h53 CopyFrom(from);
77 void CopyFrom(const ::google::protobuf::Message& from);
79 void CopyFrom(const Any& from);
Dtype.pb.h141 CopyFrom(from);
155 void CopyFrom(const ::google::protobuf::Message& from);
157 void CopyFrom(const Type& from);
288 CopyFrom(from);
302 void CopyFrom(const ::google::protobuf::Message& from);
304 void CopyFrom(const Field& from);
549 CopyFrom(from);
563 void CopyFrom(const ::google::protobuf::Message& from);
565 void CopyFrom(const Enum& from);
679 CopyFrom(from);
[all …]
Dapi.pb.h56 CopyFrom(from);
70 void CopyFrom(const ::google::protobuf::Message& from);
72 void CopyFrom(const Api& from);
211 CopyFrom(from);
225 void CopyFrom(const ::google::protobuf::Message& from);
227 void CopyFrom(const Method& from);
356 CopyFrom(from);
370 void CopyFrom(const ::google::protobuf::Message& from);
372 void CopyFrom(const Mixin& from);
Dlite_unittest.cc105 message2.CopyFrom(message); in main()
121 message2.CopyFrom(message); in main()
137 message2.CopyFrom(message); in main()
153 message2.CopyFrom(message); in main()
403 message2.CopyFrom(message1); in main()
407 message2.CopyFrom(message2); in main()
418 message1.CopyFrom(message2); in main()
Dextension_set_unittest.cc277 TEST(ExtensionSetTest, CopyFrom) { in TEST() argument
281 message2.CopyFrom(message1); in TEST()
283 message2.CopyFrom(message1); // exercise copy when fields already exist in TEST()
291 message2.CopyFrom(message1); in TEST()
293 message2.CopyFrom(message1); // exercise copy when fields already exist in TEST()
302 message2.CopyFrom(upcasted_message); in TEST()
305 message2.CopyFrom(upcasted_message); in TEST()
766 CopyFrom(foreign); in TEST()
844 CopyFrom(prototype); in TEST()
916 unittest::repeated_nested_message_extension)->CopyFrom(nested_message); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DByteString.cs151 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom() method in Google.Protobuf.ByteString
159 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom() method in Google.Protobuf.ByteString
170 public static ByteString CopyFrom(string text, Encoding encoding) in CopyFrom() method in Google.Protobuf.ByteString
180 return CopyFrom(text, Encoding.UTF8); in CopyFromUtf8()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs64 BytesField = ByteString.CopyFrom(1, 2, 3), in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
134 … BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappersSerializeDeserialize()
184 { -1, ByteString.CopyFrom(1, 2, 3) }, in MapWrappersSerializeDeserialize()
185 { 10, ByteString.CopyFrom(4, 5, 6) }, in MapWrappersSerializeDeserialize()
211 BytesField = ByteString.CopyFrom(1, 2, 3), in Reflection_SingleValues()
223 …Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Acc… in Reflection_SingleValues()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dshared_ptr.h306 CopyFrom(ptr.ptr_, ptr.control_block_);
314 CopyFrom(ptr.ptr_, ptr.control_block_);
319 CopyFrom(ptr.ptr_, ptr.control_block_);
401 void CopyFrom(T* ptr, SharedPtrControlBlock* control_block) {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dplugin.pb.h56 CopyFrom(from);
78 void CopyFrom(const ::google::protobuf::Message& from);
80 void CopyFrom(const CodeGeneratorRequest& from);
184 CopyFrom(from);
206 void CopyFrom(const ::google::protobuf::Message& from);
208 void CopyFrom(const CodeGeneratorResponse_File& from);
312 CopyFrom(from);
334 void CopyFrom(const ::google::protobuf::Message& from);
336 void CopyFrom(const CodeGeneratorResponse& from);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dmessage.py106 def CopyFrom(self, other_msg): member in Message

123