/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | EnumDescriptor.cs | 113 public EnumValueDescriptor FindValueByNumber(int number) in FindValueByNumber() method in Google.Protobuf.Reflection.EnumDescriptor
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.cc | 62 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum_lite.cc | 62 descriptor_->FindValueByNumber(value->number()); in EnumLiteGenerator()
|
D | java_enum.cc | 61 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 167 enum_descriptor->FindValueByNumber(value); in AssignItem() 399 enum_descriptor->FindValueByNumber(value); in Subscript()
|
D | map_container.cc | 289 enum_descriptor->FindValueByNumber(value); in PythonToMapValueRef()
|
D | descriptor_containers.cc | 1341 return GetDescriptor(self)->FindValueByNumber(number); in GetByNumber()
|
D | descriptor.cc | 630 enum_type->FindValueByNumber(number); in EnumValueName()
|
D | message.cc | 2351 enum_descriptor->FindValueByNumber(value); in InternalSetNonOneofScalar()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 199 Assert.AreEqual(value, enumType.FindValueByNumber(4)); in EnumDescriptor()
|
/third_party/grpc/third_party/upb/upb/ |
D | def.hpp | 316 const char* FindValueByNumber(int32_t num) const { in FindValueByNumber() function in upb::EnumDefPtr
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 315 Assert.AreEqual(value, enumType.FindValueByNumber(4)); in EnumDescriptor()
|
D | CustomOptionsTest.cs | 146 …ar enumValueDescriptor = TestMessageWithCustomOptions.Descriptor.EnumTypes[0].FindValueByNumber(2); in OptionLocations()
|
/third_party/protobuf/src/google/protobuf/ |
D | extension_set_heavy.cc | 291 return reinterpret_cast<const EnumDescriptor*>(arg)->FindValueByNumber( in ValidateEnumUsingDescriptor()
|
D | generated_message_reflection.cc | 94 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()
|
D | descriptor_unittest.cc | 1424 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()
|
D | wire_format.cc | 493 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField() 869 if (field->enum_type()->FindValueByNumber(val) != nullptr) { in _InternalParseAndMergeField()
|
D | text_format.cc | 792 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue() 2395 field->enum_type()->FindValueByNumber(enum_value); in PrintFieldValue()
|
D | descriptor.h | 1036 const EnumValueDescriptor* FindValueByNumber(int number) const;
|
D | descriptor.cc | 1732 const EnumValueDescriptor* EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() function in google::protobuf::EnumDescriptor
|
/third_party/protobuf/ |
D | libprotobuf.map | 90 "google::protobuf::EnumDescriptor::FindValueByNumber(int) const";
|