Home
last modified time | relevance | path

Searched refs:insert_or_error (Results 1 – 5 of 5) sorted by relevance

/development/tools/external_crates/crate_health_proc_macros/src/
Dlib.rs54 … fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in expand()
55 self.#mapfield_name.insert_or_error(key, val) in expand()
/development/tools/external_crates/crate_health/src/
Dcrate_collection.rs48 Ok(krate) => self.crates.insert_or_error( in add_from()
Dname_and_version_map.rs29 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError>; in insert_or_error() method
76 fn insert_or_error(&mut self, key: NameAndVersion, val: Self::Value) -> Result<(), CrateError> { in insert_or_error() method
176 test_map.insert_or_error(NameAndVersion::try_from_str(name, version)?, val)?; in try_name_version_map_from_iter()
Dversion_match.rs53 vm.compatibility.insert_or_error(nv.to_owned(), None)?; in new()
67 vm.compatibility.insert_or_error(nv.to_owned(), compatibility)?; in new()
206 results.insert_or_error(NameAndVersion::from(pair.dest), pair.diff_android_bps()?)?; in diff_android_bps()
Dandroid_bp.rs49 results.insert_or_error(NameAndVersion::new(crate_name, crate_version), result?)?; in generate_android_bps()