Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Darena_unittest.cc307 Arena arena1; in TEST() local
314 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
317 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
321 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
325 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
332 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
337 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
346 Arena arena1; in TEST() local
352 arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
359 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
[all …]
Dproto3_arena_lite_unittest.cc133 Arena arena1; in TEST() local
137 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
140 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc154 Arena arena1; in TEST() local
158 TestAllTypes* arena1_message = Arena::CreateMessage<TestAllTypes>(&arena1); in TEST()
161 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
Dextension_set_unittest.cc325 ::google::protobuf::Arena arena1; in TEST()
327 ::google::protobuf::Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
333 ::google::protobuf::Arena arena1; in TEST()
335 ::google::protobuf::Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
338 arena1.Reset(); in TEST()
343 ::google::protobuf::Arena arena1; in TEST()
345 ::google::protobuf::Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
349 arena1.Reset(); in TEST()
377 ::google::protobuf::Arena arena1; in TEST()
381 Arena::CreateMessage<unittest::TestAllExtensions>(&arena1); in TEST()
[all …]
Dgenerated_message_reflection.cc487 Arena* arena1 = GetArena(message1); in SwapField() local
493 if (arena1 == arena2) { in SwapField()
499 string1->Set(default_ptr, string2->Get(default_ptr), arena1); in SwapField()
/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()