Home
last modified time | relevance | path

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

/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.java2592 public void setEocdComment(@Nonnull byte[] comment) { in setEocdComment() argument
2595 if (comment.length > MAX_EOCD_COMMENT_SIZE) { in setEocdComment()
2598 + comment.length in setEocdComment()
2606 for (int i = 0; i < comment.length - MIN_EOCD_SIZE; i++) { in setEocdComment()
2608 if (comment[i] == EOCD_SIGNATURE[3] in setEocdComment()
2609 && comment[i + 1] == EOCD_SIGNATURE[2] in setEocdComment()
2610 && comment[i + 2] == EOCD_SIGNATURE[1] in setEocdComment()
2611 && comment[i + 3] == EOCD_SIGNATURE[0]) { in setEocdComment()
2613 ByteBuffer bytes = ByteBuffer.wrap(comment, i, comment.length - i); in setEocdComment()
2627 eocdComment = new byte[comment.length]; in setEocdComment()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiItem.kt106 override fun appendDocumentation(comment: String, tagSection: String?, append: Boolean) { in appendDocumentation()
107 if (comment.isBlank()) { in appendDocumentation()
120 target.appendDocumentation(comment, parameterName) in appendDocumentation()
140 documentation = addUniqueTag(documentation, tagSection, comment) in appendDocumentation()
144 … documentation = mergeDocumentation(documentation, element, comment.trim(), tagSection, append) in appendDocumentation()
DPsiCompilationUnit.kt53 var comment: String? = null in getHeaderComments() variable
57 comment = if (comment != null) { in getHeaderComments()
58 comment + "\n" + text in getHeaderComments()
67 return comment in getHeaderComments()
DJavadoc.kt286 val comment = body.lines().joinToString(separator = "\n") { " * $it" }.replace("*/", "&#42;/") in packageHtmlToJavadoc() constant
288 return "/**\n$comment\n */\n" in packageHtmlToJavadoc()
560 val comment = in toFullyQualifiedDocumentation() constant
572 expand(owner, comment, sb) in toFullyQualifiedDocumentation()
DPsiBasedCodebase.kt148 … val comment = PsiTreeUtil.getPrevSiblingOfType(packageStatement, PsiDocComment::class.java) in <lambda>() constant
149 if (comment != null) { in <lambda>()
150 val text = comment.text in <lambda>()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/data_storage/_sponge/
DSimpleXMLWriter.py245 def comment(self, comment): argument
247 self.__write("<!-- %s -->\n" % escape_cdata(comment, self.__encoding))
/tools/repohooks/tools/
Dcheckpatch.pl1067 my $comment = "";
1072 $comment = $3 if defined $3;
1075 $comment = $2 if defined $2;
1078 $comment = $2 if defined $2;
1092 $comment = "";
1106 return ($name, $address, $comment);
2561 my ($email_name, $email_address, $comment) = parse_email($email);
2572 if ("$dequoted$comment" ne $email &&
2573 "<$email_address>$comment" ne $email &&
2574 "$suggested_email$comment" ne $email) {
[all …]
Dcpplint.py3136 comment = line[commentpos:]
3137 match = _RE_PATTERN_TODO.match(comment)
3160 if (Match(r'//[^ ]*\w', comment) and
3161 not Match(r'(///|//\!)(\s+|$)', comment)):
/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/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextItem.kt37 …override fun appendDocumentation(comment: String, tagSection: String?, append: Boolean) = codebase…
/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/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/src/main/java/com/android/tools/metalava/model/
DItem.kt118 fun appendDocumentation(comment: String, tagSection: String? = null, append: Boolean = true) in isHiddenOrRemoved()
/tools/trebuchet/
DLICENSE185 comment syntax for the file format. We also recommend that a
/tools/apksig/
DLICENSE197 comment syntax for the file format. We also recommend that a
/tools/acloud/
DLICENSE185 comment syntax for the file format. We also recommend that a
/tools/metalava/
DFORMAT.md55 New signature files (v2+) generally include a file header comment which states
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt2140 others, and derivative works that comment on or otherwise explain it