/external/tensorflow/tensorflow/compiler/aot/tests/ |
D | make_test_graphs.py | 54 def tfadd_with_ckpt(out_dir): argument 65 ckpt = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt.ckpt') 69 def tfadd_with_ckpt_saver(out_dir): argument 80 ckpt_file = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt_saver.ckpt') 83 saver_file = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt_saver.saver') 204 def write_graph(build_graph, out_dir, debug_info=False): argument 208 build_graph(out_dir) 209 filename = os.path.join(out_dir, 'test_graph_%s.pb' % build_graph.__name__) 215 out_dir, 'test_debuginfo_%s.pb' % build_graph.__name__) 225 write_graph(tfadd, FLAGS.out_dir, debug_info=True) [all …]
|
/external/webrtc/tools_webrtc/vim/ |
D | webrtc.ycm_extra_conf.py | 123 def GetNinjaBuildOutputsForSourceFile(out_dir, filename): argument 140 rel_filename = os.path.relpath(filename, out_dir) 142 p = subprocess.Popen(['ninja', '-C', out_dir, '-t', 'query', rel_filename], 162 def GetClangCommandLineForNinjaOutput(out_dir, build_target): argument 176 p = subprocess.Popen(['ninja', '-v', '-C', out_dir, 192 def GetClangCommandLineFromNinjaForSource(out_dir, filename): argument 209 build_targets = GetNinjaBuildOutputsForSourceFile(out_dir, filename) 211 command_line = GetClangCommandLineForNinjaOutput(out_dir, build_target) 217 def GetClangOptionsFromCommandLine(clang_commandline, out_dir, argument 242 abs_path = os.path.normpath(os.path.join(out_dir, flag[2:])) [all …]
|
/external/angle/tools/glslang/ |
D | update_glslang_binary.py | 34 out_dir = os.path.join('out', 'glslang_release') 36 if not os.path.isdir(out_dir): 37 os.mkdir(out_dir) 39 args_gn = os.path.join(out_dir, 'args.gn') 48 if subprocess.call([gn_exe, 'gen', out_dir]) != 0: 53 if subprocess.call(['ninja', '-C', out_dir, 'glslang_validator']) != 0: 60 glslang_src = os.path.join(out_dir, glslang_exe) 66 shutil.rmtree(out_dir)
|
/external/libchrome/build/ |
D | check_gn_headers.py | 27 def GetHeadersFromNinja(out_dir, skip_obj, q): argument 31 cmd = [os.path.join(DEPOT_TOOLS_DIR, 'ninja'), '-C', out_dir, '-t', 'deps'] 45 ans = ParseNinjaDepsOutput(NinjaSource(), out_dir, skip_obj) 51 def ParseNinjaDepsOutput(ninja_out, out_dir, skip_obj): argument 71 if f.startswith(out_dir) or f.startswith('out'): 84 def GetHeadersFromGN(out_dir, q): argument 93 shutil.copy2(os.path.join(out_dir, 'args.gn'), 100 ans = ParseGNProjectJSON(gn_json, out_dir, tmp) 109 def ParseGNProjectJSON(gn, out_dir, tmp_out): argument 124 f = out_dir + f[len(tmp_out):] [all …]
|
/external/noto-fonts/cjk/ |
D | subset_noto_cjk.py | 93 def remove_codepoints_from_ttc_using_ttc_utils(ttc_name, out_dir): argument 94 otf_names = ttc_utils.ttcfile_extract(ttc_name, out_dir) 96 with tool_utils.temp_chdir(out_dir): 105 def remove_codepoints_from_ttc(ttc_path, out_dir): argument 114 out_path = out_dir / ttc_path.name 136 out_dir = Path(args.output) 137 out_dir.mkdir(parents=True, exist_ok=True) 140 remove_codepoints_from_ttc_using_ttc_utils(ttc_name, out_dir) 142 remove_codepoints_from_ttc(in_dir / ttc_name, out_dir)
|
/external/skqp/infra/bots/recipes/ |
D | compute_buildstats.py | 26 out_dir = api.vars.swarming_out_dir 30 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777) 41 analyze_wasm_file(api, checkout_root, out_dir, files) 50 analyze_web_file(api, checkout_root, out_dir, files) 59 analyze_web_file(api, checkout_root, out_dir, files) 68 analyze_flutter_lib(api, checkout_root, out_dir, files) 77 analyze_cpp_lib(api, checkout_root, out_dir, files) 107 def analyze_web_file(api, checkout_root, out_dir, files): argument 116 args=[f, out_dir, keystr, propstr]) 120 def analyze_cpp_lib(api, checkout_root, out_dir, files): argument [all …]
|
D | compile.py | 63 out_dir = checkout_root.join( 66 out_dir = checkout_root.join('src', 'out', 'android_release') 69 api.build(checkout_root=checkout_root, out_dir=out_dir) 75 api.build.copy_build_products(out_dir=out_dir, dst=dst)
|
/external/skia/infra/bots/recipes/ |
D | compute_buildstats.py | 38 out_dir = api.vars.swarming_out_dir 42 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0o777) 53 analyze_wasm_file(api, checkout_root, out_dir, files) 62 analyze_web_file(api, checkout_root, out_dir, files) 71 analyze_web_file(api, checkout_root, out_dir, files) 80 analyze_flutter_lib(api, checkout_root, out_dir, files) 89 analyze_cpp_lib(api, checkout_root, out_dir, files) 98 make_treemap(api, checkout_root, out_dir, files) 107 make_treemap(api, checkout_root, out_dir, files) 137 def analyze_web_file(api, checkout_root, out_dir, files): argument [all …]
|
D | sync_and_compile.py | 57 out_dir = checkout_root.join( 60 out_dir = checkout_root.join('src', 'out', 'android_release') 63 api.build(checkout_root=checkout_root, out_dir=out_dir) 67 api.build.copy_build_products(out_dir=out_dir, dst=dst)
|
D | compile.py | 29 out_dir = api.vars.cache_dir.join( 33 api.build(checkout_root=checkout_root, out_dir=out_dir) 37 api.build.copy_build_products(out_dir=out_dir, dst=dst)
|
/external/oss-fuzz/infra/cifuzz/ |
D | build_fuzzers.py | 58 self.out_dir = os.path.join(config.workspace, 'out') 59 os.makedirs(self.out_dir, exist_ok=True) 87 _get_docker_build_fuzzers_args_container(self.out_dir, container)) 90 _get_docker_build_fuzzers_args_not_container(self.out_dir, 157 self.config.project_name, self.out_dir, changed_files, 207 def check_fuzzer_build(out_dir, argument 220 if not os.path.exists(out_dir): 221 logging.error('Invalid out directory: %s.', out_dir) 223 if not os.listdir(out_dir): 224 logging.error('No fuzzers found in out directory: %s.', out_dir) [all …]
|
D | clusterfuzz_deployment.py | 38 def download_latest_build(self, out_dir): argument 46 def download_corpus(self, target_name, out_dir): argument 58 def download_latest_build(self, out_dir): argument 61 def download_corpus(self, target_name, out_dir): argument 95 def download_latest_build(self, out_dir): argument 101 build_dir = os.path.join(out_dir, self.BUILD_DIR_NAME) 120 def download_corpus(self, target_name, out_dir): argument 126 corpus_dir = os.path.join(out_dir, self.CORPUS_DIR_NAME, target_name)
|
D | run_fuzzers.py | 47 self.out_dir = None 67 self.out_dir = os.path.join(self.config.workspace, 'out') 68 if not os.path.exists(self.out_dir): 69 logging.error('Out directory: %s does not exist.', self.out_dir) 72 self.artifacts_dir = os.path.join(self.out_dir, 'artifacts') 81 self.fuzz_target_paths = utils.get_fuzz_targets(self.out_dir) 85 self.out_dir) 115 return fuzz_target.FuzzTarget(target_path, run_seconds, self.out_dir,
|
/external/crosvm/protos/ |
D | build.rs | 56 let out_dir = env::var("OUT_DIR")?; in main() localVariable 60 let generated = PathBuf::from(&out_dir).join("generated.rs"); in main() 91 let out_dir = format!("{}/{}", env::var("OUT_DIR")?, module); in protoc() localVariable 92 fs::create_dir_all(&out_dir)?; in protoc() 96 out_dir: &out_dir, in protoc() 109 writeln!(out, "#[path = \"{}/{}.rs\"]", out_dir, file_stem)?; in protoc()
|
/external/skqp/infra/bots/recipe_modules/build/ |
D | skqp.py | 15 out_dir = api.vars.cache_dir.join('docker', 'skqp') 21 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777) 34 '--volume', '%s:/OUT' % out_dir, 46 out_dir = api.vars.cache_dir.join('docker', 'skqp') 84 args=[out_dir, dst],
|
D | canvaskit.py | 14 out_dir = api.vars.cache_dir.join('docker', 'canvaskit') 23 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777) 36 '--volume', '%s:/OUT' % out_dir, 53 out_dir = api.vars.cache_dir.join('docker', 'canvaskit') 91 args=[out_dir, dst],
|
D | pathkit.py | 14 out_dir = api.vars.cache_dir.join('docker', 'pathkit') 23 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777) 36 '--volume', '%s:/OUT' % out_dir, 52 out_dir = api.vars.cache_dir.join('docker', 'pathkit') 90 args=[out_dir, dst],
|
/external/skia/infra/bots/recipe_modules/build/ |
D | pathkit.py | 9 out_dir = api.vars.cache_dir.join('docker', 'pathkit') 18 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0o777) 31 '--volume', '%s:/OUT' % out_dir, 52 out_dir = api.vars.cache_dir.join('docker', 'pathkit') 90 args=[out_dir, dst],
|
D | skqp.py | 10 out_dir = api.vars.cache_dir.join('docker', 'skqp') 16 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0o777) 36 '--volume', '%s:/OUT' % out_dir, 53 out_dir = api.vars.cache_dir.join('docker', 'skqp') 91 args=[out_dir, dst],
|
D | canvaskit.py | 10 out_dir = api.vars.cache_dir.join('docker', 'canvaskit') 19 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0o777) 32 '--volume', '%s:/OUT' % out_dir, 54 out_dir = api.vars.cache_dir.join('docker', 'canvaskit') 92 args=[out_dir, dst],
|
/external/skqp/infra/bots/recipe_modules/build/examples/ |
D | full.py | 19 out_dir = checkout_root.join( 21 api.build(checkout_root=checkout_root, out_dir=out_dir) 23 api.build.copy_build_products(out_dir=out_dir, dst=dst)
|
/external/skia/infra/bots/recipe_modules/build/examples/ |
D | full.py | 20 out_dir = checkout_root.join( 22 api.build(checkout_root=checkout_root, out_dir=out_dir) 24 api.build.copy_build_products(out_dir=out_dir, dst=dst)
|
/external/tensorflow/tensorflow/python/tools/ |
D | make_aot_compile_models.py | 41 def create_large_matmul_savedmodel(out_dir): argument 50 save_dir = os.path.join(out_dir, 'x_matmul_y_large') 58 def create_small_matmul_savedmodel(out_dir): argument 67 save_dir = os.path.join(out_dir, 'x_matmul_y_small') 76 create_small_matmul_savedmodel(FLAGS.out_dir) 77 create_large_matmul_savedmodel(FLAGS.out_dir)
|
/external/rust/crates/ring/ |
D | build.rs | 268 let out_dir = env::var("OUT_DIR").unwrap(); in ring_build_rs_main() localVariable 269 let out_dir = PathBuf::from(out_dir); in ring_build_rs_main() localVariable 296 build_c_code(&target, pregenerated, &out_dir); in ring_build_rs_main() 342 fn build_c_code(target: &Target, pregenerated: PathBuf, out_dir: &Path) { in build_c_code() 383 out_dir in build_c_code() 435 &out_dir, in build_c_code() 446 out_dir.to_str().expect("Invalid path") in build_c_code() 452 out_dir: &Path, in build_library() 464 .map(|f| compile(f, target, warnings_are_errors, out_dir, includes_modified)) in build_library() 468 let lib_path = PathBuf::from(out_dir).join(format!("lib{}.a", lib_name)); in build_library() [all …]
|
/external/webrtc/tools_webrtc/ |
D | clang_tidy.py | 40 out_dir = tempfile.mkdtemp('clang_tidy') 44 command = GetCompilationCommand(filepath, gn_args, out_dir) 53 rel_path = os.path.relpath(os.path.abspath(filepath), out_dir) 61 p = subprocess.Popen(command, cwd=out_dir, 66 shutil.rmtree(out_dir, ignore_errors=True)
|