Searched refs:arena_message (Results 1 – 5 of 5) sorted by relevance
120 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local121 arena_message->ParseFromString(original.SerializeAsString()); in TEST()122 ExpectAllFieldsSet(*arena_message); in TEST()130 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local131 arena_message->ParseFromString(original.SerializeAsString()); in TEST()132 ExpectAllFieldsSet(*arena_message); in TEST()137 arena_message->GetReflection()->MutableUnknownFields(arena_message); in TEST()141 ASSERT_NE(original.ByteSize(), arena_message->ByteSize()); in TEST()143 arena_message->GetReflection()->GetUnknownFields(*arena_message).empty()); in TEST()160 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local[all …]
118 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local119 arena_message->ParseFromString(original.SerializeAsString()); in TEST()120 ExpectAllFieldsSet(*arena_message); in TEST()137 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local140 arena_message->set_allocated_optional_nested_message(nested); in TEST()141 EXPECT_EQ(118, arena_message->optional_nested_message().bb()); in TEST()146 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local147 arena_message->mutable_optional_nested_message()->set_bb(118); in TEST()149 arena_message->release_optional_nested_message()); in TEST()
306 TestAllTypes* arena_message = Arena::CreateMessage<TestAllTypes>(&arena); in TEST() local307 arena_message->ParseFromString(original.SerializeAsString()); in TEST()308 TestUtil::ExpectAllFieldsSet(*arena_message); in TEST()312 strlen(arena_message->optional_string().c_str())); in TEST()322 TestEmptyMessage* arena_message = in TEST() local324 arena_message->ParseFromString(original.SerializeAsString()); in TEST()327 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()331 arena_message = Arena::CreateMessage<TestEmptyMessage>(&arena); in TEST()332 arena_message->mutable_unknown_fields()->AddVarint( in TEST()335 copied.ParseFromString(arena_message->SerializeAsString()); in TEST()[all …]
405 UNITTEST::TestAllTypes* arena_message =407 EXPECT_FALSE(arena_message->ParseFromString(invalid_string_data));408 arena_message->Clear();409 EXPECT_EQ("", arena_message->optional_string());
201 optional proto2_arena_unittest.ArenaMessage arena_message = 1; field