Home
last modified time | relevance | path

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

/external/cronet/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()
/external/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()
/external/crosvm/gpu_display/src/gpu_display_win/
Dwindow_procedure_thread.rs203 let new_message = unsafe { message.assume_init() }; in run_message_loop_body() localVariable
204 if new_message.hwnd.is_null() { in run_message_loop_body()
209 .process_thread_message(&new_message.into()); in run_message_loop_body()
213 TranslateMessage(&new_message); in run_message_loop_body()
214 DispatchMessageW(&new_message); in run_message_loop_body()
/external/cronet/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);
/external/protobuf/benchmarks/php/
DPhpBenchmark.php107 $new_message = new $message_name();
108 $new_message->mergeFromString($payloads->offsetGet($i));
109 array_push($message_list, $new_message);
/external/libcups/notifier/
Drss.c51 static _cups_rss_t *new_message(int sequence_number, char *subject,
335 msg = new_message(notify_sequence_number->values[0].integer, in main()
473 msg = new_message(sequence_number, subject, text, link_url, in load_rss()
559 new_message(int sequence_number, /* I - notify-sequence-number */ in new_message() function
/external/libchrome/mojo/public/cpp/bindings/lib/
Dmessage.cc346 mojo::Message new_message(name(), header()->flags, payload_size, in AttachHandlesFromSerializationContext() local
350 new_message.associated_endpoint_handles_); in AttachHandlesFromSerializationContext()
351 memcpy(new_message.payload_buffer()->AllocateAndGet(payload_size), payload(), in AttachHandlesFromSerializationContext()
353 *this = std::move(new_message); in AttachHandlesFromSerializationContext()
/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc1468 CMessage* new_message = cmessage::NewEmptyMessage(self->GetMessageClass()); in InternalReparentFields() local
1469 if (new_message == nullptr) { in InternalReparentFields()
1472 new_message->message = self->message->New(nullptr); in InternalReparentFields()
1473 ScopedPyObjectPtr holder(reinterpret_cast<PyObject*>(new_message)); in InternalReparentFields()
1474 new_message->child_submessages = new CMessage::SubMessagesMap(); in InternalReparentFields()
1475 new_message->composite_fields = new CMessage::CompositeFieldsMap(); in InternalReparentFields()
1485 Py_INCREF(new_message); in InternalReparentFields()
1487 to_release->parent = new_message; in InternalReparentFields()
1489 new_message->child_submessages->emplace(to_release->message, to_release); in InternalReparentFields()
1494 Py_INCREF(new_message); in InternalReparentFields()
[all …]
Drepeated_composite_container.cc175 ScopedPyObjectPtr new_message(Add(self, nullptr, nullptr)); in Extend() local
176 if (new_message == nullptr) { in Extend()
179 CMessage* new_cmessage = reinterpret_cast<CMessage*>(new_message.get()); in Extend()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1469 CMessage* new_message = cmessage::NewEmptyMessage(self->GetMessageClass()); in InternalReparentFields() local
1470 if (new_message == nullptr) { in InternalReparentFields()
1473 new_message->message = self->message->New(nullptr); in InternalReparentFields()
1474 ScopedPyObjectPtr holder(reinterpret_cast<PyObject*>(new_message)); in InternalReparentFields()
1475 new_message->child_submessages = new CMessage::SubMessagesMap(); in InternalReparentFields()
1476 new_message->composite_fields = new CMessage::CompositeFieldsMap(); in InternalReparentFields()
1486 Py_INCREF(new_message); in InternalReparentFields()
1488 to_release->parent = new_message; in InternalReparentFields()
1490 new_message->child_submessages->emplace(to_release->message, to_release); in InternalReparentFields()
1495 Py_INCREF(new_message); in InternalReparentFields()
[all …]
Drepeated_composite_container.cc175 ScopedPyObjectPtr new_message(Add(self, nullptr, nullptr)); in Extend() local
176 if (new_message == nullptr) { in Extend()
179 CMessage* new_cmessage = reinterpret_cast<CMessage*>(new_message.get()); in Extend()
/external/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()
/external/cronet/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()
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py455 new_message = missing_enum_values_pb2.TestEnumValues()
456 new_message.ParseFromString(self.missing_message.SerializeToString())
457 self.assertEqual(self.message, new_message)
Djson_format_test.py636 new_message = json_format_proto3_pb2.TestOneof()
638 new_message)
639 self.assertEqual(json_format.MessageToJson(new_message),
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py471 new_message = missing_enum_values_pb2.TestEnumValues()
472 new_message.ParseFromString(self.missing_message.SerializeToString())
473 self.assertEqual(self.message, new_message)
Djson_format_test.py636 new_message = json_format_proto3_pb2.TestOneof()
638 new_message)
639 self.assertEqual(json_format.MessageToJson(new_message),
/external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/
Drsa_blinder_test.cc115 const absl::string_view new_message = "Hello World3!"; in TEST_P() local
116 result = blinder->Blind(new_message); in TEST_P()