Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 25 of 86) sorted by relevance

1234

/system/tools/hidl/
DDocComment.cpp30 DocComment::DocComment(const std::string& comment, const Location& location, CommentType type) in DocComment() argument
32 std::vector<std::string> lines = base::Split(base::Trim(comment), "\n"); in DocComment()
66 void DocComment::merge(const DocComment* comment) { in merge() argument
68 mLines.insert(mLines.end(), comment->mLines.begin(), comment->mLines.end()); in merge()
69 mLocation.setLocation(mLocation.begin(), comment->mLocation.end()); in merge()
DDocComment.h44 DocComment(const std::string& comment, const Location& location,
50 void merge(const DocComment* comment);
/system/tools/hidl/test/format_test/1.0/
DIFoo.hal20 * This is a doc comment.
34 * This doc comment should show up
51 * Some doc comment which will be emitted
75 * This is a doc comment.
/system/tools/hidl/test/error_test/line_number_doc_comments/1.0/
DIFoo.hal19 * This is a doc comment
22 * Different type of comment
24 // Unhandled comment
/system/tools/hidl/c2hal/
DDeclaration.cpp57 void Declaration::setComment(const std::string &comment) { in setComment() argument
59 mComment = regex_replace(comment, RE_LEADING_SPACES, "\n "); in setComment()
DDeclaration.h42 void setComment(const std::string &comment);
/system/core/toolbox/
Dmodprobe.cpp67 auto comment = rv.find('#'); in stripComments() local
68 if (comment == std::string::npos) return rv; in stripComments()
69 auto end = rv.find('\n', comment); in stripComments()
70 if (end != std::string::npos) end = end - comment; in stripComments()
71 rv.erase(comment, end); in stripComments()
/system/tools/hidl/lint/test/interfaces/unhandled_comments/1.0/
Dtypes.hal20 VAR = 0, /* technically correct comment */
21 TWO = 1 /* definitely unrecognized comment (after enumerator) */
/system/tools/aidl/
Dast_java.cpp40 void WriteComment(CodeWriter* to, const std::string& comment) { in WriteComment() argument
41 to->Write("%s", comment.c_str()); in WriteComment()
42 if (!comment.empty() && comment.back() != '\n') to->Write("\n"); in WriteComment()
86 WriteComment(to, comment); in Write()
335 WriteComment(to, comment); in Write()
385 WriteComment(to, comment); in Write()
435 Document::Document(const std::string& comment, in Document() argument
438 : comment_(comment), in Document()
Dast_java_unittest.cpp42 a_class.comment = "// class comment"; in TEST()
Dgenerate_java_binder.cpp114 this->comment = "/** Local-side IPC implementation stub class. */"; in StubClass()
124 ctor->comment = in StubClass()
155 getDefaultTransactionName->comment = "/** @hide */"; in StubClass()
168 getTransactionName->comment = "/** @hide */"; in StubClass()
260 m->comment = "/**\n * Cast an IBinder object into an "; in make_as_interface()
261 m->comment += interfaceType->GetCanonicalName(); in make_as_interface()
262 m->comment += " interface,\n"; in make_as_interface()
263 m->comment += " * generating a proxy if needed.\n */"; in make_as_interface()
406 decl->comment = GenerateComments(method); in generate_interface_method()
587 proxy->comment = GenerateComments(method); in generate_proxy_method()
[all …]
Dast_java.h113 std::string comment; member
293 std::string comment; member
320 std::string comment; member
337 Document(const std::string& comment,
/system/logging/logd/
DLogTags.cpp57 static uid_t sniffUid(const char* comment, const char* endp) { in sniffUid() argument
58 if (!comment) return AID_ROOT; in sniffUid()
60 if (*comment == '#') ++comment; in sniffUid()
61 while ((comment < endp) && (*comment != '\n') && isspace(*comment)) in sniffUid()
62 ++comment; in sniffUid()
64 if (((comment + strlen(uid_str)) >= endp) || in sniffUid()
65 fastcmp<strncmp>(comment, uid_str, strlen(uid_str)) || in sniffUid()
66 !isdigit(comment[strlen(uid_str)])) in sniffUid()
69 unsigned long Uid = strtoul(comment + 4, &cp, 10); in sniffUid()
/system/sepolicy/private/
Dkeystore_keys.te2 # Please keep the names in alphabetical order and comment each new entry.
/system/chre/external/flatbuffers/
DREADME.md4 changes described in the comment at the top of flatbuffers.h, and apply them to
/system/sepolicy/prebuilts/api/31.0/private/
Dkeystore_keys.te2 # Please keep the names in alphabetical order and comment each new entry.
/system/tools/hidl/lint/test/interfaces/doc_comments/1.0/
DINoReturn.hal21 * This doc comment will not have anything follow the @return
DIWrongReturn.hal21 * This doc comment will have the wrong @return value
DIWrongParam.hal21 * This doc comment will have the wrong @param value
DINoParam.hal21 * This doc comment will not have anything follow the @param
DIReturnSpace.hal21 * This doc comment will have a space follow the @return
DIRevReturn.hal21 * This doc comment will be correct
DIRevParam.hal21 * This doc comment will be correct
DISwitched.hal21 * This doc comment will be correct
DIDoubleReturn.hal21 * This doc comment will be correct

1234