/third_party/flutter/skia/infra/bots/recipe_modules/flavor/examples/ |
D | full.py | 16 def test_exceptions(api): argument 18 api.flavor.copy_directory_contents_to_device('src', 'dst') 22 api.flavor.copy_directory_contents_to_host('src', 'dst') 26 api.flavor.copy_file_to_device('src', 'dst') 31 def RunSteps(api): argument 32 api.vars.setup() 33 api.flavor.setup() 35 if api.properties.get('is_testing_exceptions') == 'True': 36 return test_exceptions(api) 38 if 'Build' not in api.properties['buildername']: [all …]
|
/third_party/flutter/skia/infra/bots/recipes/ |
D | skpbench.py | 30 def _run(api, title, *cmd, **kwargs): argument 31 with api.context(cwd=api.path['start_dir'].join('skia')): 32 return api.run(api.step, title, cmd=list(cmd), **kwargs) 35 def _adb(api, title, *cmd, **kwargs): argument 38 return _run(api, title, ADB_BINARY, *cmd, **kwargs) 41 def skpbench_steps(api): argument 43 api.file.ensure_directory( 44 'makedirs perf_dir', api.flavor.host_dirs.perf_data_dir) 46 if 'Android' in api.vars.builder_name: 47 app = api.vars.build_dir.join('skpbench') [all …]
|
D | perf_skottiewasm_lottieweb.py | 82 def RunSteps(api): argument 83 api.vars.setup() 84 api.flavor.setup() 85 checkout_root = api.checkout.default_checkout_root 86 api.checkout.bot_update(checkout_root=checkout_root) 87 buildername = api.properties['buildername'] 88 node_path = api.path['start_dir'].join('node', 'node', 'bin', 'node') 89 lottie_files = api.file.listdir( 90 'list lottie files', api.flavor.host_dirs.lotties_dir, 98 canvaskit_js_path = api.vars.build_dir.join('canvaskit.js') [all …]
|
D | perf_skottietrace.py | 35 def perf_steps(api): argument 37 api.flavor.create_clean_device_dir( 38 api.flavor.device_dirs.dm_dir) 40 lottie_files = api.file.listdir( 41 'list lottie files', api.flavor.host_dirs.lotties_dir, 48 lottie_filename = api.path.basename(lottie_file) 52 trace_output_path = api.flavor.device_path_join( 53 api.flavor.device_dirs.dm_dir, '%s.json' % (idx + 1)) 57 '--resourcePath', api.flavor.device_dirs.resource_dir, 58 '--lotties', api.flavor.device_dirs.lotties_dir, [all …]
|
D | compute_buildstats.py | 21 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 …]
|
D | check_generated_files.py | 25 def RunSteps(api): argument 27 api.vars.setup() 28 checkout_root = api.checkout.default_checkout_root 29 api.checkout.bot_update(checkout_root=checkout_root) 30 api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir) 31 api.flavor.setup() 33 cwd = api.path['checkout'] 35 with api.context(cwd=cwd): 38 diff1 = api.run( 39 api.step, [all …]
|
D | test.py | 41 def dm_flags(api, bot): argument 101 if 'SwiftShader' in api.vars.extra_tokens: 105 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': 118 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': 160 if 'Intel' in bot and api.vars.is_linux: 267 'TSAN' not in bot and api.vars.is_linux): 286 if 'BonusConfigs' in api.vars.extra_tokens: 325 tf = api.vars.builder_cfg.get('test_filter') 340 if api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': 372 if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''): [all …]
|
D | perf.py | 46 def nanobench_flags(api, bot): argument 59 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': 75 elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': 103 if 'Intel' in bot and api.vars.is_linux: 182 if ('Intel' in bot and api.vars.is_linux and not 'Vulkan' in bot): 185 if 'IntelHD405' in bot and api.vars.is_linux and 'Vulkan' in bot: 255 def perf_steps(api): argument 257 b = api.properties['buildername'] 259 api.flavor.create_clean_device_dir( 260 api.flavor.device_dirs.perf_data_dir) [all …]
|
D | recreate_skps.py | 36 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 …]
|
D | test_pathkit.py | 25 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 …]
|
D | perf_pathkit.py | 25 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 …]
|
D | calmbench.py | 22 def RunSteps(api): argument 23 api.vars.setup() 24 api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir) 25 api.flavor.setup() 27 api.flavor.install(skps=True, svgs=True) 28 api.file.ensure_directory('makedirs perf', api.vars.swarming_out_dir) 30 skia_dir = api.path['start_dir'].join('skia') 31 with api.context(cwd=skia_dir): 32 extra_arg = '--svgs %s --skps %s' % (api.flavor.device_dirs.svg_dir, 33 api.flavor.device_dirs.skp_dir) [all …]
|
/third_party/skia/infra/bots/recipes/ |
D | skpbench.py | 31 def _run(api, title, *cmd, **kwargs): argument 32 with api.context(cwd=api.path['start_dir'].join('skia')): 33 return api.run(api.step, title, cmd=list(cmd), **kwargs) 36 def _adb(api, title, *cmd, **kwargs): argument 39 return _run(api, title, ADB_BINARY, *cmd, **kwargs) 42 def skpbench_steps(api): argument 44 is_vulkan = 'Vulkan' in api.vars.builder_name 45 is_metal = 'Metal' in api.vars.builder_name 46 is_android = 'Android' in api.vars.builder_name 47 is_apple_m1 = 'AppleM1' in api.vars.builder_name [all …]
|
D | perf_skottiewasm_lottieweb.py | 84 def RunSteps(api): argument 85 api.vars.setup() 86 api.flavor.setup(None) 87 checkout_root = api.path['start_dir'] 88 buildername = api.properties['buildername'] 89 node_path = api.path['start_dir'].join('node', 'node', 'bin', 'node') 90 lottie_files = api.file.listdir( 91 'list lottie files', api.flavor.host_dirs.lotties_dir, 99 canvaskit_js_path = api.vars.build_dir.join('canvaskit.js') 100 canvaskit_wasm_path = api.vars.build_dir.join('canvaskit.wasm') [all …]
|
D | perf_skottietrace.py | 37 def perf_steps(api): argument 39 api.flavor.create_clean_device_dir( 40 api.flavor.device_dirs.dm_dir) 42 lottie_files = api.file.listdir( 43 'list lottie files', api.flavor.host_dirs.lotties_dir, 49 lottie_filename = api.path.basename(lottie_file) 53 trace_output_path = api.flavor.device_path_join( 54 api.flavor.device_dirs.dm_dir, '%s.json' % (idx + 1)) 58 '--resourcePath', api.flavor.device_dirs.resource_dir, 59 '--lotties', api.flavor.device_dirs.lotties_dir, [all …]
|
D | test.py | 31 def test_steps(api): argument 33 do_upload = api.properties.get('do_upload') == 'true' 34 images = api.properties.get('images') == 'true' 35 lotties = api.properties.get('lotties') == 'true' 36 resources = api.properties.get('resources') == 'true' 37 skps = api.properties.get('skps') == 'true' 38 svgs = api.properties.get('svgs') == 'true' 40 api.flavor.install( 50 host_dm_dir = str(api.flavor.host_dirs.dm_dir) 51 api.flavor.create_clean_host_dir(api.path['start_dir'].join('test')) [all …]
|
D | compute_buildstats.py | 35 def RunSteps(api): argument 36 api.vars.setup() 38 checkout_root = api.checkout.default_checkout_root 39 api.checkout.bot_update(checkout_root=checkout_root) 41 out_dir = api.vars.swarming_out_dir 43 bin_dir = api.vars.build_dir 45 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0o777) 48 with api.context(cwd=bin_dir): 49 files = api.file.glob_paths( 56 analyze_wasm_file(api, checkout_root, out_dir, files) [all …]
|
D | perf.py | 31 def perf_steps(api): argument 33 do_upload = api.properties.get('do_upload') == 'true' 34 images = api.properties.get('images') == 'true' 35 resources = api.properties.get('resources') == 'true' 36 skps = api.properties.get('skps') == 'true' 37 svgs = api.properties.get('svgs') == 'true' 38 texttraces = api.properties.get('texttraces') == 'true' 40 api.flavor.install( 49 api.flavor.create_clean_device_dir( 50 api.flavor.device_dirs.perf_data_dir) [all …]
|
/third_party/skia/infra/bots/recipe_modules/flavor/examples/ |
D | full.py | 17 def test_exceptions(api): argument 19 api.flavor.copy_directory_contents_to_device('src', 'dst') 23 api.flavor.copy_directory_contents_to_host('src', 'dst') 27 api.flavor.copy_file_to_device('src', 'dst') 32 def RunSteps(api): argument 33 api.vars.setup() 35 builder = api.properties['buildername'] 43 api.flavor.setup(app) 45 if api.properties.get('is_testing_exceptions') == 'True': 46 return test_exceptions(api) [all …]
|
/third_party/flutter/skia/infra/bots/recipe_modules/run/examples/ |
D | full.py | 17 def myfunc(api, i): argument 18 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 21 def RunSteps(api): argument 22 api.vars.setup() 24 api.run(api.step, 'fail', cmd=['false']) 25 except api.step.StepFailure: 27 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False) 28 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing']) 29 assert len(api.run.failed_steps) == 2 33 api.run.run_once(myfunc, api, i) [all …]
|
/third_party/skia/infra/bots/recipe_modules/run/examples/ |
D | full.py | 18 def myfunc(api, i): argument 19 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 22 def RunSteps(api): argument 23 api.vars.setup() 25 api.run(api.step, 'fail', cmd=['false']) 26 except api.step.StepFailure: 28 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False) 29 api.run(api.step, 'do a thing', cmd=['echo', 'do the thing']) 30 assert len(api.run.failed_steps) == 2 34 api.run.run_once(myfunc, api, i) [all …]
|
/third_party/gn/infra/recipes/ |
D | gn.py | 29 def RunSteps(api, repository): argument 30 src_dir = api.path['start_dir'].join('gn') 32 with api.step.nest('git'), api.context(infra_steps=True): 33 api.step('init', ['git', 'init', src_dir]) 35 with api.context(cwd=src_dir): 36 build_input = api.buildbucket.build_input 41 api.step('fetch', ['git', 'fetch', '--tags', repository, ref]) 42 api.step('checkout', ['git', 'checkout', 'FETCH_HEAD']) 44 api.step('fetch %s/%s' % (change.change, change.patchset), [ 49 api.step('cherry-pick %s/%s' % (change.change, change.patchset), [all …]
|
/third_party/boost/boost/process/ |
D | io.hpp | 147 api::close_in close() const {return api::close_in(); } in close() 148 api::close_in operator=(const close_t &) const {return api::close_in();} in operator =() 149 api::close_in operator<(const close_t &) const {return api::close_in();} in operator <() 151 api::null_in null() const {return api::null_in();} in null() 152 api::null_in operator=(const null_t &) const {return api::null_in();} in operator =() 153 api::null_in operator<(const null_t &) const {return api::null_in();} in operator <() 155 api::file_in operator=(const boost::filesystem::path &p) const {return p;} in operator =() 156 api::file_in operator=(const std::string & p) const {return p;} in operator =() 157 api::file_in operator=(const std::wstring &p) const {return p;} in operator =() 158 api::file_in operator=(const char * p) const {return p;} in operator =() [all …]
|
/third_party/skia/infra/bots/recipe_modules/build/ |
D | default.py | 9 def build_command_buffer(api, chrome_dir, skia_dir, out): argument 10 api.run(api.python, 'build command_buffer', 19 def compile_swiftshader(api, extra_tokens, swiftshader_root, cc, cxx, out): argument 35 cmake_bin = str(api.vars.workdir.join('cmake_linux', 'bin')) 56 clang_linux = str(api.vars.workdir.join('clang_linux')) 73 api.file.ensure_directory('makedirs swiftshader_out', out) 74 with api.context(cwd=out, env=env): 75 api.run(api.step, 'swiftshader cmake', 79 api.run(api.step, 'swiftshader ninja', 81 api.run(api.step, 'rename legacy libEGL binary', [all …]
|
/third_party/ffmpeg/tests/fate/ |
D | api.mak | 1 FATE_API_LIBAVCODEC-$(call ENCDEC, FLAC, FLAC) += fate-api-flac 2 fate-api-flac: $(APITESTSDIR)/api-flac-test$(EXESUF) 3 fate-api-flac: CMD = run $(APITESTSDIR)/api-flac-test$(EXESUF) 4 fate-api-flac: CMP = null 6 FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, FLV, FLV) += fate-api-band 7 fate-api-band: $(APITESTSDIR)/api-band-test$(EXESUF) 8 fate-api-band: CMD = run $(APITESTSDIR)/api-band-test$(EXESUF) $(TARGET_SAMPLES)/mpeg4/resize_down-… 9 fate-api-band: CMP = null 11 FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, H264, H264) += fate-api-h264 12 fate-api-h264: $(APITESTSDIR)/api-h264-test$(EXESUF) [all …]
|