/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/offset/local/tz_info/ |
D | rule.rs | 27 ) -> Result<Self, Error> { in from_tz_string() argument 73 pub(super) fn find_local_time_type(&self, unix_time: i64) -> Result<&LocalTimeType, Error> { in find_local_time_type() argument 87 ) -> Result<crate::LocalResult<LocalTimeType>, Error> { in find_local_time_type_from_local() argument 137 ) -> Result<Self, Error> { in new() argument 149 fn find_local_time_type(&self, unix_time: i64) -> Result<&LocalTimeType, Error> { in find_local_time_type() argument 235 ) -> Result<crate::LocalResult<LocalTimeType>, Error> { in find_local_time_type_from_local() argument 352 fn parse_name<'a>(cursor: &mut Cursor<'a>) -> Result<&'a [u8], Error> { in parse_name() argument 365 fn parse_offset(cursor: &mut Cursor) -> Result<i32, Error> { in parse_offset() argument 382 fn parse_rule_time(cursor: &mut Cursor) -> Result<i32, Error> { in parse_rule_time() argument 399 fn parse_rule_time_extended(cursor: &mut Cursor) -> Result<i32, Error> { in parse_rule_time_extended() argument [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/futures-util/src/stream/stream/ |
D | split.rs | 82 ) -> Poll<Result<(), S::Error>> { in poll_flush_slot() 94 ) -> Poll<Result<(), S::Error>> { in poll_lock_and_flush_slot() 102 type Error = S::Error; typedef 104 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), S::Error>> { in poll_ready() 113 fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), S::Error> { in start_send() 118 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), S::Error>> { in poll_flush() 125 fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), S::Error>> { in poll_close() 179 type Error = (); typedef 184 ) -> Poll<Result<(), Self::Error>> { in poll_ready() 188 fn start_send(self: Pin<&mut Self>, _item: Item) -> Result<(), Self::Error> { in start_send() argument [all …]
|
/aosp_15_r20/system/keymint/hal/src/ |
H A D | hal.rs | 110 type Error; typedef 112 fn try_fromm(val: T) -> Result<Self, Self::Error>; in try_fromm() argument 122 type Error; typedef 124 fn try_innto(self) -> Result<T, Self::Error>; in try_innto() 140 type Error = U::Error; typedef 141 fn try_innto(self) -> Result<U, Self::Error> { in try_innto() 432 type Error = wire::ValueNotRecognized; typedef 433 fn try_fromm(val: keymint::AttestationKey::AttestationKey) -> Result<Self, Self::Error> { in try_fromm() argument 446 type Error = wire::ValueNotRecognized; typedef 447 fn try_fromm(val: keymint::HardwareAuthToken::HardwareAuthToken) -> Result<Self, Self::Error> { in try_fromm() argument [all …]
|
/aosp_15_r20/system/keymint/boringssl/src/ |
H A D | rsa.rs | 55 ) -> Result<crypto::KeyMaterial, Error> { in generate_key() argument 89 ) -> Result<Box<dyn crypto::AccumulatingOperation>, Error> { in begin_decrypt() argument 99 ) -> Result<Box<dyn crypto::AccumulatingOperation>, Error> { in begin_sign() argument 135 fn update(&mut self, data: &[u8]) -> Result<(), Error> { in update() argument 140 fn finish(mut self: Box<Self>) -> Result<Vec<u8>, Error> { in finish() argument 215 ) -> Result<Self, Error> { in new() argument 259 fn update(&mut self, data: &[u8]) -> Result<(), Error> { in update() argument 267 fn finish(self: Box<Self>) -> Result<Vec<u8>, Error> { in finish() argument 298 fn new(key: crypto::rsa::Key, mode: SignMode) -> Result<Self, Error> { in new() argument 316 fn update(&mut self, data: &[u8]) -> Result<(), Error> { in update() argument [all …]
|
H A D | aes.rs | 35 ) -> Result<Box<dyn crypto::EmittingOperation>, Error> { in begin() argument 94 ) -> Result<Box<dyn crypto::AadOperation>, Error> { in begin_aead() argument 138 fn update(&mut self, data: &[u8]) -> Result<Vec<u8>, Error> { in update() argument 148 fn finish(mut self: Box<Self>) -> Result<Vec<u8>, Error> { in finish() argument 163 fn update_aad(&mut self, aad: &[u8]) -> Result<(), Error> { in update_aad() argument 169 fn update(&mut self, data: &[u8]) -> Result<Vec<u8>, Error> { in update() argument 173 fn finish(mut self: Box<Self>) -> Result<Vec<u8>, Error> { in finish() argument 204 fn update_aad(&mut self, aad: &[u8]) -> Result<(), Error> { in update_aad() argument 210 fn update(&mut self, data: &[u8]) -> Result<Vec<u8>, Error> { in update() argument 256 fn finish(mut self: Box<Self>) -> Result<Vec<u8>, Error> { in finish() argument
|
/aosp_15_r20/prebuilts/go/linux-x86/src/html/template/ |
D | error.go | 13 type Error struct { struct 15 ErrorCode ErrorCode 18 Node parse.Node 20 Name string 22 Line int 24 Description string 231 func (e *Error) Error() string { argument
|
/aosp_15_r20/external/rust/android-crates-io/crates/pdl-compiler/tests/generated/rust_legacy/ |
D | packet_decl_parent_with_alias_child_little_endian.rs | 36 type Error = u8; typedef 37 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument 207 type Error = EncodeError; typedef 208 fn try_from(packet: Parent) -> Result<Self, Self::Error> { in try_from() argument 213 type Error = EncodeError; typedef 214 fn try_from(packet: Parent) -> Result<Self, Self::Error> { in try_from() argument 373 type Error = EncodeError; typedef 374 fn try_from(packet: AliasChild) -> Result<Self, Self::Error> { in try_from() argument 379 type Error = EncodeError; typedef 380 fn try_from(packet: AliasChild) -> Result<Self, Self::Error> { in try_from() argument [all …]
|
D | packet_decl_parent_with_alias_child_big_endian.rs | 36 type Error = u8; typedef 37 fn try_from(value: u8) -> Result<Self, Self::Error> { in try_from() argument 207 type Error = EncodeError; typedef 208 fn try_from(packet: Parent) -> Result<Self, Self::Error> { in try_from() argument 213 type Error = EncodeError; typedef 214 fn try_from(packet: Parent) -> Result<Self, Self::Error> { in try_from() argument 373 type Error = EncodeError; typedef 374 fn try_from(packet: AliasChild) -> Result<Self, Self::Error> { in try_from() argument 379 type Error = EncodeError; typedef 380 fn try_from(packet: AliasChild) -> Result<Self, Self::Error> { in try_from() argument [all …]
|
/aosp_15_r20/system/secretkeeper/dice_policy/src/ |
H A D | lib.rs | 67 type Error = String; typedef 78 pub fn chain_matches_policy(dice_chain: &[u8], policy: &[u8]) -> Result<(), Error> { in chain_matches_policy() argument 96 pub fn new(constraint_type: u16, path: Vec<i64>, value: Value) -> Result<Self, Error> { in new() argument 205 pub fn matches_dice_chain(&self, dice_chain: &[u8]) -> Result<(), Error> { in matches_dice_chain() argument 238 ) -> Result<(), Error> { in check_constraints_on_node() argument 245 fn check_constraint_on_node(constraint: &Constraint, dice_node: &Value) -> Result<(), Error> { in check_constraint_on_node() argument 281 ) -> Result<Option<Value>, Error> { in lookup_in_nested_container() argument 290 fn get_container_from_value(container: &Value) -> Result<Container, Error> { in get_container_from_value() argument 331 pub fn check_is_explicit_key_dice_chain(dice_chain: &[Value]) -> Result<(), Error> { in check_is_explicit_key_dice_chain() argument 340 pub fn payload_value_from_cose_sign(cbor: Value) -> Result<Value, Error> { in payload_value_from_cose_sign() argument [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/expected/expected.unexpected/ctor/ |
H A D | ctor.inplace.pass.cpp | 50 struct Error { struct 52 constexpr explicit Error(const Arg& a) : arg(a) {} in Error() argument 53 constexpr explicit Error(Arg&& a) : arg(std::move(a)) {} in Error() argument 54 Error(std::initializer_list<Error>) :arg(0){ assert(false); } in Error() argument
|
/aosp_15_r20/external/rust/android-crates-io/crates/moveit/src/new/ |
D | mod.rs | 108 type Error; typedef 119 ) -> Result<(), Self::Error>; in try_new() 135 type Error = Infallible; typedef 139 ) -> Result<(), Self::Error> { in try_new() 170 -> Result<Self::Output, N::Error>; in try_emplace() 178 ) -> Result<Self::Output, N::Error> { in try_emplace() 195 ) -> Result<Self::Output, N::Error> { in try_emplace() 212 ) -> Result<Self::Output, N::Error> { in try_emplace() 249 type Error = N::Error; typedef 254 ) -> Result<(), Self::Error> { in try_new()
|
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/ |
H A D | slots.rs | 86 type Error = Error; typedef 88 fn try_from(value: usize) -> Result<Self, Self::Error> { in try_from() argument 94 type Error = Error; typedef 96 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() argument 274 fn get_slot_by_number(&self, number: usize) -> Result<Slot, Error>; in get_slot_by_number() argument 330 fn get_boot_target(&self) -> Result<BootTarget, Error>; in get_boot_target() argument 335 fn get_slot_last_set_active(&self) -> Result<Slot, Error> { in get_slot_last_set_active() argument 355 fn mark_boot_attempt(&mut self) -> Result<BootToken, Error>; in mark_boot_attempt() argument 362 fn set_active_slot(&mut self, slot_suffix: Suffix) -> Result<(), Error>; in set_active_slot() argument 369 ) -> Result<(), Error>; in set_slot_unbootable() argument [all …]
|
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
H A D | sparse.rs | 69 pub fn is_sparse_image(sparse_img: &[u8]) -> Result<SparseHeader, Error> { in is_sparse_image() argument 138 async fn write(&mut self, off: u64, data: &mut [u8]) -> Result<(), Error>; in write() argument 155 ) -> Result<u64, Error> { in write_sparse_image() argument 227 fn get(&mut self, val: u32, size: u64) -> Result<&mut [u8], Error> { in get() argument 247 ) -> Result<&mut [u8], Error> { in get_mut() argument 256 ) -> Result<&[u8], Error> { in get() argument 261 fn copy_from<T: AsBytes + FromBytes + Default>(bytes: &[u8]) -> Result<T, Error> { in copy_from() argument 271 fn to_usize<T: TryInto<usize>>(val: T) -> Result<usize, Error> { in to_usize() argument 276 fn usize_add<L: TryInto<usize>, R: TryInto<usize>>(lhs: L, rhs: R) -> Result<usize, Error> { in usize_add() argument 281 fn to_u64<T: TryInto<u64>>(val: T) -> Result<u64, Error> { in to_u64() argument [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/tokio-io-timeout/src/ |
D | lib.rs | 162 ) -> Poll<Result<(), io::Error>> { in poll_read() 181 ) -> Poll<Result<usize, io::Error>> { in poll_write() 185 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), io::Error>> { in poll_flush() 189 fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), io::Error>> { in poll_shutdown() 293 ) -> Poll<Result<usize, io::Error>> { in poll_write() 303 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), io::Error>> { in poll_flush() 313 fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), io::Error>> { in poll_shutdown() 350 ) -> Poll<Result<(), io::Error>> { in poll_read() 463 ) -> Poll<Result<(), io::Error>> { in poll_read() 476 ) -> Poll<Result<usize, io::Error>> { in poll_write() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/h2/src/ |
D | share.rs | 312 pub fn poll_capacity(&mut self, cx: &mut Context) -> Poll<Option<Result<usize, crate::Error>>> { in poll_capacity() 334 pub fn send_data(&mut self, data: B, end_of_stream: bool) -> Result<(), crate::Error> { in send_data() 344 pub fn send_trailers(&mut self, trailers: HeaderMap) -> Result<(), crate::Error> { in send_trailers() 371 pub fn poll_reset(&mut self, cx: &mut Context) -> Poll<Result<Reason, crate::Error>> { in poll_reset() 412 pub async fn data(&mut self) -> Option<Result<Bytes, crate::Error>> { in data() 417 pub async fn trailers(&mut self) -> Result<Option<HeaderMap>, crate::Error> { in trailers() 422 pub fn poll_data(&mut self, cx: &mut Context<'_>) -> Poll<Option<Result<Bytes, crate::Error>>> { in poll_data() 430 ) -> Poll<Result<Option<HeaderMap>, crate::Error>> { in poll_trailers() 532 pub fn release_capacity(&mut self, sz: usize) -> Result<(), crate::Error> { in release_capacity() 550 pub async fn ping(&mut self, ping: Ping) -> Result<Pong, crate::Error> { in ping() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/toml_edit/src/de/ |
D | mod.rs | 26 pub struct Error { struct 27 inner: crate::TomlError, argument 30 impl Error { implementation 60 impl serde::de::Error for Error { implementation 69 impl std::fmt::Display for Error { implementation 75 impl From<crate::TomlError> for Error { implementation 76 fn from(e: crate::TomlError) -> Error { in from() 87 impl std::error::Error for Error {} implementation 144 type Error = Error; typedef 264 ) -> Result<(), Error> { in validate_struct_keys() argument
|
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/datetime/ |
D | serde.rs | 63 E: de::Error, in visit_str() 233 E: de::Error, in visit_i64() 247 E: de::Error, in visit_u64() 382 E: de::Error, in visit_none() 390 E: de::Error, in visit_unit() 502 E: de::Error, in visit_i64() 516 E: de::Error, in visit_u64() 640 E: de::Error, in visit_none() 648 E: de::Error, in visit_unit() 760 E: de::Error, in visit_i64() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/hyper/src/server/ |
D | accept.rs | 22 type Error; typedef 28 ) -> Poll<Option<Result<Self::Conn, Self::Error>>>; in poll_accept() 50 pub fn poll_fn<F, IO, E>(func: F) -> impl Accept<Conn = IO, Error = E> in poll_fn() argument 64 type Error = E; in poll_fn() typedef 68 ) -> Poll<Option<Result<Self::Conn, Self::Error>>> { in poll_fn() 83 pub fn from_stream<S, IO, E>(stream: S) -> impl Accept<Conn = IO, Error = E> in from_stream() argument 99 type Error = E; in from_stream() typedef 103 ) -> Poll<Option<Result<Self::Conn, Self::Error>>> { in from_stream()
|
/aosp_15_r20/device/google/cuttlefish/host/commands/secure_env/rust/ |
D | tpm.rs | 41 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
|
/aosp_15_r20/external/rust/android-crates-io/crates/clap_builder/src/builder/ |
D | value_parser.rs | 241 ) -> Result<AnyValue, crate::Error> { in parse_ref() 567 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt() 597 ) -> Result<AnyValue, crate::Error>; in parse_ref() 605 ) -> Result<AnyValue, crate::Error> { in parse_ref_() 614 ) -> Result<AnyValue, crate::Error>; in parse() 622 ) -> Result<AnyValue, crate::Error> { in parse_() 646 ) -> Result<AnyValue, crate::Error> { in parse_ref() 657 ) -> Result<AnyValue, crate::Error> { in parse_ref_() 667 ) -> Result<AnyValue, crate::Error> { in parse() 678 ) -> Result<AnyValue, crate::Error> { in parse_() [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.2/src/builder/ |
H A D | value_parser.rs | 241 ) -> Result<AnyValue, crate::Error> { in parse_ref() 567 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt() 597 ) -> Result<AnyValue, crate::Error>; in parse_ref() 605 ) -> Result<AnyValue, crate::Error> { in parse_ref_() 614 ) -> Result<AnyValue, crate::Error>; in parse() 622 ) -> Result<AnyValue, crate::Error> { in parse_() 646 ) -> Result<AnyValue, crate::Error> { in parse_ref() 657 ) -> Result<AnyValue, crate::Error> { in parse_ref_() 667 ) -> Result<AnyValue, crate::Error> { in parse() 678 ) -> Result<AnyValue, crate::Error> { in parse_() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/transport/server/ |
D | mod.rs | 151 pub fn tls_config(self, tls_config: ServerTlsConfig) -> Result<Self, Error> { in tls_config() argument 362 S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible> in add_service() argument 383 S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible> in add_optional_service() argument 503 IE: Into<crate::Error>, in serve_with_shutdown() 506 ResBody::Error: Into<crate::Error>, in serve_with_shutdown() 572 S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible> in add_service() argument 591 S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible> in add_optional_service() argument 621 ResBody::Error: Into<crate::Error>, in serve() 651 ResBody::Error: Into<crate::Error>, in serve_with_shutdown() 674 IE: Into<crate::Error>, in serve_with_incoming() [all …]
|
/aosp_15_r20/external/uwb/src/rust/uwb_core/src/uci/ |
H A D | notification.rs | 257 type Error = Error; typedef 258 fn try_from(evt: uwb_uci_packets::UciDataPacket) -> std::result::Result<Self, Self::Error> { in try_from() argument 336 type Error = Error; typedef 337 fn try_from(evt: uwb_uci_packets::UciDataPacket) -> std::result::Result<Self, Self::Error> { in try_from() argument 361 type Error = Error; typedef 364 ) -> std::result::Result<Self, Self::Error> { in try_from() argument 394 type Error = Error; typedef 395 fn try_from(evt: uwb_uci_packets::CoreNotification) -> std::result::Result<Self, Self::Error> { in try_from() argument 413 type Error = Error; typedef 416 ) -> std::result::Result<Self, Self::Error> { in try_from() argument [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/time/ |
D | error.rs | 26 pub struct Error(Kind); struct 36 impl From<Kind> for Error { implementation 56 impl Error { impl 88 impl error::Error for Error {} implementation 90 impl fmt::Display for Error { implementation 119 impl From<Elapsed> for std::io::Error { implementation 120 fn from(_err: Elapsed) -> std::io::Error { in from()
|
/aosp_15_r20/system/keymint/common/src/crypto/ |
H A D | ec.rs | 107 type Error = Error; typedef 108 fn try_from(curve: EcCurve) -> Result<NistCurve, Error> { in try_from() argument 166 ) -> Result<SubjectPublicKeyInfoRef<'a>, Error> { in subject_public_key_info() argument 197 ) -> Result<coset::CoseKey, Error> { in public_cose_key() argument 331 ) -> Result<(Vec<u8>, Vec<u8>), Error> { in coordinates_from_pub_key() argument 380 pub fn import_sec1_private_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_sec1_private_key() argument 399 pub fn import_pkcs8_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_pkcs8_key() argument 406 fn import_pkcs8_key_impl(key_info: &pkcs8::PrivateKeyInfo) -> Result<KeyMaterial, Error> { in import_pkcs8_key_impl() argument 484 pub fn import_raw_ed25519_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_raw_ed25519_key() argument 492 pub fn import_raw_x25519_key(data: &[u8]) -> Result<KeyMaterial, Error> { in import_raw_x25519_key() argument [all …]
|