Home
last modified time | relevance | path

Searched refs:FindValueByNumber (Results 1 – 21 of 21) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DEnumDescriptor.cs113 public EnumValueDescriptor FindValueByNumber(int number) in FindValueByNumber() method in Google.Protobuf.Reflection.EnumDescriptor
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc62 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_enum_lite.cc62 descriptor_->FindValueByNumber(value->number()); in EnumLiteGenerator()
Djava_enum.cc61 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc167 enum_descriptor->FindValueByNumber(value); in AssignItem()
399 enum_descriptor->FindValueByNumber(value); in Subscript()
Dmap_container.cc289 enum_descriptor->FindValueByNumber(value); in PythonToMapValueRef()
Ddescriptor_containers.cc1341 return GetDescriptor(self)->FindValueByNumber(number); in GetByNumber()
Ddescriptor.cc630 enum_type->FindValueByNumber(number); in EnumValueName()
Dmessage.cc2351 enum_descriptor->FindValueByNumber(value); in InternalSetNonOneofScalar()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs199 Assert.AreEqual(value, enumType.FindValueByNumber(4)); in EnumDescriptor()
/third_party/grpc/third_party/upb/upb/
Ddef.hpp316 const char* FindValueByNumber(int32_t num) const { in FindValueByNumber() function in upb::EnumDefPtr
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs315 Assert.AreEqual(value, enumType.FindValueByNumber(4)); in EnumDescriptor()
DCustomOptionsTest.cs146 …ar enumValueDescriptor = TestMessageWithCustomOptions.Descriptor.EnumTypes[0].FindValueByNumber(2); in OptionLocations()
/third_party/protobuf/src/google/protobuf/
Dextension_set_heavy.cc291 return reinterpret_cast<const EnumDescriptor*>(arg)->FindValueByNumber( in ValidateEnumUsingDescriptor()
Dgenerated_message_reflection.cc94 const EnumValueDescriptor* d = descriptor->FindValueByNumber(value); in NameOfEnum()
1365 field->enum_type()->FindValueByNumber(value); in SetEnumValue()
1422 field->enum_type()->FindValueByNumber(value); in SetRepeatedEnumValue()
1456 field->enum_type()->FindValueByNumber(value); in AddEnumValue()
Ddescriptor_unittest.cc1424 TEST_F(EnumDescriptorTest, FindValueByNumber) { in TEST_F() argument
1425 EXPECT_EQ(foo_, enum_->FindValueByNumber(1)); in TEST_F()
1426 EXPECT_EQ(bar_, enum_->FindValueByNumber(2)); in TEST_F()
1427 EXPECT_EQ(foo2_, enum2_->FindValueByNumber(1)); in TEST_F()
1428 EXPECT_EQ(baz2_, enum2_->FindValueByNumber(3)); in TEST_F()
1430 EXPECT_TRUE(enum_->FindValueByNumber(416) == nullptr); in TEST_F()
1431 EXPECT_TRUE(enum_->FindValueByNumber(3) == nullptr); in TEST_F()
1432 EXPECT_TRUE(enum2_->FindValueByNumber(2) == nullptr); in TEST_F()
Dwire_format.cc493 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()
869 if (field->enum_type()->FindValueByNumber(val) != nullptr) { in _InternalParseAndMergeField()
Dtext_format.cc792 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue()
2395 field->enum_type()->FindValueByNumber(enum_value); in PrintFieldValue()
Ddescriptor.h1036 const EnumValueDescriptor* FindValueByNumber(int number) const;
Ddescriptor.cc1732 const EnumValueDescriptor* EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() function in google::protobuf::EnumDescriptor
/third_party/protobuf/
Dlibprotobuf.map90 "google::protobuf::EnumDescriptor::FindValueByNumber(int) const";