Home
last modified time | relevance | path

Searched refs:Annotation (Results 1 – 19 of 19) sorted by relevance

/system/tools/hidl/
DAnnotation.cpp114 Annotation::Annotation(const char* name, AnnotationParamVector* params) in Annotation() function in android::Annotation
117 std::string Annotation::name() const { in name()
121 const AnnotationParamVector &Annotation::params() const { in params()
125 const AnnotationParam *Annotation::getParam(const std::string &name) const { in getParam()
135 std::vector<ConstantExpression*> Annotation::getConstantExpressions() { in getConstantExpressions()
136 const auto& constRet = static_cast<const Annotation*>(this)->getConstantExpressions(); in getConstantExpressions()
143 std::vector<const ConstantExpression*> Annotation::getConstantExpressions() const { in getConstantExpressions()
152 void Annotation::dump(Formatter &out) const { in dump()
DScope.h29 struct Annotation;
56 const std::vector<Annotation*>& annotations() const;
58 void setAnnotations(std::vector<Annotation*>* annotations);
87 std::vector<Annotation*> mAnnotations;
DMethod.h37 struct Annotation;
57 std::vector<Annotation*>* annotations, const Location& location);
69 const std::vector<Annotation *> &annotations() const;
120 std::vector<Annotation *> *mAnnotations;
DAnnotation.h80 struct Annotation { struct
81 Annotation(const char *name, AnnotationParamVector *params);
96 DISALLOW_COPY_AND_ASSIGN(Annotation);
DScope.cpp109 const std::vector<Annotation*>& Scope::annotations() const { in annotations()
113 void Scope::setAnnotations(std::vector<Annotation*>* annotations) { in setAnnotations()
DMethod.cpp32 std::vector<Annotation*>* annotations, const Location& location) in Method()
68 const std::vector<Annotation *> &Method::annotations() const { in annotations()
DAndroid.bp76 "Annotation.cpp",
Dhidl-gen_y.yy20 #include "Annotation.h"
321 android::Annotation *annotation;
322 std::vector<android::Annotation *> *annotations;
375 $$ = new std::vector<Annotation *>;
387 $$ = new Annotation($2, $3);
DEnumType.h119 const Annotation *findExportAnnotation() const;
DEnumType.cpp622 const Annotation *EnumType::findExportAnnotation() const { in findExportAnnotation()
640 const Annotation *annotation = findExportAnnotation(); in emitExportedHeader()
Dhidl-gen_l.ll32 #include "Annotation.h"
DInterface.cpp586 for (const Annotation* annotation : method->annotations()) { in validateAnnotations()
/system/tools/hidl/docs/src/parser/elements/
DAnnotationParser.kt40 if (peekPreviousToken(iter)?.category == TokenCategory.Annotation) iter.previous() in scanTokens()
42 if (peekToken(iter)!!.category != TokenCategory.Annotation) in scanTokens()
52 assert(peekToken(iter)!!.category == TokenCategory.Annotation) in parseTokens()
DEntryParser.kt117 if (peekToken(iter)?.category == TokenCategory.Annotation) { in parseTokens()
130 assert(token.identifier != TokenGrammar.AT && token.category != TokenCategory.Annotation) in parseTokens()
/system/tools/hidl/docs/src/lexer/
DToken.kt22 Annotation, Delimiter, Keyword, Number, Op, TypeDef, Word, DocComment, DocAnnotation, DocWord
111 ENTRY("entry", TokenCategory.Annotation),
112 EXIT("exit", TokenCategory.Annotation),
113 CALLFLOW("callflow", TokenCategory.Annotation),
114 EXPORT("export", TokenCategory.Annotation),
171 return TokenGrammar.values().filter { it.category == TokenCategory.Annotation } in annotations()
/system/tools/aidl/
Daidl_language.h49 enum Annotation : uint32_t { enum
59 void Annotate(AidlAnnotatable::Annotation annotation) { in Annotate()
61 static_cast<AidlAnnotatable::Annotation>(annotations_ | annotation); in Annotate()
74 Annotation annotations_ = AnnotationNone;
Daidl_language_y.yy24 AidlType::Annotation annotation;
25 AidlType::Annotation annotation_list;
296 { $$ = static_cast<AidlType::Annotation>($1 | $2); };
/system/tools/hidl/docs/src/parser/elements/declarations/
DAbstractDeclarationParser.kt36 if (token.category != TokenCategory.Annotation && token.identifier != TokenGrammar.DOC_END) in scanTokens()
/system/tools/hidl/docs/src/parser/files/
DAbstractFileParser.kt124 if (token.identifier == TokenGrammar.AT || token.category == TokenCategory.Annotation) { in indexInsertionPointforDocTokens()