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.cpp81 if (this->comment.length() != 0) { in Write()
82 to->Write("%s\n", this->comment.c_str()); in Write()
332 if (this->comment.length() != 0) { in Write()
333 to->Write("%s\n", this->comment.c_str()); in Write()
384 if (this->comment.length() != 0) { in Write()
385 to->Write("%s\n", this->comment.c_str()); in Write()
436 Document::Document(const std::string& comment, in Document() argument
439 : comment_(comment), in Document()
Dgenerate_java_binder.cpp112 this->comment = "/** Local-side IPC implementation stub class. */"; in StubClass()
122 ctor->comment = in StubClass()
153 getDefaultTransactionName->comment = "/** @hide */"; in StubClass()
166 getTransactionName->comment = "/** @hide */"; in StubClass()
255 m->comment = "/**\n * Cast an IBinder object into an "; in make_as_interface()
256 m->comment += interfaceType->GetCanonicalName(); in make_as_interface()
257 m->comment += " interface,\n"; in make_as_interface()
258 m->comment += " * generating a proxy if needed.\n */"; in make_as_interface()
403 decl->comment = method.GetComments(); in generate_interface_method()
584 proxy->comment = method.GetComments(); in generate_proxy_method()
[all …]
Dast_java_unittest.cpp42 a_class.comment = "// class comment"; in TEST()
Dast_java.h113 std::string comment; member
293 std::string comment; member
320 std::string comment; member
337 Document(const std::string& comment,
/system/core/logd/
DLogTags.cpp56 static uid_t sniffUid(const char* comment, const char* endp) { in sniffUid() argument
57 if (!comment) return AID_ROOT; in sniffUid()
59 if (*comment == '#') ++comment; in sniffUid()
60 while ((comment < endp) && (*comment != '\n') && isspace(*comment)) in sniffUid()
61 ++comment; in sniffUid()
63 if (((comment + strlen(uid_str)) >= endp) || in sniffUid()
64 fastcmp<strncmp>(comment, uid_str, strlen(uid_str)) || in sniffUid()
65 !isdigit(comment[strlen(uid_str)])) in sniffUid()
68 unsigned long Uid = strtoul(comment + 4, &cp, 10); in sniffUid()
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp245 comment("fetch color-buffer"); in scanline_core()
304 comment("store"); in scanline_core()
356 comment("compute ct (# of pixels to process)"); in build_scanline_prolog()
388 comment("compute color-buffer pointer"); in build_scanline_prolog()
402 comment("compute initial fog coordinate"); in build_scanline_prolog()
416 comment("compute initial Z coordinate"); in build_scanline_prolog()
459 comment(comments[component]); in build_component()
631 comment("update iterated color"); in build_smooth_shade()
674 comment("coverage application"); in build_coverage_application()
698 comment("Alpha Test"); in build_alpha_test()
[all …]
DARMAssembler.cpp91 ssize_t comment = mComments.indexOfKey(i); in disassemble() local
92 if (comment >= 0) { in disassemble()
93 printf("; %s\n", mComments.valueAt(comment)); in disassemble()
101 void ARMAssembler::comment(const char* string) in comment() function in android::ARMAssembler
347 void ARMAssembler::SWI(int cc, uint32_t comment) { in SWI() argument
348 *mPC++ = (cc<<28) | (0xF<<24) | comment; in SWI()
DARMAssemblerProxy.cpp68 void ARMAssemblerProxy::comment(const char* string) { in comment() function in android::ARMAssemblerProxy
69 mTarget->comment(string); in comment()
249 void ARMAssemblerProxy::SWI(int cc, uint32_t comment) { in SWI() argument
250 mTarget->SWI(cc, comment); in SWI()
Dtexturing.cpp52 comment("compute initial iterated color (smooth and/or dither case)"); in init_iterated_color()
130 comment("load initial iterated color (8888 packed)"); in init_iterated_color()
135 comment("load initial iterated color (dest format packed)"); in init_iterated_color()
331 comment("compute texture coordinates"); in init_textures()
442 comment("fetch texel"); in build_textures()
450 comment("reload s/t (multitexture or linear filtering)"); in build_textures()
460 comment("compute repeat/clamp"); in build_textures()
503 comment("compute linear filtering offsets"); in build_textures()
592 comment("iterate s,t"); in build_textures()
613 comment("merge base & offset"); in build_textures()
[all …]
/system/chre/external/flatbuffers/
DREADME.md4 changes described in the comment at the top of flatbuffers.h, and apply them to
/system/tools/hidl/lint/test/interfaces/doc_comments/1.0/
DIReturnSpace.hal21 * This doc comment will have a space follow the @return
DINoParam.hal21 * This doc comment will not have anything follow the @param
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
DIRevParam.hal21 * This doc comment will be correct
DIDoubleReturn.hal21 * This doc comment will be correct

1234