Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dmap_field_test.cc116 default_entry_ = in MapFieldBasePrimitiveTest()
118 map_field_.reset(new MapFieldType(default_entry_)); in MapFieldBasePrimitiveTest()
133 const Message* default_entry_; member in google::protobuf::internal::MapFieldBasePrimitiveTest
181 Arena::CreateMessage<MapFieldType>(&arena, default_entry_); in TEST_F()
221 default_entry_ = in MapFieldStateTest()
223 map_field_.reset(new MapFieldType(default_entry_)); in MapFieldStateTest()
305 const Message* default_entry_; member in google::protobuf::internal::MapFieldStateTest
330 MapFieldType other(default_entry_); in TEST_P()
345 MapFieldType other(default_entry_); in TEST_P()
360 MapFieldType other(default_entry_); in TEST_P()
[all …]
Dmap_field.cc151 : default_entry_(default_entry) { in DynamicMapField()
157 default_entry_(default_entry) { in DynamicMapField()
191 default_entry_->GetDescriptor()->FindFieldByName("value"); in InsertOrLookupMapValue()
213 const Message& message = default_entry_->GetReflection()->GetMessage( in InsertOrLookupMapValue()
214 *default_entry_, val_des); in InsertOrLookupMapValue()
263 const Reflection* reflection = default_entry_->GetReflection(); in SyncRepeatedFieldWithMapNoLock()
265 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncRepeatedFieldWithMapNoLock()
267 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncRepeatedFieldWithMapNoLock()
282 Message* new_entry = default_entry_->New(); in SyncRepeatedFieldWithMapNoLock()
351 const Reflection* reflection = default_entry_->GetReflection(); in SyncMapWithRepeatedFieldNoLock()
[all …]
Dmap_field_inl.h170 : default_entry_(NULL) {} in MapField()
181 default_entry_(NULL) {} in MapField()
189 : default_entry_(down_cast<const EntryType*>(default_entry)) {} in MapField()
200 default_entry_(down_cast<const EntryType*>(default_entry)) {} in MapField()
414 GOOGLE_CHECK(default_entry_ != NULL); in SyncRepeatedFieldWithMapNoLock()
416 down_cast<EntryType*>(default_entry_->New(MapFieldBase::arena_)); in SyncRepeatedFieldWithMapNoLock()
476 if (default_entry_ == NULL) { in InitDefaultEntryOnce()
479 default_entry_ = down_cast<const EntryType*>( in InitDefaultEntryOnce()
Dmap_field.h293 mutable const EntryType* default_entry_; variable
316 const Message* default_entry_; variable