Searched refs:repeated_message (Results 1 – 12 of 12) sorted by relevance
1015 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST() local1018 repeated_message.Add()->set_optional_int32(42); in TEST()1019 EXPECT_EQ(&arena, repeated_message.Get(0).GetArena()); in TEST()1020 const TestAllTypes* msg_in_repeated_field = &repeated_message.Get(0); in TEST()1021 TestAllTypes* msg = repeated_message.UnsafeArenaReleaseLast(); in TEST()1028 repeated_message.Add()->set_optional_int32(42); in TEST()1031 repeated_message.UnsafeArenaExtractSubrange(0, 5, extracted_messages); in TEST()1032 EXPECT_EQ(&arena, repeated_message.Get(0).GetArena()); in TEST()1033 EXPECT_EQ(5, repeated_message.size()); in TEST()1039 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST() local[all …]
50 repeated TestOptimizedForSize repeated_message = 2; field
392 repeated TestRequired repeated_message = 2; field
29 repeated AnotherMessage repeated_message = 26; field
49 repeated TestOptimizedForSize repeated_message = 2; field
359 repeated TestRequired repeated_message = 2; 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])1602 message1 = proto.repeated_message.add()2601 proto.repeated_message.add().a = 12602 proto.repeated_message.add().b = 22610 proto.repeated_message[0].b = 22611 proto.repeated_message[0].c = 32612 proto.repeated_message[1].a = 12613 proto.repeated_message[1].c = 3
859 EXPECT_EQ(2, message2.repeated_message(0).msg().c()); in TEST()