Home
last modified time | relevance | path

Searched refs:boxed (Results 1 – 25 of 67) sorted by relevance

123

/third_party/rust/crates/tracing/tracing-subscriber/src/registry/
Dextensions.rs139 .and_then(|boxed| { in insert()
142 (boxed as Box<Any + 'static>) in insert()
145 .map(|boxed| *boxed) in insert()
154 .and_then(|boxed| (&**boxed as &(dyn Any + 'static)).downcast_ref()) in get()
161 .and_then(|boxed| (&mut **boxed as &mut (dyn Any + 'static)).downcast_mut()) in get_mut()
168 self.map.remove(&TypeId::of::<T>()).and_then(|boxed| { in remove()
171 (boxed as Box<Any + 'static>) in remove()
174 .map(|boxed| *boxed) in remove()
/third_party/rust/crates/tracing/tracing-subscriber/tests/layer_filters/
Dvec.rs48 let unfiltered_layer = unfiltered_layer.boxed(); in with_filters_boxed()
55 let debug_layer = debug_layer.with_filter(LevelFilter::DEBUG).boxed(); in with_filters_boxed()
63 .boxed(); in with_filters_boxed()
80 let unfiltered = layer::named("unfiltered").run().boxed(); in mixed_max_level_hint()
84 .boxed(); in mixed_max_level_hint()
88 .boxed(); in mixed_max_level_hint()
100 .boxed(); in all_filtered_max_level_hint()
104 .boxed(); in all_filtered_max_level_hint()
108 .boxed(); in all_filtered_max_level_hint()
Dmain.rs5 mod boxed; module
/third_party/rust/crates/log/src/kv/
Derror.rs38 _ => value_bag::Error::boxed(self), in into_value()
73 pub fn boxed<E>(err: E) -> Self in boxed() method
87 Error::boxed(err) in from()
/third_party/rust/crates/proc-macro-error/src/
Dlib.rs463 Err(boxed) => match boxed.downcast::<AbortNow>() { in entry_point()
465 Err(boxed) => resume_unwind(boxed), in entry_point()
/third_party/rust/crates/nom/src/
Dlib.rs405 pub use alloc::{borrow, boxed, string, vec};
423 alloc, borrow, boxed, cmp, collections, convert, fmt, hash, iter, mem, ops, option, result,
/third_party/rust/crates/serde/serde/src/
Dlib.rs193 pub use alloc::boxed::Box;
195 pub use std::boxed::Box;
/third_party/rust/crates/clap/tests/derive/
Dmain.rs9 mod boxed; module
/third_party/rust/crates/cxx/src/
Dexception.rs3 use alloc::boxed::Box;
Dresult.rs5 use alloc::boxed::Box;
/third_party/rust/crates/cxx/src/symbols/
Dexception.rs4 use alloc::boxed::Box;
/third_party/rust/crates/syn/src/
Dpat.rs512 let boxed: Option<Token![box]> = input.parse()?; in field_pat() localVariable
517 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat()
541 if let Some(boxed) = boxed { in field_pat()
544 box_token: boxed, in field_pat()
/third_party/rust/crates/tracing/tracing/src/
Dstdlib.rs29 pub(crate) use alloc::{boxed, collections, rc, string, vec};
/third_party/rust/crates/tracing/tracing-core/src/
Dstdlib.rs29 pub(crate) use alloc::{boxed, collections, rc, string, vec};
/third_party/rust/crates/cxx/macro/src/
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()
1282 …::cxx::alloc::boxed::Box::into_raw(::cxx::alloc::boxed::Box::new(::cxx::core::mem::MaybeUninit::un… in expand_rust_box()
1288 let _ = ::cxx::alloc::boxed::Box::from_raw(ptr); in expand_rust_box()
1292 …unsafe extern "C" fn #local_drop #impl_generics(this: *mut ::cxx::alloc::boxed::Box<#ident #ty_gen… in expand_rust_box()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_map_field.cc61 ClassNameResolver* name_resolver, bool boxed) { in TypeName() argument
67 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName()
Djava_map_field_lite.cc61 ClassNameResolver* name_resolver, bool boxed) { in TypeName() argument
67 return boxed ? BoxedPrimitiveTypeName(GetJavaType(field)) in TypeName()
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dvec_subscriber_filter_interests_cached.rs23 (subscriber.with_filter(filter).boxed(), seen) in vec_layer_filter_interests_are_cached()
/third_party/gstreamer/gstreamer/docs/random/
Dporting-to-1.0.txt200 boxed type if the argument include GstMiniObject derived types.
205 GstParamSpecMiniObject is removed, use boxed param spec now with the GType
212 boxed methods instead.
228 A GstBuffer is now a simple boxed type this means that subclassing is not
366 Is now a boxed type derived from GstMiniObject.
369 Is now a boxed type derived from GstMiniObject
380 Is now a boxed type derived from GstMiniObject.
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dsdp.c188 GST_START_TEST (boxed) in GST_START_TEST() argument
773 tcase_add_test (tc_chain, boxed); in sdp_suite()
/third_party/rust/crates/tracing/tracing-subscriber/src/layer/
Dmod.rs688 use alloc::{vec::Vec, boxed::Box};
1216 fn boxed(self) -> Box<dyn Layer<S> + Send + Sync + 'static> in boxed() method
Dtests.rs81 use alloc::boxed::Box; in box_layer_is_layer()
/third_party/rust/crates/nom/src/combinator/
Dtests.rs8 use crate::lib::std::boxed::Box;
/third_party/rust/crates/once_cell/src/
Drace.rs275 use alloc::boxed::Box;
/third_party/rust/crates/cxx/syntax/
Dtokens.rs73 tokens.extend(quote_spanned!(span=> ::cxx::alloc::boxed::)); in to_tokens()

123