/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | build.py | 61 def install_package(root: Path, name: str) -> None: 101 def gn_gen(gn_source_dir: Path, 102 gn_output_dir: Path, 141 def ninja(directory: Path, 164 def get_gn_args(directory: Path) -> List[Dict[str, Dict[str, str]]]: 171 def cmake(source_dir: Path, 172 output_dir: Path, 195 def _get_paths_from_command(source_dir: Path, *args, **kwargs) -> Set[Path]: 229 def _search_files_for_paths(build_files: Iterable[Path]) -> Iterable[Path]: 239 def _read_compile_commands(compile_commands: Path) -> dict: [all …]
|
D | format_code.py | 110 def clang_format_check(files: Iterable[Path]) -> Dict[Path, str]: 121 def check_gn_format(files: Iterable[Path]) -> Dict[Path, str]: 130 def fix_gn_format(files: Iterable[Path]) -> Dict[Path, str]: 136 def check_bazel_format(files: Iterable[Path]) -> Dict[Path, str]: 140 def _format_temp(path: Union[Path, str], data: bytes) -> bytes: 160 def fix_bazel_format(files: Iterable[Path]) -> Dict[Path, str]: 170 def check_go_format(files: Iterable[Path]) -> Dict[Path, str]: 177 def fix_go_format(files: Iterable[Path]) -> Dict[Path, str]: 192 def check_py_format(files: Iterable[Path]) -> Dict[Path, str]: 223 def _check_trailing_space(paths: Iterable[Path], fix: bool) -> Dict[Path, str]: [all …]
|
D | git_repo.py | 40 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]: 48 repo: Path) -> Iterable[Path]: 61 def tracking_branch(repo_path: Path = None) -> Optional[str]: 96 repo_path: Optional[Path] = None) -> List[Path]: 124 def has_uncommitted_changes(repo: Optional[Path] = None) -> bool: 153 def _describe_constraints(git_root: Path, repo_path: Path, 181 def describe_files(git_root: Path, 182 repo_path: Path, 186 project_root: Path = None) -> str: 289 python_paths: Iterable[Path],
|
/external/pigweed/pw_build/py/pw_build/ |
D | mirror_tree.py | 47 def _link_files(source_root: Path, sources: Iterable[Path], 48 directory: Path) -> Iterator[Path]: 70 def _link_files_or_dirs(paths: Iterable[Path], 71 directory: Path) -> Iterator[Path]: 88 def mirror_paths(source_root: Path, 89 sources: Iterable[Path], 90 directory: Path, 91 path_file: Path = None) -> List[Path]:
|
D | generate_modules_lists.py | 80 def _module_list_warnings(root: Path, modules: Sequence[str]) -> Iterator[str]: 103 root: Path, modules: Sequence[str]) -> Tuple[List[str], List[str]]: 119 def _generate_modules_gni(root: Path, prefix: Path, 175 def _missing_modules(root: Path, modules: Sequence[str]) -> Sequence[str]: 197 def _main(root: Path, modules_list: Path, modules_gni_file: Path, 198 warn_only: Optional[Path]) -> int:
|
D | generate_python_package_gn.py | 59 def _find_package_files(root_dir: Path) -> PackageFiles: 79 def _gn_list(name: str, files: Iterable[Path], base: Path) -> Iterable[str]: 87 def generate_build_gn(root_dir: Path): 104 def main(paths: Iterable[Path]):
|
D | generate_python_package.py | 93 root: Path, files: List[Path], 178 config_file_path: Path, 192 def _import_module_in_package_init(all_files: List[Path]) -> None: 224 def main(generated_root: Path, files: List[Path], module_as_package: bool,
|
/external/pigweed/pw_software_update/py/pw_software_update/ |
D | update_bundle.py | 31 root_dir: Path, 32 exclude: Iterable[Path] = tuple(), 33 remap_paths: Optional[Dict[Path, str]] = None) -> Dict[str, Path]: 79 targets: Dict[Path, str], 80 persist: Optional[Path] = None, 188 out: Path, 189 persist: Path = None, 191 targets_metadata_version_file: Path = None, 192 signed_root_metadata: Path = None) -> None:
|
D | dev_sign.py | 92 def main(root_metadata: Path, bundle: Path, key: Path, output: Path) -> None:
|
/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): 96 def chdir(path: Union[Path, str]):
|
/external/crosvm/ci/kokoro/ |
D | simulate.py | 23 def git_clone_source(source: Path, destination: Path): 29 def run_kokoro_build_script(kokoro_root: Path, script_path: Path): 36 def simulate_kokoro(kokoro_root: Path, script_path: Path):
|
/external/rust/crates/which/src/ |
D | lib.rs | 119 V: AsRef<path::Path>, in which_in() 172 V: AsRef<path::Path>, in which_in_all() 198 pub struct Path { struct 199 inner: path::PathBuf, argument 202 impl Path { implementation 206 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<Path> { in new() 225 V: AsRef<path::Path>, in new_in() 242 V: AsRef<path::Path>, in all_in() 248 pub fn as_path(&self) -> &path::Path { in as_path() 258 impl fmt::Debug for Path { implementation [all …]
|
/external/angle/tools/android/modularization/convenience/ |
D | lookup_dep.py | 106 def __init__(self, abs_build_output_dir: pathlib.Path, should_build: bool): 239 def _extract_full_class_names_from_jar(abs_build_output_dir: pathlib.Path, 240 abs_jar_path: pathlib.Path) -> Set[str]: 259 def _read_jar_namelist(abs_build_output_dir: pathlib.Path, 260 abs_jar_path: pathlib.Path) -> List[str]: 281 def _is_path_relative_to(path: pathlib.Path, other: pathlib.Path) -> bool: 288 def _parse_full_java_class(source_path: pathlib.Path) -> str:
|
/external/python/cpython3/kokoro/ |
D | prepare_windows_externals.py | 32 def create_new_dir(path: Path) -> None: 38 def run_cmd(args: List[Union[str, Path]], cwd: Path) -> None: argument 45 def read_xml_file(path: Path) -> minidom.Element: 50 def write_xml_file(root: minidom.Element, path: Path) -> None: 110 def build_using_cmake(out: Path, src: Path) -> None:
|
/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: 46 def status(self, path: pathlib.Path) -> bool: 60 def install(self, path: pathlib.Path) -> None: 81 def info(self, path: pathlib.Path) -> Sequence[str]:
|
D | chromium_verifier.py | 65 chromium_verifier_install: pathlib.Path) -> pathlib.Path: 71 chromium_verifier_repo: pathlib.Path) -> pathlib.Path: 77 chromium_verifier_repo: pathlib.Path) -> pathlib.Path: 119 def install(self, path: pathlib.Path) -> None: 134 def status(self, path: pathlib.Path) -> bool: 151 def info(self, path: pathlib.Path) -> Sequence[str]:
|
D | boringssl.py | 24 def boringssl_repo_path(path: pathlib.Path) -> pathlib.Path: 40 def status(self, path: pathlib.Path) -> bool: 48 def install(self, path: pathlib.Path) -> None: 63 def info(self, path: pathlib.Path) -> Sequence[str]:
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerIO.cpp | 26 long GetEpoch(const std::string &Path) { in GetEpoch() 33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { in FileToVector() 53 std::string FileToString(const std::string &Path) { in FileToString() 59 void CopyFileToErr(const std::string &Path) { in CopyFileToErr() 63 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() 67 void WriteToFile(const std::string &Data, const std::string &Path) { in WriteToFile() 72 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in WriteToFile() 80 void AppendToFile(const std::string &Data, const std::string &Path) { in AppendToFile() 85 void AppendToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in AppendToFile() 93 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, long *Epoch, in ReadDirToVectorOfUnits() [all …]
|
D | FuzzerIOPosix.cpp | 27 bool IsFile(const std::string &Path) { in IsFile() 34 bool IsDirectory(const std::string &Path) { in IsDirectory() 41 size_t FileSize(const std::string &Path) { in FileSize() 48 std::string Basename(const std::string &Path) { in Basename() 67 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() local 90 std::string Path = DirPlusFile(Dir, E->d_name); in IterateDirRecursive() local 123 void RemoveFile(const std::string &Path) { in RemoveFile() 165 void MkDir(const std::string &Path) { in MkDir() 169 void RmDir(const std::string &Path) { in RmDir()
|
/external/rust/crates/criterion/src/ |
D | fs.rs | 15 P: AsRef<Path>, in load() 32 pub fn is_dir<P>(path: &P) -> bool in is_dir() 40 pub fn mkdirp<P>(path: &P) -> Result<()> in mkdirp() 51 pub fn cp(from: &Path, to: &Path) -> Result<()> { in cp() 63 P: AsRef<Path>, in save() 72 pub fn save_string<P>(data: &str, path: &P) -> Result<()> in save_string() 88 pub fn list_existing_benchmarks<P>(directory: &P) -> Result<Vec<BenchmarkId>> in list_existing_benchmarks()
|
/external/rust/cxx/gen/src/ |
D | fs.rs | 38 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> { in copy() 95 original: &'a Path, in symlink() 96 link: &'a Path, in symlink() 97 fun: fn(&'a Path, &'a Path) -> io::Result<()>, in symlink() 110 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_fail() 128 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file() 133 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file() 142 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir() 150 pub(crate) fn write(path: impl AsRef<Path>, contents: impl AsRef<[u8]>) -> Result<()> { in write()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerIO.cpp | 26 bool IsFile(const std::string &Path) { in IsFile() 33 static long GetEpoch(const std::string &Path) { in GetEpoch() 52 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() local 63 Unit FileToVector(const std::string &Path, size_t MaxSize) { in FileToVector() 81 std::string FileToString(const std::string &Path) { in FileToString() 87 void CopyFileToErr(const std::string &Path) { in CopyFileToErr() 91 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() 99 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V, in ReadDirToVectorOfUnits()
|
/external/pigweed/pw_toolchain/py/pw_toolchain/ |
D | clang_tidy.py | 116 def run_clang_tidy(clang_tidy: str, verbose: bool, source_file: Path, 117 export_fixes: Optional[Path], skip_include_path: List[str], 155 source_file: Path, 156 source_root: Path, 157 export_fixes: Optional[Path],
|
/external/pigweed/pw_stm32cube_build/py/pw_stm32cube_build/ |
D | find_files.py | 127 product_name: str, files: List[str], stm32cube_path: pathlib.Path 175 stm32cube_path: pathlib.Path) -> pathlib.Path: 216 def get_include_dirs(stm32cube_path: pathlib.Path) -> List[pathlib.Path]: 223 stm32cube_path: pathlib.Path) -> Tuple[List[str], List[str]]: 249 def parse_files_txt(stm32cube_path: pathlib.Path) -> List[str]: 269 def find_files(stm32cube_path: pathlib.Path, product_str: str, init: bool):
|
/external/rust/cxx/gen/build/src/ |
D | paths.rs | 34 impl PathExt for Path { implementation 47 original: impl AsRef<Path>, in symlink_or_copy() 48 link: impl AsRef<Path>, in symlink_or_copy() 62 original: impl AsRef<Path>, in symlink_or_copy() 63 copy: impl AsRef<Path>, in symlink_or_copy()
|