Home
last modified time | relevance | path

Searched refs:affected_file (Results 1 – 5 of 5) sorted by relevance

/external/skia/
DPRESUBMIT.py68 for affected_file in input_api.AffectedFiles(None):
69 affected_file_path = affected_file.LocalPath()
105 for affected_file in input_api.AffectedSourceFiles(None):
106 affected_file_path = affected_file.LocalPath()
137 for affected_file in input_api.AffectedSourceFiles(source_file_filter):
138 if ('third_party/' in affected_file.LocalPath() or
139 'tests/sksl/' in affected_file.LocalPath()):
141 contents = input_api.ReadFile(affected_file, 'rb')
144 '%s is missing a correct copyright header.' % affected_file))
367 for affected_file in input_api.AffectedFiles():
[all …]
/external/skqp/
DPRESUBMIT.py68 for affected_file in input_api.AffectedFiles(None):
69 affected_file_path = affected_file.LocalPath()
105 for affected_file in input_api.AffectedSourceFiles(None):
106 affected_file_path = affected_file.LocalPath()
137 for affected_file in input_api.AffectedSourceFiles(source_file_filter):
138 if 'third_party' in affected_file.LocalPath():
140 contents = input_api.ReadFile(affected_file, 'rb')
143 '%s is missing a correct copyright header.' % affected_file))
366 for affected_file in input_api.AffectedFiles():
367 affected_file_path = affected_file.LocalPath()
[all …]
/external/webrtc/
Dpresubmit_test_mocks.py36 def FilterSourceFile(cls, affected_file, white_list=(), black_list=()): argument
43 def ReadFile(self, affected_file, mode='rU'): argument
44 filename = affected_file.AbsoluteLocalPath()
DPRESUBMIT.py574 for affected_file in gn_files:
575 for (line_number, affected_line) in affected_file.ChangedContents():
580 output_api.PresubmitError(error_msg % (affected_file.LocalPath(),
596 for affected_file in gn_files:
597 for (line_number, affected_line) in affected_file.ChangedContents():
601 output_api.PresubmitError(error_msg % (affected_file.LocalPath(),
755 def FilterFile(affected_file): argument
756 return (input_api.os_path.splitext(affected_file.LocalPath())[1] == '.json'
757 and source_file_filter(affected_file))
768 for affected_file in input_api.AffectedFiles(
[all …]
/external/pdfium/
DPRESUBMIT.py249 def FileFilterIncludeOrder(affected_file): argument
251 return input_api.FilterSourceFile(affected_file, black_list=black_list)