Home
last modified time | relevance | path

Searched refs:arena2_message (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena_unittest.cc309 TestAllTypes* arena2_message; in TEST() local
314 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
315 arena1_message->Swap(arena2_message); in TEST()
317 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
321 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
323 arena1_message->Swap(arena2_message); in TEST()
325 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
327 EXPECT_EQ(1, arena2_message->unknown_fields().field_count()); in TEST()
328 EXPECT_EQ(42, arena2_message->unknown_fields().field(0).varint()); in TEST()
332 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc138 TestAllTypes* arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST() local
139 arena1_message->Swap(arena2_message); in TEST()
141 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc159 TestAllTypes* arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST() local
160 arena1_message->Swap(arena2_message); in TEST()
162 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()