Home
last modified time | relevance | path

Searched refs:EnumValue (Results 1 – 11 of 11) sorted by relevance

/system/tools/hidl/
DEnumType.h30 struct EnumValue;
38 const std::vector<EnumValue *> &values() const;
39 void addValue(EnumValue *value);
41 void forEachValueFromRoot(const std::function<void(const EnumValue*)> f) const;
145 std::vector<EnumValue *> mValues;
151 struct EnumValue : public LocalIdentifier, DocCommentable { struct
152 EnumValue(const std::string& name, ConstantExpression* value, const Location& location);
158 void autofill(const EnumType* prevType, EnumValue* prevValue, const ScalarType* type);
172 DISALLOW_COPY_AND_ASSIGN(EnumValue); argument
DEnumType.cpp39 const std::vector<EnumValue *> &EnumType::values() const { in values()
43 void EnumType::forEachValueFromRoot(const std::function<void(const EnumValue*)> f) const { in forEachValueFromRoot()
47 for (const EnumValue* v : type->values()) { in forEachValueFromRoot()
61 void EnumType::addValue(EnumValue* value) { in addValue()
68 EnumValue* prevValue = nullptr; in resolveInheritance()
221 for(EnumValue *v : type->values()) { in lookupIdentifier()
283 for (const EnumValue* val : mValues) { in emitHidlDefinition()
469 forEachValueFromRoot([&](const EnumValue* value) { in emitPackageTypeHeaderDefinitions()
496 forEachValueFromRoot([&](const EnumValue* value) { in emitPackageTypeHeaderDefinitions()
547 forEachValueFromRoot([&](const EnumValue* value) { in emitJavaTypeDeclarations()
[all …]
DAST.h38 struct EnumValue;
81 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, const Scope* scope);
DAST.cpp537 EnumValue* enumValue = lookupEnumValue(fqName, &errorMsg, scope); in lookupLocalIdentifier()
546 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, const Scope* scope) { in lookupEnumValue()
564 EnumValue *v = static_cast<EnumValue *>(enumType->lookupIdentifier(enumValueName)); in lookupEnumValue()
Dhidl-gen_y.yy326 android::EnumValue *enumValue;
328 std::vector<android::EnumValue *> *enumValues;
1064 $$ = new EnumValue($1 /* name */, nullptr /* value */, convertYYLoc(@$, ast));
1068 $$ = new EnumValue($1 /* name */, $3 /* value */, convertYYLoc(@$, ast));
/system/tools/hidl/lint/lints/
DenumMaxAndAll.cpp44 for (const EnumValue* ev : enumType->values()) { in enumValueNames()
DnamingConventions.cpp78 for (const EnumValue* ev : enumType->values()) { in namingConventions()
/system/tools/hidl/hidl2aidl/
DAidlNamedType.cpp50 std::vector<const EnumValue*> values; in emitEnumAidlDefinition()
DAidlTranslate.cpp79 std::vector<const EnumValue*> values; in emitEnumStaticAssert()
/system/media/camera/docs/
Dcamera_metadata_tag_info.mako144 find_values = lambda x: isinstance(x, metadata_model.EnumValue)
Dmetadata_model.py971 class EnumValue(Node): class
1085 …[ EnumValue(val, self, ids.get(val), val in deprecateds, val in optionals, visibilities.get(val), \