/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/deqp-deps/amber/tools/ |
D | copyright.py | 88 def insert_copyright(glob, comment_prefix): argument 95 copyright = comment(COPYRIGHT, comment_prefix) + '\n' 96 licensed = comment(LICENSED, comment_prefix) + '\n\n' 110 def alert_if_no_copyright(glob, comment_prefix): argument
|
/external/angle/third_party/spirv-tools/src/utils/ |
D | check_copyright.py | 107 def insert_copyright(author, glob, comment_prefix): argument 118 comment_prefix) + '\n\n' 119 licensed = comment(LICENSED, comment_prefix) + '\n\n' 159 def alert_if_no_copyright(glob, comment_prefix): argument
|
D | generate_language_headers.py | 58 def comment_prefix(self): member in LangGenerator 86 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 132 def comment_prefix(self): member in CLikeGenerator
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | check_copyright.py | 107 def insert_copyright(author, glob, comment_prefix): argument 118 comment_prefix) + '\n\n' 119 licensed = comment(LICENSED, comment_prefix) + '\n\n' 159 def alert_if_no_copyright(glob, comment_prefix): argument
|
D | generate_language_headers.py | 58 def comment_prefix(self): member in LangGenerator 86 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 132 def comment_prefix(self): member in CLikeGenerator
|
/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 | 58 def comment_prefix(self): member in LangGenerator 86 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 132 def comment_prefix(self): member in CLikeGenerator
|
/external/angle/third_party/spirv-headers/src/tools/buildHeaders/bin/ |
D | generate_language_headers.py | 97 def comment_prefix(self): member in LangGenerator 125 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 174 def comment_prefix(self): member in CLikeGenerator
|
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/bin/ |
D | generate_language_headers.py | 97 def comment_prefix(self): member in LangGenerator 125 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 174 def comment_prefix(self): member in CLikeGenerator
|