Home
last modified time | relevance | path

Searched refs:parsed_message (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py100 def CheckParseBack(self, message, parsed_message): argument
102 parsed_message)
103 self.assertEqual(message, parsed_message)
119 parsed_message = json_format_proto3_pb2.TestMessage()
120 self.CheckParseBack(message, parsed_message)
129 parsed_message = json_format_proto3_pb2.TestMessage()
130 self.CheckParseBack(message, parsed_message)
161 parsed_message = json_format_proto3_pb2.TestMessage()
162 json_format.Parse(text, parsed_message)
163 self.assertEqual(message, parsed_message)
[all …]
Dtext_format_test.py188 parsed_message = message_module.TestAllTypes()
189 text_format.Parse(actual_ascii, parsed_message)
190 self.assertEqual(parsed_message, message)
238 parsed_message = message_module.TestAllTypes()
239 r = text_format.Parse(wire_text, parsed_message)
240 self.assertIs(r, parsed_message)
241 self.assertEqual(message, parsed_message)
247 parsed_message = message_module.TestAllTypes()
248 r = text_format.Parse(wire_text, parsed_message)
249 self.assertIs(r, parsed_message)
[all …]
Dwell_known_types_test.py69 parsed_message = timestamp_pb2.Timestamp()
70 parsed_message.FromJsonString(text)
71 self.assertEqual(message, parsed_message)
75 parsed_message = duration_pb2.Duration()
76 parsed_message.FromJsonString(text)
77 self.assertEqual(message, parsed_message)
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dtext_format_test.py219 parsed_message = unittest_pb2.TestAllTypes()
220 text_format.Merge(wire_text, parsed_message)
221 self.assertEquals(message, parsed_message)
226 parsed_message = unittest_pb2.TestAllTypes()
227 text_format.Merge(wire_text, parsed_message)
228 self.assertEquals(message, parsed_message)
235 parsed_message = unittest_pb2.TestAllTypes()
236 text_format.Merge(text, parsed_message)
237 self.assertEquals(message, parsed_message)
256 parsed_message = unittest_pb2.TestAllTypes()
[all …]
/external/openscreen/cast/common/channel/
Dconnection_namespace_handler.cc67 const Json::Value& parsed_message) { in GetCloseReason() argument
71 parsed_message, JSON_EXPAND_FIND_CONSTANT_ARGS(kMessageKeyReasonCode)); in GetCloseReason()
161 Json::Value parsed_message) { in HandleConnect() argument
176 parsed_message, JSON_EXPAND_FIND_CONSTANT_ARGS(kMessageKeyConnType)); in HandleConnect()
193 parsed_message, JSON_EXPAND_FIND_CONSTANT_ARGS(kMessageKeyUserAgent)); in HandleConnect()
198 const Json::Value* sender_info_value = parsed_message.find( in HandleConnect()
205 const Json::Value* version_value = parsed_message.find( in HandleConnect()
207 const Json::Value* version_list_value = parsed_message.find( in HandleConnect()
239 Json::Value parsed_message) { in HandleClose() argument
243 const auto reason = GetCloseReason(parsed_message); in HandleClose()
[all …]
Dconnection_namespace_handler.h70 Json::Value parsed_message);
73 Json::Value parsed_message);
76 Json::Value parsed_message);