Home
last modified time | relevance | path

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

/build/blueprint/
Dninja_writer.go44 func (n *ninjaWriter) Comment(comment string) error {
51 for i, r := range comment {
63 line = strings.TrimRightFunc(comment[lineStart:i], unicode.IsSpace)
69 line = strings.TrimSpace(comment[lineStart:lastSplitPoint])
83 if lineStart != len(comment) {
84 line := strings.TrimSpace(comment[lineStart:])
106 func (n *ninjaWriter) Build(comment string, rule string, outputs, implicitOuts,
119 if comment != "" {
120 err := wrapper.Comment(comment)
Dninja_defs.go270 comment := params.Comment
274 Comment: comment,
376 comment = b.Comment
391 …err := nw.Build(comment, rule, outputs, implicitOuts, explicitDeps, implicitDeps, orderOnlyDeps, v…
Dninja_writer_test.go108 # r comment
DLICENSE185 comment syntax for the file format. We also recommend that a
/build/blueprint/parser/
Dast.go429 for _, comment := range c.Comment {
430 pos.Offset += len(comment) + 1
431 pos.Column = len(comment) + 1
439 for _, comment := range c.Comment {
440 l += len(comment) + 1
443 for _, comment := range c.Comment {
444 buf = append(buf, comment...)
454 for _, comment := range c.Comment {
455 l += len(comment) + 1
464 for i, comment := range c.Comment {
[all …]
Dprinter.go328 for _, comment := range cg.Comments {
329 if !p.requestNewlinesForPos(comment.Pos()) {
332 for i, line := range comment.Comment {
341 if i < len(comment.Comment)-1 {
345 p.pos = comment.End()
/build/make/tools/
Dpost_process_props.py121 def __init__(self, name, value, optional=False, comment=None): argument
124 if comment != None:
125 self.comments = [comment]
134 return Prop("", "", comment=line)
144 return Prop("", "", comment=line)
200 comment="# Auto-added by post_process_props.py"))
Dgenerate-self-extracting-archive.py128 comment = argv[3]
144 comment_line = '# %s\n' % comment
/build/make/tools/releasetools/
Dtest_utils.py177 def Comment(self, comment): argument
180 self.lines.append('# {}'.format(comment))
Dedify_generator.py246 def Comment(self, comment): argument
249 for i in comment.split("\n"):
Dcommon.py3353 def comment(line): function
3357 comment('Remove all existing dynamic partitions and groups before '
3367 comment('Move partition %s from %s to default' % (p, u.src_group))
3372 comment('Shrink partition %s from %d to %d' %
3381 comment('Shrink group %s from %d to %d' % (g, u.src_size, u.tgt_size))
3386 comment('Add group %s with maximum size %d' % (g, u.tgt_size))
3390 comment('Grow group %s from %d to %d' % (g, u.src_size, u.tgt_size))
3395 comment('Add partition %s to group %s' % (p, u.tgt_group))
3400 comment('Grow partition %s from %d to %d' %
3406 comment('Move partition %s from default to %s' %
Dpylintrc90 # Add a comment according to your evaluation note. This is used by the global
92 comment=no
/build/soong/androidmk/parser/
Dparser.go481 comment := ""
489 comment += "\\"
493 comment += "\\" + p.scanner.TokenText()
501 comment += p.scanner.TokenText()
508 Comment: comment,
/build/blueprint/microfactory/
Dmicrofactory.go237 func parseBuildComment(comment string) (matches, ok bool) {
238 if !strings.HasPrefix(comment, "//") {
241 for i, c := range comment {
245 f := strings.Fields(comment[i:])
298 for _, comment := range commentGroup.List {
299 if matches, ok := parseBuildComment(comment.Text); ok && !matches {
/build/make/tools/zipalign/
DZipEntry.cpp114 void ZipEntry::initNew(const char* fileName, const char* comment) in initNew() argument
123 if (comment != NULL) in initNew()
124 mCDE.mFileCommentLength = strlen(comment); in initNew()
134 assert(comment != NULL); in initNew()
135 strcpy((char*) mCDE.mFileComment, comment); in initNew()
DZipEntry.h165 void initNew(const char* fileName, const char* comment);
/build/soong/scripts/
Dstrip.sh78 …"${CLANG_BIN}/llvm-strip" --strip-all --keep-section=.ARM.attributes --remove-section=.comment "${…
90 …"${CROSS_COMPILE}objcopy" -S --remove-section .gdb_index --remove-section .comment --keep-symbols=…
/build/soong/third_party/zip/
Dreader.go88 z.Comment = end.comment
426 d.comment = string(b[:l])
Dstruct.go144 comment string member
/build/soong/androidmk/androidmk/
Dandroidmk_test.go42 # Source comment
44 # Second source comment