Home
last modified time | relevance | path

Searched refs:repeated_field_ (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/src/google/protobuf/
Dmap_field.cc43 if (repeated_field_ != NULL && arena_ == NULL) delete repeated_field_; in ~MapFieldBase()
48 return *reinterpret_cast<RepeatedPtrFieldBase*>(repeated_field_); in GetRepeatedField()
54 return reinterpret_cast<RepeatedPtrFieldBase*>(repeated_field_); in MutableRepeatedField()
65 if (repeated_field_ != NULL) { in SpaceUsedExcludingSelfNoLock()
66 return repeated_field_->SpaceUsedExcludingSelfLong(); in SpaceUsedExcludingSelfNoLock()
114 if (repeated_field_ == nullptr) { in SyncRepeatedFieldWithMap()
116 repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMap()
118 repeated_field_ = in SyncRepeatedFieldWithMap()
132 if (repeated_field_ == NULL) { in SyncRepeatedFieldWithMapNoLock()
133 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock()
[all …]
Dmap_field_inl.h179 if (this->MapFieldBase::repeated_field_ != nullptr) { in Clear()
182 this->MapFieldBase::repeated_field_); in Clear()
266 std::swap(this->MapFieldBase::repeated_field_, other_field->repeated_field_); in Swap()
280 if (this->MapFieldBase::repeated_field_ == NULL) { in SyncRepeatedFieldWithMapNoLock()
282 this->MapFieldBase::repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMapNoLock()
284 this->MapFieldBase::repeated_field_ = in SyncRepeatedFieldWithMapNoLock()
292 this->MapFieldBase::repeated_field_); in SyncRepeatedFieldWithMapNoLock()
320 this->MapFieldBase::repeated_field_); in SyncMapWithRepeatedFieldNoLock()
321 GOOGLE_CHECK(this->MapFieldBase::repeated_field_ != NULL); in SyncMapWithRepeatedFieldNoLock()
341 if (this->MapFieldBase::repeated_field_ != NULL) { in SpaceUsedExcludingSelfNoLock()
[all …]
Dmap_field.h72 : arena_(NULL), repeated_field_(NULL), state_(STATE_MODIFIED_MAP) {} in MapFieldBase()
74 : arena_(arena), repeated_field_(NULL), state_(STATE_MODIFIED_MAP) { in MapFieldBase()
148 mutable RepeatedPtrField<Message>* repeated_field_; variable
Dmap_field_test.cc62 RepeatedPtrField<Message>* InternalRepeatedField() { return repeated_field_; } in InternalRepeatedField()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_util.h69 typedef struct repeated_field_ { struct
70 struct repeated_field_* next; argument