Searched refs:FindValueByNumber (Results 1 – 13 of 13) sorted by relevance
55 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
91 enum_descriptor->FindValueByNumber(value->number()); in LoadEnumValues()
71 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
170 enum_descriptor->FindValueByNumber(value); in AssignItem()418 enum_descriptor->FindValueByNumber(value); in Append()
1808 enum_descriptor->FindValueByNumber(value); in CheckAndGetInteger()
1038 TEST_F(EnumDescriptorTest, FindValueByNumber) { in TEST_F() argument1039 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()
73 const EnumValueDescriptor* d = descriptor->FindValueByNumber(value); in NameOfEnum()1140 field->enum_type()->FindValueByNumber(value); in GetEnum()1172 field->enum_type()->FindValueByNumber(value); in GetRepeatedEnum()
516 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()576 field->enum_type()->FindValueByNumber(value); in ParseAndMergeField()
241 ->FindValueByNumber(number) != NULL; in ValidateEnumUsingDescriptor()
708 const EnumValueDescriptor* FindValueByNumber(int number) const;
691 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue()
1310 EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() function in google::protobuf::EnumDescriptor