Home
last modified time | relevance | path

Searched refs:arena1 (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/
Darena_unittest.cc362 Arena arena1; in TEST() local
369 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
372 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
376 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
380 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
387 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
392 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
401 Arena arena1; in TEST() local
407 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
414 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc124 Arena arena1; in TEST() local
128 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
131 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc147 Arena arena1; in TEST() local
151 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
154 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
Dextension_set_unittest.cc387 Arena arena1; in TEST() local
389 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
395 Arena arena1; in TEST() local
397 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
400 arena1.Reset(); in TEST()
405 Arena arena1; in TEST() local
407 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
411 arena1.Reset(); in TEST()
438 Arena arena1; in TEST() local
442 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
[all …]
Dgenerated_message_reflection.cc450 Arena* arena1 = GetArena(message1); in SwapField() local
468 if (arena1 == arena2) { in SwapField()
469 string1->Swap(string2, default_ptr, arena1); in SwapField()
472 string1->Set(default_ptr, string2->Get(), arena1); in SwapField()
Dmap_test.cc951 Arena arena1, arena2; in TEST_F() local
952 Map<int32, int32> m1(&arena1); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_move_unittest.cc105 Arena arena1, arena2; in TEST() local
108 Arena::CreateMessage<protobuf_unittest::TestAllTypes>(&arena1); in TEST()
/external/jemalloc_new/test/unit/
Dmallctl.c742 unsigned arena, arena1; in TEST_BEGIN() local
750 assert_d_eq(mallctl("arenas.lookup", &arena1, &sz, &ptr, sizeof(ptr)), in TEST_BEGIN()
752 assert_u_eq(arena, arena1, "Unexpected arena index"); in TEST_BEGIN()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/
Dtest_cpp.cc945 upb::Arena arena1; in TestArena() local
948 arena1.Fuse(arena2); in TestArena()
950 upb_arena_malloc(arena1.ptr(), 10000); in TestArena()