Searched refs:default_value_ (Results 1 – 5 of 5) sorted by relevance
957 ::std::string* default_value_;4058 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { in clear_default_value()4059 default_value_->clear(); in clear_default_value()4065 return *default_value_; in default_value()4069 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { in set_default_value()4070 default_value_ = new ::std::string; in set_default_value()4072 default_value_->assign(value); in set_default_value()4077 if (default_value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { in set_default_value()4078 default_value_ = new ::std::string; in set_default_value()4080 default_value_->assign(value); in set_default_value()[all …]
305 new(field_ptr) TYPE(field->default_value_##TYPE()); \ in DynamicMessage()707 new(field_ptr) TYPE(field->default_value_##TYPE()); \ in ConstructDefaultOneofInstance()
1052 : number_(number), default_value_(default_value) {} in ExtensionIdentifier()1055 return default_value_; in default_value()1060 typename TypeTraits::ConstType default_value_; variable
698 field->default_value_##TYPE(); \ in ClearField()922 field->number(), field->default_value_##PASSTYPE()); \
187 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()2607 …default_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyI… in SharedCtor()2628 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { in SharedDtor()2629 delete default_value_; in SharedDtor()2678 if (default_value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { in Clear()2679 default_value_->clear(); in Clear()3190 std::swap(default_value_, other->default_value_); in Swap()