Home
last modified time | relevance | path

Searched refs:findValueByName (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnum.java70 Descriptors.EnumValueDescriptor value = descriptor.findValueByName(name.asJavaString()); in resolve()
DUtils.java120 val = enumDescriptor.findValueByName(value.asJavaString()); in checkType()
DRubyMessage.java560 val = enumDescriptor.findValueByName(value.asJavaString()); in convert()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java313 assertEquals(value, enumType.findValueByName("FOREIGN_FOO")); in testEnumDescriptor()
315 assertNull(enumType.findValueByName("NO_SUCH_VALUE")); in testEnumDescriptor()
DTestUtil.java1972 this.nestedFoo = nestedEnum.findValueByName("FOO"); in ReflectionTester()
1973 this.nestedBar = nestedEnum.findValueByName("BAR"); in ReflectionTester()
1974 this.nestedBaz = nestedEnum.findValueByName("BAZ"); in ReflectionTester()
1975 this.foreignFoo = foreignEnum.findValueByName("FOREIGN_FOO"); in ReflectionTester()
1976 this.foreignBar = foreignEnum.findValueByName("FOREIGN_BAR"); in ReflectionTester()
1977 this.foreignBaz = foreignEnum.findValueByName("FOREIGN_BAZ"); in ReflectionTester()
1978 this.importFoo = importEnum.findValueByName("IMPORT_FOO"); in ReflectionTester()
1979 this.importBar = importEnum.findValueByName("IMPORT_BAR"); in ReflectionTester()
1980 this.importBaz = importEnum.findValueByName("IMPORT_BAZ"); in ReflectionTester()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java299 assertEquals(value, enumType.findValueByName("FOREIGN_FOO")); in testEnumDescriptor()
301 assertNull(enumType.findValueByName("NO_SUCH_VALUE")); in testEnumDescriptor()
DTestUtil.java2748 this.nestedFoo = nestedEnum.findValueByName("FOO"); in ReflectionTester()
2749 this.nestedBar = nestedEnum.findValueByName("BAR"); in ReflectionTester()
2750 this.nestedBaz = nestedEnum.findValueByName("BAZ"); in ReflectionTester()
2751 this.foreignFoo = foreignEnum.findValueByName("FOREIGN_FOO"); in ReflectionTester()
2752 this.foreignBar = foreignEnum.findValueByName("FOREIGN_BAR"); in ReflectionTester()
2753 this.foreignBaz = foreignEnum.findValueByName("FOREIGN_BAZ"); in ReflectionTester()
2754 this.importFoo = importEnum.findValueByName("IMPORT_FOO"); in ReflectionTester()
2755 this.importBar = importEnum.findValueByName("IMPORT_BAR"); in ReflectionTester()
2756 this.importBaz = importEnum.findValueByName("IMPORT_BAZ"); in ReflectionTester()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1513 defaultValue = enumType.findValueByName(proto.getDefaultValue()); in crossLink()
1643 public EnumValueDescriptor findValueByName(final String name) { in findValueByName() method in Descriptors.EnumDescriptor
DTextFormat.java1920 value = enumType.findValueByName(id); in consumeFieldValue()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1823 EnumValueDescriptor result = enumDescriptor.findValueByName(value); in parseEnum()