Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 25 of 731) sorted by relevance

12345678910>>...30

/external/pigweed/pw_presubmit/py/pw_presubmit/
Dbuild.py32 def install_package(root: Path, name: str) -> None:
68 def gn_gen(gn_source_dir: Path,
69 gn_output_dir: Path,
93 def ninja(directory: Path, *args, **kwargs) -> None:
98 def cmake(source_dir: Path,
99 output_dir: Path,
122 def _get_paths_from_command(source_dir: Path, *args, **kwargs) -> Set[Path]:
148 def _search_files_for_paths(build_files: Iterable[Path]) -> Iterable[Path]:
158 def _read_compile_commands(compile_commands: Path) -> dict:
163 def compiled_files(compile_commands: Path) -> Iterable[Path]:
[all …]
Denvironment.py28 pigweed_root: Path,
29 output_directory: Path,
30 package_files: Iterable[Path] = ()) -> None:
64 pigweed_root: Path,
65 output_directory: Path,
66 requirements: Iterable[Union[Path, str]] = (),
Dformat_code.py108 def clang_format_check(files: Iterable[Path]) -> Dict[Path, str]:
118 def check_gn_format(files: Iterable[Path]) -> Dict[Path, str]:
127 def fix_gn_format(files: Iterable[Path]) -> None:
132 def check_go_format(files: Iterable[Path]) -> Dict[Path, str]:
139 def fix_go_format(files: Iterable[Path]) -> None:
153 def check_py_format(files: Iterable[Path]) -> Dict[Path, str]:
183 def _check_trailing_space(paths: Iterable[Path], fix: bool) -> Dict[Path, str]:
202 def check_trailing_space(files: Iterable[Path]) -> Dict[Path, str]:
206 def fix_trailing_space(files: Iterable[Path]) -> None:
210 def print_format_check(errors: Dict[Path, str],
[all …]
Dgit_repo.py37 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]:
45 repo: Path) -> Iterable[Path]:
60 repo_path: Optional[Path] = None) -> List[Path]:
80 def has_uncommitted_changes(repo: Optional[Path] = None) -> bool:
96 def _describe_constraints(git_root: Path, repo_path: Path,
117 def describe_files(git_root: Path, repo_path: Path, commit: Optional[str],
217 python_paths: Iterable[Path],
/external/pigweed/pw_build/py/pw_build/
Dmirror_tree.py46 def _link_files(source_root: Path, sources: Iterable[Path],
47 directory: Path) -> Iterator[Path]:
62 def _link_files_or_dirs(paths: Iterable[Path],
63 directory: Path) -> Iterator[Path]:
80 def mirror_paths(source_root: Path,
81 sources: Iterable[Path],
82 directory: Path,
83 path_file: Path = None) -> List[Path]:
Dgenerate_python_package.py69 def _check_nested_protos(label: str, proto_library_file: Path,
88 def _collect_all_files(files: List[Path], root: Path, file_list: TextIO,
152 def _import_module_in_package_init(all_files: List[Path]) -> None:
169 def main(files: List[Path],
170 root: Path,
177 proto_library_file: Path = None) -> int:
Dgenerate_python_package_gn.py59 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]):
/external/rust/crates/which/src/
Dlib.rs70 V: AsRef<path::Path>, in which_in()
85 V: AsRef<path::Path>, in which_in_all()
107 pub struct Path { struct
108 inner: path::PathBuf, argument
111 impl Path { implementation
115 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<Path> { in new()
134 V: AsRef<path::Path>, in new_in()
151 V: AsRef<path::Path>, in all_in()
157 pub fn as_path(&self) -> &path::Path { in as_path()
167 impl fmt::Debug for Path { implementation
[all …]
/external/angle/tools/android/modularization/convenience/
Dlookup_dep.py106 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/rust/crates/criterion/src/
Dfs.rs15 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()
Dprofiler.rs13 fn start_profiling(&mut self, benchmark_id: &str, benchmark_dir: &Path); in start_profiling()
18 fn stop_profiling(&mut self, benchmark_id: &str, benchmark_dir: &Path); in stop_profiling()
26 fn start_profiling(&mut self, _benchmark_id: &str, _benchmark_dir: &Path) {} in start_profiling()
27 fn stop_profiling(&mut self, _benchmark_id: &str, _benchmark_dir: &Path) {} in stop_profiling()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerIO.cpp26 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, in ReadDirToVectorOfUnits()
[all …]
DFuzzerIOPosix.cpp27 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()
DFuzzerIOWindows.cpp26 static bool IsFile(const std::string &Path, const DWORD &FileAttributes) { in IsFile()
62 bool IsFile(const std::string &Path) { in IsFile()
79 bool IsDirectory(const std::string &Path) { in IsDirectory()
91 std::string Basename(const std::string &Path) { in Basename()
98 size_t FileSize(const std::string &Path) { in FileSize()
119 std::string Path(Dir); in ListFilesInDirRecursive() local
192 std::string Path = DirPlusFile(Dir, FindInfo.cFileName); in IterateDirRecursive() local
230 void RemoveFile(const std::string &Path) { in RemoveFile()
406 void MkDir(const std::string &Path) { in MkDir()
412 void RmDir(const std::string &Path) { in RmDir()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerIO.cpp26 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, in ReadDirToVectorOfUnits()
[all …]
DFuzzerIOPosix.cpp27 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()
DFuzzerIOWindows.cpp26 static bool IsFile(const std::string &Path, const DWORD &FileAttributes) { in IsFile()
62 bool IsFile(const std::string &Path) { in IsFile()
79 bool IsDirectory(const std::string &Path) { in IsDirectory()
91 std::string Basename(const std::string &Path) { in Basename()
98 size_t FileSize(const std::string &Path) { in FileSize()
119 std::string Path(Dir); in ListFilesInDirRecursive() local
192 std::string Path = DirPlusFile(Dir, FindInfo.cFileName); in IterateDirRecursive() local
230 void RemoveFile(const std::string &Path) { in RemoveFile()
406 void MkDir(const std::string &Path) { in MkDir()
412 void RmDir(const std::string &Path) { in RmDir()
/external/rust/cxx/gen/src/
Dfs.rs38 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/
DFuzzerIO.cpp26 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/rust/cxx/gen/build/src/
Dpaths.rs34 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()
Dout.rs6 pub(crate) fn write(path: impl AsRef<Path>, content: &[u8]) -> Result<()> { in write()
31 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
51 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir()
71 fn best_effort_remove(path: &Path) { in best_effort_remove()
/external/skqp/experimental/go-skia/
Dskia.go154 type Path struct { struct
155 ptr *C.sk_path_t
166 func (p *Path) MoveTo(x, y float32) {
170 func (p *Path) LineTo(x, y float32) {
174 func (p *Path) QuadTo(x0, y0, x1, y1 float32) {
178 func (p *Path) ConicTo(x0, y0, x1, y1, w float32) {
182 func (p *Path) CubicTo(x0, y0, x1, y1, x2, y2 float32) {
186 func (p *Path) Close() {
/external/rust/crates/remain/src/
Dcompare.rs12 pub struct Path { struct
16 pub fn cmp(lhs: &Path, rhs: &Path, mode: UnderscoreOrder) -> Ordering { in cmp()
/external/pigweed/pw_package/py/pw_package/packages/
Darduino_core.py36 def status(self, path: Path) -> bool:
39 def populate_download_cache_from_cipd(self, path: Path) -> None:
83 def install(self, path: Path) -> None:
92 def info(self, path: Path) -> Sequence[str]:
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
DPath.java43 public class Path class
51 public Path(AddressImpl address) { in Path() method in Path
59 public Path() in Path() method in Path

12345678910>>...30