Home
last modified time | relevance | path

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

12345678910>>...37

/external/skia/infra/bots/recipe_modules/swarming/examples/
Dfull.py37 def RunSteps(api, platforms, show_isolated_out_in_collect_step, argument
40 api.swarming_client.checkout('master')
43 api.swarming.check_client_version(step_test_data=(0, 8, 6))
46 api.isolate.isolate_server = 'https://isolateserver-dev.appspot.com'
47 api.swarming.swarming_server = 'https://chromium-swarm-dev.appspot.com'
48 api.swarming.add_default_tag('master:tryserver')
49 api.swarming.default_expiration = 60*60
50 api.swarming.default_hard_timeout = 60*60
51 api.swarming.default_io_timeout = 20*60
52 api.swarming.default_idempotent = True
[all …]
/external/skia/infra/bots/recipes/
Dskpbench.py28 def _run(api, title, *cmd, **kwargs): argument
29 with api.context(cwd=api.vars.skia_dir):
30 return api.run(api.step, title, cmd=list(cmd), **kwargs)
33 def _adb(api, title, *cmd, **kwargs): argument
36 return _run(api, title, 'adb', *cmd, **kwargs)
39 def skpbench_steps(api): argument
41 app = api.vars.skia_out.join(api.vars.configuration, 'skpbench')
42 _adb(api, 'push skpbench', 'push', app, api.vars.android_bin_dir)
44 skpbench_dir = api.vars.slave_dir.join('skia', 'tools', 'skpbench')
45 table = api.path.join(api.vars.swarming_out_dir, 'table')
[all …]
Dperf.py29 def nanobench_flags(api, bot): argument
77 if 'Intel' in bot and api.vars.is_linux:
153 if ('Intel' in bot and api.vars.is_linux and not 'Vulkan' in bot):
203 def perf_steps(api): argument
205 if api.vars.upload_perf_results:
206 api.flavor.create_clean_device_dir(
207 api.flavor.device_dirs.perf_data_dir)
212 'gitHash', api.vars.got_revision,
214 if api.vars.is_trybot:
216 'issue', api.vars.issue,
[all …]
Dct_skps.py44 def RunSteps(api): argument
46 buildername = api.properties['buildername']
75 api.core.setup()
76 api.flavor.compile(build_target)
79 infrabots_dir = api.vars.skia_dir.join('infra', 'bots')
83 api.run.copy_build_products(
84 api.flavor.out_dir,
86 api.skia_swarming.setup(
90 skps_chromium_build = api.properties.get(
96 % api.ct.CT_GS_BUCKET)
[all …]
Dtest.py27 def dm_flags(api, bot): argument
106 if 'Intel' in bot and api.vars.is_linux:
449 if 'Vulkan' in bot and 'IntelIris540' in bot and api.vars.is_linux:
452 if 'Intel' in bot and api.vars.is_linux and not 'Vulkan' in bot:
537 if 'IntelBayTrail' in bot and api.vars.is_linux:
579 def key_params(api): argument
589 for k in sorted(api.vars.builder_cfg.keys()):
592 flat.append(api.vars.builder_cfg[k])
596 def test_steps(api): argument
599 if api.vars.upload_dm_results:
[all …]
Drecreate_skps.py44 def __init__(self, gs_path, local_path, api): argument
47 self._api = api
59 def RunSteps(api): argument
61 api.core.setup()
63 src_dir = api.vars.checkout_root.join('src')
66 with api.context(cwd=src_dir):
72 with api.context(env=gn_env):
73 api.run(api.step, 'GN', cmd=[gn, 'gen', out_dir])
76 api.run(api.step, 'Build Chrome', cmd=['ninja', '-C', out_dir, 'chrome'])
79 output_dir = api.path['start_dir'].join('skp_output')
[all …]
Dcompile.py45 def RunSteps(api): argument
46 api.core.setup()
48 env = get_extra_env_vars(api.vars.builder_cfg)
49 build_targets = build_targets_from_builder_dict(api.vars.builder_cfg)
53 with api.context(env=env):
54 api.flavor.compile(target)
55 api.run.copy_build_products(
56 api.flavor.out_dir,
57 api.vars.swarming_out_dir.join(
58 'out', api.vars.configuration))
[all …]
Dupload_dm_results.py27 def cp(api, name, src, dst, extra_args=None): argument
39 api.step(step_name, cmd=cmd)
41 except api.step.StepFailure:
46 def RunSteps(api): argument
47 builder_name = api.properties['buildername']
48 revision = api.properties['revision']
50 results_dir = api.path['start_dir'].join('dm')
55 tmp_dir = api.path['start_dir'].join('tmp_upload')
56 api.file.ensure_directory('makedirs tmp dir', tmp_dir)
57 api.file.copy('copy dm.json', json_file, tmp_dir)
[all …]
Dhousekeeper.py21 def RunSteps(api): argument
23 api.core.setup()
25 cwd = api.path['checkout']
29 with api.context(cwd=cwd):
30 gsutil_path = api.bot_update._module.PACKAGE_REPO_ROOT.join('gsutil.py')
31 if not api.vars.is_trybot:
32 api.run(
33 api.step,
35 cmd=['python', api.core.resource('generate_and_upload_doxygen.py')],
38 cmd = ['python', api.core.resource('run_binary_size_analysis.py'),
[all …]
Dinfra.py21 def RunSteps(api): argument
22 api.vars.setup()
23 api.core.checkout_steps()
24 api.infra.update_go_deps()
27 repo_name = api.properties['repository'].split('/')[-1]
30 with api.context(cwd=api.vars.checkout_root.join(repo_name),
31 env=api.infra.go_env):
32 api.step('infra_tests', cmd=['make', '-C', 'infra/bots', 'test'])
35 def GenTests(api): argument
37 api.test('infra_tests') +
[all …]
Dupdate_meta_config.py38 def RunSteps(api): argument
39 api.core.setup()
41 if api.vars.is_trybot:
43 update_meta_config_gitcookies = api.path.join(
44 api.path.expanduser('~'), UPDATE_META_CONFIG_GITCOOKIES_FILE)
45 repo_name = api.properties.get('repository').split('/')[-1].rstrip('.git')
47 api.vars.skia_dir.join('infra', 'bots', 'update_meta_config.py'),
49 '--tasks_json', api.vars.skia_dir.join('infra', 'bots', 'tasks.json'),
51 with api.infra.MetadataFetch(
52 api, UPDATE_META_CONFIG_KEY, UPDATE_META_CONFIG_GITCOOKIES_FILE):
[all …]
Dupload_nano_results.py19 def RunSteps(api): argument
21 builder_name = api.properties['buildername']
23 now = api.time.utcnow()
24 src_path = api.path['start_dir'].join(
26 with api.context(cwd=src_path):
27 results = api.file.glob_paths(
36 basename = api.path.basename(src)
42 issue = api.properties.get('patch_issue')
43 patchset = api.properties.get('patch_set')
48 'gs://%s' % api.properties['gs_bucket'], gs_path, basename))
[all …]
Dbundle_recipes.py18 def RunSteps(api): argument
19 bundle_dir = api.properties['swarm_out_dir'] + '/recipe_bundle'
20 skia_dir = api.path['start_dir'].join('skia')
21 recipes_py = api.path['start_dir'].join('skia', 'infra', 'bots', 'recipes.py')
22 with api.git.env():
23 with api.context(cwd=skia_dir):
24 api.step('git init', infra_step=True,
26 api.step('git add', infra_step=True,
28 api.step('git commit', infra_step=True,
30 api.step('Bundle Recipes', infra_step=True,
[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/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 api.flavor.compile('dm')
[all …]
/external/skia/infra/bots/recipe_modules/core/examples/
Dfull.py13 def RunSteps(api): argument
14 api.core.setup()
17 def GenTests(api): argument
20 api.test('test') +
21 api.properties(buildername=buildername,
26 api.properties(patch_storage='gerrit') +
27 api.properties.tryserver(
36 api.test('no_persistent_checkout') +
37 api.properties(buildername=buildername,
42 api.properties(patch_storage='gerrit') +
[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/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecatedAPIChecker.java60 for (APIInfo api : apiInfoSet) { in checkDeprecated()
61 if (!api.isPublic() && !api.isProtected()) { in checkDeprecated()
64 if (!api.isClass() && !api.isEnum()) { in checkDeprecated()
67 String packageName = api.getPackageName(); in checkDeprecated()
68 String className = api.getName(); in checkDeprecated()
99 APIInfo api = null; in checkClass() local
102 api = findClassInfo(apiInfoSet, clsName); in checkClass()
104 if (api == null) { in checkClass()
110 …compareDeprecated(isAPIDeprecated(api), cls.isAnnotationPresent(Deprecated.class), clsName, null, … in checkClass()
119 api = findFieldInfo(apiInfoSet, clsName, fName); in checkClass()
[all …]
/external/skia/infra/bots/recipe_modules/infra/examples/
Dfull.py21 def RunSteps(api): argument
22 api.vars.setup()
23 api.infra.update_go_deps()
24 with api.infra.MetadataFetch(api, 'key', 'file'):
28 def GenTests(api): argument
30 api.test('infra_tests') +
31 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
39 api.test('failed_one_update') +
40 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
45 api.step_data('update go pkgs', retcode=1)
[all …]
/external/skia/infra/bots/recipe_modules/isolate/examples/
Dfull.py28 def RunSteps(api, always_use_exparchive): argument
30 api.swarming_client.checkout('master')
33 api.isolate.isolate_server = 'https://isolateserver-dev.appspot.com'
34 assert api.isolate.isolate_server == 'https://isolateserver-dev.appspot.com'
37 step_result = api.step('read test spec', ['cat'], stdout=api.json.output())
40 build_path = api.isolate.package_repo_resource()
44 api.isolate.find_isolated_tests(build_path, expected_targets)
50 api.isolate.isolate_tests(
55 def GenTests(api): argument
71 api.test(name) +
[all …]
/external/v8/gypfiles/win/
Dmsvs_dependencies.isolate53 '<(PRODUCT_DIR)/api-ms-win-core-console-l1-1-0.dll',
54 '<(PRODUCT_DIR)/api-ms-win-core-datetime-l1-1-0.dll',
55 '<(PRODUCT_DIR)/api-ms-win-core-debug-l1-1-0.dll',
56 '<(PRODUCT_DIR)/api-ms-win-core-errorhandling-l1-1-0.dll',
57 '<(PRODUCT_DIR)/api-ms-win-core-file-l1-1-0.dll',
58 '<(PRODUCT_DIR)/api-ms-win-core-file-l1-2-0.dll',
59 '<(PRODUCT_DIR)/api-ms-win-core-file-l2-1-0.dll',
60 '<(PRODUCT_DIR)/api-ms-win-core-handle-l1-1-0.dll',
61 '<(PRODUCT_DIR)/api-ms-win-core-heap-l1-1-0.dll',
62 '<(PRODUCT_DIR)/api-ms-win-core-interlocked-l1-1-0.dll',
[all …]
/external/skia/infra/bots/recipe_modules/swarming_client/examples/
Dfull.py19 def RunSteps(api): argument
21 api.step('client path', [])
22 api.step.active_result.step_text = api.swarming_client.path
23 api.swarming_client.checkout()
25 api.swarming_client.query_script_version('swarming.py')
26 api.swarming_client.ensure_script_version('swarming.py', (0, 4, 4))
29 api.swarming_client.query_script_version(
33 assert api.swarming_client.get_script_version('swarming.py') >= (0, 4, 4)
36 api.swarming_client.ensure_script_version('swarming.py', (20, 0, 0))
39 def GenTests(api): argument
[all …]
/external/valgrind/exp-dhat/
Ddh_main.c230 APInfo* api = NULL; in intro_Block() local
236 api = (APInfo*)valW; in intro_Block()
239 api = VG_(malloc)( "dh.main.intro_Block.1", sizeof(APInfo) ); in intro_Block()
240 VG_(memset)(api, 0, sizeof(*api)); in intro_Block()
241 api->ap = bk->ap; in intro_Block()
243 (UWord)bk->ap, (UWord)api ); in intro_Block()
246 tl_assert(api->deaths == 0); in intro_Block()
247 api->xsize_tag = Unknown; in intro_Block()
248 api->xsize = 0; in intro_Block()
249 if (0) VG_(printf)("api %p --> Unknown\n", api); in intro_Block()
[all …]
/external/skia/infra/bots/recipe_modules/builder_name_schema/examples/
Dfull.py11 def RunSteps(api): argument
13 d = api.builder_name_schema.DictForBuilderName(name)
14 got = api.builder_name_schema.MakeBuilderName(**d)
19 api.builder_name_schema.MakeBuilderName('nope')
24 api.builder_name_schema.MakeBuilderName(
25 role='Build', os='a%sb' % api.builder_name_schema.BUILDER_NAME_SEP)
30 api.builder_name_schema.MakeBuilderName(role='Build', bogus='BOGUS')
35 api.builder_name_schema.MakeBuilderName(
41 extra_config='A%sB' % api.builder_name_schema.BUILDER_NAME_SEP)
46 api.builder_name_schema.DictForBuilderName('Build-')
[all …]
/external/skia/infra/bots/recipe_modules/vars/examples/
Dfull.py12 def RunSteps(api): argument
13 api.vars.setup()
15 api.vars.upload_dm_results,
16 api.vars.upload_perf_results,
17 api.vars.swarming_bot_id,
18 api.vars.swarming_task_id,
20 if api.vars.is_linux:
35 def GenTests(api): argument
38 api.test(buildername) +
39 api.properties(buildername=buildername,
[all …]

12345678910>>...37