| /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, 97 path_file: Optional[Path] = None,
|
| D | python_runner.py | 135 def acquire_lock(lockfile: Path, exclusive: bool): 187 def _load_virtualenv_config(json_file_path: Path) -> Tuple[str, str]: 194 gn_root: Path, 195 current_path: Path, 201 python_dep_list_files: List[Path], 202 python_virtualenv_config: Optional[Path], 204 touch: Optional[Path], 205 working_directory: Optional[Path], 207 lockfile: Optional[Path],
|
| D | generate_modules_lists.py | 90 def _module_list_warnings(root: Path, modules: Sequence[str]) -> Iterator[str]: 115 prefix: Path, modules: Sequence[str] 176 def _missing_modules(root: Path, modules: Sequence[str]) -> Sequence[str]: 211 root: Path, 212 modules_list: Path, 213 modules_gni_file: Path, 215 stamp: Optional[Path] = None,
|
| D | generate_python_package_gn.py | 59 def _find_package_files(root_dir: Path) -> PackageFiles: 80 def _gn_list(name: str, files: Iterable[Path], base: Path) -> Iterable[str]: 88 def generate_build_gn(root_dir: Path): 105 def main(paths: Iterable[Path]):
|
| D | create_python_tree.py | 113 def get_current_git_sha(repo_root: Optional[Path] = None) -> str: 150 common_config: Optional[Path] = None, 155 repo_root: Optional[Path] = None, 257 tree_destination_dir: Path, 258 common_config: Optional[Path] = None, 277 pkg: PythonPackage, build_base: Path, include_tests: bool = False 320 tree_destination_dir: Path,
|
| /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, 110 targets: Dict[Path, str], 111 persist: Optional[Path] = None, 242 out: Path, 243 persist: Optional[Path] = None, 245 targets_metadata_version_file: Optional[Path] = None, 246 signed_root_metadata: Optional[Path] = None,
|
| D | remote_sign.py | 198 bundle: Path, 200 builder_key: Path, 201 builder_public_key: Path, 321 def _get_builder_signature(data: PathOrBytes, key: Path) -> bytes: 373 bundle: Path, 374 out: Path, 376 builder_key: Path, 377 builder_public_key: Path,
|
| /external/pigweed/pw_presubmit/py/pw_presubmit/ |
| D | build.py | 254 def get_gn_args(directory: Path) -> List[Dict[str, Dict[str, str]]]: 289 def _get_paths_from_command(source_dir: Path, *args, **kwargs) -> Set[Path]: 327 def _search_files_for_paths(build_files: Iterable[Path]) -> Iterable[Path]: 337 def _read_compile_commands(compile_commands: Path) -> dict: 342 def compiled_files(compile_commands: Path) -> Iterable[Path]: 352 compile_commands: Union[Path, Iterable[Path]], 353 files: Iterable[Path], 373 files: Iterable[Path], 374 bazel_dirs: Iterable[Path] = (), 417 files: Iterable[Path], [all …]
|
| D | git_repo.py | 46 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]: 57 commit: str, pathspecs: Collection[PathOrStr], repo: Path 76 def tracking_branch(repo_path: Optional[Path] = None) -> Optional[str]: 114 repo_path: Optional[Path] = None, 146 def has_uncommitted_changes(repo: Optional[Path] = None) -> bool: 182 git_root: Path, 183 repo_path: Path, 218 git_root: Path, 219 repo_path: Path, 223 project_root: Optional[Path] = None, [all …]
|
| D | format_code.py | 130 def _clang_format(*args: Union[Path, str], **kwargs) -> bytes: 173 def _format_temp(path: Union[Path, str], data: bytes) -> bytes: 317 def _format_temp(path: Union[Path, str], data: bytes) -> bytes: 383 def _check_trailing_space(paths: Iterable[Path], fix: bool) -> Dict[Path, str]: 412 errors: Dict[Path, str], 440 def path_relative_to_cwd(path: Path): 642 root: Optional[Path], 643 files: Iterable[Path], 644 output_dir: Path, 646 package_root: Optional[Path] = None, [all …]
|
| /external/angle/build/android/gyp/util/ |
| D | jar_utils.py | 25 def _is_relative_to(path: pathlib.Path, other_path: pathlib.Path): 92 def _should_ignore(jar_path: pathlib.Path) -> bool: 99 def run_jdeps(filepath: pathlib.Path, 101 build_output_dir: pathlib.Path, 102 jdeps_path: pathlib.Path = _JDEPS_PATH, 103 src_path: pathlib.Path = _SRC_PATH) -> Optional[str]: 139 def extract_full_class_names_from_jar(build_output_dir: pathlib.Path, 140 jar_path: pathlib.Path) -> List[str]: 170 def parse_full_java_class(source_path: pathlib.Path) -> str:
|
| /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/toolchain-utils/llvm_tools/ |
| D | patch_utils.py | 26 def atomic_write(fp: Union[Path, str], mode="w", *args, **kwargs): 179 def from_dict(cls, workdir: Path, data: Dict[str, Any]): 247 self, root_dir: Path, extra_args: Optional[List[str]] = None 286 def test_apply(self, root_dir: Path) -> PatchResult: 317 def json_to_patch_entries(workdir: Path, json_fd: IO[str]) -> List[PatchEntry]: 348 llvm_src_dir: Path, 349 patches_json_fp: Path, 399 llvm_src_dir: Path, 425 def is_git_dirty(git_root_dir: Path) -> bool: 455 def git_clean_context(git_root_dir: Path): [all …]
|
| /external/pigweed/docs/ |
| D | run_doxygen.py | 60 gn_root: Path, 61 pigweed_modules_file: Path, 62 output_dir: Path, 63 doxygen_config: Path, 64 include_paths: List[Path],
|
| /external/rust/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/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_ide/py/ |
| D | test_cases.py | 39 self, filename: Union[Path, str], content: str = '' 55 self, filename: Union[Path, str], content: str = '' 64 filename: Union[Path, str], 77 self, files_data: List[Tuple[Union[Path, str], str]] 101 self, files_data: List[Tuple[Union[Path, str], str]] 109 self, files_data: List[Union[Path, str]] 128 def path_in_temp_dir(self, path: Union[Path, str]) -> Path: 136 def paths_in_temp_dir(self, *paths: Union[Path, str]) -> List[Path]: 154 working_dir: Optional[Union[str, Path]] = None, argument
|
| /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]:
|
| D | chromium_verifier.py | 66 chromium_verifier_install: pathlib.Path, 73 chromium_verifier_repo: pathlib.Path, 80 chromium_verifier_repo: pathlib.Path, 129 def install(self, path: pathlib.Path) -> None: 144 def status(self, path: pathlib.Path) -> bool: 161 def info(self, path: pathlib.Path) -> Sequence[str]:
|
| /external/rust/crates/libfuzzer-sys/libfuzzer/ |
| D | FuzzerIO.cpp | 34 long GetEpoch(const std::string &Path) { in GetEpoch() 41 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { in FileToVector() 61 std::string FileToString(const std::string &Path) { in FileToString() 67 void CopyFileToErr(const std::string &Path) { in CopyFileToErr() 71 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() 75 void WriteToFile(const std::string &Data, const std::string &Path) { in WriteToFile() 80 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in WriteToFile() 88 void AppendToFile(const std::string &Data, const std::string &Path) { in AppendToFile() 93 void AppendToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in AppendToFile() 101 void ReadDirToVectorOfUnits(const char *Path, std::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 89 std::string Path = DirPlusFile(Dir, E->d_name); in IterateDirRecursive() local 122 void RemoveFile(const std::string &Path) { in RemoveFile() 164 void MkDir(const std::string &Path) { in MkDir() 168 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/pigweed/pw_bloat/py/pw_bloat/ |
| D | __main__.py | 63 elf: Path, data_sources: Iterable[str] = () 81 def _no_memory_regions_error(elf: Path) -> None: 89 def _single_binary_report(elf: Path, data_sources: Iterable[str] = ()) -> int: 101 target: Path, base: Path, data_sources: Iterable[str] = ()
|
| /external/rust/crates/which/src/ |
| D | lib.rs | 153 V: AsRef<path::Path>, in which_in() 206 V: AsRef<path::Path>, in which_in_all() 403 pub struct Path { struct 404 inner: path::PathBuf, argument 407 impl Path { implementation 411 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<Path> { in new() 430 V: AsRef<path::Path>, in new_in() 447 V: AsRef<path::Path>, in all_in() 453 pub fn as_path(&self) -> &path::Path { in as_path() 463 impl fmt::Debug for Path { implementation [all …]
|
| /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()
|