Searched refs:repeated_message (Results 1 – 8 of 8) sorted by relevance
1016 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST() local1019 repeated_message.Add()->set_optional_int32(42); in TEST()1020 EXPECT_EQ(&arena, repeated_message.Get(0).GetArena()); in TEST()1021 const TestAllTypes* msg_in_repeated_field = &repeated_message.Get(0); in TEST()1022 TestAllTypes* msg = repeated_message.UnsafeArenaReleaseLast(); in TEST()1029 repeated_message.Add()->set_optional_int32(42); in TEST()1032 repeated_message.UnsafeArenaExtractSubrange(0, 5, extracted_messages); in TEST()1033 EXPECT_EQ(&arena, repeated_message.Get(0).GetArena()); in TEST()1034 EXPECT_EQ(5, repeated_message.size()); in TEST()1040 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST() local[all …]
50 repeated TestOptimizedForSize repeated_message = 2; field
391 repeated TestRequired repeated_message = 2; field
29 repeated AnotherMessage repeated_message = 26; field
77 repeated Message3 repeated_message = 48; field
81 repeated Message2 repeated_message = 48; field
587 proto.repeated_message.add()590 self.assertRaises(IndexError, lambda: proto.repeated_message[5])1601 message1 = proto.repeated_message.add()2600 proto.repeated_message.add().a = 12601 proto.repeated_message.add().b = 22609 proto.repeated_message[0].b = 22610 proto.repeated_message[0].c = 32611 proto.repeated_message[1].a = 12612 proto.repeated_message[1].c = 3
859 EXPECT_EQ(2, message2.repeated_message(0).msg().c()); in TEST()