Home
last modified time | relevance | path

Searched refs:GetArena (Results 1 – 25 of 26) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dimplicit_weak_message.h69 Arena* GetArena() const override { return arena_; } in GetArena() function
124 static inline Arena* GetArena(MessageLite* value) { in GetArena() function
125 return value->GetArena(); in GetArena()
128 return value->GetArena(); in GetMaybeArenaPointer()
Darena_unittest.cc372 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
373 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
380 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
381 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
392 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
393 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
414 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
415 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
431 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
432 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
[all …]
Dgenerated_message_table_driven_lite.h86 inline Arena* GetArena(MessageLite* msg, int64 arena_offset) { in GetArena() function
332 GetArena<InternalMetadata>(msg, table.arena_offset), in HandleEnum()
351 static Arena* GetArena(Type* t) { return t->GetArena(); } in GetArena() function
455 GetArena<InternalMetadata>(msg, table.arena_offset), msg); \ in MergePartialFromCodedStreamInlined()
484 GetArena<InternalMetadata>(msg, table.arena_offset); in MergePartialFromCodedStreamInlined()
502 GetArena<InternalMetadata>(msg, table.arena_offset); in MergePartialFromCodedStreamInlined()
520 GetArena<InternalMetadata>(msg, table.arena_offset); in MergePartialFromCodedStreamInlined()
545 GetArena<InternalMetadata>(msg, table.arena_offset); in MergePartialFromCodedStreamInlined()
560 GetArena<InternalMetadata>(msg, table.arena_offset); in MergePartialFromCodedStreamInlined()
576 GetArena<InternalMetadata>(msg, table.arena_offset); in MergePartialFromCodedStreamInlined()
[all …]
Dgenerated_message_reflection.cc423 if (GetArena(message1) == GetArena(message2)) { in SwapField()
435 *sub_msg1 = (*sub_msg2)->New(message1->GetArena()); in SwapField()
439 *sub_msg2 = (*sub_msg1)->New(message2->GetArena()); in SwapField()
450 Arena* arena1 = GetArena(message1); in SwapField()
451 Arena* arena2 = GetArena(message2); in SwapField()
623 if (GetArena(message1) != GetArena(message2)) { in Swap()
626 Message* temp = message1->New(GetArena(message1)); in Swap()
630 if (GetArena(message1) == nullptr) { in Swap()
839 ->SetAllocated(default_ptr, nullptr, GetArena(message)); in ClearField()
850 if (GetArena(message) == nullptr) { in ClearField()
[all …]
Darena.h415 PROTOBUF_ALWAYS_INLINE static Arena* GetArena(const T* value) { in GetArena() function
446 .GetArena())>::value,
448 static char HasGetArena(decltype(&U::GetArena));
461 static Arena* GetArena(const T* p) { return p->GetArenaNoVirtual(); } in GetArena() function
677 return InternalHelper<T>::GetArena(value); in GetArenaInternal()
684 return value->GetArena(); in GetArenaInternal()
Dproto3_arena_lite_unittest.cc131 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
132 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
Dproto3_arena_unittest.cc154 EXPECT_EQ(&arena1, arena1_message->GetArena()); in TEST()
155 EXPECT_EQ(&arena2, arena2_message->GetArena()); in TEST()
Dmessage_lite.h206 virtual Arena* GetArena() const { return NULL; } in GetArena() function
217 virtual void* GetMaybeArenaPointer() const { return GetArena(); } in GetMaybeArenaPointer()
Dwrappers.pb.h126 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
280 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
434 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
588 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
742 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
896 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1050 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1204 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1373 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Drepeated_field.h265 Arena* GetArena() const { return GetArenaNoVirtual(); } in GetArena() function
695 static inline Arena* GetArena(GenericType* value) {
696 return Arena::GetArena<Type>(value);
699 return Arena::GetArena<Type>(value);
728 inline Arena* GenericTypeHandler<MessageLite>::GetArena(MessageLite* value) {
729 return value->GetArena();
754 PROTOBUF_EXPORT Arena* GenericTypeHandler<TypeName>::GetArena( \
784 static inline Arena* GetArena(std::string*) { return NULL; }
1035 Arena* GetArena() const { return GetArenaNoVirtual(); }
1771 AddAllocatedSlowWithCopy<TypeHandler>(value, TypeHandler::GetArena(value),
[all …]
Ddescriptor.pb.h365 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
533 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
880 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1064 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1235 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1539 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1710 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
2119 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
2310 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
2481 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
[all …]
Dempty.pb.h94 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Dduration.pb.h94 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Dtimestamp.pb.h94 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Dstruct.pb.h166 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
329 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
583 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Dmessage.cc731 GenericTypeHandler<Message>::GetArena(Message* value) { in GetArena() function in google::protobuf::internal::GenericTypeHandler
732 return value->GetArena(); in GetArena()
Dfield_mask.pb.h94 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Dmap_entry_lite.h399 Arena* GetArena() const override { return GetArenaNoVirtual(); }
408 if (entry_ != nullptr && entry_->GetArena() == nullptr) delete entry_;
Dtype.pb.h207 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
441 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
822 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1037 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
1226 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { in GetArena() function
Dstruct.pb.cc577 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(struct_value); in set_allocated_struct_value()
592 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(list_value); in set_allocated_list_value()
Ddynamic_message.cc277 Arena* GetArena() const override { return arena_; } in GetArena() function in google::protobuf::DynamicMessage
Dmessage.h980 inline Arena* GetArena(Message* message) const;
Dgenerated_message_util.cc764 GOOGLE_DCHECK(submessage->GetArena() == submessage_arena); in GetOwnedMessageInternal()
Drepeated_field_unittest.cc492 EXPECT_EQ(nullptr, destination.GetArena()); in TEST()
1195 EXPECT_EQ(nullptr, destination.GetArena()); in TEST()
Dtest_util.h1215 if (message->GetArena() == nullptr) { in ExpectMessagesReleasedViaReflection()

12