/external/angle/ |
D | PRESUBMIT.py | 31 def _CheckChangeHasBugField(input_api, output_api): argument 36 output_api.PresubmitError('Please ensure that your description contains:\n' 54 output_api.PresubmitError('Invalid bug tag "None" in presence of other bug tags.')) 59 errors.append(output_api.PresubmitError('Incorrect bug tag "' + bug + '".')) 61 extra_help = output_api.PresubmitError('Acceptable format is:\n\n' 72 def _CheckCodeGeneration(input_api, output_api): argument 74 class Msg(output_api.PresubmitError): 78 super(output_api.PresubmitError, self).__init__( 99 def _CheckNewHeaderWithoutGnChange(input_api, output_api): argument 130 output_api.PresubmitPromptWarning( [all …]
|
/external/webrtc/ |
D | PRESUBMIT.py | 66 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/ |
D | PRESUBMIT.py | 49 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 _InfraTests(input_api, output_api): argument 158 results.append(output_api.PresubmitError( [all …]
|
/external/skqp/ |
D | PRESUBMIT.py | 49 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/chromium-trace/catapult/devil/ |
D | PRESUBMIT.py | 12 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/perfetto/ |
D | PRESUBMIT.py | 51 def CheckChangeOnUpload(input_api, output_api): argument 52 return CheckChange(input_api, output_api) 55 def CheckChangeOnCommit(input_api, output_api): argument 56 return CheckChange(input_api, output_api) 59 def CheckBuild(input_api, output_api): argument 71 output_api.PresubmitError('Bazel BUILD(s) are out of date. Run ' + 77 def CheckAndroidBlueprint(input_api, output_api): argument 89 output_api.PresubmitError('Android build files are out of date. ' + 95 def CheckIncludeGuards(input_api, output_api): argument 106 output_api.PresubmitError('Please run ' + tool + [all …]
|
/external/libyuv/files/ |
D | PRESUBMIT.py | 12 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/v8/ |
D | PRESUBMIT.py | 77 def _V8PresubmitChecks(input_api, output_api): argument 107 results.append(output_api.PresubmitError("C++ lint check failed")) 111 results.append(output_api.PresubmitError("Torque format check failed")) 115 results.append(output_api.PresubmitError("JS format check failed")) 118 results.append(output_api.PresubmitError( 123 results.append(output_api.PresubmitError("Status file check failed")) 125 input_api, output_api, bot_allowlist=[ 131 def _CheckUnwantedDependencies(input_api, output_api): argument 232 results.append(output_api.PresubmitError( 236 results.append(output_api.PresubmitPromptOrNotify( [all …]
|
/external/pdfium/ |
D | PRESUBMIT.py | 37 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/ |
D | PRESUBMIT.py | 25 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/pdfium/testing/tools/ |
D | PRESUBMIT.py | 11 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/libchrome/base/android/jni_generator/ |
D | PRESUBMIT.py | 12 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/ |
D | PRESUBMIT.py | 20 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/ |
D | PRESUBMIT.py | 11 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/v8/infra/mb/ |
D | PRESUBMIT.py | 11 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/ |
D | PRESUBMIT.py | 6 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/ |
D | PRESUBMIT.py | 6 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/ |
D | PRESUBMIT.py | 30 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/ |
D | PRESUBMIT.py | 30 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/pdfium/fpdfsdk/ |
D | PRESUBMIT.py | 11 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/chromium-trace/catapult/systrace/ |
D | PRESUBMIT.py | 6 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/ |
D | PRESUBMIT.py | 79 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/ |
D | PRESUBMIT.py | 21 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/ |
D | PRESUBMIT.py | 21 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/angle/infra/config/ |
D | PRESUBMIT.py | 6 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)
|