Home
last modified time | relevance | path

Searched refs:comment_prefix (Results 1 – 10 of 10) 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/angle/third_party/spirv-tools/src/utils/
Dcheck_copyright.py107 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
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/deqp-deps/SPIRV-Tools/utils/
Dcheck_copyright.py107 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
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.py103 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
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/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