/external/rust/crates/pest_meta/src/ |
D | grammar.rs | 2 …boxed :: Box < :: pest :: ParserState < '_ , Rule >>) -> :: pest :: ParseResult < :: std :: boxed … in skip()
|
/external/rust/crates/tokio-util/src/sync/ |
D | reusable_box.rs | 15 boxed: Pin<Box<dyn Future<Output = T> + Send + 'a>>, field 25 boxed: Box::pin(future), in new() 64 let boxed = mem::replace(&mut this.boxed, Box::pin(Pending(PhantomData))); in try_set() localVariable 65 reuse_pin_box(boxed, future, |boxed| this.boxed = Pin::from(boxed)) in try_set() 73 self.boxed.as_mut() in get_pin() 102 fn reuse_pin_box<T: ?Sized, U, O, F>(boxed: Pin<Box<T>>, new_value: U, callback: F) -> Result<O, U> in reuse_pin_box() 106 let layout = Layout::for_value::<T>(&*boxed); in reuse_pin_box() 113 let raw: *mut T = Box::into_raw(unsafe { Pin::into_inner_unchecked(boxed) }); in reuse_pin_box() 125 let boxed = unsafe { Box::from_raw(raw) }; in reuse_pin_box() localVariable 127 callback(boxed) in reuse_pin_box()
|
/external/rust/crates/tokio/src/signal/ |
D | reusable_box.rs | 14 boxed: NonNull<dyn Future<Output = T> + Send>, field 23 let boxed: Box<dyn Future<Output = T> + Send> = Box::new(future); in new() localVariable 25 let boxed = Box::into_raw(boxed); in new() localVariable 28 let boxed = unsafe { NonNull::new_unchecked(boxed) }; in new() localVariable 30 Self { boxed } in new() 57 let dyn_future: &(dyn Future<Output = T> + Send) = unsafe { self.boxed.as_ref() }; in try_set() 85 ptr::drop_in_place(self.boxed.as_ptr()); in set_same_layout() 90 let self_ptr: *mut F = self.boxed.as_ptr() as *mut F; in set_same_layout() 95 self.boxed = NonNull::new_unchecked(self_ptr); in set_same_layout() 110 unsafe { Pin::new_unchecked(self.boxed.as_mut()) } in get_pin() [all …]
|
/external/rust/crates/futures-task/src/ |
D | future_obj.rs | 217 use alloc::boxed::Box; 289 fn from(boxed: Box<F>) -> Self { in from() 290 Self::new(boxed) in from() 295 fn from(boxed: Box<dyn Future<Output = ()> + Send + 'a>) -> Self { in from() 296 Self::new(boxed) in from() 301 fn from(boxed: Pin<Box<F>>) -> Self { in from() 302 Self::new(boxed) in from() 307 fn from(boxed: Pin<Box<dyn Future<Output = ()> + Send + 'a>>) -> Self { in from() 308 Self::new(boxed) in from() 313 fn from(boxed: Box<F>) -> Self { in from() [all …]
|
/external/rust/crates/criterion-plot/src/ |
D | key.rs | 11 boxed: bool, field 23 boxed: false, in default() 90 if self.boxed { in script() 103 fn set(&mut self, boxed: Boxed) -> &mut Properties { in set() 104 match boxed { in set() 105 Boxed::No => self.boxed = false, in set() 106 Boxed::Yes => self.boxed = true, in set()
|
/external/rust/crates/pest_generator/src/ |
D | macros.rs | 22 …pub fn $name(state: ::std::boxed::Box<::pest::ParserState<'_, Rule>>) -> ::pest::ParseResult<::std… 35 …pub fn $name(state: ::alloc::boxed::Box<::pest::ParserState<'_, Rule>>) -> ::pest::ParseResult<::a…
|
/external/clang/test/SemaObjCXX/ |
D | boxing-illegal-types.mm | 33 id boxed = @(p); // expected-error {{illegal type 'point' used in a boxed expression}} 38 …id boxed_null = @(null); // expected-error {{illegal type 'void *' used in a boxed expressi… 40 …id boxed_numbers = @(numbers); // expected-error {{illegal type 'int *' used in a boxed expressio… 57 …box = @(*(enum ForwE*)p); // expected-error {{incomplete type 'enum ForwE' used in a boxed express…
|
D | objc-boxed-expressions-nsvalue.mm | 51 …xpected-error{{definition of class NSValue must be available to use Objective-C boxed expressions}} 84 …id err = @(s); // expected-error{{illegal type 'SomeStruct' (aka '_SomeStruct') used in a boxed ex… 87 …ed-error{{non-trivially copyable type 'NonTriviallyCopyable' cannot be used in a boxed expression}} 102 …()); // expected-error {{illegal type 'SomeStruct' (aka '_SomeStruct') used in a boxed expression}} 105 …ed-error{{non-trivially copyable type 'NonTriviallyCopyable' cannot be used in a boxed expression}} 112 …ed-error{{non-trivially copyable type 'NonTriviallyCopyable' cannot be used in a boxed expression}}
|
/external/clang/test/SemaObjC/ |
D | boxing-illegal.m | 33 id boxed = @(p); // expected-error {{illegal type 'point' used in a boxed expression}} 38 …id boxed_null = @(null); // expected-error {{illegal type 'void *' used in a boxed expressi… 40 …id boxed_numbers = @(numbers); // expected-error {{illegal type 'int *' used in a boxed expressio… 57 …box = @(*(enum ForwE*)p); // expected-error {{incomplete type 'enum ForwE' used in a boxed express…
|
D | objc-boxed-expressions-nsvalue.m | 49 …xpected-error{{definition of class NSValue must be available to use Objective-C boxed expressions}} 85 …/ expected-error{{illegal type 'SomeStruct' (aka 'struct _SomeStruct') used in a boxed expression}} 100 … expected-error {{illegal type 'SomeStruct' (aka 'struct _SomeStruct') used in a boxed expression}}
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/ |
D | IntrospectionUtils.java | 78 Class<?> boxed = boxingMap.get(clazz); in getBoxedClass() local 79 return boxed == null ? clazz : boxed; in getBoxedClass() 179 Class<?> boxed = boxingMap.get(actual); in isMethodInvocationConvertible() local 180 … if (boxed != null && (boxed == formalClass || formalClass.isAssignableFrom(boxed))) return true; in isMethodInvocationConvertible()
|
/external/rust/crates/futures/tests/ |
D | stream_try_stream.rs | 14 .boxed(); in try_filter_map_after_err() 25 .boxed(); in try_skip_while_after_err() 36 .boxed(); in try_take_while_after_err()
|
D | future_obj.rs | 7 FutureObj::new(async { String::new() }.boxed()); in dropping_does_not_segfault() 30 FutureObj::new(Inc(&mut times_dropped).boxed()); in dropping_drops_the_future()
|
D | recurse.rs | 16 future::ready(x).boxed() in lots() 18 future::ready((n - 1, x + n)).then(do_it).boxed() in lots()
|
/external/clang/test/Index/ |
D | boxed-exprs.m | 2 #include "boxed-exprs.h" 17 // RUN: c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple-macosx10.7 %s | FileChec… 18 // RUN: env CINDEXTEST_EDITING=1 c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple…
|
/external/rust/crates/log/src/kv/ |
D | error.rs | 38 _ => 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()
|
/external/rust/crates/futures-core/src/ |
D | future.rs | 13 pub type BoxFuture<'a, T> = Pin<alloc::boxed::Box<dyn Future<Output = T> + Send + 'a>>; 17 pub type LocalBoxFuture<'a, T> = Pin<alloc::boxed::Box<dyn Future<Output = T> + 'a>>; 89 use alloc::boxed::Box;
|
D | stream.rs | 10 pub type BoxStream<'a, T> = Pin<alloc::boxed::Box<dyn Stream<Item = T> + Send + 'a>>; 14 pub type LocalBoxStream<'a, T> = Pin<alloc::boxed::Box<dyn Stream<Item = T> + 'a>>; 203 use alloc::boxed::Box;
|
/external/crosvm/system_api/src/protos/ |
D | UserDataAuth.rs | 196 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 430 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 569 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 727 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 827 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1002 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1437 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1686 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1876 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 2053 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() [all …]
|
D | auth_factor.rs | 131 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 267 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 475 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 576 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 746 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 846 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1378 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1482 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1610 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1709 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() [all …]
|
/external/rust/crates/protobuf/2.27.1/src/well_known_types/ |
D | wrappers.rs | 123 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 278 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 433 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 588 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 743 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 898 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1053 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1215 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1377 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any()
|
/external/rust/crates/protobuf-codegen/2.27.1/src/ |
D | oneof.rs | 27 pub boxed: bool, field 59 let boxed = OneofField::need_boxed(field, root_scope, &oneof.message.name_absolute().path); in parse() localVariable 63 boxed, in parse() 72 if self.boxed { in rust_type()
|
/external/rust/crates/proc-macro-error/src/ |
D | lib.rs | 463 Err(boxed) => match boxed.downcast::<AbortNow>() { in entry_point() 465 Err(boxed) => resume_unwind(boxed), in entry_point()
|
/external/rust/crates/downcast-rs/src/ |
D | lib.rs | 172 use __alloc::{boxed::Box, rc::Rc, sync::Arc}; 258 self: $crate::__alloc::boxed::Box<Self> 259 …) -> $crate::__std::result::Result<$crate::__alloc::boxed::Box<__T>, $crate::__alloc::boxed::Box<S… 517 fn get_val(base: &$crate::__alloc::boxed::Box<$base_type>) -> u32 { 523 fn set_val(base: &mut $crate::__alloc::boxed::Box<$base_type>, val: u32) { 529 … let mut base: $crate::__alloc::boxed::Box<$base_type> = $crate::__alloc::boxed::Box::new(Foo(42));
|
/external/clang/test/Parser/ |
D | objc-boxing.m | 12 return @("boxed constant string."); 16 return @(strdup("boxed dynamic string"));
|