Home
last modified time | relevance | path

Searched refs:comment_prefix (Results 1 – 13 of 13) sorted by relevance

/external/yapf/yapf/yapflib/
Dcomment_splicer.py55 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/
Dcopyright.py88 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/
Dcheck_copyright.py108 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
Dgenerate_language_headers.py58 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/
Dcheck_copyright.py108 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
Dgenerate_language_headers.py58 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/
Dcheck_copyright.py112 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
Dgenerate_language_headers.py58 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/
Dgenerate_language_headers.py97 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/
Dgenerate_language_headers.py97 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/
Dgenerate_language_headers.py97 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/
Dcommon.py49 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/
Dupdate_cc_test_checks.py213 comment_prefix='//', argparse_callback=infer_dependent_args):