Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DEnumDescriptor.cs101 public EnumValueDescriptor FindValueByNumber(int number) in FindValueByNumber() method in Google.Protobuf.Reflection.EnumDescriptor
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc50 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/frameworks/base/tools/incident_report/
Dmain.cpp194 if (field->enum_type()->FindValueByNumber((int)node.value64) == NULL) { in print_value()
197 out->printf("%s", field->enum_type()->FindValueByNumber((int)node.value64) in print_value()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_enum_lite.cc72 descriptor_->FindValueByNumber(value->number()); in EnumLiteGenerator()
Djava_enum.cc72 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Drepeated_scalar_container.cc167 enum_descriptor->FindValueByNumber(value); in AssignItem()
410 enum_descriptor->FindValueByNumber(value); in Append()
Dmap_container.cc289 enum_descriptor->FindValueByNumber(value); in PythonToMapValueRef()
Ddescriptor.cc577 enum_type->FindValueByNumber(number); in EnumValueName()
Ddescriptor_containers.cc1335 return GetDescriptor(self)->FindValueByNumber(number); in GetByNumber()
Dmessage.cc2393 enum_descriptor->FindValueByNumber(value); in CheckAndGetInteger()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs199 Assert.AreEqual(value, enumType.FindValueByNumber(4)); in EnumDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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.cc1284 TEST_F(EnumDescriptorTest, FindValueByNumber) { in TEST_F() argument
1285 EXPECT_EQ(foo_ , enum_ ->FindValueByNumber(1)); in TEST_F()
1286 EXPECT_EQ(bar_ , enum_ ->FindValueByNumber(2)); in TEST_F()
1287 EXPECT_EQ(foo2_, enum2_->FindValueByNumber(1)); in TEST_F()
1288 EXPECT_EQ(baz2_, enum2_->FindValueByNumber(3)); in TEST_F()
1290 EXPECT_TRUE(enum_ ->FindValueByNumber(416) == NULL); in TEST_F()
1291 EXPECT_TRUE(enum_ ->FindValueByNumber(3) == NULL); in TEST_F()
1292 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.cc721 enum_value = enum_type->FindValueByNumber(int_value); in ConsumeFieldValue()
1842 field->enum_type()->FindValueByNumber(enum_value); in PrintFieldValue()
Dextension_set_heavy.cc284 ->FindValueByNumber(number) != NULL; in ValidateEnumUsingDescriptor()
Ddescriptor.h832 const EnumValueDescriptor* FindValueByNumber(int number) const;
Ddescriptor.cc1456 EnumDescriptor::FindValueByNumber(int key) const { in FindValueByNumber() function in google::protobuf::EnumDescriptor
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.h2698 const char* FindValueByNumber(int32_t num) const;
3515 inline const char* EnumDef::FindValueByNumber(int32_t num) const {