Home
last modified time | relevance | path

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

/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Derror.rs9 pub struct Error { struct
10 kind: ErrorKind, argument
13 impl error::Error for Error { implementation
18 fn cause(&self) -> Option<&error::Error> { in cause()
28 impl fmt::Display for Error { implementation
29 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() method
47 pub fn from_io(e: io::Error) -> Error { in from_io()
53 pub fn from_num(e: num::ParseIntError) -> Error { in from_num()
59 pub fn from_utf8(e: str::Utf8Error) -> Error { in from_utf8()
65 pub fn from_str(s: &'static str) -> Error { in from_str()
Dversion.rs25 pub fn from_rustc(rustc: &Path) -> Result<Self, Error> { in from_rustc() argument
Dlib.rs155 pub fn with_dir<T: Into<PathBuf>>(dir: T) -> Result<Self, Error> { in with_dir() argument
205 fn probe<T: AsRef<[u8]>>(&self, code: T) -> Result<bool, Error> { in probe() argument
/device/google/cuttlefish/host/commands/secure_env/rust/
Dsdd.rs38 fn write_sdd_file(data: &storage::SecureDeletionData) -> Result<(), Error> { in write_sdd_file() argument
57 fn init(&mut self, rng: &mut dyn crypto::Rng) -> Result<(), Error> { in init() argument
75 pub fn new(rng: &mut dyn crypto::Rng) -> Result<Self, Error> { in new() argument
85 ) -> Result<keyblob::SecureDeletionData, Error> { in get_or_create_factory_reset_secret() argument
92 fn get_factory_reset_secret(&self) -> Result<keyblob::SecureDeletionData, Error> { in get_factory_reset_secret() argument
106 ) -> Result<(keyblob::SecureDeletionSlot, keyblob::SecureDeletionData), Error> { in new_secret() argument
145 ) -> Result<keyblob::SecureDeletionData, Error> { in get_secret() argument
160 fn delete_secret(&mut self, slot: keyblob::SecureDeletionSlot) -> Result<(), Error> { in delete_secret() argument
Dtpm.rs41 fn tpm_hmac(&self, data: &[u8]) -> Result<Vec<u8>, Error> { in tpm_hmac() argument
61 fn hkdf_expand(&self, info: &[u8], out_len: usize) -> Result<Vec<u8>, Error> { in hkdf_expand() argument
85 fn hmac(&self, _imp: &dyn crypto::Hmac, data: &[u8]) -> Result<Vec<u8>, Error> { in hmac() argument
91 fn derive_bytes(&self, context: &[u8], output_len: usize) -> Result<Vec<u8>, Error> { in derive_bytes() argument
108 fn root_kek(&self, _context: &[u8]) -> Result<crypto::OpaqueOr<crypto::hmac::Key>, Error> { in root_kek() argument
112 fn kak(&self) -> Result<crypto::OpaqueOr<crypto::aes::Key>, Error> { in kak() argument
130 fn unique_id_hbk(&self, _ckdf: &dyn crypto::Ckdf) -> Result<crypto::hmac::Key, Error> { in unique_id_hbk() argument
155 ) -> Result<Vec<u8>, Error> { in hkdf() argument
166 ) -> Result<crypto::OpaqueOr<crypto::hmac::Key>, Error> { in extract() argument
176 ) -> Result<Vec<u8>, Error> { in expand() argument
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs114 pub enum Error { enum
151 impl error::Error for Error {} implementation
153 impl fmt::Debug for Error { implementation
154 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() method
160 impl fmt::Display for Error { implementation
161 fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { in fmt() method
253 pub fn probe_library(name: &str) -> Result<Library, Error> { in probe_library() argument
270 pub fn get_variable(package: &str, variable: &str) -> Result<String, Error> { in get_variable() argument
385 pub fn probe(&self, name: &str) -> Result<Library, Error> { in probe() argument
818 fn run(mut cmd: Command) -> Result<Vec<u8>, Error> { in run() argument
/device/google/trout/hal/dumpstate/1.1/
DServiceDescriptor.h38 using Error = std::optional<std::string>; variable
/device/generic/goldfish-opengl/system/hwc3/
DCommon.h57 enum class Error : int32_t { enum
/device/google/contexthub/util/nanotool/
Dlog.h54 Error, enumerator
Dlog.cpp51 void Log::Error(const char *format, ...) { in Error() function in android::Log
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/tests/
Dtest.rs33 fn find(name: &str) -> Result<pkg_config::Library, Error> { in find() argument
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs204 fn log_packet(packet: &[u8]) -> Result<(), anyhow::Error> { in log_packet()
/device/generic/goldfish/radio/librilutils/proto/
Dsap-api.proto118 enum Error { enum