Home
last modified time | relevance | path

Searched refs:api (Results 1 – 25 of 1763) sorted by relevance

12345678910>>...71

/external/skia/infra/bots/recipe_modules/flavor/examples/
Dfull.py15 def test_exceptions(api): argument
17 api.flavor.copy_directory_contents_to_device('src', 'dst')
21 api.flavor.copy_directory_contents_to_host('src', 'dst')
25 api.flavor.copy_file_to_device('src', 'dst')
30 def RunSteps(api): argument
31 api.vars.setup()
32 api.flavor.setup()
34 if api.properties.get('is_testing_exceptions') == 'True':
35 return test_exceptions(api)
37 if 'Build' not in api.properties['buildername']:
[all …]
/external/skqp/infra/bots/recipe_modules/flavor/examples/
Dfull.py15 def test_exceptions(api): argument
17 api.flavor.copy_directory_contents_to_device('src', 'dst')
21 api.flavor.copy_directory_contents_to_host('src', 'dst')
25 api.flavor.copy_file_to_device('src', 'dst')
30 def RunSteps(api): argument
31 api.vars.setup()
32 api.flavor.setup()
34 if api.properties.get('is_testing_exceptions') == 'True':
35 return test_exceptions(api)
37 if 'Build' not in api.properties['buildername']:
[all …]
/external/skqp/infra/bots/recipes/
Dskpbench.py29 def _run(api, title, *cmd, **kwargs): argument
30 with api.context(cwd=api.path['start_dir'].join('skia')):
31 return api.run(api.step, title, cmd=list(cmd), **kwargs)
34 def _adb(api, title, *cmd, **kwargs): argument
37 return _run(api, title, ADB_BINARY, *cmd, **kwargs)
40 def skpbench_steps(api): argument
42 api.file.ensure_directory(
43 'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir)
45 if 'Android' in api.vars.builder_name:
46 app = api.vars.build_dir.join('skpbench')
[all …]
Dcompute_buildstats.py20 def RunSteps(api): argument
21 api.vars.setup()
23 checkout_root = api.checkout.default_checkout_root
24 api.checkout.bot_update(checkout_root=checkout_root)
26 out_dir = api.vars.swarming_out_dir
28 bin_dir = api.vars.build_dir
30 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
33 with api.context(cwd=bin_dir):
34 files = api.file.glob_paths(
41 analyze_wasm_file(api, checkout_root, out_dir, files)
[all …]
Dbookmaker.py28 def RunSteps(api): argument
29 api.vars.setup()
30 checkout_root = api.checkout.default_checkout_root
31 api.checkout.bot_update(checkout_root=checkout_root)
34 with api.context(cwd=skia_dir, env=api.infra.go_env):
35 bookmaker_binary = api.vars.build_dir.join('bookmaker')
36 buildername = api.vars.builder_name
45 api.run(api.step, 'Validate docs match include/core/*.h', cmd=cmd)
46 except api.step.StepFailure as e:
59 fiddlecli_input = api.path.join(api.path['start_dir'], 'fiddle.json')
[all …]
Dtest.py40 def dm_flags(api, bot): argument
103 if 'SwiftShader' in api.vars.extra_tokens:
107 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU':
121 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
168 if 'Intel' in bot and api.vars.is_linux:
222 'TSAN' not in bot and api.vars.is_linux):
238 if 'BonusConfigs' in api.vars.extra_tokens:
272 tf = api.vars.builder_cfg.get('test_filter')
287 if api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
319 if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''):
[all …]
Dperf.py46 def nanobench_flags(api, bot): argument
59 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU':
72 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
106 if 'Intel' in bot and api.vars.is_linux:
180 if ('Intel' in bot and api.vars.is_linux and not 'Vulkan' in bot):
183 if 'IntelHD405' in bot and api.vars.is_linux and 'Vulkan' in bot:
279 def perf_steps(api): argument
281 b = api.properties['buildername']
283 api.flavor.create_clean_device_dir(
284 api.flavor.device_dirs.perf_data_dir)
[all …]
Drecreate_skps.py36 def RunSteps(api): argument
38 api.vars.setup()
40 checkout_root = api.checkout.default_checkout_root
43 api.checkout.bot_update(
48 api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir)
49 api.flavor.setup()
55 with api.context(cwd=src_dir):
61 with api.context(env=gn_env):
62 api.run(api.step, 'GN', cmd=[gn, 'gen', out_dir])
65 api.run(api.step, 'Build Chrome', cmd=['ninja', '-C', out_dir, 'chrome'])
[all …]
Dtest_pathkit.py25 def RunSteps(api): argument
26 api.vars.setup()
27 checkout_root = api.checkout.default_checkout_root
28 out_dir = api.vars.swarming_out_dir
29 api.checkout.bot_update(checkout_root=checkout_root)
32 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
47 if 'Debug' in api.vars.builder_name:
[all …]
Dperf_pathkit.py25 def RunSteps(api): argument
26 api.vars.setup()
27 checkout_root = api.checkout.default_checkout_root
28 out_dir = api.vars.swarming_out_dir
29 api.checkout.bot_update(checkout_root=checkout_root)
32 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
47 api.python.inline(
[all …]
Dcompile.py25 def RunSteps(api): argument
26 api.vars.setup()
30 checkout_root = api.checkout.default_checkout_root
37 if 'NoDEPS' in api.properties['buildername']:
39 checkout_root = api.path['start_dir']
40 if 'CommandBuffer' in api.vars.builder_name:
42 if 'Flutter' in api.vars.builder_name:
45 if 'Android' in api.vars.builder_name:
47 if 'ParentRevision' in api.vars.builder_name:
51 api.checkout.bot_update(
[all …]
/external/skia/infra/bots/recipes/
Dskpbench.py29 def _run(api, title, *cmd, **kwargs): argument
30 with api.context(cwd=api.path['start_dir'].join('skia')):
31 return api.run(api.step, title, cmd=list(cmd), **kwargs)
34 def _adb(api, title, *cmd, **kwargs): argument
37 return _run(api, title, ADB_BINARY, *cmd, **kwargs)
40 def skpbench_steps(api): argument
42 api.file.ensure_directory(
43 'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir)
45 if 'Android' in api.vars.builder_name:
46 app = api.vars.build_dir.join('skpbench')
[all …]
Dcompute_buildstats.py21 def RunSteps(api): argument
22 api.vars.setup()
24 checkout_root = api.checkout.default_checkout_root
25 api.checkout.bot_update(checkout_root=checkout_root)
27 out_dir = api.vars.swarming_out_dir
29 bin_dir = api.vars.build_dir
31 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
34 with api.context(cwd=bin_dir):
35 files = api.file.glob_paths(
42 analyze_wasm_file(api, checkout_root, out_dir, files)
[all …]
Dtest.py41 def dm_flags(api, bot): argument
104 if 'SwiftShader' in api.vars.extra_tokens:
108 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU':
122 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
169 if 'Intel' in bot and api.vars.is_linux:
223 'TSAN' not in bot and api.vars.is_linux):
239 if 'BonusConfigs' in api.vars.extra_tokens:
273 tf = api.vars.builder_cfg.get('test_filter')
288 if api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
320 if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''):
[all …]
Dperf.py46 def nanobench_flags(api, bot): argument
59 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU':
72 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU':
106 if 'Intel' in bot and api.vars.is_linux:
180 if ('Intel' in bot and api.vars.is_linux and not 'Vulkan' in bot):
183 if 'IntelHD405' in bot and api.vars.is_linux and 'Vulkan' in bot:
286 def perf_steps(api): argument
288 b = api.properties['buildername']
290 api.flavor.create_clean_device_dir(
291 api.flavor.device_dirs.perf_data_dir)
[all …]
Drecreate_skps.py36 def RunSteps(api): argument
38 api.vars.setup()
40 checkout_root = api.checkout.default_checkout_root
43 api.checkout.bot_update(
48 api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir)
49 api.flavor.setup()
55 with api.context(cwd=src_dir):
61 with api.context(env=gn_env):
62 api.run(api.step, 'GN', cmd=[gn, 'gen', out_dir])
65 api.run(api.step, 'Build Chrome', cmd=['ninja', '-C', out_dir, 'chrome'])
[all …]
Dtest_pathkit.py25 def RunSteps(api): argument
26 api.vars.setup()
27 checkout_root = api.checkout.default_checkout_root
28 out_dir = api.vars.swarming_out_dir
29 api.checkout.bot_update(checkout_root=checkout_root)
32 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
47 if 'Debug' in api.vars.builder_name:
[all …]
Dperf_pathkit.py25 def RunSteps(api): argument
26 api.vars.setup()
27 checkout_root = api.checkout.default_checkout_root
28 out_dir = api.vars.swarming_out_dir
29 api.checkout.bot_update(checkout_root=checkout_root)
32 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
47 api.python.inline(
[all …]
Dcompile.py25 def RunSteps(api): argument
26 api.vars.setup()
30 checkout_root = api.checkout.default_checkout_root
37 if 'NoDEPS' in api.properties['buildername']:
39 checkout_root = api.path['start_dir']
40 if 'CommandBuffer' in api.vars.builder_name:
42 if 'Flutter' in api.vars.builder_name:
45 if 'Android' in api.vars.builder_name:
47 if 'ParentRevision' in api.vars.builder_name:
51 api.checkout.bot_update(
[all …]
/external/skia/infra/bots/recipe_modules/run/examples/
Dfull.py16 def myfunc(api, i): argument
17 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)])
20 def RunSteps(api): argument
21 api.vars.setup()
23 api.run(api.step, 'fail', cmd=['false'])
24 except api.step.StepFailure:
26 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False)
27 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing'])
28 assert len(api.run.failed_steps) == 2
32 api.run.run_once(myfunc, api, i)
[all …]
/external/skqp/infra/bots/recipe_modules/run/examples/
Dfull.py16 def myfunc(api, i): argument
17 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)])
20 def RunSteps(api): argument
21 api.vars.setup()
23 api.run(api.step, 'fail', cmd=['false'])
24 except api.step.StepFailure:
26 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False)
27 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing'])
28 assert len(api.run.failed_steps) == 2
32 api.run.run_once(myfunc, api, i)
[all …]
/external/skia/infra/bots/recipe_modules/build/
Ddefault.py17 def build_command_buffer(api, chrome_dir, skia_dir, out): argument
18 api.run(api.python, 'build command_buffer',
26 def compile_swiftshader(api, swiftshader_root, cc, cxx, out): argument
37 cmake_bin = str(api.vars.slave_dir.join('cmake_linux', 'bin'))
43 api.file.ensure_directory('makedirs swiftshader_out', out)
44 with api.context(cwd=out, env=env):
45 api.run(api.step, 'swiftshader cmake',
47 api.run(api.step, 'swiftshader ninja',
51 def compile_fn(api, checkout_root, out_dir): argument
53 compiler = api.vars.builder_cfg.get('compiler', '')
[all …]
/external/skqp/infra/bots/recipe_modules/build/
Ddefault.py17 def build_command_buffer(api, chrome_dir, skia_dir, out): argument
18 api.run(api.python, 'build command_buffer',
26 def compile_swiftshader(api, swiftshader_root, cc, cxx, out): argument
37 cmake_bin = str(api.vars.slave_dir.join('cmake_linux', 'bin'))
43 api.file.ensure_directory('makedirs swiftshader_out', out)
44 with api.context(cwd=out, env=env):
45 api.run(api.step, 'swiftshader cmake',
47 api.run(api.step, 'swiftshader ninja',
51 def compile_fn(api, checkout_root, out_dir): argument
53 compiler = api.vars.builder_cfg.get('compiler', '')
[all …]
/external/clang/test/Index/
Dc-index-api-loadTU-test.m79 // CHECK: c-index-api-loadTU-test.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 12:5]
80 // CHECK: c-index-api-loadTU-test.m:6:32: ObjCIvarDecl=myoutlet:6:32 (Definition) Extent=[6:3 - 6:4…
81 // CHECK: c-index-api-loadTU-test.m:6:18: attribute(iboutlet)= Extent=[6:18 - 6:26]
82 // CHECK: c-index-api-loadTU-test.m:6:29: TypeRef=id:0:0 Extent=[6:29 - 6:31]
83 // CHECK: c-index-api-loadTU-test.m:8:36: ObjCInstanceMethodDecl=myMessage::8:36 Extent=[8:1 - 8:54]
84 // CHECK: c-index-api-loadTU-test.m:8:25: attribute(ibaction)= Extent=[8:25 - 8:33]
85 // CHECK: c-index-api-loadTU-test.m:8:50: ParmDecl=msg:8:50 (Definition) Extent=[8:47 - 8:53]
86 // CHECK: c-index-api-loadTU-test.m:8:47: TypeRef=id:0:0 Extent=[8:47 - 8:49]
87 // CHECK: c-index-api-loadTU-test.m:9:3: ObjCInstanceMethodDecl=foo:9:3 (deprecated) (always depre…
88 // CHECK: c-index-api-loadTU-test.m:9:22: UnexposedAttr= Extent=[9:22 - 9:32]
[all …]
/external/skqp/infra/bots/recipe_modules/checkout/examples/
Dfull.py16 def RunSteps(api): argument
17 api.vars.setup()
20 if 'NoDEPS' in api.properties['buildername']:
23 checkout_root = api.checkout.default_checkout_root
29 if 'CommandBuffer' in api.vars.builder_name:
31 if 'RecreateSKPs' in api.vars.builder_name:
35 if 'Flutter' in api.vars.builder_name:
38 if 'Android' in api.vars.builder_name:
40 if 'ParentRevision' in api.vars.builder_name:
44 api.checkout.bot_update(
[all …]

12345678910>>...71