/external/chromium_org/cc/ |
PRESUBMIT.py | 16 def CheckChangeLintsClean(input_api, output_api): 30 return [output_api.PresubmitPromptWarning( 33 def CheckAsserts(input_api, output_api, white_list=CC_SOURCE_FILES, black_list=None): 50 return [output_api.PresubmitError( 54 return [output_api.PresubmitError( 59 def CheckStdAbs(input_api, output_api, 91 result.append(output_api.PresubmitError( 95 result.append(output_api.PresubmitError( 99 result.append(output_api.PresubmitError( 106 output_api, [all...] |
/external/chromium_org/ |
PRESUBMIT.py | 250 def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api): 291 return [output_api.PresubmitPromptOrNotify(_TEST_ONLY_WARNING, problems)] 296 def _CheckNoIOStreamInHeaders(input_api, output_api): 309 return [ output_api.PresubmitError( 317 def _CheckNoUNIT_TESTInSourceFiles(input_api, output_api): 330 return [output_api.PresubmitPromptWarning('UNIT_TEST is only for headers.\n' + 334 def _CheckNoNewWStrings(input_api, output_api): 354 return [output_api.PresubmitPromptWarning('New code should not use wstrings.' 360 def _CheckNoDEPSGIT(input_api, output_api): 364 return [output_api.PresubmitError [all...] |
/external/chromium_org/chrome/app/nibs/ |
PRESUBMIT.py | 28 def _CheckXIBSystemAndXcodeVersions(input_api, output_api, error_type): 85 def CheckChangeOnUpload(input_api, output_api): 88 return _CheckXIBSystemAndXcodeVersions(input_api, output_api, 89 error_type=output_api.PresubmitPromptWarning) 91 def CheckChangeOnCommit(input_api, output_api): 92 return _CheckXIBSystemAndXcodeVersions(input_api, output_api, 93 error_type=output_api.PresubmitError)
|
/external/chromium_org/chrome/common/extensions/api/ |
PRESUBMIT.py | 38 def _GetParseErrors(input_api, output_api): 44 input_api, output_api, '.', whitelist=[r'^PRESUBMIT_test\.py$']) 62 results.append(output_api.PresubmitError('%s could not be parsed: %s' % 67 def CheckChangeOnUpload(input_api, output_api): 68 return _GetParseErrors(input_api, output_api) 71 def CheckChangeOnCommit(input_api, output_api): 72 return _GetParseErrors(input_api, output_api)
|
/external/chromium_org/tools/valgrind/memcheck/ |
PRESUBMIT.py | 12 def CheckChange(input_api, output_api): 71 return [output_api.PresubmitError('\n'.join(errors))] 74 def CheckChangeOnUpload(input_api, output_api): 75 return CheckChange(input_api, output_api) 77 def CheckChangeOnCommit(input_api, output_api): 78 return CheckChange(input_api, output_api)
|
/external/chromium_org/third_party/WebKit/ |
PRESUBMIT.py | 26 def _CheckForVersionControlConflicts(input_api, output_api): 34 results.append(output_api.PresubmitError( 39 def _CheckWatchlist(input_api, output_api): 63 errors.append(output_api.PresubmitError( 69 def _CommonChecks(input_api, output_api): 76 input_api, output_api, excluded_paths=_EXCLUDED_PATHS, 78 results.extend(_CheckForVersionControlConflicts(input_api, output_api)) 79 results.extend(_CheckPatchFiles(input_api, output_api)) 80 results.extend(_CheckTestExpectations(input_api, output_api)) 81 results.extend(_CheckUnwantedDependencies(input_api, output_api)) [all...] |
/external/chromium_org/tools/android/checkstyle/ |
checkstyle.py | 11 def RunCheckstyle(input_api, output_api, style_file): 15 return [output_api.PresubmitError(file_error)] 37 return [output_api.PresubmitPromptWarning(install_error)] 59 return [output_api.PresubmitPromptWarning('\n'.join(output))
|
/external/chromium_org/content/test/gpu/page_sets/ |
PRESUBMIT.py | 21 def _SyncFilesToCloud(input_api, output_api): 41 results.append(output_api.PresubmitNotifyResult( 46 results.append(output_api.PresubmitError( 50 results.append(output_api.PresubmitError( 54 results.append(output_api.PresubmitError( 60 results.append(output_api.PresubmitNotifyResult( 63 results.append(output_api.PresubmitError( 69 def CheckChangeOnUpload(input_api, output_api): 70 return _SyncFilesToCloud(input_api, output_api) 73 def CheckChangeOnCommit(input_api, output_api) [all...] |
/external/chromium_org/tools/perf/page_sets/ |
PRESUBMIT.py | 26 def _SyncFilesToCloud(input_api, output_api): 49 results.append(output_api.PresubmitNotifyResult( 54 results.append(output_api.PresubmitError( 58 results.append(output_api.PresubmitError( 62 results.append(output_api.PresubmitError( 68 results.append(output_api.PresubmitNotifyResult( 71 results.append(output_api.PresubmitError( 77 def CheckChangeOnUpload(input_api, output_api): 78 return _SyncFilesToCloud(input_api, output_api) 81 def CheckChangeOnCommit(input_api, output_api) [all...] |
/external/chromium_org/ui/resources/resource_check/ |
resource_scale_factors.py | 35 def __init__(self, input_api, output_api, paths): 38 self.output_api = output_api 89 results.append(self.output_api.PresubmitError( 96 results.append(self.output_api.PresubmitError(corrupt_png_error % 109 results.append(self.output_api.PresubmitError(corrupt_png_error % 116 results.append(self.output_api.PresubmitError(
|
/external/chromium_org/chrome/common/extensions/ |
PRESUBMIT.py | 95 def _CheckLinks(input_api, output_api, results): 125 results.append(output_api.PresubmitPromptWarning( 131 def _CheckChange(input_api, output_api): 133 output_api.PresubmitError('File %s needs an id for each heading.' % name) 146 results.append(output_api.PresubmitError('IntegrationTest failed!')) 151 #_CheckLinks(input_api, output_api, results) 155 def CheckChangeOnUpload(input_api, output_api): 156 return _CheckChange(input_api, output_api) 158 def CheckChangeOnCommit(input_api, output_api): 159 return _CheckChange(input_api, output_api) [all...] |
/external/chromium_org/chrome/browser/resources/ |
test_presubmit.py | 30 output_api = self.mox.CreateMockAnything() 31 self.checker = js_checker.JSChecker(input_api, output_api) 308 self.output_api = self.mox.CreateMockAnything() 309 self.mox.StubOutWithMock(self.output_api, 'PresubmitPromptWarning', 314 self.output_api = self.mox.CreateMockAnything() 315 self.mox.StubOutWithMock(self.output_api, 'PresubmitNotifyResult', 317 self.output_api.PresubmitNotifyResult(author_msg).AndReturn(None) 321 self.output_api.PresubmitPromptWarning( 324 css_checker.CSSChecker(self.input_api, self.output_api).RunChecks()
|
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
js_checker.py | 11 def __init__(self, input_api, output_api, file_filter=None): 13 self.output_api = output_api 90 return self.output_api.PresubmitError(error_text) 92 return self.output_api.PresubmitPromptWarning(error_text) 216 results.append(self.output_api.PresubmitNotifyResult(
|
css_checker.py | 16 def __init__(self, input_api, output_api, file_filter=None): 18 self.output_api = output_api 230 results.append(self.output_api.PresubmitPromptWarning( 236 results.append(self.output_api.PresubmitNotifyResult(
|
/external/chromium_org/chrome/browser/extensions/ |
PRESUBMIT.py | 34 def __init__(self, input_api, output_api): 36 self.output_api = output_api 134 self.output_api.PresubmitPromptWarning(message, [item], long_message)) 299 def CheckChangeOnUpload(input_api, output_api): 301 results += HistogramValueChecker(input_api, output_api).Run()
|
PRESUBMIT_test.py | 151 output_api = MockOutputApi() 152 return input_api, output_api 155 input_api, output_api = self._PrepareTest(new_file_path) 156 checker = PRESUBMIT.HistogramValueChecker(input_api, output_api)
|
/external/chromium_org/chrome/browser/resources/web_dev_style/ |
js_checker.py | 11 def __init__(self, input_api, output_api, file_filter=None): 13 self.output_api = output_api 112 return self.output_api.PresubmitError(error_text) 114 return self.output_api.PresubmitPromptWarning(error_text) 235 results.append(self.output_api.PresubmitNotifyResult(
|
css_checker.py | 16 def __init__(self, input_api, output_api, file_filter=None): 18 self.output_api = output_api 362 results.append(self.output_api.PresubmitPromptWarning( 368 results.append(self.output_api.PresubmitNotifyResult(
|
/external/chromium_org/tools/valgrind/ |
suppressions.py | 364 def PresubmitCheck(input_api, output_api): 384 return [output_api.PresubmitError(str(e)) for e in errors] [all...] |