Home
last modified time | relevance | path

Searched refs:enumValue (Results 1 – 25 of 50) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumResolver.java48 final Enum<?> enumValue = enumValues[i]; in constructFor() local
51 name = enumValue.name(); in constructFor()
53 map.put(name, enumValue); in constructFor()
60 map.put(alias, enumValue); in constructFor()
92 Enum<?> enumValue = enumConstants[i]; in constructUsingToString() local
93 map.put(enumValue.toString(), enumValue); in constructUsingToString() local
100 map.put(alias, enumValue); in constructUsingToString()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DDebugUtilitiesTest.java39 int enumValue = DebugUtilities.enumArrayValue(j, k); in TestStrings() local
41 …logln(" Enum "+k+"/"+enumCount+": "+enumString +" - value "+enumValue+", value from string:"+e… in TestStrings()
42 if(enumValue != k) { in TestStrings()
43 …ng(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: value="+enumValue+" should be "+k); in TestStrings()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesTest.java36 int enumValue = DebugUtilities.enumArrayValue(j, k); in TestStrings() local
38 …logln(" Enum "+k+"/"+enumCount+": "+enumString +" - value "+enumValue+", value from string:"+e… in TestStrings()
39 if(enumValue != k) { in TestStrings()
40 …ng(j) +" - Enum "+k+"/"+enumCount+": "+enumString +" - ERR: value="+enumValue+" should be "+k); in TestStrings()
/external/guava/guava/src/com/google/common/base/
DEnums.java49 public static Field getField(Enum<?> enumValue) { in getField() argument
50 Class<?> clazz = enumValue.getDeclaringClass(); in getField()
52 return clazz.getDeclaredField(enumValue.name()); in getField()
126 protected String doBackward(T enumValue) { in doBackward() argument
127 return enumValue.name(); in doBackward()
/external/guava/android/guava/src/com/google/common/base/
DEnums.java49 public static Field getField(Enum<?> enumValue) { in getField() argument
50 Class<?> clazz = enumValue.getDeclaringClass(); in getField()
52 return clazz.getDeclaredField(enumValue.name()); in getField()
126 protected String doBackward(T enumValue) { in doBackward() argument
127 return enumValue.name(); in doBackward()
/external/icu/icu4c/source/common/
Dutrie2.cpp445 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in enumEitherTrie() argument
456 if(enumValue==NULL) { in enumEitherTrie()
457 enumValue=enumSameValue; in enumEitherTrie()
481 initialValue=enumValue(context, trie->initialValue); in enumEitherTrie()
577 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in enumEitherTrie()
605 value=enumValue(context, highValue); in enumEitherTrie()
622 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) { in utrie2_enum() argument
623 enumEitherTrie(trie, 0, 0x110000, enumValue, enumRange, context); in utrie2_enum()
628 UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, in utrie2_enumForLeadSurrogate() argument
634 enumEitherTrie(trie, lead, lead+0x400, enumValue, enumRange, context); in utrie2_enumForLeadSurrogate()
Dutrie.cpp1060 UTrieEnumValue *enumValue, UTrieEnumRange *enumRange, const void *context) { in utrie_enum() argument
1072 if(enumValue==NULL) { in utrie_enum()
1073 enumValue=enumSameValue; in utrie_enum()
1080 initialValue=enumValue(context, trie->initialValue); in utrie_enum()
1123 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in utrie_enum()
1209 value=enumValue(context, data32!=NULL ? data32[block+j] : idx[block+j]); in utrie_enum()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DSchemaUtil.java917 int enumValue = enumList.get(readPos); in filterUnknownEnumList() local
918 if (enumMap.findValueByNumber(enumValue) != null) { in filterUnknownEnumList()
920 enumList.set(writePos, enumValue); in filterUnknownEnumList()
924 unknownFields = storeUnknownEnum(number, enumValue, unknownFields, unknownFieldSchema); in filterUnknownEnumList()
932 int enumValue = it.next(); in filterUnknownEnumList() local
933 if (enumMap.findValueByNumber(enumValue) == null) { in filterUnknownEnumList()
934 unknownFields = storeUnknownEnum(number, enumValue, unknownFields, unknownFieldSchema); in filterUnknownEnumList()
957 int enumValue = enumList.get(readPos); in filterUnknownEnumList() local
958 if (enumVerifier.isInRange(enumValue)) { in filterUnknownEnumList()
960 enumList.set(writePos, enumValue); in filterUnknownEnumList()
[all …]
DExtensionSchemaFull.java221 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension() local
222 if (enumValue == null) { in parseExtension()
226 value = enumValue; in parseExtension()
/external/deqp/scripts/egl/
Denums.py42 def enumValue (enum, typePrefix = ""): function
53 return "#define %s\t%s" % (enum.name, enumValue(enum, "eglw::"))
Dgtf_wrapper.py25 from egl.enums import enumValue
91 return "#define %s\t%s" % (enum.name, enumValue(enum))
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs248 internal void AddEnumValueByNumber(EnumValueDescriptor enumValue) in AddEnumValueByNumber() argument
250 …tIntPair<IDescriptor> key = new ObjectIntPair<IDescriptor>(enumValue.EnumDescriptor, enumValue.Num… in AddEnumValueByNumber()
253 enumValuesByNumber[key] = enumValue; in AddEnumValueByNumber()
/external/catch2/include/internal/
Dcatch_interfaces_enum_values_registry.h38 for( auto enumValue : values ) in registerEnum() local
39 intValues.push_back( static_cast<int>( enumValue ) ); in registerEnum()
Dcatch_enum_values_registry.cpp38 for( auto const& enumValue : enumValues ) { in parseEnums() local
39 parsed.push_back(trim(extractInstanceName(enumValue))); in parseEnums()
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Denum_definition.tmpl26 {{enum_name}}.validate = function(enumValue) {
28 if (isExtensible || this.isKnownEnumValue(enumValue))
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDeprecatedFieldTest.java72 java.lang.reflect.Field enumValue = oneofCase.getField(name); in testDeprecatedFieldInOneof() local
73 assertTrue("Enum value " + name + " should be deprecated.", isDeprecated(enumValue)); in testDeprecatedFieldInOneof()
/external/grpc-grpc/src/csharp/Grpc.Microbenchmarks/
DProgram.cs49 foreach (var enumValue in Enum.GetValues(typeof(MicrobenchmarkType))) in Main()
51 Console.WriteLine(" " + enumValue); in Main()
/external/smali/examples/AnnotationValues/
DAnnotationWithValues.smali45 .method public abstract enumValue()LEnum;
64 enumValue = .enum LEnum;->12:LEnum;
DMain.smali5 #@AnnotationWithValues(booleanValue=false, byteValue=1, charValue=2, doubleValue=7.0, enumValue=12,…
/external/angle/src/tests/egl_tests/
DEGLPrintEGLinfoTest.cpp111 #define QUERY_HELPER(enumValue, enumString, stream) \ argument
114 glGetIntegerv(enumValue, &result); \
119 #define QUERY_ARRAY_HELPER(enumValue, enumString, size, stream) \ argument
122 glGetIntegerv(enumValue, result); \
130 #define QUERY_INDEXED_HELPER(enumValue, enumString, index, stream) \ argument
133 glGetIntegeri_v(enumValue, index, &result); \
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DInterfaceControlMessageTest.java64 public void setInteger(long value, int enumValue) { in setInteger() argument
66 mEnum = enumValue; in setInteger()
/external/curl/lib/
Dsetup-os400.h88 GSK_ENUM_VALUE enumValue);
109 GSK_ENUM_VALUE *enumValue);
/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java119 int enumValue = -1; in _getValue() local
122 enumValue = UCharacter.getIntPropertyValue(codePoint, propEnum); in _getValue()
123 if (enumValue >= 0) in _getValue()
124 … value = fixedGetPropertyValueName(propEnum, enumValue, UProperty.NameChoice.LONG); in _getValue()
131 return value != null ? value : String.valueOf(enumValue); in _getValue()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java436 Integer enumValue = (Integer) value; in writeSingularData() local
437 output.writeEnumNoTag(enumValue); in writeSingularData()
685 Integer enumValue = (Integer) value; in computeSingularSerializedSize() local
686 return CodedOutputByteBufferNano.computeEnumSize(fieldNumber, enumValue); in computeSingularSerializedSize()
/external/turbine/java/com/google/turbine/binder/
DConstBinder.java202 EnumConstantValue enumValue = (EnumConstantValue) value; in bindRetention() local
203 if (!enumValue.sym().owner().binaryName().equals("java/lang/annotation/RetentionPolicy")) { in bindRetention()
206 return RetentionPolicy.valueOf(enumValue.sym().name()); in bindRetention()

12