/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/deqp-deps/SPIRV-Tools/utils/ |
D | check_copyright.py | 108 def insert_copyright(author, glob, comment_prefix): argument 119 comment_prefix) + '\n\n' 120 licensed = comment(LICENSED, comment_prefix) + '\n\n' 160 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 | 108 def insert_copyright(author, glob, comment_prefix): argument 119 comment_prefix) + '\n\n' 120 licensed = comment(LICENSED, comment_prefix) + '\n\n' 160 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/vulkan-deps/spirv-tools/src/utils/ |
D | check_copyright.py | 112 def insert_copyright(author, glob, comment_prefix): argument 123 comment_prefix) + '\n\n' 124 licensed = comment(LICENSED, comment_prefix) + '\n\n' 164 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-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
|
/external/angle/third_party/vulkan-deps/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
|
/external/llvm-project/llvm/utils/UpdateTestChecks/ |
D | common.py | 49 comment_prefix, argparse_callback): argument 57 self.comment_prefix = comment_prefix 58 if self.comment_prefix is None: 60 self.comment_prefix = '#' 62 self.comment_prefix = ';' 63 self.autogenerated_note_prefix = self.comment_prefix + ' ' + UTC_ADVERT 87 def itertests(test_patterns, parser, script_name, comment_prefix=None, argparse_callback=None): argument 112 comment_prefix, argparse_callback)
|
/external/llvm-project/llvm/utils/ |
D | update_cc_test_checks.py | 213 comment_prefix='//', argparse_callback=infer_dependent_args):
|