Home
last modified time | relevance | path

Searched refs:arena2 (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/src/google/protobuf/
Darena_unittest.cc363 Arena arena2; in TEST() local
370 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
373 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
377 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
381 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
388 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
393 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
402 Arena arena2; in TEST() local
408 arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
415 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc125 Arena arena2; in TEST() local
129 TestAllTypes* arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
132 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc148 Arena arena2; in TEST() local
152 TestAllTypes* arena2_message = Arena::CreateMessage<TestAllTypes>(&arena2); in TEST()
155 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
Dextension_set_unittest.cc439 std::unique_ptr<Arena> arena2(new Arena()); in TEST() local
444 Arena::CreateMessage<unittest::TestAllExtensions>(arena2.get()); in TEST()
458 arena2.reset(NULL); in TEST()
475 Arena* arena2 = new Arena(); in TEST() local
480 Arena::CreateMessage<unittest::TestAllExtensions>(arena2); in TEST()
491 delete arena2; in TEST()
Dgenerated_message_reflection.cc451 Arena* arena2 = GetArena(message2); in SwapField() local
468 if (arena1 == arena2) { in SwapField()
473 string2->Set(default_ptr, temp, arena2); in SwapField()
Dmap_test.cc951 Arena arena1, arena2; in TEST_F() local
953 Map<int32, int32> m2(&arena2); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_move_unittest.cc105 Arena arena1, arena2; in TEST() local
113 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena2); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/
Dtest_cpp.cc946 upb::Arena arena2; in TestArena() local
948 arena1.Fuse(arena2); in TestArena()
951 upb_arena_malloc(arena2.ptr(), 10000); in TestArena()