Home
last modified time | relevance | path

Searched refs:Immutable (Results 1 – 25 of 1776) sorted by relevance

12345678910>>...72

/external/rust/android-crates-io/crates/zerocopy-derive/tests/
Dstruct_no_cell.rs15 #[derive(imp::Immutable)]
18 util_assert_impl_all!(Zst: imp::Immutable);
20 #[derive(imp::Immutable)]
25 util_assert_impl_all!(One: imp::Immutable);
27 #[derive(imp::Immutable)]
33 util_assert_impl_all!(Two: imp::Immutable);
35 #[derive(imp::Immutable)]
40 util_assert_impl_all!(Three: imp::Immutable);
42 #[derive(imp::Immutable)]
47 util_assert_impl_all!(Four<'static>: imp::Immutable);
[all …]
Dunion_no_cell.rs15 #[derive(Clone, Copy, imp::Immutable)]
20 util_assert_impl_all!(Zst: imp::Immutable);
22 #[derive(imp::Immutable)]
27 util_assert_impl_all!(One: imp::Immutable);
29 #[derive(imp::Immutable)]
35 util_assert_impl_all!(Two: imp::Immutable);
37 #[derive(imp::Immutable)]
50 util_assert_impl_all!(TypeParams<'static, (), imp::IntoIter<()>>: imp::Immutable);
54 #[derive(imp::Immutable)]
56 union WithParams<'a: 'b, 'b: 'a, T: 'a + 'b + imp::Immutable, const N: usize>
[all …]
Denum_no_cell.rs15 #[derive(imp::Immutable)]
20 util_assert_impl_all!(Foo: imp::Immutable);
22 #[derive(imp::Immutable)]
27 util_assert_impl_all!(Bar: imp::Immutable);
29 #[derive(imp::Immutable)]
35 util_assert_impl_all!(Baz: imp::Immutable);
39 #[derive(imp::Immutable)]
41 enum WithParams<'a: 'b, 'b: 'a, T: 'a + 'b + imp::Immutable, const N: ::core::primitive::usize>
45 T: 'a + 'b + imp::Immutable,
51 util_assert_impl_all!(WithParams<'static, 'static, u8, 42>: imp::Immutable);
/external/rust/android-crates-io/crates/zerocopy/src/
Dimpls.rs25 unsafe_impl!((): Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned);
62 unsafe_impl!(u8: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned);
63 unsafe_impl!(i8: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes, Unaligned);
65 unsafe_impl!(u16: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
66 unsafe_impl!(i16: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
67 unsafe_impl!(u32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
68 unsafe_impl!(i32: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
69 unsafe_impl!(u64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
70 unsafe_impl!(i64: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
71 unsafe_impl!(u128: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
[all …]
Ddeprecated.rs18 T: KnownLayout + Immutable + ?Sized,
32 T: KnownLayout + Immutable + ?Sized,
46 T: KnownLayout + Immutable + ?Sized,
60 T: Unaligned + KnownLayout + Immutable + ?Sized,
77 T: Unaligned + KnownLayout + Immutable + ?Sized,
94 T: Unaligned + KnownLayout + Immutable + ?Sized,
111 T: Immutable,
124 T: Unaligned + Immutable,
140 T: FromBytes + Immutable,
153 T: FromBytes + IntoBytes + Immutable,
[all …]
/external/crosvm/devices/src/virtio/video/
Dprotocol.rs32 use zerocopy::Immutable;
135 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
145 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
155 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
164 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
173 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
183 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
194 #[derive(Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
210 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
214 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
[all …]
/external/googleapis/google/ads/googleads/v16/resources/
Dcampaign_criterion.proto43 // Immutable. The resource name of the campaign criterion.
54 // Immutable. The campaign to which the criterion belongs.
77 // Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
92 // Immutable. Keyword.
96 // Immutable. Placement.
100 // Immutable. Mobile app category.
104 // Immutable. Mobile application.
108 // Immutable. Location.
112 // Immutable. Device.
116 // Immutable. Ad Schedule.
[all …]
Dfeed_mapping.proto65 // Immutable. The resource name of the feed mapping.
76 // Immutable. The feed of this feed mapping.
82 // Immutable. Feed attributes to field mappings. These mappings are a
98 // Immutable. The placeholder type of this mapping (for example, if the
103 // Immutable. The criterion type of this mapping (for example, if the
113 // Immutable. Feed attribute from which to map.
125 // Immutable. Sitelink Placeholder Fields.
130 // Immutable. Call Placeholder Fields.
134 // Immutable. App Placeholder Fields.
149 // Immutable. Callout Placeholder Fields.
[all …]
/external/googleapis/google/ads/googleads/v14/resources/
Dcampaign_criterion.proto43 // Immutable. The resource name of the campaign criterion.
54 // Immutable. The campaign to which the criterion belongs.
77 // Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
92 // Immutable. Keyword.
96 // Immutable. Placement.
100 // Immutable. Mobile app category.
104 // Immutable. Mobile application.
108 // Immutable. Location.
112 // Immutable. Device.
116 // Immutable. Ad Schedule.
[all …]
Dfeed_mapping.proto65 // Immutable. The resource name of the feed mapping.
76 // Immutable. The feed of this feed mapping.
82 // Immutable. Feed attributes to field mappings. These mappings are a
98 // Immutable. The placeholder type of this mapping (for example, if the
103 // Immutable. The criterion type of this mapping (for example, if the
113 // Immutable. Feed attribute from which to map.
125 // Immutable. Sitelink Placeholder Fields.
130 // Immutable. Call Placeholder Fields.
134 // Immutable. App Placeholder Fields.
149 // Immutable. Callout Placeholder Fields.
[all …]
/external/googleapis/google/ads/googleads/v15/resources/
Dcampaign_criterion.proto43 // Immutable. The resource name of the campaign criterion.
54 // Immutable. The campaign to which the criterion belongs.
77 // Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
92 // Immutable. Keyword.
96 // Immutable. Placement.
100 // Immutable. Mobile app category.
104 // Immutable. Mobile application.
108 // Immutable. Location.
112 // Immutable. Device.
116 // Immutable. Ad Schedule.
[all …]
Dfeed_mapping.proto65 // Immutable. The resource name of the feed mapping.
76 // Immutable. The feed of this feed mapping.
82 // Immutable. Feed attributes to field mappings. These mappings are a
98 // Immutable. The placeholder type of this mapping (for example, if the
103 // Immutable. The criterion type of this mapping (for example, if the
113 // Immutable. Feed attribute from which to map.
125 // Immutable. Sitelink Placeholder Fields.
130 // Immutable. Call Placeholder Fields.
134 // Immutable. App Placeholder Fields.
149 // Immutable. Callout Placeholder Fields.
[all …]
/external/crosvm/fuse/src/
Dsys.rs10 use zerocopy::Immutable;
506 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
551 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
583 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
592 #[derive(Debug, Copy, Clone, N, IntoBytes, Immutable, KnownLayout, TryFromBytes)]
660 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
672 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
678 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
685 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
692 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
[all …]
/external/crosvm/devices/src/virtio/snd/
Dlayout.rs10 use zerocopy::Immutable;
18 Copy, Clone, Default, FromBytes, Immutable, IntoBytes, KnownLayout, Serialize, Deserialize,
25 #[derive(Copy, Clone, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
32 #[derive(Copy, Clone, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
39 #[derive(Copy, Clone, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
53 Immutable,
72 Immutable,
95 Copy, Clone, Default, FromBytes, Immutable, IntoBytes, KnownLayout, Serialize, Deserialize,
104 Copy, Clone, Default, FromBytes, Immutable, IntoBytes, KnownLayout, Serialize, Deserialize,
118 #[derive(Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
[all …]
/external/rust/android-crates-io/crates/virtio-drivers-and-devices/src/
Dconfig.rs4 use zerocopy::{FromBytes, Immutable, IntoBytes};
7 #[derive(Default, FromBytes, Immutable, IntoBytes)]
19 #[derive(Default, FromBytes, Immutable, IntoBytes)]
21 pub struct WriteOnly<T: Copy + Immutable + IntoBytes>(pub T);
23 impl<T: Copy + Immutable + IntoBytes> WriteOnly<T> {
31 #[derive(Default, FromBytes, Immutable, IntoBytes)]
33 pub struct ReadWrite<T: Copy + FromBytes + Immutable + IntoBytes>(pub T);
35 impl<T: Copy + FromBytes + Immutable + IntoBytes> ReadWrite<T> {
49 impl<T: Copy + FromBytes + Immutable + IntoBytes> ConfigReadable<T> for ReadWrite<T> {}
50 impl<T: Copy + FromBytes + Immutable + IntoBytes> ConfigWritable<T> for ReadWrite<T> {}
[all …]
/external/rust/android-crates-io/crates/virtio-drivers/src/
Dconfig.rs4 use zerocopy::{FromBytes, Immutable, IntoBytes};
7 #[derive(Default, FromBytes, Immutable, IntoBytes)]
19 #[derive(Default, FromBytes, Immutable, IntoBytes)]
21 pub struct WriteOnly<T: Copy + Immutable + IntoBytes>(pub T);
23 impl<T: Copy + Immutable + IntoBytes> WriteOnly<T> {
31 #[derive(Default, FromBytes, Immutable, IntoBytes)]
33 pub struct ReadWrite<T: Copy + FromBytes + Immutable + IntoBytes>(pub T);
35 impl<T: Copy + FromBytes + Immutable + IntoBytes> ReadWrite<T> {
49 impl<T: Copy + FromBytes + Immutable + IntoBytes> ConfigReadable<T> for ReadWrite<T> {}
50 impl<T: Copy + FromBytes + Immutable + IntoBytes> ConfigWritable<T> for ReadWrite<T> {}
[all …]
/external/crosvm/x86_64/src/
Dbootparam.rs20 use zerocopy::Immutable;
86 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
126 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
139 #[derive(Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
161 #[derive(Copy, Clone, FromBytes, Immutable, KnownLayout)]
172 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
179 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
188 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
193 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
198 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
[all …]
/external/crosvm/devices/src/virtio/iommu/
Dprotocol.rs34 use zerocopy::Immutable;
76 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
83 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
90 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
99 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
106 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
113 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
121 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
129 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
139 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
[all …]
/external/crosvm/rutabaga_gfx/src/ipc/
Dkumquat_gpu_protocol.rs10 use zerocopy::Immutable;
47 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
54 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
66 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
81 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
100 #[derive(Copy, Debug, FromBytes, IntoBytes, Immutable)]
123 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
132 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
159 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
170 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
[all …]
/external/crosvm/devices/src/virtio/
Ddevice_constants.rs15 use zerocopy::Immutable;
48 #[derive(Copy, Clone, Debug, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
56 #[derive(Copy, Clone, Debug, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
65 #[derive(Copy, Clone, Debug, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
86 #[derive(Copy, Clone, Debug, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
94 #[derive(Copy, Clone, Debug, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
126 #[derive(Copy, Clone, Debug, Default, FromBytes, Immutable, IntoBytes, KnownLayout)]
144 Immutable,
172 use zerocopy::Immutable;
241 #[derive(Debug, Default, Copy, Clone, FromBytes, Immutable, IntoBytes, KnownLayout)]
[all …]
/external/rust/android-crates-io/crates/safe-mmio/src/
Dfields.rs7 use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};
11 #[derive(Clone, Debug, Default, Eq, FromBytes, Immutable, IntoBytes, KnownLayout, PartialEq)]
16 #[derive(Clone, Debug, Default, Eq, FromBytes, Immutable, IntoBytes, KnownLayout, PartialEq)]
21 #[derive(Clone, Debug, Default, Eq, FromBytes, Immutable, IntoBytes, KnownLayout, PartialEq)]
27 #[derive(Clone, Debug, Default, Eq, FromBytes, Immutable, IntoBytes, KnownLayout, PartialEq)]
33 #[derive(Clone, Debug, Default, Eq, FromBytes, Immutable, IntoBytes, PartialEq)]
/external/crosvm/rutabaga_gfx/src/cross_domain/
Dcross_domain_protocol.rs11 use zerocopy::Immutable;
52 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
61 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
74 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
83 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
92 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
102 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
114 #[derive(Copy, Clone, Debug, Default, FromBytes, IntoBytes, Immutable)]
/external/grpc-grpc-java/rls/src/main/java/io/grpc/rls/
DRlsProtoData.java23 import javax.annotation.concurrent.Immutable;
32 @Immutable
45 @Immutable
69 @Immutable
146 @Immutable
162 @Immutable
197 @Immutable
212 @Immutable
/external/rust/android-crates-io/crates/zerocopy/tests/ui-stable/
Dtransmute-ref-src-not-nocell.stderr1 error[E0277]: the trait bound `Src: zerocopy::Immutable` is not satisfied
7 | the trait `zerocopy::Immutable` is not implemented for `Src`
10 = note: Consider adding `#[derive(Immutable)]` to `Src`
11 = help: the following other types implement trait `zerocopy::Immutable`:
28 error[E0277]: the trait bound `Src: zerocopy::Immutable` is not satisfied
32 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Immutable` i…
34 = note: Consider adding `#[derive(Immutable)]` to `Src`
35 = help: the following other types implement trait `zerocopy::Immutable`:
/external/rust/android-crates-io/crates/zerocopy/tests/ui-nightly/
Dtransmute-ref-src-not-nocell.stderr1 error[E0277]: the trait bound `Src: zerocopy::Immutable` is not satisfied
7 | the trait `zerocopy::Immutable` is not implemented for `Src`
10 = note: Consider adding `#[derive(Immutable)]` to `Src`
11 = help: the following other types implement trait `zerocopy::Immutable`:
28 error[E0277]: the trait bound `Src: zerocopy::Immutable` is not satisfied
32 …| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Immutable` i…
34 = note: Consider adding `#[derive(Immutable)]` to `Src`
35 = help: the following other types implement trait `zerocopy::Immutable`:

12345678910>>...72