Searched refs:arena_message (Results 1 – 4 of 4) sorted by relevance
127 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local128 arena_message->ParseFromString(original.SerializeAsString()); in TEST()129 ExpectAllFieldsSet(*arena_message); in TEST()137 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local138 arena_message->ParseFromString(original.SerializeAsString()); in TEST()139 ExpectAllFieldsSet(*arena_message); in TEST()144 arena_message->GetReflection()->MutableUnknownFields(arena_message); in TEST()148 ASSERT_EQ(original.ByteSize(), arena_message->ByteSize()); in TEST()150 arena_message->GetReflection()->GetUnknownFields(*arena_message).empty()); in TEST()167 TestAllTypes *arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local[all …]
251 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local252 arena_message->ParseFromString(original.SerializeAsString()); in TEST()253 TestUtil::ExpectAllFieldsSet(*arena_message); in TEST()257 strlen(arena_message->optional_string().c_str())); in TEST()267 TestEmptyMessage* arena_message = in TEST() local269 arena_message->ParseFromString(original.SerializeAsString()); in TEST()272 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()276 arena_message = Arena::CreateMessage<TestEmptyMessage>(&arena); in TEST()277 arena_message->mutable_unknown_fields()->AddVarint( in TEST()280 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()[all …]
127 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local128 arena_message->ParseFromString(original.SerializeAsString()); in TEST()129 ExpectAllFieldsSet(*arena_message); in TEST()146 TestAllTypes *arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local149 arena_message->set_allocated_optional_nested_message(nested); in TEST()150 EXPECT_EQ(118, arena_message->optional_nested_message().bb()); in TEST()155 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local156 arena_message->mutable_optional_nested_message()->set_bb(118); in TEST()158 arena_message->release_optional_nested_message()); in TEST()
201 optional proto2_arena_unittest.ArenaMessage arena_message = 1; field