Home
last modified time | relevance | path

Searched refs:output_api (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/
DPRESUBMIT.py31 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument
41 return [output_api.PresubmitPromptWarning(
47 def _JsonChecks(input_api, output_api): argument
64 output_api.PresubmitError(
70 def _IfDefChecks(input_api, output_api): argument
104 output_api.PresubmitError(
111 def _CopyrightChecks(input_api, output_api, source_file_filter=None): argument
125 results.append(output_api.PresubmitError(
130 def _InfraTests(input_api, output_api): argument
141 results.append(output_api.PresubmitError(
[all …]
/third_party/skia/third_party/externals/angle2/
DPRESUBMIT.py31 def _CheckCommitMessageFormatting(input_api, output_api): argument
93 output_api.PresubmitError(commit_tag + "Tabs are not allowed in commit message."))
104 output_api.PresubmitError(
109 output_api.PresubmitError(commit_tag +
117 output_api.PresubmitError(
124 output_api.PresubmitError(commit_tag +
132 output_api.PresubmitPromptWarning(
137 output_api.PresubmitError(
145 output_api.PresubmitError(commit_tag +
155 output_api.PresubmitError(commit_tag +
[all …]
/third_party/flutter/skia/
DPRESUBMIT.py52 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument
62 return [output_api.PresubmitPromptWarning(
68 def _JsonChecks(input_api, output_api): argument
85 output_api.PresubmitError(
91 def _IfDefChecks(input_api, output_api): argument
125 output_api.PresubmitError(
132 def _CopyrightChecks(input_api, output_api, source_file_filter=None): argument
145 results.append(output_api.PresubmitError(
150 def _ToolFlags(input_api, output_api): argument
157 results.append(output_api.PresubmitError('`python %s test` failed' % f))
[all …]
/third_party/flutter/skia/third_party/externals/angle2/
DPRESUBMIT.py19 def _CheckChangeHasBugField(input_api, output_api): argument
24 output_api.PresubmitError(
29 output_api.PresubmitError(
36 def _CheckCodeGeneration(input_api, output_api): argument
38 class Msg(output_api.PresubmitError):
42 super(output_api.PresubmitError, self).__init__(
63 def _CheckNewHeaderWithoutGnChange(input_api, output_api): argument
94 output_api.PresubmitPromptWarning(
105 def CheckChangeOnUpload(input_api, output_api): argument
107 results.extend(_CheckCodeGeneration(input_api, output_api))
[all …]
/third_party/skia/third_party/externals/tint/
DPRESUBMIT.py104 def CheckNonInclusiveLanguage(input_api, output_api, source_file_filter=None): argument
120 output_api.PresubmitPromptWarning('Non-inclusive language found:',
127 def CheckChange(input_api, output_api): argument
131 input_api, output_api)
133 output_api,
135 results += input_api.canned_checks.CheckGNFormatted(input_api, output_api)
137 input_api, output_api)
139 input_api, output_api)
141 input_api, output_api)
143 input_api, output_api)
[all …]
/third_party/flutter/skia/third_party/externals/dawn/
DPRESUBMIT.py19 def _DoClangFormat(input_api, output_api): argument
22 return [output_api.PresubmitNotifyResult('Skipping clang-format')]
54 return [output_api.PresubmitNotifyResult(output)]
56 return [output_api.PresubmitError(e.output)]
58 def _DoCommonChecks(input_api, output_api): argument
60 results.extend(input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api))
61 results.extend(input_api.canned_checks.CheckGNFormatted(input_api, output_api))
62 results.extend(_DoClangFormat(input_api, output_api))
65 def CheckChangeOnUpload(input_api, output_api): argument
66 return _DoCommonChecks(input_api, output_api)
[all …]
/third_party/skia/third_party/externals/dawn/
DPRESUBMIT.py22 def _DoCommonChecks(input_api, output_api): argument
25 input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api))
28 output_api,
33 def CheckChangeOnUpload(input_api, output_api): argument
34 return _DoCommonChecks(input_api, output_api)
37 def CheckChangeOnCommit(input_api, output_api): argument
38 return _DoCommonChecks(input_api, output_api)
/third_party/skia/third_party/externals/angle2/scripts/
Dangle_presubmit_utils_unittest.py31 self.output_api = OutputAPI_mock()
35 return PRESUBMIT._CheckCommitMessageFormatting(input_api, self.output_api)
54 self.output_api.PresubmitError(
77 self.output_api.PresubmitError(
87 self.output_api.PresubmitError(
98 self.assertEqual(errors[0], self.output_api.PresubmitError(
150 self.output_api.PresubmitPromptWarning(
165 self.output_api.PresubmitError(
180 self.output_api.PresubmitError(
185 self.output_api.PresubmitError("""Commit 1:Line 3 is too long.
[all …]
/third_party/skia/third_party/externals/angle2/infra/specs/
DPRESUBMIT.py12 def _CommonChecks(input_api, output_api): argument
29 message=output_api.PresubmitError),
40 message=output_api.PresubmitError),
48 def CheckChangeOnUpload(input_api, output_api): argument
49 return _CommonChecks(input_api, output_api)
52 def CheckChangeOnCommit(input_api, output_api): argument
53 return _CommonChecks(input_api, output_api)
/third_party/skia/buildtools/checkdeps/
DPRESUBMIT.py11 def CheckChange(input_api, output_api): argument
14 input_api, output_api,
21 def CheckChangeOnUpload(input_api, output_api): argument
22 return CheckChange(input_api, output_api)
26 def CheckChangeOnCommit(input_api, output_api): argument
27 return CheckChange(input_api, output_api)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/
DPRESUBMIT.py92 def CheckChangeOnUpload(input_api, output_api): argument
95 input_api, output_api, license_header=_LicenseHeader(input_api)))
99 def CheckChangeOnCommit(input_api, output_api): argument
103 input_api, output_api, license_header=_LicenseHeader(input_api)))
105 input_api, output_api,
120 output_api,
/third_party/flutter/skia/third_party/externals/angle2/infra/config/
DPRESUBMIT.py6 def CheckChangeOnUpload(input_api, output_api): argument
7 return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
10 def CheckChangeOnCommit(input_api, output_api): argument
11 return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
/third_party/skia/third_party/externals/angle2/infra/config/
DPRESUBMIT.py6 def CheckChangeOnUpload(input_api, output_api): argument
8 input_api.canned_checks.CheckLucicfgGenOutput(input_api, output_api, 'main.star'))
11 def CheckChangeOnCommit(input_api, output_api): argument
12 return CheckChangeOnUpload(input_api, output_api)
/third_party/skia/third_party/externals/tint/infra/config/
DPRESUBMIT.py18 def CheckChangeOnUpload(input_api, output_api): argument
20 input_api, output_api)
23 def CheckChangeOnCommit(input_api, output_api): argument
25 input_api, output_api)
/third_party/skia/third_party/externals/dawn/infra/config/
DPRESUBMIT.py18 def CheckChangeOnUpload(input_api, output_api): argument
20 input_api, output_api)
23 def CheckChangeOnCommit(input_api, output_api): argument
25 input_api, output_api)
/third_party/spirv-tools/
DPRESUBMIT.py34 def CheckChangeOnUpload(input_api, output_api): argument
36 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
38 input_api, output_api, None, LINT_FILTERS)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DPRESUBMIT.py34 def CheckChangeOnUpload(input_api, output_api): argument
36 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
38 input_api, output_api, None, LINT_FILTERS)
/third_party/skia/third_party/externals/spirv-tools/
DPRESUBMIT.py34 def CheckChangeOnUpload(input_api, output_api): argument
36 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
38 input_api, output_api, None, LINT_FILTERS)