Home
last modified time | relevance | path

Searched refs:default_value_enum (Results 1 – 22 of 22) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc340 return GetClassName(descriptor->default_value_enum()->type()) + "." + in default_value()
341 …GetEnumValueName(descriptor->default_value_enum()->type()->name(), descriptor->default_value_enum(… in default_value()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_map_field.cc86 const EnumValueDescriptor* default_value = val->default_value_enum(); in SetMessageVariables()
Dcpp_enum_field.cc52 const EnumValueDescriptor* default_value = descriptor->default_value_enum(); in SetEnumVariables()
Dcpp_helpers.cc310 return field->default_value_enum()->number() == 0; in CanInitializeByZeroing()
719 Int32ToString(field->default_value_enum()->number())); in DefaultValue()
Dcpp_message.cc273 const EnumValueDescriptor* default_value = val->default_value_enum(); in CollectMapInfo()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc565 field->default_value_enum()->name(); in DefaultValue()
598 return field->default_value_enum()->number() == 0; in IsDefaultValueJavaDefault()
Djava_enum_field_lite.cc75 StrCat(descriptor->default_value_enum()->number()); in SetEnumVariables()
Djava_enum_field.cc68 StrCat(descriptor->default_value_enum()->number()); in SetEnumVariables()
/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc417 new (field_ptr) int(field->default_value_enum()->number()); in SharedCtor()
875 new (field_ptr) int(field->default_value_enum()->number()); in ConstructDefaultOneofInstance()
Ddescriptor.h752 const EnumValueDescriptor* default_value_enum() const;
Dgenerated_message_reflection.cc831 field->default_value_enum()->number(); in ClearField()
1344 field->number(), field->default_value_enum()->number()); in GetEnumValue()
Ddescriptor_unittest.cc2603 EXPECT_EQ(enum_value_b, message->field(9)->default_value_enum()); in TEST_F()
2626 EXPECT_EQ(enum_value_a, message->field(20)->default_value_enum()); in TEST_F()
7921 EXPECT_TRUE(field->default_value_enum() != nullptr); in TEST_F()
Ddescriptor.cc2018 return default_value_enum()->name(); in DefaultValueAsString()
7366 const EnumValueDescriptor* FieldDescriptor::default_value_enum() const { in default_value_enum() function in google::protobuf::FieldDescriptor
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc350 return descriptor->default_value_enum()->name(); in DefaultValueAsString()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc863 return EnumValueName(field->default_value_enum()); in DefaultValue()
908 return field->default_value_enum()->number() != 0; in HasNonZeroDefaultValue()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc147 return NumberToString(field->default_value_enum()->number()); in DefaultValueForField()
/third_party/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc183 return absl::StrCat(field->default_value_enum()->number()); in FieldDefault()
Dgenerator.cc284 return EnumValueSymbol(field->default_value_enum()); in FieldDefault()
/third_party/protobuf/
Dlibprotobuf.map58 "google::protobuf::FieldDescriptor::default_value_enum() const";
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc270 return StrCat(field.default_value_enum()->number()); in StringifyDefaultValue()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc848 _GetDescriptor(self)->default_value_enum(); in GetDefaultValue()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc848 return StrCat(field->default_value_enum()->number()); in JSFieldDefault()