Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DEnumDescriptor.cs101 public EnumValueDescriptor FindValueByNumber(int number) in FindValueByNumber() method in Google.Protobuf.Reflection.EnumDescriptor
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum.cc55 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum.cc55 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
Djavanano_enum_field.cc91 enum_descriptor->FindValueByNumber(value->number()); in LoadEnumValues()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc50 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum_lite.cc71 descriptor_->FindValueByNumber(value->number()); in EnumLiteGenerator()
Djava_enum.cc72 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc167 enum_descriptor->FindValueByNumber(value); in AssignItem()
410 enum_descriptor->FindValueByNumber(value); in Append()
Dmap_container.cc290 enum_descriptor->FindValueByNumber(value); in PythonToMapValueRef()
Ddescriptor_containers.cc1311 return GetDescriptor(self)->FindValueByNumber(number); in GetByNumber()
Ddescriptor.cc572 enum_type->FindValueByNumber(number); in EnumValueName()
Dmessage.cc2396 enum_descriptor->FindValueByNumber(value); in CheckAndGetInteger()
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs199 Assert.AreEqual(value, enumType.FindValueByNumber(4)); in EnumDescriptor()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc71 const EnumValueDescriptor* d = descriptor->FindValueByNumber(value); in NameOfEnum()
1327 field->enum_type()->FindValueByNumber(value); in SetEnumValue()
1388 field->enum_type()->FindValueByNumber(value); in SetRepeatedEnumValue()
1429 field->enum_type()->FindValueByNumber(value); in AddEnumValue()
Ddescriptor_unittest.cc1285 TEST_F(EnumDescriptorTest, FindValueByNumber) { in TEST_F() argument
1286 EXPECT_EQ(foo_ , enum_ ->FindValueByNumber(1)); in TEST_F()
1287 EXPECT_EQ(bar_ , enum_ ->FindValueByNumber(2)); in TEST_F()
1288 EXPECT_EQ(foo2_, enum2_->FindValueByNumber(1)); in TEST_F()
1289 EXPECT_EQ(baz2_, enum2_->FindValueByNumber(3)); in TEST_F()
1291 EXPECT_TRUE(enum_ ->FindValueByNumber(416) == NULL); in TEST_F()
1292 EXPECT_TRUE(enum_ ->FindValueByNumber(3) == NULL); in TEST_F()
1293 EXPECT_TRUE(enum2_->FindValueByNumber(2) == NULL); in TEST_F()
Dwire_format.cc541 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()
618 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()
Dtext_format.cc719 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue()
1810 field->enum_type()->FindValueByNumber(enum_value); in PrintFieldValue()
Dextension_set_heavy.cc261 ->FindValueByNumber(number) != NULL; in ValidateEnumUsingDescriptor()
Ddescriptor.h826 const EnumValueDescriptor* FindValueByNumber(int number) const;
Ddescriptor.cc1456 EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() function in google::protobuf::EnumDescriptor
/external/protobuf/php/ext/google/protobuf/
Dupb.h2210 const char* FindValueByNumber(int32_t num) const;
2887 inline const char* EnumDef::FindValueByNumber(int32_t num) const { in FindValueByNumber() function
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h2698 const char* FindValueByNumber(int32_t num) const;
3515 inline const char* EnumDef::FindValueByNumber(int32_t num) const {