Home
last modified time | relevance | path

Searched defs:NonNull (Results 1 – 25 of 577) sorted by relevance

12345678910>>...24

/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/ptr/
H A Dnon_null.rs73 pub struct NonNull<T: ?Sized> { struct
77 /// `NonNull` pointers are not `Send` because the data they reference may be aliased. argument
80 impl<T: ?Sized> !Send for NonNull<T> {} implementation
85 impl<T: ?Sized> !Sync for NonNull<T> {} implementation
87 impl<T: Sized> NonNull<T> { implementation
190 impl<T: ?Sized> NonNull<T> { implementation
265 data_pointer: NonNull<()>, in from_raw_parts()
282 pub const fn to_raw_parts(self) -> (NonNull<()>, <T as super::Pointee>::Metadata) { in to_raw_parts()
1458 impl<T> NonNull<[T]> { impl
1714 impl<T: ?Sized> Clone for NonNull<T> { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/ptr/
H A Dnon_null.rs73 pub struct NonNull<T: ?Sized> { struct
77 /// `NonNull` pointers are not `Send` because the data they reference may be aliased. argument
80 impl<T: ?Sized> !Send for NonNull<T> {} implementation
85 impl<T: ?Sized> !Sync for NonNull<T> {} implementation
87 impl<T: Sized> NonNull<T> { impl
190 impl<T: ?Sized> NonNull<T> { impl
265 data_pointer: NonNull<()>, in from_raw_parts()
282 pub const fn to_raw_parts(self) -> (NonNull<()>, <T as super::Pointee>::Metadata) { in to_raw_parts()
1458 impl<T> NonNull<[T]> { implementation
1714 impl<T: ?Sized> Clone for NonNull<T> { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/ptr/
H A Dnon_null.rs73 pub struct NonNull<T: ?Sized> { struct
77 /// `NonNull` pointers are not `Send` because the data they reference may be aliased. argument
80 impl<T: ?Sized> !Send for NonNull<T> {} implementation
85 impl<T: ?Sized> !Sync for NonNull<T> {} implementation
87 impl<T: Sized> NonNull<T> { implementation
190 impl<T: ?Sized> NonNull<T> { impl
265 data_pointer: NonNull<()>, in from_raw_parts()
282 pub const fn to_raw_parts(self) -> (NonNull<()>, <T as super::Pointee>::Metadata) { in to_raw_parts()
1458 impl<T> NonNull<[T]> { impl
1714 impl<T: ?Sized> Clone for NonNull<T> { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/ptr/
H A Dnon_null.rs73 pub struct NonNull<T: ?Sized> { struct
77 /// `NonNull` pointers are not `Send` because the data they reference may be aliased. argument
80 impl<T: ?Sized> !Send for NonNull<T> {} implementation
85 impl<T: ?Sized> !Sync for NonNull<T> {} implementation
87 impl<T: Sized> NonNull<T> { implementation
190 impl<T: ?Sized> NonNull<T> { implementation
265 data_pointer: NonNull<()>, in from_raw_parts()
282 pub const fn to_raw_parts(self) -> (NonNull<()>, <T as super::Pointee>::Metadata) { in to_raw_parts()
1504 impl<T> NonNull<[T]> { implementation
1758 impl<T: ?Sized> Clone for NonNull<T> { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/ptr/
H A Dnon_null.rs73 pub struct NonNull<T: ?Sized> { struct
77 /// `NonNull` pointers are not `Send` because the data they reference may be aliased. argument
80 impl<T: ?Sized> !Send for NonNull<T> {} implementation
85 impl<T: ?Sized> !Sync for NonNull<T> {} implementation
87 impl<T: Sized> NonNull<T> { implementation
190 impl<T: ?Sized> NonNull<T> { implementation
265 data_pointer: NonNull<()>, in from_raw_parts()
282 pub const fn to_raw_parts(self) -> (NonNull<()>, <T as super::Pointee>::Metadata) { in to_raw_parts()
1504 impl<T> NonNull<[T]> { impl
1758 impl<T: ?Sized> Clone for NonNull<T> { implementation
[all …]
/aosp_15_r20/frameworks/native/libs/ftl/
H A Dnon_null_test.cpp53 TEST(NonNull, Example) { in TEST() argument
111 TEST(NonNull, SwapRawPtr) { in TEST() argument
123 TEST(NonNull, SwapSmartPtr) { in TEST() argument
133 TEST(NonNull, VectorOfRawPtr) { in TEST() argument
142 TEST(NonNull, VectorOfSmartPtr) { in TEST() argument
150 TEST(NonNull, SetOfRawPtr) { in TEST() argument
159 TEST(NonNull, SetOfSmartPtr) { in TEST() argument
167 TEST(NonNull, UnorderedSetOfRawPtr) { in TEST() argument
176 TEST(NonNull, UnorderedSetOfSmartPtr) { in TEST() argument
184 TEST(NonNull, ImplicitConversion) { in TEST() argument
/aosp_15_r20/external/rust/android-crates-io/crates/ptr_meta/src/
Dlib.rs220 fn from_raw_parts(raw: ptr::NonNull<()>, meta: <T as Pointee>::Metadata) -> Self; in from_raw_parts()
222 fn to_raw_parts(self) -> (ptr::NonNull<()>, <T as Pointee>::Metadata); in to_raw_parts()
225 impl<T: Pointee + ?Sized> NonNullExt<T> for ptr::NonNull<T> { implementation
226 fn from_raw_parts(raw: ptr::NonNull<()>, meta: <T as Pointee>::Metadata) -> Self { in from_raw_parts()
230 fn to_raw_parts(self) -> (ptr::NonNull<()>, <T as Pointee>::Metadata) { in to_raw_parts()
/aosp_15_r20/external/rust/crates/ptr_meta/src/
Dlib.rs220 fn from_raw_parts(raw: ptr::NonNull<()>, meta: <T as Pointee>::Metadata) -> Self; in from_raw_parts()
222 fn to_raw_parts(self) -> (ptr::NonNull<()>, <T as Pointee>::Metadata); in to_raw_parts()
225 impl<T: Pointee + ?Sized> NonNullExt<T> for ptr::NonNull<T> { implementation
226 fn from_raw_parts(raw: ptr::NonNull<()>, meta: <T as Pointee>::Metadata) -> Self { in from_raw_parts()
230 fn to_raw_parts(self) -> (ptr::NonNull<()>, <T as Pointee>::Metadata) { in to_raw_parts()
/aosp_15_r20/external/rust/android-crates-io/crates/async-task/tests/
Dbasic.rs306 fn dispatch(trampoline: extern "C" fn(NonNull<()>), context: NonNull<()>) { in raw()
309 extern "C" fn trampoline(runnable: NonNull<()>) { in raw()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/src/symbols/
H A Drust_slice.rs6 unsafe extern "C" fn slice_new(this: &mut MaybeUninit<RustSlice>, ptr: NonNull<()>, len: usize) { in slice_new()
13 unsafe extern "C" fn slice_ptr(this: &RustSlice) -> NonNull<()> { in slice_ptr()
/aosp_15_r20/external/rust/cxx/src/symbols/
Drust_slice.rs6 unsafe extern "C" fn slice_new(this: &mut MaybeUninit<RustSlice>, ptr: NonNull<()>, len: usize) { in slice_new()
13 unsafe extern "C" fn slice_ptr(this: &RustSlice) -> NonNull<()> { in slice_ptr()
/aosp_15_r20/frameworks/native/include/ftl/
H A Dnon_null.h72 constexpr NonNull(const NonNull<U>& other) : pointer_(other.get()) {} in NonNull() function
100 constexpr NonNull(Passkey, P&& pointer) : pointer_(std::forward<P>(pointer)) { in NonNull() function
/aosp_15_r20/out/soong/.intermediates/tools/metalava/private-stub-annotations-jar/android_common/javac/
Dprivate-stub-annotations-jar.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/annotation/ android/ ...
/aosp_15_r20/out/soong/.intermediates/external/jspecify/jspecify/android_common_apex30/javac/
Djspecify.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jspecify/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/jspecify/jspecify/android_common/javac/
Djspecify.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jspecify/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/jspecify/jspecify/android_common_apex33/javac/
Djspecify.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jspecify/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/jspecify/jspecify/android_common_apex35/javac/
Djspecify.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jspecify/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/jspecify/jspecify/android_common_apex10000/javac/
Djspecify.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jspecify/ org/ ...
/aosp_15_r20/out/soong/.intermediates/external/jspecify/jspecify/android_common_apex34/javac/
Djspecify.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jspecify/ org/ ...
/aosp_15_r20/prebuilts/devtools/tools/lib/
HDannotations.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/aosp_15_r20/prebuilts/misc/common/devtools-annotations/
HDdevtools-annotations-prebuilt.jarMETA-INF/ com/ com/android/ com/android/annotations/ com/android ...
/aosp_15_r20/prebuilts/misc/common/ddmlib/
HDannotations-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF NOTICE com/ com/android/ com ...
/aosp_15_r20/prebuilts/cmdline-tools/tools/lib/annotations/
HDannotations.jarMETA-INF/ META-INF/MANIFEST.MF NOTICE com/ com/android/ com ...
/aosp_15_r20/prebuilts/manifest-merger/com/android/tools/annotations/31.9.0-alpha03/
HDannotations-31.9.0-alpha03.jarMETA-INF/ META-INF/MANIFEST.MF NOTICE com/ com/android/ com ...
/aosp_15_r20/out/soong/.intermediates/tools/metalava/stub-annotations/linux_glibc_common/local-javac-header/
Dstub-annotations.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/annotation/ android/ ...

12345678910>>...24