/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_move_unittest.cc | 54 const auto* nested = &message1.optional_nested_message(); in TEST() 61 EXPECT_EQ(nested, &message2.optional_nested_message()); in TEST() 62 EXPECT_NE(nested, &message1.optional_nested_message()); in TEST() 68 const auto* nested = &message1.optional_nested_message(); in TEST() 76 EXPECT_EQ(nested, &message2.optional_nested_message()); in TEST() 77 EXPECT_NE(nested, &message1.optional_nested_message()); in TEST() 94 const auto* nested = &message1_on_arena->optional_nested_message(); in TEST() 101 EXPECT_EQ(nested, &message2_on_arena->optional_nested_message()); in TEST() 110 const auto* nested = &message1_on_arena->optional_nested_message(); in TEST() 117 EXPECT_NE(nested, &message2_on_arena->optional_nested_message()); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/ |
D | test_upb.lua | 328 assert_nil(msg.optional_nested_message) 332 msg.optional_nested_message = test_messages_proto3.TestAllTypesProto3() 337 msg.optional_nested_message = nested 338 assert_equal(nested, msg.optional_nested_message) 341 assert_error_match("msg expected", function() msg.optional_nested_message = "abc" end) 342 assert_error_match("msg expected", function() msg.optional_nested_message = true end) 343 assert_error_match("msg expected", function() msg.optional_nested_message = false end) 344 assert_error_match("msg expected", function() msg.optional_nested_message = nil end) 345 assert_error_match("msg expected", function() msg.optional_nested_message = {} end) 346 assert_error_match("msg expected", function() msg.optional_nested_message = print end) [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 127 message.optional_nested_message.ParseFromString( 132 b'', message.optional_nested_message.SerializeToString()) 136 self.assertEqual(b'', message.optional_nested_message.SerializeToString()) 141 msg.map_int32_all_types[1].optional_nested_message.ParseFromString( 146 msg.map_int32_all_types[1].optional_nested_message.SerializeToString()) 150 msg.map_int32_all_types[1].optional_nested_message.SerializeToString()) 321 nested_message.payload.optional_nested_message.ParseFromString( 324 nested_message.payload.optional_nested_message.UnknownFields()) 329 nested_message.payload.optional_nested_message.UnknownFields())
|
D | reflection_test.py | 202 optional_nested_message=None) 227 TypeError, unittest_pb2.TestAllTypes, optional_nested_message=1234) 246 optional_nested_message = unittest_pb2.TestAllTypes.NestedMessage()) 354 nested = proto.optional_nested_message 362 nested = proto.optional_nested_message 364 self.assertTrue(nested is not proto.optional_nested_message) 367 self.assertEqual(0, proto.optional_nested_message.bb) 371 nested = proto.optional_nested_message 380 nested = proto.optional_nested_message 384 nested = proto.optional_nested_message [all …]
|
D | message_test.py | 780 nested = m1.optional_nested_message 782 m2.optional_nested_message.bb = 1 791 nested = msg1.child.payload.optional_nested_message 793 msg2.child.payload.optional_nested_message.bb = 1 810 self.assertEqual(0, m1.optional_nested_message.bb) 811 m2.optional_nested_message.bb = 1 815 self.assertEqual(1, m1.optional_nested_message.bb) 849 self.assertEqual(0, m1.optional_nested_message.bb) 1323 self.assertEqual(0, message.optional_nested_message.bb) 1328 message.optional_nested_message.bb = 0 [all …]
|
D | text_format_test.py | 167 message.optional_nested_message.bb = 3 635 self.assertEqual(message.optional_nested_message.bb, 45) 797 self.assertEqual(2, message.optional_nested_message.bb) 844 message.optional_nested_message.bb = 105 876 message.optional_nested_message.oo = 0 877 message.optional_nested_message.bb = 1 2039 msg = message.optional_nested_message 2053 message.optional_nested_message, 2065 message.optional_nested_message,
|
/external/protobuf/src/google/protobuf/ |
D | proto3_arena_unittest.cc | 79 EXPECT_EQ(42, m.optional_nested_message().bb()); in ExpectAllFieldsSet() 164 EXPECT_EQ(118, arena_message->optional_nested_message().bb()); in TEST() 197 EXPECT_EQ(0, message->optional_nested_message().bb()); in TEST()
|
D | proto3_arena_lite_unittest.cc | 77 EXPECT_EQ(42, m.optional_nested_message().bb()); in ExpectAllFieldsSet() 141 EXPECT_EQ(118, arena_message->optional_nested_message().bb()); in TEST()
|
D | reflection_ops_unittest.cc | 217 &message.optional_nested_message()); in TEST() 288 message.optional_nested_message().unknown_fields().field_count()); in TEST() 298 message.optional_nested_message().unknown_fields().field_count()); in TEST()
|
D | no_field_presence_test.cc | 64 EXPECT_EQ(0, m.optional_nested_message().bb()); in CheckDefaultValues() 171 EXPECT_EQ(42, m.optional_nested_message().bb()); in CheckNonDefaultValues() 253 EXPECT_EQ(0, message.optional_nested_message().bb()); in TEST() 375 EXPECT_EQ(0, message.optional_nested_message().bb()); in TEST()
|
D | map_test.cc | 3401 const auto* nested_msg42_ptr = &original_map[42].optional_nested_message(); in TEST() 3402 const auto* nested_msg43_ptr = &original_map[43].optional_nested_message(); in TEST() 3407 EXPECT_EQ(42, moved_to_map[42].optional_nested_message().bb()); in TEST() 3408 EXPECT_EQ(43, moved_to_map[43].optional_nested_message().bb()); in TEST() 3411 EXPECT_EQ(nested_msg42_ptr, &moved_to_map[42].optional_nested_message()); in TEST() 3412 EXPECT_EQ(nested_msg43_ptr, &moved_to_map[43].optional_nested_message()); in TEST() 3419 const auto* nested_msg42_ptr = &original_map[42].optional_nested_message(); in TEST() 3420 const auto* nested_msg43_ptr = &original_map[43].optional_nested_message(); in TEST() 3425 EXPECT_EQ(42, moved_to_map[42].optional_nested_message().bb()); in TEST() 3426 EXPECT_EQ(43, moved_to_map[43].optional_nested_message().bb()); in TEST() [all …]
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | field_presence_test.proto | 54 NestedMessage optional_nested_message = 5; field 82 TestAllTypes.NestedMessage optional_nested_message = 5; field
|
/external/protobuf/objectivec/Tests/ |
D | text_format_unittest_data.txt | 19 optional_nested_message {
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | text_format_unittest_data.txt | 19 optional_nested_message {
|
D | test_util.py | 79 message.optional_nested_message.bb = 118 391 test_case.assertTrue(message.optional_nested_message.HasField('bb')) 419 test_case.assertEqual(118, message.optional_nested_message.bb)
|
/external/protobuf/src/google/protobuf/testdata/ |
D | text_format_unittest_data_pointy_oneof.txt | 19 optional_nested_message <
|
D | text_format_unittest_data.txt | 19 optional_nested_message {
|
D | text_format_unittest_data_pointy.txt | 19 optional_nested_message <
|
D | text_format_unittest_data_oneof_implemented.txt | 19 optional_nested_message {
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | test.proto | 42 NestedMessage optional_nested_message = 18; field
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_reference_types_nano.proto | 39 optional NestedMessage optional_nested_message = 18; field
|
D | unittest_has_nano.proto | 57 optional NestedMessage optional_nested_message = 18; field
|
D | unittest_accessors_nano.proto | 57 optional NestedMessage optional_nested_message = 18; field
|
/external/protobuf/python/google/protobuf/pyext/ |
D | python.proto | 52 optional NestedMessage optional_nested_message = 2; field
|
/external/protobuf/src/google/protobuf/util/ |
D | field_mask_util_test.cc | 457 TEST_MERGE_ONE_FIELD(optional_nested_message) in TEST() 604 TEST_TRIM_ONE_FIELD(optional_nested_message) in TEST() 809 EXPECT_EQ(trimed_msg.optional_nested_message().bb(), 123); in TEST()
|