Home
last modified time | relevance | path

Searched refs:boxed (Results 1 - 25 of 34) sorted by relevance

12

/third_party/rust/crates/log/src/kv/
H A Derror.rs38 _ => value_bag::Error::boxed(self),
73 pub fn boxed<E>(err: E) -> Self in boxed() functions
87 Error::boxed(err) in from()
/third_party/rust/crates/proc-macro-error/src/
H A Dlib.rs463 Err(boxed) => match boxed.downcast::<AbortNow>() { in entry_point()
465 Err(boxed) => resume_unwind(boxed), in entry_point()
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs16 //! let boxed: Box<u8> = Box::new(val);
22 //! let boxed: Box<u8> = Box::new(5);
23 //! let val: u8 = *boxed;
41 //! Recursive structures must be boxed, because if the definition of `Cons`
192 /// See the [module-level documentation](../../std/boxed/index.html) for more.
386 let mut boxed = Self::new_uninit_in(alloc); in new_in() variables
388 boxed.as_mut_ptr().write(x); in new_in()
389 boxed.assume_init() in new_in()
414 let mut boxed = Self::try_new_uninit_in(alloc)?; in try_new_in() variables
416 boxed in try_new_in()
1299 let mut boxed = Self::new_uninit_in(self.1.clone()); clone() variables
[all...]
H A Dlib.rs56 //! [`Box`]: boxed
235 // Need to conditionally define the mod from `boxed.rs` to avoid
237 // to allow code to have `use boxed::Box;` declarations.
239 pub mod boxed; modules
241 mod boxed { modules
242 pub use std::boxed::Box;
H A Dslice.rs32 use crate::boxed::Box;
96 use crate::boxed::Box;
/third_party/rust/crates/nom/src/
H A Dlib.rs405 pub use alloc::{borrow, boxed, string, vec};
423 alloc, borrow, boxed, cmp, collections, convert, fmt, hash, iter, mem, ops, option, result,
/base/msdp/device_status/rust/plugin_manager/src/
H A Dlib.rs51 let boxed = Box::new(<$plugin_type>::default());
52 Box::into_raw(boxed)
/third_party/rust/crates/clap/tests/derive/
H A Dmain.rs9 mod boxed; modules
/third_party/rust/crates/cxx/src/
H A Dexception.rs3 use alloc::boxed::Box;
H A Dresult.rs5 use alloc::boxed::Box;
/third_party/rust/crates/serde/serde/src/
H A Dlib.rs210 pub use alloc::boxed::Box;
212 pub use std::boxed::Box;
/third_party/rust/crates/syn/src/
H A Dpat.rs525 let boxed: Option<Token![box]> = input.parse()?; in field_pat()
529 let member = if boxed.is_some() || by_ref.is_some() || mutability.is_some() { in field_pat()
535 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat()
551 let pat = if boxed.is_some() { in field_pat()
/third_party/rust/crates/cxx/macro/src/
H A Dexpand.rs533 quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw(#var).cast()) in expand_cxx_function_shim()
535 quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw(#var)) in expand_cxx_function_shim()
654 quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#call.cast())) in expand_cxx_function_shim()
656 quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#call)) in expand_cxx_function_shim()
994 Type::RustBox(_) => quote_spanned!(span=> ::cxx::alloc::boxed::Box::from_raw(#var)), in expand_rust_function_shim_impl()
1055 Type::RustBox(_) => Some(quote_spanned!(span=> ::cxx::alloc::boxed::Box::into_raw)), in expand_rust_function_shim_impl()
1280 // https://doc.rust-lang.org/std/boxed/struct.Box.html#method.new_uninit in expand_rust_box()
1282 ::cxx::alloc::boxed::Box::into_raw(::cxx::alloc::boxed::Box::new(::cxx::core::mem::MaybeUninit::uninit())) in expand_rust_box()
1288 let _ = ::cxx::alloc::boxed in expand_rust_box()
[all...]
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Dis_zero.rs5 use crate::boxed::Box;
/kernel/linux/linux-6.6/rust/kernel/
H A Dtypes.rs6 use alloc::boxed::Box;
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_map_field.cc61 ClassNameResolver* name_resolver, bool boxed) { in TypeName()
67 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName()
60 TypeName(const FieldDescriptor* field, ClassNameResolver* name_resolver, bool boxed) TypeName() argument
H A Djava_map_field_lite.cc61 ClassNameResolver* name_resolver, bool boxed) { in TypeName()
67 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName()
60 TypeName(const FieldDescriptor* field, ClassNameResolver* name_resolver, bool boxed) TypeName() argument
/third_party/rust/crates/once_cell/src/
H A Drace.rs275 use alloc::boxed::Box;
/kernel/linux/linux-6.6/rust/kernel/sync/
H A Darc.rs25 use alloc::boxed::Box;
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dtokens.rs73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dtokens.rs73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dtokens.rs73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dtokens.rs73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
/third_party/rust/crates/cxx/syntax/
H A Dtokens.rs73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
/third_party/rust/crates/nom/src/combinator/
H A Dtests.rs8 use crate::lib::std::boxed::Box;

Completed in 16 milliseconds

12