Searched refs:enumValue (Results 1 – 7 of 7) sorted by relevance
60 int enumValue = getEnumValue(value); in marshal() local63 buffer.putInt(enumValue); in marshal()65 if (enumValue < UINT8_MIN || enumValue > UINT8_MAX) { in marshal()67 "Enum value %x too large to fit into unsigned byte", enumValue)); in marshal()69 buffer.put((byte)enumValue); in marshal()77 int enumValue; in unmarshal() local81 enumValue = buffer.getInt(); in unmarshal()85 enumValue = buffer.get() & UINT8_MASK; in unmarshal()92 return getEnumFromValue(mClass, enumValue); in unmarshal()171 private static <T extends Enum<T>> int getEnumValue(T enumValue) { in getEnumValue() argument[all …]
24 #define CHECK_TEST_ENUM(EnumType, enumValue) \ argument25 static_assert(static_cast<int32_t>(EnumType::enumValue) == ANEURALNETWORKS_##enumValue)
703 for (final Object enumValue: fieldType.getEnumConstants()) { in EnumFieldSetter()706 tag = (String)tagField.get(enumValue); in EnumFieldSetter()711 mTags.put(tag, (Enum)enumValue); in EnumFieldSetter()716 final Enum enumValue = mTags.get(value); in setField() local717 if (enumValue == null) { in setField()722 mField.set(object, enumValue); in setField()736 final Enum enumValue = mTags.get(value); in setArray() local737 if (enumValue == null) { in setArray()741 Array.set(array, i, enumValue); in setArray()
189 Integer enumValue = enumValues != null ? enumValues.get(value) : null; in getAttributeIntValue()190 if (enumValue != null) { in getAttributeIntValue()191 return enumValue; in getAttributeIntValue()
148 void addEnumNameToValue(const char* enumName, const int enumValue);
306 Table::addEnumNameToValue(const char* enumName, const int enumValue) in addEnumNameToValue() argument308 mEnumValuesByName[enumName] = enumValue; in addEnumNameToValue()
664 Integer enumValue = resolveEnumAttribute(index); in getResourceId() local665 if (enumValue != null) { in getResourceId()666 return enumValue; in getResourceId()