Searched refs:comment_prefix (Results 1 – 5 of 5) sorted by relevance
/external/yapf/yapf/yapflib/ |
D | comment_splicer.py | 55 comment_prefix = child.prefix 56 comment_lineno = child.lineno - comment_prefix.count('\n') 74 comment_column -= len(comment_prefix.lstrip()) 77 comment_prefix, 105 for cmt in comment_prefix.split('\n'): 157 comment_prefix, comment_lineno, 0, standalone=True), 162 comment_lines = comment_prefix.splitlines() 174 comment_prefix = '\n'.join(comment_lines[1:]) 177 rindex = (0 if '\n' not in comment_prefix.rstrip() else 178 comment_prefix.rstrip().rindex('\n') + 1) [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | check_copyright.py | 103 def insert_copyright(author, glob, comment_prefix): argument 114 comment_prefix) + '\n\n' 115 licensed = comment(LICENSED, comment_prefix) + '\n\n' 155 def alert_if_no_copyright(glob, comment_prefix): argument
|
D | generate_language_headers.py | 60 def comment_prefix(self): member in LangGenerator 88 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 134 def comment_prefix(self): member in CLikeGenerator
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | check_copyright.py | 103 def insert_copyright(author, glob, comment_prefix): argument 114 comment_prefix) + '\n\n' 115 licensed = comment(LICENSED, comment_prefix) + '\n\n' 155 def alert_if_no_copyright(glob, comment_prefix): argument
|
D | generate_language_headers.py | 60 def comment_prefix(self): member in LangGenerator 88 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 134 def comment_prefix(self): member in CLikeGenerator
|