Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 22 of 22) sorted by relevance

/development/tools/external_crates/test_mapping/src/
Dlib.rs37 pub enum Error { enum
82 pub fn read(path: RootedPath) -> Result<TestMapping, Error> { in read() argument
97 pub fn write(&self) -> Result<(), Error> { in write() argument
109 pub fn remove_unknown_tests(&mut self) -> Result<bool, Error> { in remove_unknown_tests() argument
117 pub fn update_presubmits(&mut self) -> Result<(), Error> { in update_presubmits() argument
123 pub fn add_new_tests_to_postsubmit(&mut self) -> Result<bool, Error> { in add_new_tests_to_postsubmit() argument
149 pub fn update_imports(&mut self) -> Result<(), Error> { in update_imports() argument
168 fn libs(&self) -> Result<Vec<String>, Error> { in libs() argument
Dblueprint.rs29 fn rust_tests(&self) -> Result<BTreeSet<String>, Error>; in rust_tests() argument
33 fn rust_tests(&self) -> Result<BTreeSet<String>, Error> { in rust_tests() argument
Drdeps.rs55 fn grep_and_parse<P: Into<PathBuf>>(repo_root: P) -> Result<ReverseDeps, Error> { in grep_and_parse() argument
Djson.rs46 pub fn parse(mut contents: String) -> Result<TestMappingJson, Error> { in parse() argument
/development/tools/external_crates/license_checker/src/
Dparsed_license_data.rs51 type Error = crate::Error; typedef
53 fn try_from(value: &License) -> Result<Self, Self::Error> { in try_from() argument
93 type Error = crate::Error; typedef
95 fn try_from(value: &CrateLicenseSpecialCase) -> Result<Self, Self::Error> { in try_from() argument
114 ) -> Result<spdx::Expression, Error> { in get_corrected_license() argument
139 type Error = crate::Error; typedef
141 fn try_from(value: &[CrateLicenseSpecialCase]) -> Result<Self, Self::Error> { in try_from() argument
Dlicense_file_finder.rs40 pub(crate) fn find_license_files(path: impl AsRef<Path>) -> Result<BTreeSet<PathBuf>, Error> { in find_license_files() argument
54 ) -> Result<BTreeSet<PathBuf>, Error> { in multiglob() argument
Dlicenses.rs45 ) -> Result<Licenses, Error> { in new() argument
94 fn validate(&self) -> Result<(), Error> { in validate() argument
122 ) -> Result<LicenseTerms, Error> { in evaluate_crate_license() argument
Dlicense_terms.rs34 ) -> Result<LicenseTerms, Error> { in try_from() argument
Dfile_classifier.rs45 ) -> Result<Vec<Classifier>, Error> { in new_vec() argument
Dlib.rs40 pub enum Error { enum
208 ) -> Result<LicenseState, Error> { in find_licenses() argument
/development/tools/external_crates/crates_io_util/src/
Dlib.rs41 fn parsed_version_req(&self) -> Result<VersionReq, semver::Error>; in parsed_version_req()
45 fn parsed_version_req(&self) -> Result<VersionReq, semver::Error> { in parsed_version_req()
52 pub enum Error { enum
Dindex.rs41 pub fn get_crate(&self, crate_name: impl AsRef<str>) -> Result<Crate, Error> { in get_crate() argument
47 fn fetch(&self, crate_name: &str) -> Result<Crate, Error>; in fetch() argument
62 fn fetch(&self, crate_name: &str) -> Result<Crate, Error> { in fetch() argument
88 fn fetch(&self, crate_name: &str) -> Result<Crate, Error> { in fetch() argument
Dfeature_resolver.rs40 ) -> Result<DepSet<'a>, Error> { in resolve() argument
/development/tools/external_crates/rooted_path/src/
Dlib.rs22 pub enum Error { enum
40 pub fn new<P: Into<PathBuf>>(root: P, path: impl AsRef<Path>) -> Result<RootedPath, Error> { in new() argument
65 pub fn join(&self, path: impl AsRef<Path>) -> Result<RootedPath, Error> { in join() argument
73 pub fn with_same_root(&self, path: impl AsRef<Path>) -> Result<RootedPath, Error> { in with_same_root() argument
/development/tools/external_crates/checksum/src/
Dlib.rs39 pub enum Error { enum
66 pub fn generate(crate_dir: impl AsRef<Path>) -> Result<(), Error> { in generate() argument
111 pub fn verify(crate_dir: impl AsRef<Path>) -> Result<(), Error> { in verify() argument
160 fn sha256_digest<R: Read>(mut reader: R) -> Result<Digest, Error> { in sha256_digest() argument
/development/tools/external_crates/google_metadata/src/
Dlib.rs45 pub enum Error { enum
71 pub fn try_from<P: Into<PathBuf>>(path: P) -> Result<Self, Error> { in try_from() argument
84 ) -> Result<Self, Error> { in init() argument
96 pub fn write(&self) -> Result<(), Error> { in write() argument
/development/tools/external_crates/name_and_version/src/
Dlib.rs30 pub enum Error { enum
Dname_and_version_map.rs34 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), Error>; in insert_or_error() argument
75 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), Error> { in insert_or_error() argument
184 ) -> Result<BTreeMap<NameAndVersion, ValueType>, Error> { in try_name_version_map_from_iter() argument
Dname_and_version.rs67 pub fn try_from_str(name: &str, version: &str) -> Result<Self, semver::Error> { in try_from_str()
/development/tools/external_crates/repo_config/src/
Dlib.rs30 pub enum Error { enum
45 pub fn read(managed_repo_dir: impl AsRef<Path>) -> Result<RepoConfig, Error> { in read() argument
/development/tools/external_crates/crate_config/src/
Dlib.rs33 pub enum Error { enum
48 pub fn read(crate_dir: impl AsRef<Path>) -> Result<CrateConfig, Error> { in read() argument
/development/tools/winscope/src/logging/
Danalytics.ts69 static Error = class { property in Analytics