Home
last modified time | relevance | path

Searched refs:test_message (Results 1 - 14 of 14) sorted by relevance

/third_party/protobuf/conformance/
H A Dconformance_cpp.cc103 Message *test_message; in DoTest() local
109 test_message = MessageFactory::generated_factory()->GetPrototype(descriptor)->New(); in DoTest()
113 if (!test_message->ParseFromString(request.protobuf_payload())) { in DoTest()
137 if (!test_message->ParseFromString(proto_binary)) { in DoTest()
146 if (!TextFormat::ParseFromString(request.text_payload(), test_message)) { in DoTest()
165 test_message = &failures; in DoTest()
174 GOOGLE_CHECK(test_message->SerializeToString( in DoTest()
181 GOOGLE_CHECK(test_message->SerializeToString(&proto_binary)); in DoTest()
196 GOOGLE_CHECK(printer.PrintToString(*test_message, in DoTest()
H A Dconformance_python.py120 test_message = test_messages_proto2_pb2.TestAllTypesProto2() if isProto2 else \
126 test_message.ParseFromString(request.protobuf_payload)
136 json_format.Parse(request.json_payload, test_message,
144 text_format.Parse(request.text_payload, test_message)
156 response.protobuf_payload = test_message.SerializeToString()
160 response.json_payload = json_format.MessageToJson(test_message)
167 test_message, print_unknown_fields=request.print_unknown_fields)
H A Dconformance_ruby.rb40 test_message = ProtobufTestMessages::Proto3::TestAllTypesProto3.new
48 test_message = ProtobufTestMessages::Proto3::TestAllTypesProto3.decode(
63 test_message = ProtobufTestMessages::Proto3::TestAllTypesProto3.decode_json(
85 response.protobuf_payload = test_message.to_proto
88 response.json_payload = test_message.to_json
H A Dconformance_php.php30 $test_message = new \Protobuf_test_messages\Proto3\TestAllTypesProto3(); variable
38 $test_message->mergeFromString($request->getProtobufPayload());
54 $test_message->mergeFromJsonString($request->getJsonPayload(),
70 $response->setProtobufPayload($test_message->serializeToString());
73 $response->setJsonPayload($test_message->serializeToJsonString());
H A Dbinary_json_conformance_suite.cc355 Message* test_message) { in ParseJsonResponse()
365 if (!test_message->ParseFromString(binary_protobuf)) { in ParseJsonResponse()
377 Message* test_message) { in ParseResponse()
394 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse()
413 if (!ParseJsonResponse(response, test_message)) { in ParseResponse()
766 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); in TestValidDataForType() local
767 test_message->MergeFromString(expected_proto); in TestValidDataForType()
768 string text = test_message->DebugString(); in TestValidDataForType()
788 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); in TestValidDataForType() local
789 test_message in TestValidDataForType()
353 ParseJsonResponse( const ConformanceResponse& response, Message* test_message) ParseJsonResponse() argument
374 ParseResponse( const ConformanceResponse& response, const ConformanceRequestSetting& setting, Message* test_message) ParseResponse() argument
849 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForType() local
898 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForType() local
975 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
988 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
1001 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
1014 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
1031 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
1044 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
1058 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForMapType() local
1098 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestOverwriteMessageValueMap() local
1123 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForOneofType() local
1138 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForOneofType() local
1154 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForOneofType() local
1180 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestValidDataForOneofType() local
1225 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); TestMergeOneofMessage() local
[all...]
H A Dtext_format_conformance_suite.cc60 const ConformanceRequestSetting& setting, Message* test_message) { in ParseTextFormatResponse()
66 if (!parser.ParseFromString(response.text_payload(), test_message)) { in ParseTextFormatResponse()
78 const ConformanceRequestSetting& setting, Message* test_message) { in ParseResponse()
95 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse()
114 if (!ParseTextFormatResponse(response, setting, test_message)) { in ParseResponse()
58 ParseTextFormatResponse( const ConformanceResponse& response, const ConformanceRequestSetting& setting, Message* test_message) ParseTextFormatResponse() argument
76 ParseResponse( const ConformanceResponse& response, const ConformanceRequestSetting& setting, Message* test_message) ParseResponse() argument
H A Dtext_format_conformance_suite.h60 Message* test_message);
63 Message* test_message) override;
H A Dbinary_json_conformance_suite.h88 Message* test_message);
92 Message* test_message) override;
H A Dconformance_test.cc250 std::unique_ptr<Message> test_message(setting.NewTestMessage()); in VerifyResponse()
277 if (!ParseResponse(response, setting, test_message.get())) return; in VerifyResponse()
296 check = differencer.Compare(*reference_message, *test_message); in VerifyResponse()
H A Dconformance_test.h263 Message* test_message) = 0;
/third_party/openssl/demos/signature/
H A Drsa_pss_hash.c21 static const char test_message[] = variable
74 if (EVP_DigestSignUpdate(mctx, test_message, sizeof(test_message)) == 0) { in sign()
152 if (EVP_DigestVerifyUpdate(mctx, test_message, sizeof(test_message)) == 0) { in verify()
/third_party/mbedtls/library/
H A Dcmac.c447 static const unsigned char test_message[] = { variable
936 test_message, in mbedtls_cmac_self_test()
962 test_message, in mbedtls_cmac_self_test()
989 test_message, in mbedtls_cmac_self_test()
1017 test_message, in mbedtls_cmac_self_test()
1042 test_message, in mbedtls_cmac_self_test()
/third_party/protobuf/python/google/protobuf/internal/
H A Djson_format_test.py669 test_message = json_format_proto3_pb2.TestMessage(
678 message.value.Pack(test_message)
/third_party/python/Lib/test/test_warnings/
H A D__init__.py406 def test_message(self): member in WarnTests

Completed in 13 milliseconds