/system/tools/hidl/ |
D | DocComment.cpp | 30 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()
|
D | DocComment.h | 44 DocComment(const std::string& comment, const Location& location, 50 void merge(const DocComment* comment);
|
/system/extras/simpleperf/scripts/ |
D | sample_filter.py | 68 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/ |
D | IFoo.hal | 20 * 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/ |
D | comments.cpp | 177 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()
|
D | ast_java.cpp | 40 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()
|
D | ast_java_unittest.cpp | 42 a_class.comment = "// class comment"; in TEST()
|
D | generate_java_binder.cpp | 120 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/ |
D | IFoo.hal | 19 * This is a doc comment 22 * Different type of comment 24 // Unhandled comment
|
/system/tools/hidl/c2hal/ |
D | Declaration.cpp | 57 void Declaration::setComment(const std::string &comment) { in setComment() argument 59 mComment = regex_replace(comment, RE_LEADING_SPACES, "\n "); in setComment()
|
D | Declaration.h | 42 void setComment(const std::string &comment);
|
/system/tools/hidl/lint/test/interfaces/unhandled_comments/1.0/ |
D | types.hal | 20 VAR = 0, /* technically correct comment */ 21 TWO = 1 /* definitely unrecognized comment (after enumerator) */
|
/system/core/toolbox/ |
D | modprobe.cpp | 70 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/ |
D | LogTags.cpp | 57 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/ |
D | README.md | 4 changes described in the comment at the top of flatbuffers.h, and apply them to
|
/system/sepolicy/private/ |
D | keystore_keys.te | 2 # Please keep the names in alphabetical order and comment each new entry.
|
/system/tools/hidl/lint/test/interfaces/doc_comments/1.0/ |
D | IWrongReturn.hal | 21 * This doc comment will have the wrong @return value
|
D | INoReturn.hal | 21 * This doc comment will not have anything follow the @return
|
D | IWrongParam.hal | 21 * This doc comment will have the wrong @param value
|
D | IReturnSpace.hal | 21 * This doc comment will have a space follow the @return
|
D | INoParam.hal | 21 * This doc comment will not have anything follow the @param
|
D | IDoubleParam.hal | 21 * This doc comment will be correct
|
D | ISwitched.hal | 21 * This doc comment will be correct
|
D | IDoubleReturn.hal | 21 * This doc comment will be correct
|
/system/security/ |
D | Android.bp | 16 // to attach the license to, and including a comment whether the files may be
|