Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena_unittest.cc308 TestAllTypes* arena1_message; in TEST() local
313 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
315 arena1_message->Swap(arena2_message); in TEST()
316 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
320 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
322 arena1_message->mutable_unknown_fields()->AddVarint(1, 42); in TEST()
323 arena1_message->Swap(arena2_message); in TEST()
324 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
326 EXPECT_EQ(0, arena1_message->unknown_fields().field_count()); in TEST()
331 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc137 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST() local
139 arena1_message->Swap(arena2_message); in TEST()
140 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc158 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST() local
160 arena1_message->Swap(arena2_message); in TEST()
161 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()