Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Darena_unittest.cc364 TestAllTypes* arena1_message; in TEST() local
369 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
371 arena1_message->Swap(arena2_message); in TEST()
372 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
376 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
378 arena1_message->mutable_unknown_fields()->AddVarint(1, 42); in TEST()
379 arena1_message->Swap(arena2_message); in TEST()
380 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
382 EXPECT_EQ(0, arena1_message->unknown_fields().field_count()); in TEST()
387 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc128 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST() local
130 arena1_message->Swap(arena2_message); in TEST()
131 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc151 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST() local
153 arena1_message->Swap(arena2_message); in TEST()
154 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()