Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/javatests/res/testdata/
Dtest_mapping_with_comments21 {//comment..// another comment # another comment
2 "presubmit": [ #comment //another comment #// another comment
3 { # comment
4 "name": "test1",//comment
5 "host": true#comment
6 },#comment
8 "name": "suite/stub1" // comment # comment
12 "keywords": ["key_1"] # comment
13 } # comment
14 ], // comment
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DEocd.java108 private final byte[] comment; field in Eocd
157 comment = new byte[commentSize]; in Eocd()
158 bytes.get(comment); in Eocd()
172 Eocd(int totalRecords, long directoryOffset, long directorySize, @Nonnull byte[] comment) { in Eocd() argument
180 this.comment = comment; in Eocd()
218 return (long) F_COMMENT_SIZE.endOffset() + comment.length; in getEocdSize()
240 byte[] commentCopy = new byte[comment.length]; in getComment()
241 System.arraycopy(comment, 0, commentCopy, 0, comment.length); in getComment()
253 ByteBuffer out = ByteBuffer.allocate(F_COMMENT_SIZE.endOffset() + comment.length); in computeByteRepresentation()
263 F_COMMENT_SIZE.write(out, comment.length); in computeByteRepresentation()
[all …]
DCentralDirectoryHeader.java92 private byte[] comment; field in CentralDirectoryHeader
157 comment = new byte[0]; in CentralDirectoryHeader()
308 return comment; in getComment()
316 void setComment(@Nonnull byte[] comment) { in setComment() argument
317 this.comment = comment; in setComment()
399 cdr.comment = Arrays.copyOf(comment, comment.length); in clone()
DZFile.java2593 public void setEocdComment(@Nonnull byte[] comment) { in setEocdComment() argument
2596 if (comment.length > MAX_EOCD_COMMENT_SIZE) { in setEocdComment()
2599 + comment.length in setEocdComment()
2607 for (int i = 0; i < comment.length - MIN_EOCD_SIZE; i++) { in setEocdComment()
2609 if (comment[i] == EOCD_SIGNATURE[3] in setEocdComment()
2610 && comment[i + 1] == EOCD_SIGNATURE[2] in setEocdComment()
2611 && comment[i + 2] == EOCD_SIGNATURE[1] in setEocdComment()
2612 && comment[i + 3] == EOCD_SIGNATURE[0]) { in setEocdComment()
2614 ByteBuffer bytes = ByteBuffer.wrap(comment, i, comment.length - i); in setEocdComment()
2628 eocdComment = new byte[comment.length]; in setEocdComment()
[all …]
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiSourceFile.kt50 var comment: String? = null in getHeaderComments() variable
53 comment = in getHeaderComments()
54 if (comment != null) { in getHeaderComments()
55 comment + "\n" + text in getHeaderComments()
60 return comment in getHeaderComments()
69 var comment: String? = null in getHeaderComments() variable
73 comment = in getHeaderComments()
74 if (comment != null) { in getHeaderComments()
75 comment + "\n" + text in getHeaderComments()
84 return comment in getHeaderComments()
DPsiItem.kt114 override fun appendDocumentation(comment: String, tagSection: String?, append: Boolean) { in appendDocumentation()
115 if (comment.isBlank()) { in appendDocumentation()
128 target.appendDocumentation(comment, parameterName) in appendDocumentation()
153 documentation = addUniqueTag(documentation, tagSection, comment) in appendDocumentation()
157 documentation = mergeDocumentation(documentation, psi(), comment.trim(), tagSection, append) in appendDocumentation()
DPsiMethodItem.kt107 val comment = codebase.getComment(documentation) in <lambda>() constant
108 val end = findFirstTag(comment)?.textRange?.startOffset ?: documentation.length in <lambda>()
109 return comment.text.substring(0, end) in <lambda>()
DPsiBasedCodebase.kt237 val comment = in <lambda>() constant
242 if (comment != null) { in <lambda>()
244 val text = comment.text in <lambda>()
277 override fun visitDocComment(comment: PsiDocComment) { in <lambda>()
DJavadoc.kt290 val comment = body.lines().joinToString(separator = "\n") { " * $it" }.replace("*/", "&#42;/") in packageHtmlToJavadoc() constant
291 @Suppress("DanglingJavadoc") return "/**\n$comment\n */\n" in packageHtmlToJavadoc()
557 val comment = in toFullyQualifiedDocumentation() constant
572 expand(owner, comment, sb) in toFullyQualifiedDocumentation()
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java207 String comment = in createChange() local
209 if (comment != null) { in createChange()
210 comment = HIDE_TAG_MATCHER.matcher(comment).replaceAll(""); in createChange()
211 comment = JAVADOC_SANITIZER.matcher(comment).replaceAll(""); in createChange()
212 comment = comment.replaceAll("\\n", " "); in createChange()
213 builder.description(comment.trim()); in createChange()
/tools/repohooks/tools/
Dcheckpatch.pl1358 my $comment = "";
1363 $comment = $3 if defined $3;
1366 $comment = $2 if defined $2;
1369 $comment = $2 if defined $2;
1383 $comment = "";
1400 $comment = trim($comment);
1407 return ($name, $name_comment, $address, $comment);
1411 my ($name, $name_comment, $address, $comment) = @_;
1426 $comment = trim($comment);
1427 $comment = " $comment" if ($comment ne "");
[all …]
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextItem.kt41 override fun appendDocumentation(comment: String, tagSection: String?, append: Boolean) =
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineItem.kt49 override fun appendDocumentation(comment: String, tagSection: String?, append: Boolean) { in appendDocumentation()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/doc/
DDocAnalyzerRangeTest.kt535 fun `Trailing comment close`() { in Trailing comment close()
/tools/external/fat32lib/
DAndroid.bp31 // to attach the license to, and including a comment whether the files may be
/tools/metalava/
DCOMPATIBILITY.md49 if a method documents that it returns a non-empty list, then the comment changes to state that it a…
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto113 // which allows it to be placed in a comment. NAME should be replaced with
132 // indentation matters. In these languages, the insertion point comment
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DItem.kt133 fun appendDocumentation(comment: String, tagSection: String? = null, append: Boolean = true) in isHiddenOrRemoved()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java1686 byte[] comment = zf.getEocdComment();
1687 assertArrayEquals(new byte[] { 'f', 'o', 'o' }, comment);
1771 byte[] comment = new byte[] { 1, 3, 4 };
1774 zf.setEocdComment(comment);
1778 assertArrayEquals(comment, zf.getEocdComment());
1783 assertArrayEquals(comment, zf.getEocdComment());
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto682 // tokens appearing on those lines, will be treated as a single comment.
684 // Only the comment content is provided; comment markers (e.g. //) are
705 // /* Block comment attached
708 // /* Block comment attached to
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DFileFormatTest.kt105 fun `Check format parsing, comment after header and package`() { in Check format parsing, comment after header and package()
/tools/external_updater/
DREADME.md20 relative paths. If you want the old behavior back, leave a comment on
/tools/apksig/
DLICENSE197 comment syntax for the file format. We also recommend that a
/tools/netsim/
DLICENSE185 comment syntax for the file format. We also recommend that a
/tools/test/openhst/
DLICENSE185 comment syntax for the file format. We also recommend that a

12