/external/toolchain-utils/rust_tools/ |
D | auto_update_rust_bootstrap.py | 102 rust_bootstrap_ebuild: Path, 121 ebuild: Path, rust_bootstrap_version: EbuildVersion 240 ebuild_dir: Path, 260 copy_rust_bootstrap_script: Path, prebuilt_gs_path: str, dry_run: bool 293 ebuild: Path, version: EbuildVersion, dry_run: bool 304 def is_ebuild_linked_to_in_dir(root_ebuild_path: Path) -> bool: 324 def uprev_ebuild(ebuild: Path, version: EbuildVersion, dry_run: bool) -> Path: 355 def update_ebuild_manifest(rust_bootstrap_ebuild: Path): 364 git_dir: Path, rust_bootstrap_dir: Path, commit_message: str 393 def upload_changes(git_dir: Path): [all …]
|
/external/pytorch/.github/scripts/ |
D | file_io_utils.py | 10 def zip_folder(folder_to_zip: Path, dest_file_base_name: Path) -> Path: 25 def unzip_folder(zip_file_path: Path, unzip_to_folder: Path) -> None: 34 def ensure_dir_exists(dir: Path) -> None: 38 def copy_file(source_file: Path, dest_file: Path) -> None: 43 def load_json_file(file_path: Path) -> Any: 51 def write_json_file(file_path: Path, content: Any) -> None: 67 def upload_file_to_s3(file_name: Path, bucket: str, key: str) -> None: 79 bucket_name: str, prefix: str, download_folder: Path
|
/external/rust/cxx/gen/build/src/ |
D | out.rs | 7 pub(crate) fn write(path: impl AsRef<Path>, content: &[u8]) -> Result<()> { in write() 33 original: impl AsRef<Path>, in relative_symlink_file() 34 link: impl AsRef<Path>, in relative_symlink_file() 46 original: impl AsRef<Path>, in absolute_symlink_file() 47 link: impl AsRef<Path>, in absolute_symlink_file() 58 original: impl AsRef<Path>, in relative_symlink_dir() 59 link: impl AsRef<Path>, in relative_symlink_dir() 81 path_for_symlink: &Path, in symlink_file() 82 path_for_copy: &Path, in symlink_file() 83 link: &Path, in symlink_file() [all …]
|
D | paths.rs | 34 impl PathExt for Path { implementation 44 path_for_symlink: impl AsRef<Path>, in symlink_or_copy() 45 _path_for_copy: impl AsRef<Path>, in symlink_or_copy() 46 link: impl AsRef<Path>, in symlink_or_copy() 53 path_for_symlink: impl AsRef<Path>, in symlink_or_copy() 54 path_for_copy: impl AsRef<Path>, in symlink_or_copy() 55 link: impl AsRef<Path>, in symlink_or_copy() 70 _path_for_symlink: impl AsRef<Path>, in symlink_or_copy() 71 path_for_copy: impl AsRef<Path>, in symlink_or_copy() 72 copy: impl AsRef<Path>, in symlink_or_copy()
|
/external/pigweed/pw_build/py/pw_build/ |
D | mirror_tree.py | 51 source_root: Path, sources: Iterable[Path], directory: Path 75 paths: Iterable[Path], directory: Path 94 source_root: Path, 95 sources: Iterable[Path], 96 directory: Path,
|
D | generate_report.py | 111 llvm_cov_path: Path, 113 test_metadata_path: Path, 114 profdata_path: Path, 115 root_dir: Path, 116 build_dir: Path, 117 output_dir: Path, 118 depfile_path: Path,
|
D | copy_and_patch.py | 81 def _get_temp_path_for_src(src: Path, root: Path) -> str: 103 patch_file: Path, src: Path, dst: Path, root: Path
|
D | project_builder_presubmit_runner.py | 234 repo_root: Path, 235 presubmit_out_dir: Path, 236 package_root: Path, 238 all_files: list[Path], 239 modified_files: list[Path], 507 repo_root: Path, 508 presubmit_out_dir: Path, 509 package_root: Path, 510 all_files: list[Path], 511 modified_files: list[Path], [all …]
|
/external/toolchain-utils/pgo_tools/ |
D | create_chroot_and_generate_pgo_profile.py | 33 def find_repo_root(base_dir: Path) -> Path: 45 def create_fresh_bootstrap_chroot(repo_root: Path, chroot_info: ChrootInfo): 61 repo_root: Path, 63 chroot_output_file: Path, 83 def compress_pgo_profile(pgo_profile: Path) -> Path: 92 repo_root: Path, path: Path, info: ChrootInfo 101 def locate_current_llvm_ebuild(repo_root: Path) -> Path: 129 repo_root: Path, profile_path: Path
|
D | generate_pgo_profile.py | 153 def build_profiling_env(profile_dir: Path) -> Dict[str, str]: 161 def ensure_clang_invocations_generate_profiles(clang_bin: str, tmpdir: Path): 185 into_dir: Path, absl_subdir: Path, gtest_subdir: Path 201 def fetch_workloads_into(target_dir: Path): 213 def fetch_and_extract(gs_url: str, into_dir: Path): 314 def read_exactly_one_dirent(directory: Path) -> Path: 324 def run_workloads(target_dir: Path) -> Path: 357 def convert_profraw_to_pgo_profile(profraw_dir: Path) -> Path:
|
/external/rust/android-crates-io/crates/diplomat_core/src/ast/ |
D | paths.rs | 8 pub struct Path { struct 12 impl Path { argument 13 pub fn get_super(&self) -> Path { in get_super() 21 pub fn sub_path(&self, ident: Ident) -> Path { in sub_path() 29 pub fn to_syn(&self) -> syn::Path { in to_syn() 43 pub fn from_syn(path: &syn::Path) -> Path { in from_syn() 58 impl fmt::Display for Path { implementation 71 impl FromIterator<Ident> for Path { implementation
|
/external/crosvm/tools/contrib/ |
D | cargo_refactor.py | 24 def append_to_file(file_path: Path, appendix: str): 29 def replace_in_file(file_path: Path, search: SearchPattern, replace: Replacement): 48 def replace_path_in_all_cargo_toml(old_path: Path, new_path: Path): 57 def update_path_deps(toml: Path, from_path: Path, to_path: Path): 66 def move_crate(from_path: Path, to_path: Path): 91 def chdir(path: Union[Path, str]):
|
/external/pytorch/tools/ |
D | nightly.py | 361 def _nightly_version(site_dir: Path) -> str: 391 def checkout_nightly_version(branch: str, site_dir: Path) -> None: 399 def pull_nightly_version(site_dir: Path) -> None: 406 def _get_listing_linux(source_dir: Path) -> list[Path]: 416 def _get_listing_osx(source_dir: Path) -> list[Path]: 426 def _get_listing_win(source_dir: Path) -> list[Path]: 436 def _glob_pyis(d: Path) -> set[str]: 440 def _find_missing_pyi(source_dir: Path, target_dir: Path) -> list[Path]: 447 def _get_listing(source_dir: Path, target_dir: Path, platform: str) -> list[Path]: 464 def _remove_existing(path: Path) -> None: [all …]
|
/external/python/cpython3/kokoro/ |
D | prepare_windows_externals.py | 35 def create_new_dir(path: Path) -> None: 41 def run_cmd(args: List[Union[str, Path]], cwd: Path) -> None: argument 48 def read_xml_file(path: Path) -> minidom.Element: 53 def write_xml_file(root: minidom.Element, path: Path) -> None: 113 def build_using_cmake(out: Path, src: Path) -> None: 119 def build_using_cmake_and_install(install_dir: Path, build_dir: Path, src: Path) -> None:
|
/external/toolchain-utils/llvm_tools/ |
D | clean_up_old_llvm_patches.py | 33 def maybe_autodetect_cros_overlay(my_dir: Path) -> Optional[Path]: 41 def remove_old_patches(cros_overlay: Path, min_revision: int) -> bool: 61 def commit_changes(cros_overlay: Path, min_rev: int): 82 def upload_changes(cros_overlay: Path, autosubmit_cwd: Path) -> None: 99 def find_chromeos_llvm_version(chromiumos_overlay: Path) -> int: 118 def find_android_llvm_version(android_toolchain_tree: Path) -> int: 156 def get_opts(my_dir: Path, argv: List[str]) -> argparse.Namespace:
|
D | patch_utils.py | 161 def git_apply(patch_path: Path) -> List[Union[str, Path]]: 166 def git_am(patch_path: Path) -> List[Union[str, Path]]: 171 def gnu_patch(root_dir: Path, patch_path: Path) -> List[Union[str, Path]]: 205 def from_dict(cls, workdir: Path, data: Dict[str, Any]): 271 root_dir: Path, 312 self, root_dir: Path, patch_cmd: Optional[Callable] = None 366 def json_to_patch_entries(workdir: Path, json_fd: IO[str]) -> List[PatchEntry]: 376 def json_str_to_patch_entries(workdir: Path, json_str: str) -> List[PatchEntry]: 407 llvm_src_dir: Path, 408 patches_json_fp: Path, [all …]
|
/external/crosvm/jail/ |
D | build.rs | 14 fn rewrite_policies(seccomp_policy_path: &Path, rewrote_policy_folder: &Path) { in rewrite_policies() 29 compile_script: &Path, in compile_policy() 30 out_dir: &Path, in compile_policy() 31 compile_policy_folder_relative: &Path, in compile_policy() 32 output_folder: &Path, in compile_policy() 63 fn compile_policies(out_dir: &Path, rewrote_policy_folder: &Path, compile_seccomp_policy: &Path) { in compile_policies()
|
/external/pigweed/docs/ |
D | run_doxygen.py | 59 gn_root: Path, 60 pigweed_modules_file: Path, 61 output_dir: Path, 62 doxygen_config: Path, 63 include_paths: list[Path],
|
/external/bazelbuild-rules_rust/tools/rust_analyzer/ |
D | lib.rs | 12 bazel: impl AsRef<Path>, in generate_crate_info() 13 workspace: impl AsRef<Path>, in generate_crate_info() 46 bazel: impl AsRef<Path>, in write_rust_project() 47 workspace: impl AsRef<Path>, in write_rust_project() 50 execution_root: impl AsRef<Path>, in write_rust_project() 51 output_base: impl AsRef<Path>, in write_rust_project() 52 rust_project_path: impl AsRef<Path>, in write_rust_project()
|
/external/pigweed/pw_protobuf/py/pw_protobuf/ |
D | options.py | 33 def load_options_from(options: ParsedOptions, options_file_name: Path): 57 include_paths: list[Path], 58 proto_file_name: Path, 59 options_files: list[Path], 83 include_paths: list[Path], 84 proto_file_name: Path, 85 options_files: list[Path],
|
/external/rust/android-crates-io/crates/quiche/src/ |
D | path.rs | 114 pub struct Path { struct 128 state: PathState, argument 131 active: bool, 134 pub recovery: recovery::Recovery, 138 in_flight_challenges: VecDeque<([u8; 8], usize, time::Instant)>, 141 max_challenge_size: usize, 144 probing_lost: usize, 147 last_probe_lost_time: Option<time::Instant>, 150 received_challenges: VecDeque<[u8; 8]>, 153 pub sent_count: usize, [all …]
|
/external/pigweed/pw_watch/py/pw_watch/ |
D | common.py | 72 def git_ignored(file: Path) -> bool: 101 def get_common_excludes(root: Path) -> Iterable[Path]: 162 def path_matches(path: Path) -> bool: 197 def minimal_watch_directories(to_watch: Path, to_exclude: Iterable[Path]): 243 watch_path: Path, 244 exclude_list: Iterable[Path],
|
/external/pigweed/pw_presubmit/py/pw_presubmit/format/private/ |
D | cli_support.py | 49 diffs: dict[Path, str] 63 def filter_exclusions(file_paths: Iterable[Path]) -> Iterator[Path]: 130 def path_relative_to_cwd(path: Path): 153 paths: Iterable[Path], relative_to: Path 164 files_by_formatter: Mapping[FileFormatter, Iterable[Path]] 203 paths: Iterable[Path],
|
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | build.py | 225 def write_gn_args_file(destination_file: Path, **kwargs) -> str: 382 def get_gn_args(directory: Path) -> list[dict[str, dict[str, str]]]: 417 def _get_paths_from_command(source_dir: Path, *args, **kwargs) -> Set[Path]: 455 def _search_files_for_paths(build_files: Iterable[Path]) -> Iterable[Path]: 465 def _read_compile_commands(compile_commands: Path) -> dict: 470 def compiled_files(compile_commands: Path) -> Iterable[Path]: 480 compile_commands: Path | Iterable[Path], 481 files: Iterable[Path], 501 files: Iterable[Path], 502 bazel_dirs: Iterable[Path] = (), [all …]
|
/external/pigweed/pw_package/py/pw_package/packages/ |
D | crlset.py | 24 def crlset_tools_repo_path(path: pathlib.Path) -> pathlib.Path: 28 def crlset_exec_path(path: pathlib.Path) -> pathlib.Path: 32 def crlset_file_path(path: pathlib.Path) -> pathlib.Path: 47 def status(self, path: pathlib.Path) -> bool: 61 def install(self, path: pathlib.Path) -> None: 84 def info(self, path: pathlib.Path) -> Sequence[str]:
|