|
@@ -1635,8 +1635,9 @@ void FileDescriptorProto::SharedCtor() {
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
syntax_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&options_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&source_code_info_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&options_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&source_code_info_) -
|
|
|
reinterpret_cast<char*>(&options_)) + sizeof(source_code_info_));
|
|
|
}
|
|
|
|
|
@@ -2248,8 +2249,9 @@ DescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(const DescriptorP
|
|
|
|
|
|
void DescriptorProto_ExtensionRange::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DescriptorProto_ExtensionRange_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
- ::memset(&options_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&end_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&options_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&end_) -
|
|
|
reinterpret_cast<char*>(&options_)) + sizeof(end_));
|
|
|
}
|
|
|
|
|
@@ -2534,8 +2536,9 @@ DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(const DescriptorPro
|
|
|
}
|
|
|
|
|
|
void DescriptorProto_ReservedRange::SharedCtor() {
|
|
|
- ::memset(&start_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&end_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&start_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&end_) -
|
|
|
reinterpret_cast<char*>(&start_)) + sizeof(end_));
|
|
|
}
|
|
|
|
|
@@ -3623,8 +3626,9 @@ void FieldDescriptorProto::SharedCtor() {
|
|
|
type_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
default_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
json_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&options_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&proto3_optional_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&options_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&proto3_optional_) -
|
|
|
reinterpret_cast<char*>(&options_)) + sizeof(proto3_optional_));
|
|
|
label_ = 1;
|
|
|
type_ = 1;
|
|
@@ -4460,8 +4464,9 @@ EnumDescriptorProto_EnumReservedRange::EnumDescriptorProto_EnumReservedRange(con
|
|
|
}
|
|
|
|
|
|
void EnumDescriptorProto_EnumReservedRange::SharedCtor() {
|
|
|
- ::memset(&start_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&end_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&start_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&end_) -
|
|
|
reinterpret_cast<char*>(&start_)) + sizeof(end_));
|
|
|
}
|
|
|
|
|
@@ -5112,8 +5117,9 @@ EnumValueDescriptorProto::EnumValueDescriptorProto(const EnumValueDescriptorProt
|
|
|
void EnumValueDescriptorProto::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumValueDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&options_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&number_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&options_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&number_) -
|
|
|
reinterpret_cast<char*>(&options_)) + sizeof(number_));
|
|
|
}
|
|
|
|
|
@@ -5759,8 +5765,9 @@ void MethodDescriptorProto::SharedCtor() {
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
input_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
output_type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&options_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&server_streaming_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&options_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&server_streaming_) -
|
|
|
reinterpret_cast<char*>(&options_)) + sizeof(server_streaming_));
|
|
|
}
|
|
|
|
|
@@ -6268,8 +6275,9 @@ void FileOptions::SharedCtor() {
|
|
|
php_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
php_metadata_namespace_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
ruby_package_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&java_multiple_files_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&deprecated_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&java_multiple_files_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&deprecated_) -
|
|
|
reinterpret_cast<char*>(&java_multiple_files_)) + sizeof(deprecated_));
|
|
|
optimize_for_ = 1;
|
|
|
cc_enable_arenas_ = true;
|
|
@@ -7144,8 +7152,9 @@ MessageOptions::MessageOptions(const MessageOptions& from)
|
|
|
|
|
|
void MessageOptions::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_MessageOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
- ::memset(&message_set_wire_format_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&map_entry_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&message_set_wire_format_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&map_entry_) -
|
|
|
reinterpret_cast<char*>(&message_set_wire_format_)) + sizeof(map_entry_));
|
|
|
}
|
|
|
|
|
@@ -7501,8 +7510,9 @@ FieldOptions::FieldOptions(const FieldOptions& from)
|
|
|
|
|
|
void FieldOptions::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_FieldOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
- ::memset(&ctype_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&jstype_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&ctype_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&jstype_) -
|
|
|
reinterpret_cast<char*>(&ctype_)) + sizeof(jstype_));
|
|
|
}
|
|
|
|
|
@@ -8127,8 +8137,9 @@ EnumOptions::EnumOptions(const EnumOptions& from)
|
|
|
|
|
|
void EnumOptions::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EnumOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
- ::memset(&allow_alias_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&deprecated_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&allow_alias_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&deprecated_) -
|
|
|
reinterpret_cast<char*>(&allow_alias_)) + sizeof(deprecated_));
|
|
|
}
|
|
|
|
|
@@ -8946,8 +8957,9 @@ MethodOptions::MethodOptions(const MethodOptions& from)
|
|
|
|
|
|
void MethodOptions::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_MethodOptions_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
- ::memset(&deprecated_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&idempotency_level_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&deprecated_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&idempotency_level_) -
|
|
|
reinterpret_cast<char*>(&deprecated_)) + sizeof(idempotency_level_));
|
|
|
}
|
|
|
|
|
@@ -9560,8 +9572,9 @@ void UninterpretedOption::SharedCtor() {
|
|
|
identifier_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
aggregate_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&positive_int_value_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&double_value_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&positive_int_value_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&double_value_) -
|
|
|
reinterpret_cast<char*>(&positive_int_value_)) + sizeof(double_value_));
|
|
|
}
|
|
|
|
|
@@ -10572,8 +10585,9 @@ GeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(const GeneratedCodeIn
|
|
|
void GeneratedCodeInfo_Annotation::SharedCtor() {
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GeneratedCodeInfo_Annotation_google_2fprotobuf_2fdescriptor_2eproto.base);
|
|
|
source_file_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
|
- ::memset(&begin_, 0, static_cast<size_t>(
|
|
|
- reinterpret_cast<char*>(&end_) -
|
|
|
+ ::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
|
|
|
+ reinterpret_cast<char*>(&begin_) - reinterpret_cast<char*>(this)),
|
|
|
+ 0, static_cast<size_t>(reinterpret_cast<char*>(&end_) -
|
|
|
reinterpret_cast<char*>(&begin_)) + sizeof(end_));
|
|
|
}
|
|
|
|