Home
last modified time | relevance | path

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

12

/external/webrtc/
DPRESUBMIT.py66 def _VerifyNativeApiHeadersListIsValid(input_api, output_api): argument
76 return [output_api.PresubmitError(
84 def _CheckNativeApiHeaderChanges(input_api, output_api): argument
94 return [output_api.PresubmitNotifyResult(
111 def _CheckNoIOStreamInHeaders(input_api, output_api): argument
124 return [output_api.PresubmitError(
132 def _CheckNoFRIEND_TEST(input_api, output_api): argument
146 return [output_api.PresubmitPromptWarning('WebRTC\'s code should not use '
159 def _CheckApprovedFilesLintClean(input_api, output_api, argument
195 res_type = output_api.PresubmitPromptWarning
[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
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/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/v8/
DPRESUBMIT.py71 def _V8PresubmitChecks(input_api, output_api): argument
89 results.append(output_api.PresubmitError("C++ lint check failed"))
92 results.append(output_api.PresubmitError(
97 results.append(output_api.PresubmitError("Status file check failed"))
99 input_api, output_api, bot_whitelist=[
105 def _CheckUnwantedDependencies(input_api, output_api): argument
146 results.append(output_api.PresubmitError(
150 results.append(output_api.PresubmitPromptOrNotify(
158 def _CheckHeadersHaveIncludeGuards(input_api, output_api): argument
205 return [output_api.PresubmitError(
[all …]
/external/chromium-trace/catapult/devil/
DPRESUBMIT.py12 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
30 else output_api.PresubmitPromptWarning)
42 def _EnsureNoPylibUse(input_api, output_api): argument
61 return [output_api.PresubmitError(
67 def CommonChecks(input_api, output_api): argument
69 output += _RunPylint(input_api, output_api)
70 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/perfetto/
DPRESUBMIT.py42 def CheckChangeOnUpload(input_api, output_api): argument
43 return CheckChange(input_api, output_api)
46 def CheckChangeOnCommit(input_api, output_api): argument
47 return CheckChange(input_api, output_api)
50 def CheckBuild(input_api, output_api): argument
72 output_api.PresubmitError(
79 def CheckAndroidBlueprint(input_api, output_api): argument
95 output_api.PresubmitError(
102 def CheckIncludeGuards(input_api, output_api): argument
111 output_api.PresubmitError(
[all …]
/external/v8/tools/mb/
DPRESUBMIT.py7 def _CommonChecks(input_api, output_api): argument
11 pylint_checks = input_api.canned_checks.GetPylint(input_api, output_api)
16 input_api, output_api, '.', [ r'^.+_unittest\.py$']))
24 message=output_api.PresubmitError)]))
29 output_api,
36 def CheckChangeOnUpload(input_api, output_api): argument
37 return _CommonChecks(input_api, output_api)
40 def CheckChangeOnCommit(input_api, output_api): argument
41 return _CommonChecks(input_api, output_api)
/external/v8/src/inspector/
DPRESUBMIT.py16 def _CompileScripts(input_api, output_api): argument
37 return [output_api.PresubmitError(out)]
39 return [output_api.PresubmitPromptWarning(out + compile_note)]
44 def CheckChangeOnUpload(input_api, output_api): argument
46 results.extend(_CompileScripts(input_api, output_api))
50 def CheckChangeOnCommit(input_api, output_api): argument
52 results.extend(_CompileScripts(input_api, output_api))
55 def PostUploadHook(cl, change, output_api): argument
61 return output_api.EnsureCQIncludeTrybotsAreAdded(
/external/pdfium/
DPRESUBMIT.py37 def _CheckUnwantedDependencies(input_api, output_api): argument
54 return [output_api.PresubmitError(
82 results.append(output_api.PresubmitError(
86 results.append(output_api.PresubmitPromptOrNotify(
225 def _CheckIncludeOrder(input_api, output_api): argument
248 results.append(output_api.PresubmitPromptOrNotify(_INCLUDE_ORDER_WARNING,
252 def _CheckTestDuplicates(input_api, output_api): argument
272 results.append(output_api.PresubmitError(
279 def _CheckPNGFormat(input_api, output_api): argument
291 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/v8/infra/config/
DPRESUBMIT.py12 def _CommonChecks(input_api, output_api): argument
16 input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api))
20 def CheckChangeOnUpload(input_api, output_api): argument
22 results.extend(_CommonChecks(input_api, output_api))
26 def CheckChangeOnCommit(input_api, output_api): argument
28 results.extend(_CommonChecks(input_api, output_api))
/external/libchrome/base/android/jni_generator/
DPRESUBMIT.py12 def CommonChecks(input_api, output_api): argument
23 output_api,
32 def CheckChangeOnUpload(input_api, output_api): argument
33 return CommonChecks(input_api, output_api)
36 def CheckChangeOnCommit(input_api, output_api): argument
37 return CommonChecks(input_api, output_api)
/external/webrtc/tools/valgrind-webrtc/drmemory/
DPRESUBMIT.py20 def CheckChange(input_api, output_api): argument
31 return suppressions.PresubmitCheck(input_api, output_api)
36 def CheckChangeOnUpload(input_api, output_api): argument
37 return CheckChange(input_api, output_api)
40 def CheckChangeOnCommit(input_api, output_api): argument
41 return CheckChange(input_api, output_api)
/external/pdfium/public/
DPRESUBMIT.py11 def _CheckPublicHeaders(input_api, output_api): argument
20 return [output_api.PresubmitError('api_check.py failed:',
24 def CheckChangeOnUpload(input_api, output_api): argument
26 results += _CheckPublicHeaders(input_api, output_api)
30 def CheckChangeOnCommit(input_api, output_api): argument
32 results += _CheckPublicHeaders(input_api, output_api)
/external/v8/infra/mb/
DPRESUBMIT.py11 def _CommonChecks(input_api, output_api): argument
25 message=output_api.PresubmitError)]))
30 def CheckChangeOnUpload(input_api, output_api): argument
31 return _CommonChecks(input_api, output_api)
34 def CheckChangeOnCommit(input_api, output_api): argument
35 return _CommonChecks(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/
DPRESUBMIT.py30 def _CommonChecks(input_api, output_api): argument
34 input_api, output_api, _LicenseHeader(input_api)))
37 def CheckChangeOnUpload(input_api, output_api): argument
39 results.extend(_CommonChecks(input_api, output_api))
42 def CheckChangeOnCommit(input_api, output_api): argument
44 results.extend(_CommonChecks(input_api, output_api))
/external/webrtc/webrtc/
DPRESUBMIT.py30 def _CommonChecks(input_api, output_api): argument
34 input_api, output_api, _LicenseHeader(input_api)))
37 def CheckChangeOnUpload(input_api, output_api): argument
39 results.extend(_CommonChecks(input_api, output_api))
42 def CheckChangeOnCommit(input_api, output_api): argument
44 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/webrtc/talk/
DPRESUBMIT.py79 def _CommonChecks(input_api, output_api): argument
83 input_api, output_api, _LicenseHeader(input_api)))
86 def CheckChangeOnUpload(input_api, output_api): argument
88 results.extend(_CommonChecks(input_api, output_api))
91 def CheckChangeOnCommit(input_api, output_api): argument
93 results.extend(_CommonChecks(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/webrtc/tools/valgrind-webrtc/memcheck/
DPRESUBMIT.py21 def CheckChange(input_api, output_api): argument
87 return [output_api.PresubmitError('\n'.join(errors))]
91 def CheckChangeOnUpload(input_api, output_api): argument
92 return CheckChange(input_api, output_api)
95 def CheckChangeOnCommit(input_api, output_api): argument
96 return CheckChange(input_api, output_api)
/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