Home
last modified time | relevance | path

Searched refs:findValueByNumber (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyEnum.java54 … Descriptors.EnumValueDescriptor value = descriptor.findValueByNumber(RubyNumeric.num2int(number)); in lookup()
DRubyDescriptorPool.java130 if (enumDescriptor.findValueByNumber(0) == null) { in buildFileDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DInternal.java214 T findValueByNumber(int number); in findValueByNumber() method
463 T result = enumMap.findValueByNumber(value); in newEnumConverter()
DMessageReflection.java808 final Object value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
843 value = field.getEnumType().findValueByNumber(rawValue); in mergeFieldFrom()
DGeneratedMessageLite.java519 extension.descriptor.getEnumType().findValueByNumber(rawValue); in parseUnknownField()
567 .findValueByNumber(rawValue); in parseUnknownField()
1104 return descriptor.enumTypeMap.findValueByNumber((Integer) value); in singularFromFieldSetType()
DDescriptors.java1598 public EnumValueDescriptor findValueByNumber(final int number) { in findValueByNumber() method in Descriptors.EnumDescriptor
1608 EnumValueDescriptor result = findValueByNumber(number); in findValueByNumberCreatingIfUnknown()
DTextFormat.java1682 value = enumType.findValueByNumber(number); in consumeFieldValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java488 assertEquals(value, map.findValueByNumber(value.getNumber())); in testEnumMap()
491 assertTrue(map.findValueByNumber(12345) == null); in testEnumMap()
DDescriptorsTest.java314 assertEquals(value, enumType.findValueByNumber(4)); in testEnumDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1626 result = enumDescriptor.findValueByNumber(numericValue); in parseEnum()
1654 return field.getEnumType().findValueByNumber(0); in parseFieldValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java576 assertEquals(value, map.findValueByNumber(value.getNumber())); in testEnumMap()
579 assertTrue(map.findValueByNumber(12345) == null); in testEnumMap()
DDescriptorsTest.java325 assertEquals(value, enumType.findValueByNumber(4)); in testEnumDescriptor()