Home
last modified time | relevance | path

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

/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/java/
Djava_enum.cc71 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc170 enum_descriptor->FindValueByNumber(value); in AssignItem()
418 enum_descriptor->FindValueByNumber(value); in Append()
Dmessage.cc1808 enum_descriptor->FindValueByNumber(value); in CheckAndGetInteger()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1038 TEST_F(EnumDescriptorTest, FindValueByNumber) { in TEST_F() argument
1039 EXPECT_EQ(foo_ , enum_ ->FindValueByNumber(1)); in TEST_F()
1040 EXPECT_EQ(bar_ , enum_ ->FindValueByNumber(2)); in TEST_F()
1041 EXPECT_EQ(foo2_, enum2_->FindValueByNumber(1)); in TEST_F()
1042 EXPECT_EQ(baz2_, enum2_->FindValueByNumber(3)); in TEST_F()
1044 EXPECT_TRUE(enum_ ->FindValueByNumber(416) == NULL); in TEST_F()
1045 EXPECT_TRUE(enum_ ->FindValueByNumber(3) == NULL); in TEST_F()
1046 EXPECT_TRUE(enum2_->FindValueByNumber(2) == NULL); in TEST_F()
Dgenerated_message_reflection.cc73 const EnumValueDescriptor* d = descriptor->FindValueByNumber(value); in NameOfEnum()
1140 field->enum_type()->FindValueByNumber(value); in GetEnum()
1172 field->enum_type()->FindValueByNumber(value); in GetRepeatedEnum()
Dwire_format.cc516 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()
576 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()
Dextension_set_heavy.cc241 ->FindValueByNumber(number) != NULL; in ValidateEnumUsingDescriptor()
Ddescriptor.h708 const EnumValueDescriptor* FindValueByNumber(int number) const;
Dtext_format.cc691 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue()
Ddescriptor.cc1310 EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() function in google::protobuf::EnumDescriptor