| /third_party/protobuf/conformance/ |
| H A D | conformance_cpp.cc | 103 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 D | conformance_python.py | 120 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 D | conformance_ruby.rb | 40 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 D | conformance_php.php | 30 $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 D | binary_json_conformance_suite.cc | 355 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 D | text_format_conformance_suite.cc | 60 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 D | text_format_conformance_suite.h | 60 Message* test_message); 63 Message* test_message) override;
|
| H A D | binary_json_conformance_suite.h | 88 Message* test_message); 92 Message* test_message) override;
|
| H A D | conformance_test.cc | 250 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 D | conformance_test.h | 263 Message* test_message) = 0;
|
| /third_party/openssl/demos/signature/ |
| H A D | rsa_pss_hash.c | 21 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 D | cmac.c | 447 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 D | json_format_test.py | 669 test_message = json_format_proto3_pb2.TestMessage( 678 message.value.Pack(test_message)
|
| /third_party/python/Lib/test/test_warnings/ |
| H A D | __init__.py | 406 def test_message(self): member in WarnTests
|