Home
last modified time | relevance | path

Searched refs:PhantomData (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/rust/crates/protobuf/src/
Drustproto.rs25 …eBool> = crate::ext::ExtFieldOptional { field_number: 17001, phantom: ::std::marker::PhantomData };
27 …eBool> = crate::ext::ExtFieldOptional { field_number: 17003, phantom: ::std::marker::PhantomData };
29 …eBool> = crate::ext::ExtFieldOptional { field_number: 17004, phantom: ::std::marker::PhantomData };
31 …eBool> = crate::ext::ExtFieldOptional { field_number: 17011, phantom: ::std::marker::PhantomData };
33 …eBool> = crate::ext::ExtFieldOptional { field_number: 17012, phantom: ::std::marker::PhantomData };
35 …eBool> = crate::ext::ExtFieldOptional { field_number: 17030, phantom: ::std::marker::PhantomData };
37 …tring> = crate::ext::ExtFieldOptional { field_number: 17031, phantom: ::std::marker::PhantomData };
39 …eBool> = crate::ext::ExtFieldOptional { field_number: 17035, phantom: ::std::marker::PhantomData };
41 …eBool> = crate::ext::ExtFieldOptional { field_number: 17001, phantom: ::std::marker::PhantomData };
43 …eBool> = crate::ext::ExtFieldOptional { field_number: 17003, phantom: ::std::marker::PhantomData };
[all …]
/external/rust/crates/anyhow/src/
Dptr.rs2 use core::marker::PhantomData;
51 lifetime: PhantomData, in by_ref()
58 lifetime: PhantomData, in by_mut()
69 lifetime: PhantomData<&'a T>,
90 lifetime: PhantomData, in new()
98 lifetime: PhantomData, in from_raw()
105 lifetime: PhantomData, in cast()
113 lifetime: PhantomData, in by_mut()
133 lifetime: PhantomData<&'a mut T>,
155 lifetime: PhantomData, in new()
[all …]
/external/rust/crates/ring/src/ec/suite_b/ops/
Dp384.rs19 use core::marker::PhantomData;
42 m: PhantomData,
43 encoding: PhantomData, // Unencoded
51 m: PhantomData,
52 encoding: PhantomData, // Unreduced
59 m: PhantomData,
60 encoding: PhantomData, // Unreduced
141 m: PhantomData, in p384_point_mul_base_impl()
142 encoding: PhantomData, in p384_point_mul_base_impl()
149 m: PhantomData, in p384_point_mul_base_impl()
[all …]
Dp256.rs19 use core::marker::PhantomData;
46 m: PhantomData,
47 encoding: PhantomData, // Unencoded
55 m: PhantomData,
56 encoding: PhantomData, // R
63 m: PhantomData,
64 encoding: PhantomData, // R
154 m: PhantomData, in p256_point_mul_base_impl()
155 encoding: PhantomData, in p256_point_mul_base_impl()
162 m: PhantomData, in p256_point_mul_base_impl()
[all …]
Delem.rs19 use core::marker::PhantomData;
29 pub m: PhantomData<M>,
33 pub encoding: PhantomData<E>,
43 m: PhantomData, in zero()
44 encoding: PhantomData, in zero()
70 m: PhantomData, in binary_op()
71 encoding: PhantomData, in binary_op()
95 m: PhantomData, in unary_op()
96 encoding: PhantomData, in unary_op()
/external/rust/crates/rayon/src/iter/
Dempty.rs5 use std::marker::PhantomData;
26 marker: PhantomData, in empty()
32 marker: PhantomData<T>,
78 callback.callback(EmptyProducer(PhantomData)) in with_producer()
83 struct EmptyProducer<T: Send>(PhantomData<T>);
95 (self, EmptyProducer(PhantomData)) in split_at()
/external/rust/crates/grpcio/src/
Dauth_context.rs5 use std::marker::PhantomData;
65 _lifetime: PhantomData, in peer_identity()
82 _lifetime: PhantomData, in into_iter()
96 _lifetime: PhantomData<&'a grpc_auth_property_iterator>,
110 _lifetime: PhantomData, in next()
120 _lifetime: PhantomData<&'a grpc_auth_property>,
/external/rust/crates/plotters/src/element/
Dimage.rs15 use std::marker::PhantomData;
61 phantom: PhantomData<P>,
75 phantom: PhantomData, in new()
96 phantom: PhantomData, in with_owned_buffer()
116 phantom: PhantomData, in with_mut()
137 phantom: PhantomData, in with_ref()
149 phantom: PhantomData, in copy_to()
176 phantom: PhantomData, in from()
190 phantom: PhantomData, in from()
Dcomposable.rs5 use std::marker::PhantomData;
11 phantom: PhantomData<DB>,
18 phantom: PhantomData, in at()
33 phantom: PhantomData, in add()
61 phantom: PhantomData<DB>,
112 phantom: PhantomData, in add()
126 phantom: PhantomData<DB>,
195 phantom: PhantomData, in add()
197 phantom: PhantomData, in add()
/external/rust/crates/tokio/src/runtime/task/
Dstack.rs4 use std::marker::PhantomData;
12 _p: PhantomData<T>,
19 _p: PhantomData, in new()
53 struct Iter<T: 'static>(Option<NonNull<Header>>, PhantomData<T>); in drain()
81 Iter(NonNull::new(ptr), PhantomData) in drain()
/external/rust/crates/async-stream/src/
Dyielder.rs3 use std::marker::PhantomData;
10 _p: PhantomData<T>,
15 _p: PhantomData<T>,
24 let tx = Sender { _p: PhantomData }; in pair()
25 let rx = Receiver { _p: PhantomData }; in pair()
/external/rust/crates/pin-project/tests/expand/multifields/
Denum.expanded.rs86 pinned1: ::pin_project::__private::PhantomData<T>,
87 pinned2: ::pin_project::__private::PhantomData<T>,
92 ::pin_project::__private::PhantomData<T>,
93 ::pin_project::__private::PhantomData<T>,
182 pinned1: ::pin_project::__private::PhantomData, in project_replace()
183 pinned2: ::pin_project::__private::PhantomData, in project_replace()
195 ::pin_project::__private::PhantomData, in project_replace()
196 ::pin_project::__private::PhantomData, in project_replace()
220 ::pin_project::__private::PhantomData<T>,
221 ::pin_project::__private::PhantomData<U>,
/external/rust/crates/futures/tests/
Dfuture_try_flatten_stream.rs20 use core::marker::PhantomData; in failed_future()
28 _marker: PhantomData<(T, E)> in failed_future()
48 use core::marker::PhantomData; in assert_impls()
55 struct StreamSink<T, E, Item>(PhantomData<(T, E, Item)>); in assert_impls()
84 let s = ok(StreamSink::<(), (), ()>(PhantomData)).try_flatten_stream(); in assert_impls()
88 let s = ok(StreamSink::<(), (), ()>(PhantomData)).flatten_sink(); in assert_impls()
/external/rust/crates/futures-task/src/
Dwaker_ref.rs5 use core::marker::PhantomData;
16 _marker: PhantomData<&'a ()>,
27 _marker: PhantomData, in new()
40 _marker: PhantomData, in new_unowned()
/external/rust/crates/pin-project/tests/expand/naming/
Denum-own.expanded.rs25 pinned: ::pin_project::__private::PhantomData<T>,
28 Tuple(::pin_project::__private::PhantomData<T>, U),
56 pinned: ::pin_project::__private::PhantomData, in project_replace()
66 ::pin_project::__private::PhantomData, in project_replace()
88 ::pin_project::__private::PhantomData<T>,
89 ::pin_project::__private::PhantomData<U>,
/external/rust/crates/pin-project/tests/expand/project_replace/
Denum.expanded.rs25 pinned: ::pin_project::__private::PhantomData<T>,
28 Tuple(::pin_project::__private::PhantomData<T>, U),
56 pinned: ::pin_project::__private::PhantomData, in project_replace()
66 ::pin_project::__private::PhantomData, in project_replace()
88 ::pin_project::__private::PhantomData<T>,
89 ::pin_project::__private::PhantomData<U>,
/external/rust/crates/crossbeam-utils/src/sync/
Dsharded_lock.rs4 use std::marker::PhantomData;
234 _marker: PhantomData, in try_read()
240 _marker: PhantomData, in try_read()
294 _marker: PhantomData, in read()
299 _marker: PhantomData, in read()
367 _marker: PhantomData, in try_write()
373 _marker: PhantomData, in try_write()
433 _marker: PhantomData, in write()
438 _marker: PhantomData, in write()
486 _marker: PhantomData<RwLockReadGuard<'a, T>>,
[all …]
/external/rust/crates/pin-project/tests/ui/unstable-features/
Dtrivial_bounds-feature-gate.rs4 use std::marker::{PhantomData, PhantomPinned};
18 struct WrapperWithLifetime<'a, T>(PhantomData<&'a ()>, T);
28 use std::marker::{PhantomData, PhantomPinned};
44 struct WrapperWithLifetime<'a, T>(PhantomData<&'a ()>, T);
/external/flatbuffers/rust/flatbuffers/src/
Dprimitives.rs17 use std::marker::PhantomData;
83 pub struct WIPOffset<T>(UOffsetT, PhantomData<T>);
116 1: PhantomData, in new()
155 pub struct ForwardsUOffset<T>(UOffsetT, PhantomData<T>);
189 pub struct ForwardsVOffset<T>(VOffsetT, PhantomData<T>);
219 pub struct BackwardsSOffset<T>(SOffsetT, PhantomData<T>);
248 pub struct SkipSizePrefix<T>(PhantomData<T>);
259 pub struct SkipRootOffset<T>(PhantomData<T>);
282 pub struct SkipFileIdentifier<T>(PhantomData<T>);
/external/crosvm/sys_util/src/
Dpoll.rs10 use std::marker::PhantomData;
121 token: PhantomData<T>, // Needed to satisfy usage of T
153 tokens: PhantomData<[T]>, // Needed to satisfy usage of T
168 token: PhantomData, in next()
177 tokens: PhantomData<[T]>, // Needed to satisfy usage of T
187 tokens: PhantomData, in to_owned()
196 tokens: PhantomData, in iter()
205 tokens: PhantomData, in iter_readable()
214 tokens: PhantomData, in iter_writable()
223 tokens: PhantomData, in iter_hungup()
[all …]
/external/rust/crates/proc-macro2/src/
Dmarker.rs1 use std::marker::PhantomData;
7 pub(crate) type Marker = PhantomData<ProcMacroAutoTraits>;
12 pub(crate) use std::marker::PhantomData as Marker;
/external/rust/crates/lazycell/src/
Dserde_impl.rs13 use std::marker::PhantomData;
36 struct LazyCellVisitor<T>(PhantomData<*const T>);
57 deserializer.deserialize_option(LazyCellVisitor(PhantomData)) in deserialize()
62 struct AtomicLazyCellVisitor<T>(PhantomData<*const T>);
84 deserializer.deserialize_option(AtomicLazyCellVisitor(PhantomData)) in deserialize()
/external/crosvm/vhost/src/
Dnet.rs6 use std::marker::PhantomData;
27 phantom: PhantomData<T>,
60 phantom: PhantomData, in new()
108 phantom: PhantomData<T>,
130 phantom: PhantomData, in new()
/external/rust/crates/pin-project/src/
Dlib.rs155 marker::{PhantomData, PhantomPinned, Unpin},
246 pub struct Wrapper<'a, T: ?Sized>(PhantomData<&'a ()>, T);
254 pub struct AlwaysUnpin<'a, T>(PhantomData<&'a ()>, PhantomData<T>);
/external/adhd/cros_alsa/src/
Dcontrol_primitive.rs9 use std::marker::PhantomData;
168 PhantomData<snd_ctl_elem_id_t>,
200 Ok(ElemId(id, PhantomData)) in new()
233 PhantomData<snd_ctl_elem_value_t>,
261 Ok(ElemValue(value, PhantomData)) in new()
278 PhantomData<snd_ctl_elem_info_t>,
316 Ok(ElemInfo(info, PhantomData)) in new()
346 pub struct Ctl(ptr::NonNull<snd_ctl_t>, PhantomData<snd_ctl_t>);
380 Ok(Ctl(ctl, PhantomData)) in new()

1234567891011