Home
last modified time | relevance | path

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

12

/external/angle/
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 …]
/external/skia/
DPRESUBMIT.py49 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument
59 return [output_api.PresubmitPromptWarning(
65 def _JsonChecks(input_api, output_api): argument
82 output_api.PresubmitError(
88 def _IfDefChecks(input_api, output_api): argument
122 output_api.PresubmitError(
129 def _CopyrightChecks(input_api, output_api, source_file_filter=None): argument
143 results.append(output_api.PresubmitError(
148 def _InfraTests(input_api, output_api): argument
159 results.append(output_api.PresubmitError(
[all …]
/external/webrtc/
DPRESUBMIT.py137 def VerifyNativeApiHeadersListIsValid(input_api, output_api): argument
147 return [output_api.PresubmitError(
175 def CheckNativeApiHeaderChanges(input_api, output_api): argument
193 return [output_api.PresubmitNotifyResult(API_CHANGE_MSG, files)]
197 def CheckNoIOStreamInHeaders(input_api, output_api, argument
213 return [output_api.PresubmitError(
221 def CheckNoPragmaOnce(input_api, output_api, argument
237 return [output_api.PresubmitError(
244 def CheckNoFRIEND_TEST(input_api, output_api, # pylint: disable=invalid-name argument
260 return [output_api.PresubmitPromptWarning('WebRTC\'s code should not use '
[all …]
/external/skqp/
DPRESUBMIT.py49 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument
59 return [output_api.PresubmitPromptWarning(
65 def _JsonChecks(input_api, output_api): argument
82 output_api.PresubmitError(
88 def _IfDefChecks(input_api, output_api): argument
122 output_api.PresubmitError(
129 def _CopyrightChecks(input_api, output_api, source_file_filter=None): argument
142 results.append(output_api.PresubmitError(
147 def _ToolFlags(input_api, output_api): argument
154 results.append(output_api.PresubmitError('`python %s test` failed' % f))
[all …]
/external/openscreen/
DPRESUBMIT.py39 def _CheckLicenses(input_api, output_api): argument
42 output_api.PresubmitError(v) for v in licenses.ScanThirdPartyDirs()
46 def _CheckDeps(input_api, output_api): argument
51 return [output_api.PresubmitError(v) for v in deps_results]
125 def _CheckChangeLintsClean(input_api, output_api): argument
143 res_type = output_api.PresubmitError
145 res_type = output_api.PresubmitPromptWarning
151 def _CommonChecks(input_api, output_api): argument
162 output_api,
168 input_api, output_api))
[all …]
/external/perfetto/
DPRESUBMIT.py53 def CheckChangeOnUpload(input_api, output_api): argument
54 return CheckChange(input_api, output_api)
57 def CheckChangeOnCommit(input_api, output_api): argument
58 return CheckChange(input_api, output_api)
61 def CheckBuild(input_api, output_api): argument
73 output_api.PresubmitError('Bazel BUILD(s) are out of date. Run ' +
79 def CheckAndroidBlueprint(input_api, output_api): argument
91 output_api.PresubmitError('Android build files are out of date. ' +
97 def CheckIncludeGuards(input_api, output_api): argument
108 output_api.PresubmitError('Please run ' + tool +
[all …]
/external/chromium-trace/catapult/devil/
DPRESUBMIT.py11 def _RunPylint(input_api, output_api): argument
14 input_api, output_api, pylintrc='pylintrc'))
17 def _RunUnitTests(input_api, output_api): argument
29 message_type = (output_api.PresubmitError if input_api.is_committing else
30 output_api.PresubmitPromptWarning)
53 def _EnsureNoPylibUse(input_api, output_api): argument
72 output_api.PresubmitError(
79 def CommonChecks(input_api, output_api): argument
81 output += _RunPylint(input_api, output_api)
82 output += _RunUnitTests(input_api, output_api)
[all …]
/external/libyuv/files/
DPRESUBMIT.py12 def _RunPythonTests(input_api, output_api): argument
26 output_api,
32 def _CommonChecks(input_api, output_api): argument
35 results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
52 results.extend(_RunPythonTests(input_api, output_api))
56 def CheckChangeOnUpload(input_api, output_api): argument
58 results.extend(_CommonChecks(input_api, output_api))
60 input_api.canned_checks.CheckGNFormatted(input_api, output_api))
64 def CheckChangeOnCommit(input_api, output_api): argument
66 results.extend(_CommonChecks(input_api, output_api))
[all …]
/external/webrtc/tools_webrtc/mb/
DPRESUBMIT.py10 def _CommonChecks(input_api, output_api): argument
14 pylint_checks = input_api.canned_checks.GetPylint(input_api, output_api)
19 input_api, output_api, '.', [ r'^.+_unittest\.py$']))
27 message=output_api.PresubmitError)]))
32 output_api,
39 def CheckChangeOnUpload(input_api, output_api): argument
40 return _CommonChecks(input_api, output_api)
43 def CheckChangeOnCommit(input_api, output_api): argument
44 return _CommonChecks(input_api, output_api)
/external/angle/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 …]
/external/pdfium/
DPRESUBMIT.py37 def _CheckUnwantedDependencies(input_api, output_api): argument
67 return [output_api.PresubmitError(
95 results.append(output_api.PresubmitError(
99 results.append(output_api.PresubmitPromptOrNotify(
238 def _CheckIncludeOrder(input_api, output_api): argument
261 results.append(output_api.PresubmitPromptOrNotify(_INCLUDE_ORDER_WARNING,
265 def _CheckTestDuplicates(input_api, output_api): argument
287 results.append(output_api.PresubmitError(
294 def _CheckPNGFormat(input_api, output_api): argument
306 results.append(output_api.PresubmitError(
[all …]
/external/perfetto/ui/
DPRESUBMIT.py25 def CheckChangeOnUpload(input_api, output_api): argument
26 return CheckChange(input_api, output_api)
29 def CheckChangeOnCommit(input_api, output_api): argument
30 return CheckChange(input_api, output_api)
33 def CheckTslint(input_api, output_api): argument
43 output_api.PresubmitError("Tslint not found. Please first run\n" +
54 output_api.PresubmitError("""\
/external/angle/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)
/external/pdfium/testing/tools/
DPRESUBMIT.py11 def _CommonChecks(input_api, output_api): argument
13 tests.extend(input_api.canned_checks.GetPylint(input_api, output_api))
17 def CheckChangeOnUpload(input_api, output_api): argument
19 tests.extend(_CommonChecks(input_api, output_api))
23 def CheckChangeOnCommit(input_api, output_api): argument
25 tests.extend(_CommonChecks(input_api, output_api))
/external/pdfium/public/
DPRESUBMIT.py11 def _CheckPublicHeaders(input_api, output_api): argument
21 return [output_api.PresubmitError('api_check.py failed:',
25 def CheckChangeOnUpload(input_api, output_api): argument
27 results += _CheckPublicHeaders(input_api, output_api)
31 def CheckChangeOnCommit(input_api, output_api): argument
33 results += _CheckPublicHeaders(input_api, output_api)
/external/chromium-trace/catapult/dependency_manager/
DPRESUBMIT.py6 def CheckChangeOnUpload(input_api, output_api): argument
7 return _CommonChecks(input_api, output_api)
10 def CheckChangeOnCommit(input_api, output_api): argument
11 return _CommonChecks(input_api, output_api)
14 def _CommonChecks(input_api, output_api): argument
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
/external/chromium-trace/catapult/common/py_utils/
DPRESUBMIT.py6 def CheckChangeOnUpload(input_api, output_api): argument
7 return _CommonChecks(input_api, output_api)
10 def CheckChangeOnCommit(input_api, output_api): argument
11 return _CommonChecks(input_api, output_api)
14 def _CommonChecks(input_api, output_api): argument
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
/external/webrtc/tools_webrtc/
DPRESUBMIT.py31 def _CommonChecks(input_api, output_api): argument
35 input_api, output_api, _LicenseHeader(input_api)))
38 def CheckChangeOnUpload(input_api, output_api): argument
40 results.extend(_CommonChecks(input_api, output_api))
43 def CheckChangeOnCommit(input_api, output_api): argument
45 results.extend(_CommonChecks(input_api, output_api))
/external/chromium-trace/catapult/systrace/
DPRESUBMIT.py6 def CheckChangeOnUpload(input_api, output_api): argument
7 return _CommonChecks(input_api, output_api)
10 def CheckChangeOnCommit(input_api, output_api): argument
11 return _CommonChecks(input_api, output_api)
14 def _CommonChecks(input_api, output_api): argument
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
/external/pdfium/fpdfsdk/
DPRESUBMIT.py11 def _CheckApiTestFile(input_api, output_api): argument
29 return [output_api.PresubmitError('api_check.py failed:',
33 def CheckChangeOnUpload(input_api, output_api): argument
35 results += _CheckApiTestFile(input_api, output_api)
39 def CheckChangeOnCommit(input_api, output_api): argument
41 results += _CheckApiTestFile(input_api, output_api)
/external/libyuv/files/tools_libyuv/valgrind/memcheck/
DPRESUBMIT.py21 def CheckChange(input_api, output_api): argument
87 return [output_api.PresubmitError('\n'.join(errors))]
90 def CheckChangeOnUpload(input_api, output_api): argument
91 return CheckChange(input_api, output_api)
93 def CheckChangeOnCommit(input_api, output_api): argument
94 return CheckChange(input_api, output_api)
/external/angle/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)
/external/libyuv/files/infra/config/
DPRESUBMIT.py10 def CheckChangeOnUpload(input_api, output_api): argument
11 return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
14 def CheckChangeOnCommit(input_api, output_api): argument
15 return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
/external/webrtc/sdk/android/
DPRESUBMIT.py9 def CheckChangeOnUpload(input_api, output_api): argument
11 results.extend(CheckPatchFormatted(input_api, output_api))
14 def CheckPatchFormatted(input_api, output_api): argument
22 return [output_api.PresubmitPromptWarning(
/external/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)

12