Home
last modified time | relevance | path

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

123456

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs48 ByteString b1 = ByteString.CopyFrom(1, 2, 3); in Equality()
49 ByteString b2 = ByteString.CopyFrom(1, 2, 3); in Equality()
50 ByteString b3 = ByteString.CopyFrom(1, 2, 4); in Equality()
51 ByteString b4 = ByteString.CopyFrom(1, 2, 3, 4); in Equality()
82 ByteString bs = ByteString.CopyFrom("AB", Encoding.Unicode); in CopyFromStringWithExplicitEncoding()
107 ByteString bs = ByteString.CopyFrom(data); in CopyFromByteArrayCopiesContents()
139 ByteString bs = ByteString.CopyFrom(data, 2, 3); in CopyFromPortion()
155 ByteString bs = ByteString.CopyFrom("\u20ac", Encoding.Unicode); in ToStringWithExplicitEncoding()
182 ByteString expected = ByteString.CopyFrom(2, 3, 4, 5); in FromStream_Seekable()
195 ByteString expected = ByteString.CopyFrom(2, 3, 4); in FromStream_NotSeekable()
[all …]
DSampleMessages.cs55 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypes()
77 …RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6), ByteString.CopyFrom(… in CreateFullTestAllTypes()
107 OptionalBytes = ByteString.CopyFrom(1, 2, 3, 4), in CreateFullTestAllTypesProto2()
130 …RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6), ByteString.CopyFrom(… in CreateFullTestAllTypesProto2()
159 message.SetExtension(OptionalBytesExtension, ByteString.CopyFrom(1, 2, 3, 4)); in CreateFullTestAllExtensions()
182 …tesExtension).AddRange(new[] { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6), ByteStr… in CreateFullTestAllExtensions()
DGeneratedMessageTest.cs146 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in RoundTrip_SingleValues()
180 RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6) }, in RoundTrip_RepeatedValues()
221 { 5, ByteString.CopyFrom(6, 7, 8) }, in RoundTrip_Maps()
222 { 25, ByteString.CopyFrom(1, 2, 3, 4, 5) }, in RoundTrip_Maps()
491 SingleBytes = ByteString.CopyFrom(1, 2, 3, 4), in CloneSingleNonMessageValues()
521 RepeatedBytes = { ByteString.CopyFrom(1, 2, 3, 4), ByteString.CopyFrom(5, 6) }, in CloneRepeatedNonMessageValues()
617 var bytes = ByteString.CopyFrom(1, 2, 3); in OneofProperties()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/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()
/third_party/protobuf/src/google/protobuf/
Dwrappers.pb.h114 CopyFrom(from);
121 CopyFrom(from);
171 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
173 void CopyFrom(const DoubleValue& from);
251 CopyFrom(from);
258 CopyFrom(from);
308 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
310 void CopyFrom(const FloatValue& from);
388 CopyFrom(from);
395 CopyFrom(from);
[all …]
Dempty.pb.h82 CopyFrom(from);
89 CopyFrom(from);
139 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
141 void CopyFrom(const Empty& from);
Dduration.pb.h82 CopyFrom(from);
89 CopyFrom(from);
139 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
141 void CopyFrom(const Duration& from);
Dtimestamp.pb.h82 CopyFrom(from);
89 CopyFrom(from);
139 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
141 void CopyFrom(const Timestamp& from);
Dstruct.pb.h154 CopyFrom(from);
161 CopyFrom(from);
211 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
213 void CopyFrom(const Struct& from);
305 CopyFrom(from);
312 CopyFrom(from);
372 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
374 void CopyFrom(const Value& from);
560 CopyFrom(from);
567 CopyFrom(from);
[all …]
Dmap_field.cc239 val->CopyFrom(map_val); in InsertOrLookupMapValue()
244 val->CopyFrom(iter->second); in InsertOrLookupMapValue()
279 map_iter->key_.CopyFrom(iter->first); in SetMapIteratorValue()
280 map_iter->value_.CopyFrom(iter->second); in SetMapIteratorValue()
341 map_val->MutableMessageValue()->CopyFrom( in MergeFrom()
438 reflection->MutableMessage(new_entry, val_des)->CopyFrom(message); in SyncRepeatedFieldWithMapNoLock()
522 value->CopyFrom(message); in SyncMapWithRepeatedFieldNoLock()
Dwrappers.pb.cc470 void DoubleValue::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in CopyFrom() function in DoubleValue
477 void DoubleValue::CopyFrom(const DoubleValue& from) { in CopyFrom() function in DoubleValue
665 void FloatValue::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in CopyFrom() function in FloatValue
672 void FloatValue::CopyFrom(const FloatValue& from) { in CopyFrom() function in FloatValue
862 void Int64Value::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in CopyFrom() function in Int64Value
869 void Int64Value::CopyFrom(const Int64Value& from) { in CopyFrom() function in Int64Value
1059 void UInt64Value::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in CopyFrom() function in UInt64Value
1066 void UInt64Value::CopyFrom(const UInt64Value& from) { in CopyFrom() function in UInt64Value
1256 void Int32Value::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { in CopyFrom() function in Int32Value
1263 void Int32Value::CopyFrom(const Int32Value& from) { in CopyFrom() function in Int32Value
[all …]
Dsource_context.pb.h82 CopyFrom(from);
89 CopyFrom(from);
139 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
141 void CopyFrom(const SourceContext& from);
Dfield_mask.pb.h82 CopyFrom(from);
89 CopyFrom(from);
139 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
141 void CopyFrom(const FieldMask& from);
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumbermatch_test.cc72 match2.CopyFrom(match1); in TEST()
77 match4.CopyFrom(match2); in TEST()
78 match3.CopyFrom(match2); in TEST()
87 match2.CopyFrom(match1); in TEST()
/third_party/protobuf/csharp/src/Google.Protobuf/
DByteString.cs227 public static ByteString CopyFrom(params byte[] bytes) in CopyFrom() method in Google.Protobuf.ByteString
235 public static ByteString CopyFrom(byte[] bytes, int offset, int count) in CopyFrom() method in Google.Protobuf.ByteString
248 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom() method in Google.Protobuf.ByteString
258 public static ByteString CopyFrom(string text, Encoding encoding) in CopyFrom() method in Google.Protobuf.ByteString
268 return CopyFrom(text, Encoding.UTF8); in CopyFromUtf8()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/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()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs64 BytesField = ByteString.CopyFrom(1, 2, 3), in NonDefaultSingleValues()
79 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
138 … BytesField = { ByteString.CopyFrom(1, 2, 3), ByteString.CopyFrom(4, 5, 6), ByteString.Empty }, in RepeatedWrappersSerializeDeserialize()
191 { -1, ByteString.CopyFrom(1, 2, 3) }, in MapWrappersSerializeDeserialize()
192 { 10, ByteString.CopyFrom(4, 5, 6) }, in MapWrappersSerializeDeserialize()
218 BytesField = ByteString.CopyFrom(1, 2, 3), in Reflection_SingleValues()
230 …Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), fields[TestWellKnownTypes.BytesFieldFieldNumber].Acc… in Reflection_SingleValues()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dwritable_font_data.cc161 void WritableFontData::CopyFrom(InputStream* is, int32_t length) { in CopyFrom() function in sfntly::WritableFontData
162 array_->CopyFrom(is, length); in CopyFrom()
165 void WritableFontData::CopyFrom(InputStream* is) { in CopyFrom() function in sfntly::WritableFontData
166 array_->CopyFrom(is); in CopyFrom()
/third_party/protobuf/benchmarks/util/
Dschema_proto2_to_proto3_util.h100 temp_enum_value.CopyFrom(enum_type->value(j)); in ScrubEnum()
101 enum_type->mutable_value(j)->CopyFrom(enum_type->value(0)); in ScrubEnum()
102 enum_type->mutable_value(0)->CopyFrom(temp_enum_value); in ScrubEnum()
110 enum_type->mutable_value(i)->CopyFrom( in ScrubEnum()
/third_party/skia/third_party/externals/tint/tools/src/list/
Dlist.go42 CopyFrom(l List, dst, src, count int) methodSpec
69 out.CopyFrom(l, 0, 0, l.Count())
115 func (l list) CopyFrom(o List, dst, src, count int) { func
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumbermatch.cc70 number_.CopyFrom(number); in set_number()
84 void PhoneNumberMatch::CopyFrom(const PhoneNumberMatch& match) { in CopyFrom() function in i18n::phonenumbers::PhoneNumberMatch
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp89 SmallString<256> CopyFrom; in addFileImpl() local
90 if (!getRealPath(AbsoluteSrc, CopyFrom)) in addFileImpl()
91 CopyFrom = VirtualPath; in addFileImpl()
94 sys::path::append(DstPath, sys::path::relative_path(CopyFrom)); in addFileImpl()
/third_party/node/deps/v8/src/maglev/
Dmaglev-interpreter-frame-state.h34 frame_.CopyFrom(info, state.frame_, nullptr); in InterpreterFrameState()
37 void CopyFrom(const MaglevCompilationUnit& info, in CopyFrom() function
39 frame_.CopyFrom(info, state.frame_, nullptr); in CopyFrom()
42 inline void CopyFrom(const MaglevCompilationUnit& info,
367 friend void InterpreterFrameState::CopyFrom(
489 void InterpreterFrameState::CopyFrom( in CopyFrom() function

123456