Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 25 of 84) 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/extras/simpleperf/scripts/
Dsample_filter.py68 comment = 'total time range: %d seconds' % ((max_timestamp - min_timestamp) // 1e9)
71 comment += ', exclude first %d seconds' % exclude_first_seconds
74 comment += ', exclude last %d seconds' % exclude_last_seconds
81 fh.write('// %s\n' % comment)
94 fh.write('// %s, %s\n' % (comment, time_range_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/aidl/
Dcomments.cpp177 for (const Comment& comment : comments) { in HasHideInComments() local
178 if (comment.type != Comment::Type::BLOCK) continue; in HasHideInComments()
179 if (!std::regex_search(comment.body, kTagHideRegex)) continue; in HasHideInComments()
189 for (const Comment& comment : comments) { in FindDeprecated() local
190 if (comment.type != Comment::Type::BLOCK) continue; in FindDeprecated()
192 for (const auto& [name, description] : BlockTags(comment)) { in FindDeprecated()
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()
330 WriteComment(to, comment); in Write()
380 WriteComment(to, comment); in Write()
Dast_java_unittest.cpp42 a_class.comment = "// class comment"; in TEST()
Dgenerate_java_binder.cpp120 this->comment = "/** Local-side IPC implementation stub class. */"; in StubClass()
142 getDefaultTransactionName->comment = "/** @hide */"; in StubClass()
155 getTransactionName->comment = "/** @hide */"; in StubClass()
328 m->comment = "/**\n * Cast an IBinder object into an "; in MakeAsInterface()
329 m->comment += interfaceType->GetCanonicalName(); in MakeAsInterface()
330 m->comment += " interface,\n"; in MakeAsInterface()
331 m->comment += " * generating a proxy if needed.\n */"; in MakeAsInterface()
466 decl->comment = GenerateComments(method); in GenerateInterfaceMethod()
1095 descriptor->comment = "/** @hide */"; in GenerateInterfaceDescriptors()
1150 default_method->comment = GenerateComments(method); in GenerateDefaultImplMethod()
[all …]
/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/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/core/toolbox/
Dmodprobe.cpp70 auto comment = rv.find('#'); in stripComments() local
71 if (comment == std::string::npos) return rv; in stripComments()
72 auto end = rv.find('\n', comment); in stripComments()
73 if (end != std::string::npos) end = end - comment; in stripComments()
74 rv.erase(comment, end); in stripComments()
/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/chre/external/flatbuffers/
DREADME.md4 changes described in the comment at the top of flatbuffers.h, and apply them to
/system/sepolicy/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/
DIWrongReturn.hal21 * This doc comment will have the wrong @return value
DINoReturn.hal21 * This doc comment will not have anything follow the @return
DIWrongParam.hal21 * This doc comment will have the wrong @param value
DIReturnSpace.hal21 * This doc comment will have a space follow the @return
DINoParam.hal21 * This doc comment will not have anything follow the @param
DIDoubleParam.hal21 * This doc comment will be correct
DISwitched.hal21 * This doc comment will be correct
DIDoubleReturn.hal21 * This doc comment will be correct
/system/security/
DAndroid.bp16 // to attach the license to, and including a comment whether the files may be

1234