Home
last modified time | relevance | path

Searched refs:input_api (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/
DPRESUBMIT.py6 def _CommonChecks(input_api, output_api): argument
9 results += input_api.RunTests(input_api.canned_checks.GetPylint(
10 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
13 input_api, output_api, deprecated_code='GetChromiumSrcDir()',
18 def _RunArgs(args, input_api): argument
19 p = input_api.subprocess.Popen(args, stdout=input_api.subprocess.PIPE,
20 stderr=input_api.subprocess.STDOUT)
25 def _CheckTelemetryBinaryDependencies(input_api, output_api): argument
32 telemetry_dir = input_api.PresubmitLocalPath()
33 telemetry_binary_dependencies_path = input_api.os_path.join(
[all …]
/external/webrtc/
DPRESUBMIT.py66 def _VerifyNativeApiHeadersListIsValid(input_api, output_api): argument
70 input_api.os_path.join(input_api.PresubmitLocalPath(),
84 def _CheckNativeApiHeaderChanges(input_api, output_api): argument
87 for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile):
111 def _CheckNoIOStreamInHeaders(input_api, output_api): argument
114 pattern = input_api.re.compile(r'^#include\s*<iostream>',
115 input_api.re.MULTILINE)
116 for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile):
119 contents = input_api.ReadFile(f)
132 def _CheckNoFRIEND_TEST(input_api, output_api): argument
[all …]
/external/v8/
DPRESUBMIT.py63 def _V8PresubmitChecks(input_api, output_api): argument
66 sys.path.append(input_api.os_path.join(
67 input_api.PresubmitLocalPath(), 'tools'))
75 if not CppLintProcessor().Run(input_api.PresubmitLocalPath()):
77 if not SourceProcessor().Run(input_api.PresubmitLocalPath()):
81 if not CheckExternalReferenceRegistration(input_api.PresubmitLocalPath()):
84 if not CheckStatusFiles(input_api.PresubmitLocalPath()):
86 results.extend(CheckAuthorizedAuthor(input_api, output_api))
90 def _CheckUnwantedDependencies(input_api, output_api): argument
100 sys.path = sys.path + [input_api.os_path.join(
[all …]
/external/chromium-trace/catapult/devil/
DPRESUBMIT.py12 def _RunPylint(input_api, output_api): argument
13 return input_api.RunTests(input_api.canned_checks.RunPylint(
14 input_api, output_api, pylintrc='pylintrc'))
17 def _RunUnitTests(input_api, output_api): argument
20 return input_api.os_path.join(
21 input_api.PresubmitLocalPath(), 'devil', *dirs)
23 test_env = dict(input_api.environ)
29 return input_api.canned_checks.RunUnitTests(
30 input_api,
46 def _EnsureNoPylibUse(input_api, output_api): argument
[all …]
/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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/external/chromium-trace/catapult/catapult_build/
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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/external/chromium-trace/catapult/catapult_base/
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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/external/chromium-trace/catapult/
DPRESUBMIT.py53 def CheckChangeLogBug(input_api, output_api): argument
54 if input_api.change.BUG is None or re.match(
56 input_api.change.BUG):
61 input_api.change.BUG))]
64 def CheckChange(input_api, output_api): argument
67 sys.path += [input_api.PresubmitLocalPath()]
71 results += input_api.canned_checks.PanProjectChecks(
72 input_api, output_api, excluded_paths=_EXCLUDED_PATHS)
73 results += CheckChangeLogBug(input_api, output_api)
75 input_api, output_api, excluded_paths=_EXCLUDED_PATHS)
[all …]
/external/chromium-trace/catapult/tracing/
DPRESUBMIT.py8 def CheckChangeOnUpload(input_api, output_api): argument
9 return _CheckChange(input_api, output_api)
12 def CheckChangeOnCommit(input_api, output_api): argument
13 return _CheckChange(input_api, output_api)
16 def _CheckChange(input_api, output_api): argument
21 sys.path += [input_api.PresubmitLocalPath()]
29 results += input_api.RunTests(input_api.canned_checks.GetPylint(
30 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
36 def _GetPathsToPrepend(input_api): argument
37 project_dir = input_api.PresubmitLocalPath()
[all …]
/external/chromium-trace/catapult/experimental/
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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/external/chromium-trace/catapult/dashboard/
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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/external/chromium-trace/catapult/perf_insights/
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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
24 catapult_dir = input_api.os_path.join(project_dir, '..')
[all …]
/external/skia/
DPRESUBMIT.py61 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument
64 for f in input_api.AffectedSourceFiles(source_file_filter):
65 contents = input_api.ReadFile(f, 'rb')
77 def _PythonChecks(input_api, output_api): argument
93 for affected_file in input_api.AffectedSourceFiles(None):
97 return input_api.canned_checks.RunPylint(
98 input_api, output_api,
103 def _IfDefChecks(input_api, output_api): argument
120 for affected_file in input_api.AffectedSourceFiles(None):
144 def _CopyrightChecks(input_api, output_api, source_file_filter=None): argument
[all …]
/external/chromium-trace/catapult/firefighter/
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
16 results += input_api.RunTests(input_api.canned_checks.GetPylint(
17 input_api, output_api, extra_paths_list=_GetPathsToPrepend(input_api),
22 def _GetPathsToPrepend(input_api): argument
23 project_dir = input_api.PresubmitLocalPath()
/external/libchrome/base/
DPRESUBMIT.py11 def _CheckNoInterfacesInBase(input_api, output_api): argument
13 pattern = input_api.re.compile(r'^\s*@interface', input_api.re.MULTILINE)
15 for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile):
21 contents = input_api.ReadFile(f)
34 def _CommonChecks(input_api, output_api): argument
37 results.extend(_CheckNoInterfacesInBase(input_api, output_api))
40 def CheckChangeOnUpload(input_api, output_api): argument
42 results.extend(_CommonChecks(input_api, output_api))
46 def CheckChangeOnCommit(input_api, output_api): argument
48 results.extend(_CommonChecks(input_api, output_api))
/external/webrtc/webrtc/
DPRESUBMIT.py9 def _LicenseHeader(input_api): argument
12 current_year = int(input_api.time.strftime('%Y'))
30 def _CommonChecks(input_api, output_api): argument
33 results.extend(input_api.canned_checks.CheckLicense(
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/tools/
DPRESUBMIT.py9 def _LicenseHeader(input_api): argument
12 current_year = int(input_api.time.strftime('%Y'))
30 def _CommonChecks(input_api, output_api): argument
33 results.extend(input_api.canned_checks.CheckLicense(
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/talk/
DPRESUBMIT.py26 def _LicenseHeader(input_api): argument
29 current_year = int(input_api.time.strftime('%Y'))
79 def _CommonChecks(input_api, output_api): argument
82 results.extend(input_api.canned_checks.CheckLicense(
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/chromium-trace/catapult/telemetry/third_party/webpagereplay/
DPRESUBMIT.py11 def _CommonChecks(input_api, output_api): argument
14 results.extend(input_api.canned_checks.RunPylint(
15 input_api, output_api, black_list=[], pylintrc='pylintrc'))
19 def CheckChangeOnUpload(input_api, output_api): argument
21 report.extend(_CommonChecks(input_api, output_api))
25 def CheckChangeOnCommit(input_api, output_api): argument
27 report.extend(_CommonChecks(input_api, output_api))
/external/webrtc/tools/valgrind-webrtc/drmemory/
DPRESUBMIT.py20 def CheckChange(input_api, output_api): argument
24 tools_vg_path = os.path.join(input_api.PresubmitLocalPath(), '..', '..',
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/chromium-trace/catapult/tracing/bin/
DPRESUBMIT.py6 def CheckChange(input_api, output_api): argument
7 init_py_path = os.path.join(input_api.PresubmitLocalPath(), '__init__.py')
14 def CheckChangeOnUpload(input_api, output_api): argument
15 return CheckChange(input_api, output_api)
18 def CheckChangeOnCommit(input_api, output_api): argument
19 return CheckChange(input_api, output_api)
/external/chromium-trace/catapult/perf_insights/bin/
DPRESUBMIT.py6 def CheckChange(input_api, output_api): argument
7 init_py_path = os.path.join(input_api.PresubmitLocalPath(), '__init__.py')
14 def CheckChangeOnUpload(input_api, output_api): argument
15 return CheckChange(input_api, output_api)
18 def CheckChangeOnCommit(input_api, output_api): argument
19 return CheckChange(input_api, output_api)
/external/webrtc/tools/valgrind-webrtc/memcheck/
DPRESUBMIT.py21 def CheckChange(input_api, output_api): argument
25 tools_vg_path = os.path.join(input_api.PresubmitLocalPath(), '..', '..',
40 input_api.AffectedFiles()):
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/pdfium/
DPRESUBMIT.py11 def CheckChangeOnUpload(input_api, output_api): argument
13 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)

12