Home
last modified time | relevance | path

Searched refs:DocComment (Results 1 – 13 of 13) sorted by relevance

/system/tools/hidl/
DDocComment.h42 struct DocComment { struct
44 DocComment(const std::string& comment, const Location& location,
47 DocComment(const std::vector<std::string>& lines, const Location& location,
50 void merge(const DocComment* comment);
65 void setDocComment(const DocComment* docComment) { mDocComment = docComment; } in setDocComment() argument
72 const DocComment* getDocComment() const { return mDocComment; } in getDocComment()
75 const DocComment* mDocComment = nullptr;
DDocComment.cpp30 DocComment::DocComment(const std::string& comment, const Location& location, CommentType type) in DocComment() function in android::DocComment
31 : DocComment(std::vector<std::string>(), location, type) { in DocComment()
62 DocComment::DocComment(const std::vector<std::string>& lines, const Location& location, in DocComment() function in android::DocComment
66 void DocComment::merge(const DocComment* comment) { in merge()
72 void DocComment::emit(Formatter& out, CommentType type) const { in emit()
DAST.h37 struct DocComment;
222 void setHeader(const DocComment* header);
223 const DocComment* getHeader() const;
227 void addUnhandledComment(const DocComment* docComment);
228 const std::vector<const DocComment*> getUnhandledComments() const;
239 const DocComment* mHeader = nullptr;
242 std::vector<const DocComment*> mUnhandledComments;
DgenerateJava.cpp72 DocComment( in emitGetService()
80 DocComment( in emitGetService()
108 DocComment("Calls getService(\"default\",retry).", HIDL_LOCATION_HERE).emit(out); in emitGetService()
110 DocComment( in emitGetService()
163 DocComment("Fully-qualified interface name for this interface.", HIDL_LOCATION_HERE).emit(out); in generateJava()
170 DocComment("Does a checked conversion from a binder to this class.", HIDL_LOCATION_HERE) in generateJava()
223 DocComment("Does a checked conversion from any interface to this class.", HIDL_LOCATION_HERE) in generateJava()
DgenerateCpp.cpp93 DocComment( in declareGetService()
104 DocComment( in declareGetService()
117 DocComment("Deprecated. See " + functionName + "(std::string, bool)", HIDL_LOCATION_HERE) in declareGetService()
123 DocComment("Deprecated. See " + functionName + "(std::string, bool)", HIDL_LOCATION_HERE) in declareGetService()
130 DocComment("Calls " + functionName + in declareGetService()
143 DocComment( in declareServiceManagerInteractions()
150 DocComment("Registers for notifications for when a service is registered.", HIDL_LOCATION_HERE) in declareServiceManagerInteractions()
274 DocComment("Type tag for use in template logic that indicates this is a 'pure' class.", in generateInterfaceHeader()
279 DocComment("Fully qualified interface name: \"" + iface->fqName().string() + "\"", in generateInterfaceHeader()
290 DocComment( in generateInterfaceHeader()
[all …]
DAST.cpp938 void AST::setHeader(const DocComment* header) { in setHeader()
942 const DocComment* AST::getHeader() const { in getHeader()
946 void AST::addUnhandledComment(const DocComment* docComment) { in addUnhandledComment()
950 const std::vector<const DocComment*> AST::getUnhandledComments() const { in getUnhandledComments()
Dhidl-gen_l.ll38 #include "DocComment.h"
100 new DocComment(yytext,
DAndroid.bp70 "DocComment.cpp",
Dhidl-gen_y.yy25 #include "DocComment.h"
338 android::DocComment* docComment;
353 : DOC_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::DOC_MULTILINE); }
354 | MULTILINE_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::MULTILINE); }
/system/tools/hidl/lint/lints/
DunhandledComments.cpp27 for (const DocComment* docComment : ast.getUnhandledComments()) { in unhandledComments()
DmethodDocComment.cpp87 const DocComment* docComment = method->getDocComment(); in methodDocComments()
/system/tools/hidl/hidl2aidl/
Dmain.cpp124 for (const DocComment* docComment : ast->getUnhandledComments()) { in parse()
DAidlInterface.cpp282 DocComment(modifiedDocComment, HIDL_LOCATION_HERE).emit(out); in emitAidl()