Home
last modified time | relevance | path

Searched refs:new_message (Results 1 – 8 of 8) sorted by relevance

/third_party/protobuf/benchmarks/util/
Dschema_proto2_to_proto3_util.h54 DescriptorProto *new_message) { in StripMessage() argument
55 for (int i = new_message->mutable_field()->size() - 1; i >= 0; i--) { in StripMessage()
58 new_message->mutable_field()->DeleteSubrange(i, 1); in StripMessage()
61 for (int i = new_message->mutable_extension()->size() - 1; i >= 0; i--) { in StripMessage()
62 auto field_type_name = new_message->mutable_extension(i)->type_name(); in StripMessage()
66 new_message->mutable_extension()->DeleteSubrange(i, 1); in StripMessage()
69 for (int i = 0; i < new_message->mutable_nested_type()->size(); i++) { in StripMessage()
71 new_message->mutable_nested_type(i)); in StripMessage()
/third_party/protobuf/benchmarks/php/
DPhpBenchmark.php107 $new_message = new $message_name();
108 $new_message->mergeFromString($payloads->offsetGet($i));
109 array_push($message_list, $new_message);
/third_party/gstreamer/gstreamer/gst/
Dgstmessage.h426 static inline gboolean gst_message_replace (GstMessage **old_message, GstMessage *new_message);
428 gst_message_replace (GstMessage **old_message, GstMessage *new_message) in gst_message_replace() argument
430 return gst_mini_object_replace ((GstMiniObject **) old_message, (GstMiniObject *) new_message); in gst_message_replace()
434 gst_message_take (GstMessage **old_message, GstMessage *new_message) in gst_message_take() argument
437 (GstMiniObject *) new_message); in gst_message_take()
442 GstMessage * new_message);
446 GstMessage * new_message);
Dgstmessage.c3599 gst_message_replace (GstMessage ** old_message, GstMessage * new_message) in gst_message_replace() argument
3602 (GstMiniObject *) new_message); in gst_message_replace()
3621 gst_message_take (GstMessage ** old_message, GstMessage * new_message) in gst_message_take() argument
3624 (GstMiniObject *) new_message); in gst_message_take()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc1537 CMessage* new_message = cmessage::NewEmptyMessage(self->GetMessageClass()); in InternalReparentFields() local
1538 if (new_message == nullptr) { in InternalReparentFields()
1541 new_message->message = self->message->New(); in InternalReparentFields()
1542 ScopedPyObjectPtr holder(reinterpret_cast<PyObject*>(new_message)); in InternalReparentFields()
1543 new_message->child_submessages = new CMessage::SubMessagesMap(); in InternalReparentFields()
1544 new_message->composite_fields = new CMessage::CompositeFieldsMap(); in InternalReparentFields()
1554 Py_INCREF(new_message); in InternalReparentFields()
1556 to_release->parent = new_message; in InternalReparentFields()
1558 new_message->child_submessages->emplace(to_release->message, to_release); in InternalReparentFields()
1563 Py_INCREF(new_message); in InternalReparentFields()
[all …]
Drepeated_composite_container.cc185 ScopedPyObjectPtr new_message(Add(self, NULL, NULL)); in Extend() local
186 if (new_message == NULL) { in Extend()
189 CMessage* new_cmessage = reinterpret_cast<CMessage*>(new_message.get()); in Extend()
/third_party/protobuf/src/google/protobuf/
Dpreserve_unknown_enum_test.cc281 proto3_preserve_unknown_enum_unittest::MyMessage new_message; in TEST() local
284 const Reflection* new_reflection = new_message.GetReflection(); in TEST()
/third_party/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py448 new_message = missing_enum_values_pb2.TestEnumValues()
449 new_message.ParseFromString(self.missing_message.SerializeToString())
450 self.assertEqual(self.message, new_message)