Home
last modified time | relevance | path

Searched refs:new_msg (Results 1 – 11 of 11) sorted by relevance

/external/python/apitools/apitools/base/py/
Dencoding_test.py244 new_msg = encoding.CopyProtoMessage(msg)
245 self.assertEqual(msg.field, new_msg.field)
247 self.assertNotEqual(msg.field, new_msg.field)
252 new_msg = encoding.CopyProtoMessage(orig_msg)
253 for msg in (orig_msg, new_msg):
264 new_msg = encoding.CopyProtoMessage(msg)
265 self.assertEqual(len(new_msg.additionalProperties), 1)
266 self.assertEqual(new_msg.additionalProperties[0].key, 'key')
267 self.assertEqual(new_msg.additionalProperties[0].value, 'value')
272 new_msg = encoding.CopyProtoMessage(orig_msg)
[all …]
/external/protobuf/python/google/protobuf/
Dreflection.py76 new_msg = result_class()
77 new_msg.ParseFromString(byte_str)
78 return new_msg
/external/mesa3d/src/gallium/auxiliary/util/
Du_async_debug.c57 struct util_debug_message *new_msg = in u_async_debug_message() local
59 if (!new_msg) { in u_async_debug_message()
65 adbg->messages = new_msg; in u_async_debug_message()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info.py140 new_msg = 'Inconsistent ASTs detected. This is a bug. Cause: \n'
141 new_msg += str(err)
142 new_msg += 'Diff:\n'
154 new_msg += diff + '\n'
155 raise ValueError(new_msg)
/external/icing/icing/absl_ports/
Dannotate.cc34 std::string new_msg = in Annotate() local
38 return libtextclassifier3::Status(s.CanonicalCode(), new_msg); in Annotate()
/external/protobuf/ruby/ext/google/protobuf_c/
Dmessage.c500 VALUE new_msg; in Message_dup() local
504 new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self)); in Message_dup()
505 TypedData_Get_Struct(new_msg, MessageHeader, &Message_type, new_msg_self); in Message_dup()
511 return new_msg; in Message_dup()
518 VALUE new_msg; in Message_deep_copy() local
521 new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self)); in Message_deep_copy()
522 TypedData_Get_Struct(new_msg, MessageHeader, &Message_type, new_msg_self); in Message_deep_copy()
528 return new_msg; in Message_deep_copy()
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb423 new_msg = TestMessage.new(:optional_int32 => 200)
424 l4 = l + [new_msg]
426 new_msg.optional_int32 = 1000
/external/protobuf/ruby/tests/
Dcommon_tests.rb322 new_msg = proto_module::TestMessage.new(:optional_int32 => 200)
323 l4 = l + [new_msg]
325 new_msg.optional_int32 = 1000
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1146 ScopedPyObjectPtr new_msg( in InitAttributes() local
1148 if (new_msg == NULL) { in InitAttributes()
1154 reinterpret_cast<CMessage*>(new_msg.get()), next.get())); in InitAttributes()
1179 ScopedPyObjectPtr new_msg(repeated_scalar_container::Append( in InitAttributes() local
1181 if (new_msg == NULL) { in InitAttributes()
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py656 new_msg = unittest_pb2.TestOneof2()
661 mask.MergeMessage(new_msg, dst)
/external/protobuf/php/src/Google/Protobuf/Internal/
DMessage.php697 $new_msg = new $klass;
698 $this->$setter($new_msg);