Home
last modified time | relevance | path

Searched refs:enumValues (Results 1 – 25 of 27) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumResolver.java39 Enum<?>[] enumValues = enumCls.getEnumConstants(); in constructFor() local
40 if (enumValues == null) { in constructFor()
43 String[] names = ai.findEnumValues(enumCls, enumValues, new String[enumValues.length]); in constructFor()
45 ai.findEnumAliases(enumCls, enumValues, allAliases); in constructFor()
47 for (int i = 0, len = enumValues.length; i < len; ++i) { in constructFor()
48 final Enum<?> enumValue = enumValues[i]; in constructFor()
65 return new EnumResolver(enumCls, enumValues, map, ai.findDefaultEnumValue(enumCls)); in constructFor()
115 Enum<?>[] enumValues = enumCls.getEnumConstants(); in constructUsingMethod() local
118 for (int i = enumValues.length; --i >= 0; ) { in constructUsingMethod()
119 Enum<?> en = enumValues[i]; in constructUsingMethod()
[all …]
DEnumValues.java47 Enum<?>[] enumValues = enumCls.getEnumConstants(); in constructFromName() local
48 if (enumValues == null) { in constructFromName()
51 … config.getAnnotationIntrospector().findEnumValues(enumCls, enumValues, new String[enumValues.leng… in constructFromName()
52 SerializableString[] textual = new SerializableString[enumValues.length]; in constructFromName()
53 for (int i = 0, len = enumValues.length; i < len; ++i) { in constructFromName()
54 Enum<?> en = enumValues[i]; in constructFromName()
/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/
DjsonToSpirv.h227 desc(0), bitmask(false), enumValues(nullptr) { } in EnumDefinition()
232 enumValues = enumValuesArg;
238 assert(enumValues != nullptr);
239 return (*enumValues)[value];
248 iterator begin() { return enumValues->begin(); } in begin()
249 iterator end() { return enumValues->end(); } in end()
254 EnumValues* enumValues; // parameters for each individual enumerant variable
DjsonToSpirv.cpp456 … spv::EnumValues* enumValues, const Json::Value& operandEnum, const std::string& category) { in jsonToSpirv() argument
459 populateEnumValues(enumValues, operandEnum, bitEnum); in jsonToSpirv()
460 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h222 desc(0), bitmask(false), enumValues(nullptr) { } in EnumDefinition()
227 enumValues = enumValuesArg;
233 assert(enumValues != nullptr);
234 return (*enumValues)[value];
243 iterator begin() { return enumValues->begin(); } in begin()
244 iterator end() { return enumValues->end(); } in end()
249 EnumValues* enumValues; // parameters for each individual enumerant variable
DjsonToSpirv.cpp416 … spv::EnumValues* enumValues, const Json::Value& operandEnum, const std::string& category) { in jsonToSpirv() argument
419 populateEnumValues(enumValues, operandEnum, bitEnum); in jsonToSpirv()
420 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.h207 desc(0), bitmask(false), enumValues(nullptr) { } in EnumDefinition()
212 enumValues = enumValuesArg;
218 assert(enumValues != nullptr);
219 return (*enumValues)[value];
228 iterator begin() { return enumValues->begin(); } in begin()
229 iterator end() { return enumValues->end(); } in end()
234 EnumValues* enumValues; // parameters for each individual enumerant variable
DjsonToSpirv.cpp379 … spv::EnumValues* enumValues, const Json::Value& operandEnum, const std::string& category) { in jsonToSpirv() argument
382 populateEnumValues(enumValues, operandEnum, bitEnum); in jsonToSpirv()
383 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h224 desc(0), bitmask(false), enumValues(nullptr) { } in EnumDefinition()
229 enumValues = enumValuesArg;
235 assert(enumValues != nullptr);
236 return (*enumValues)[value];
245 iterator begin() { return enumValues->begin(); } in begin()
246 iterator end() { return enumValues->end(); } in end()
251 EnumValues* enumValues; // parameters for each individual enumerant variable
DjsonToSpirv.cpp416 … spv::EnumValues* enumValues, const Json::Value& operandEnum, const std::string& category) { in jsonToSpirv() argument
419 populateEnumValues(enumValues, operandEnum, bitEnum); in jsonToSpirv()
420 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
/external/catch2/include/internal/
Dcatch_enum_values_registry.cpp35 auto enumValues = splitStringRef( enums, ',' ); in parseEnums() local
37 parsed.reserve( enumValues.size() ); in parseEnums()
38 for( auto const& enumValue : enumValues ) { in parseEnums()
/external/junit/src/main/java/org/junit/experimental/theories/internal/
DEnumSupplier.java20 Object[] enumValues = enumType.getEnumConstants(); in getValueSources() local
23 for (Object value : enumValues) { in getValueSources()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DTestJacksonAnnotationIntrospector.java140 public String[] findEnumValues(Class<?> enumType, Enum<?>[] enumValues, String[] names) { in findEnumValues() argument
142 for (int i = 0, len = enumValues.length; i < len; ++i) { in findEnumValues()
143 names[i] = enumValues[i].name().toLowerCase(); in findEnumValues()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdKeySerializers.java285 EnumValues enumValues) in construct() argument
287 return new EnumKeySerializer(enumType, enumValues); in construct()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotationIntrospectorPair.java633 public String[] findEnumValues(Class<?> enumType, Enum<?>[] enumValues, String[] names) { in findEnumValues() argument
635 names = _secondary.findEnumValues(enumType, enumValues, names); in findEnumValues()
636 names = _primary.findEnumValues(enumType, enumValues, names); in findEnumValues()
641 public void findEnumAliases(Class<?> enumType, Enum<?>[] enumValues, String[][] aliases) { in findEnumAliases() argument
643 _secondary.findEnumAliases(enumType, enumValues, aliases); in findEnumAliases()
644 _primary.findEnumAliases(enumType, enumValues, aliases); in findEnumAliases()
DJacksonAnnotationIntrospector.java205 public String[] findEnumValues(Class<?> enumType, Enum<?>[] enumValues, String[] names) { in findEnumValues() argument
226 for (int i = 0, end = enumValues.length; i < end; ++i) { in findEnumValues()
227 String defName = enumValues[i].name(); in findEnumValues()
238 public void findEnumAliases(Class<?> enumType, Enum<?>[] enumValues, String[][] aliasList) in findEnumAliases() argument
250 for (int i = 0, end = enumValues.length; i < end; ++i) { in findEnumAliases()
251 if (name.equals(enumValues[i].name())) { in findEnumAliases()
/external/okio/okio/src/jvmTest/java/okio/internal/
DHmacTest.kt38 val algorithms = enumValues<Parameters.Algorithm>() in <lambda>()
/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java71 Foo[] enumValues(); in enumValues() method
121 enumValues = {Foo.BAZ, Foo.BAH},
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DAnnotationIntrospector.java1033 public String[] findEnumValues(Class<?> enumType, Enum<?>[] enumValues, String[] names) { in findEnumValues() argument
1052 public void findEnumAliases(Class<?> enumType, Enum<?>[] enumValues, String[][] aliases) { in findEnumAliases() argument
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/
DJavaLayoutHtmlFormatOutputBuilder.kt539 summaryNodeGroup(enumValues, "Enum values") { in <lambda>()
640 fullMemberDocs(enumValues, "Enum values") in <lambda>()
993 val enumValues = node.members(NodeKind.EnumItem).sortedBy { it.name } in <lambda>() constant
1022 val nestedClasses = node.members.filter { it.kind in NodeKind.classLike } - enumValues in <lambda>()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTAttributeDef.java1541 String [] enumValues = this.getEnumNames(); in getListOfEnums() local
1543 for (int i = 0; i < enumValues.length; i++) in getListOfEnums()
1549 enumNamesList.append(enumValues[i]); in getListOfEnums()
/external/dokka/core/src/test/kotlin/model/
DJavaTest.kt204 @Test fun enumValues() { in <lambda>() method in org.jetbrains.dokka.tests.JavaTest
/external/dokka/core/src/main/kotlin/Formats/
DDacHtmlFormat.kt261 fullMemberDocs(enumValues, "Enum values") in <lambda>()
341 enumValues, in <lambda>()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp96 getStrArrayAttrForEnumList(Builder &builder, ArrayRef<Ty> enumValues, in getStrArrayAttrForEnumList() argument
98 if (enumValues.empty()) { in getStrArrayAttrForEnumList()
102 enumValStrs.reserve(enumValues.size()); in getStrArrayAttrForEnumList()
103 for (auto val : enumValues) { in getStrArrayAttrForEnumList()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java4299 private static final Integer[] enumValues = new Integer[] { field in NanoTest
4376 setMap(testMap.int32ToEnumField, int32Values, enumValues); in setMapMessage()
4394 assertMapSet(testMap.int32ToEnumField, int32Values, enumValues); in assertMapMessageSet()

12