| /third_party/rust/crates/log/src/kv/ |
| H A D | error.rs | 38 _ => 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 D | lib.rs | 463 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 D | boxed.rs | 16 //! 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 D | lib.rs | 56 //! [`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 D | slice.rs | 32 use crate::boxed::Box; 96 use crate::boxed::Box;
|
| /third_party/rust/crates/nom/src/ |
| H A D | lib.rs | 405 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 D | lib.rs | 51 let boxed = Box::new(<$plugin_type>::default()); 52 Box::into_raw(boxed)
|
| /third_party/rust/crates/clap/tests/derive/ |
| H A D | main.rs | 9 mod boxed; modules
|
| /third_party/rust/crates/cxx/src/ |
| H A D | exception.rs | 3 use alloc::boxed::Box;
|
| H A D | result.rs | 5 use alloc::boxed::Box;
|
| /third_party/rust/crates/serde/serde/src/ |
| H A D | lib.rs | 210 pub use alloc::boxed::Box; 212 pub use std::boxed::Box;
|
| /third_party/rust/crates/syn/src/ |
| H A D | pat.rs | 525 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 D | expand.rs | 533 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 D | is_zero.rs | 5 use crate::boxed::Box;
|
| /kernel/linux/linux-6.6/rust/kernel/ |
| H A D | types.rs | 6 use alloc::boxed::Box;
|
| /third_party/protobuf/src/google/protobuf/compiler/java/ |
| H A D | java_map_field.cc | 61 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 D | java_map_field_lite.cc | 61 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 D | race.rs | 275 use alloc::boxed::Box;
|
| /kernel/linux/linux-6.6/rust/kernel/sync/ |
| H A D | arc.rs | 25 use alloc::boxed::Box;
|
| /third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
| H A D | tokens.rs | 73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
|
| /third_party/rust/crates/cxx/gen/lib/src/syntax/ |
| H A D | tokens.rs | 73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
|
| /third_party/rust/crates/cxx/gen/build/src/syntax/ |
| H A D | tokens.rs | 73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
|
| /third_party/rust/crates/cxx/macro/src/syntax/ |
| H A D | tokens.rs | 73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
|
| /third_party/rust/crates/cxx/syntax/ |
| H A D | tokens.rs | 73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()
|
| /third_party/rust/crates/nom/src/combinator/ |
| H A D | tests.rs | 8 use crate::lib::std::boxed::Box;
|