Home
last modified time | relevance | path

Searched refs:DynamicMapField (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Dmap_field.cc153 DynamicMapField::DynamicMapField(const Message* default_entry) in DynamicMapField() function in google::protobuf::internal::DynamicMapField
156 DynamicMapField::DynamicMapField(const Message* default_entry, Arena* arena) in DynamicMapField() function in google::protobuf::internal::DynamicMapField
161 DynamicMapField::~DynamicMapField() { in ~DynamicMapField()
171 int DynamicMapField::size() const { return GetMap().size(); } in size()
173 void DynamicMapField::Clear() { in Clear()
174 Map<MapKey, MapValueRef>* map = &const_cast<DynamicMapField*>(this)->map_; in Clear()
192 bool DynamicMapField::ContainsMapKey(const MapKey& map_key) const { in ContainsMapKey()
198 void DynamicMapField::AllocateMapValue(MapValueRef* map_val) { in AllocateMapValue()
230 bool DynamicMapField::InsertOrLookupMapValue(const MapKey& map_key, in InsertOrLookupMapValue()
248 bool DynamicMapField::DeleteMapValue(const MapKey& map_key) { in DeleteMapValue()
[all …]
Ddynamic_message.cc92 using internal::DynamicMapField;
151 return sizeof(DynamicMapField); in FieldSpaceUsed()
456 new (field_ptr) DynamicMapField( in SharedCtor()
460 new (field_ptr) DynamicMapField( in SharedCtor()
466 DynamicMapField(type_info_->factory->GetPrototypeNoLock( in SharedCtor()
471 DynamicMapField(type_info_->factory->GetPrototypeNoLock( in SharedCtor()
566 reinterpret_cast<DynamicMapField*>(field_ptr)->~DynamicMapField(); in ~DynamicMessage()
Dmap_field.h240 friend class internal::DynamicMapField;
547 class PROTOBUF_EXPORT DynamicMapField
550 explicit DynamicMapField(const Message* default_entry);
551 DynamicMapField(const Message* default_entry, Arena* arena);
552 ~DynamicMapField() override;
578 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(DynamicMapField);
685 friend class internal::DynamicMapField;
778 friend class internal::DynamicMapField;
Dmap.h90 class DynamicMapField; variable