Home
last modified time | relevance | path

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

/system/tools/hidl/
DAnnotation.cpp107 Annotation::Annotation(const char* name, AnnotationParamVector* params) in Annotation() function in android::Annotation
110 std::string Annotation::name() const { in name()
114 const AnnotationParamVector &Annotation::params() const { in params()
118 const AnnotationParam *Annotation::getParam(const std::string &name) const { in getParam()
128 std::vector<ConstantExpression*> Annotation::getConstantExpressions() { in getConstantExpressions()
129 const auto& constRet = static_cast<const Annotation*>(this)->getConstantExpressions(); in getConstantExpressions()
136 std::vector<const ConstantExpression*> Annotation::getConstantExpressions() const { in getConstantExpressions()
145 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);
88 std::vector<Annotation*> mAnnotations;
DMethod.h37 struct Annotation;
57 std::vector<Annotation*>* annotations, const Location& location);
68 const std::vector<Annotation *> &annotations() const;
119 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.bp62 "Annotation.cpp",
Dhidl-gen_y.yy20 #include "Annotation.h"
333 android::Annotation *annotation;
334 std::vector<android::Annotation *> *annotations;
387 $$ = new std::vector<Annotation *>;
399 $$ = new Annotation($2, $3);
DEnumType.h122 const Annotation *findExportAnnotation() const;
DEnumType.cpp609 const Annotation *EnumType::findExportAnnotation() const { in findExportAnnotation()
627 const Annotation *annotation = findExportAnnotation(); in emitExportedHeader()
Dhidl-gen_l.ll32 #include "Annotation.h"
DInterface.cpp587 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/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()