Home
last modified time | relevance | path

Searched refs:Allocator (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/rust/alloc/vec/
Dpartial_eq.rs3 use crate::alloc::Allocator;
25 __impl_slice_eq1! { [A1: Allocator, A2: Allocator] Vec<T, A1>, Vec<U, A2>, #[stable(feature = "rust…
26 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &[U], #[stable(feature = "rust1", since = "1.0.0")] }
27 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &mut [U], #[stable(feature = "rust1", since = "1.0.0"…
28 __impl_slice_eq1! { [A: Allocator] &[T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice…
29 __impl_slice_eq1! { [A: Allocator] &mut [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_s…
30 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, [U], #[stable(feature = "partialeq_vec_for_slice", si…
31 __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", si…
33 __impl_slice_eq1! { [A: Allocator] Cow<'_, [T]>, Vec<U, A> where T: Clone, #[stable(feature = "rust…
38 __impl_slice_eq1! { [A: Allocator, const N: usize] Vec<T, A>, [U; N], #[stable(feature = "rust1", s…
[all …]
Ddrain.rs3 use crate::alloc::{Allocator, Global};
27 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator + 'a = Global,
39 impl<T: fmt::Debug, A: Allocator> fmt::Debug for Drain<'_, T, A> {
45 impl<'a, T, A: Allocator> Drain<'a, T, A> {
142 impl<'a, T, A: Allocator> AsRef<[T]> for Drain<'a, T, A> {
149 unsafe impl<T: Sync, A: Sync + Allocator> Sync for Drain<'_, T, A> {}
151 unsafe impl<T: Send, A: Send + Allocator> Send for Drain<'_, T, A> {}
154 impl<T, A: Allocator> Iterator for Drain<'_, T, A> {
168 impl<T, A: Allocator> DoubleEndedIterator for Drain<'_, T, A> {
176 impl<T, A: Allocator> Drop for Drain<'_, T, A> {
[all …]
Dinto_iter.rs5 use crate::alloc::{Allocator, Global};
37 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
52 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> {
58 impl<T, A: Allocator> IntoIter<T, A> {
174 impl<T, A: Allocator> AsRef<[T]> for IntoIter<T, A> {
181 unsafe impl<T: Send, A: Allocator + Send> Send for IntoIter<T, A> {}
183 unsafe impl<T: Sync, A: Allocator + Sync> Sync for IntoIter<T, A> {}
186 impl<T, A: Allocator> Iterator for IntoIter<T, A> {
297 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> {
335 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> {
[all …]
Dspec_extend.rs3 use crate::alloc::Allocator;
22 impl<T, I, A: Allocator> SpecExtend<T, I> for Vec<T, A>
31 impl<T, I, A: Allocator> TrySpecExtend<T, I> for Vec<T, A>
41 impl<T, I, A: Allocator> SpecExtend<T, I> for Vec<T, A>
50 impl<T, I, A: Allocator> TrySpecExtend<T, I> for Vec<T, A>
60 impl<T, A: Allocator> SpecExtend<T, IntoIter<T>> for Vec<T, A> {
69 impl<T, A: Allocator> TrySpecExtend<T, IntoIter<T>> for Vec<T, A> {
80 impl<'a, T: 'a, I, A: Allocator + 'a> SpecExtend<&'a T, I> for Vec<T, A>
90 impl<'a, T: 'a, I, A: Allocator + 'a> TrySpecExtend<&'a T, I> for Vec<T, A>
101 impl<'a, T: 'a, A: Allocator + 'a> SpecExtend<&'a T, slice::Iter<'a, T>> for Vec<T, A>
[all …]
Dmod.rs70 use crate::alloc::{Allocator, Global};
399 pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
650 impl<T, A: Allocator> Vec<T, A> {
1715 struct BackshiftOnDrop<'a, T, A: Allocator> { in retain_mut()
1722 impl<T, A: Allocator> Drop for BackshiftOnDrop<'_, T, A> { in retain_mut()
1743 fn process_loop<F, T, A: Allocator, const DELETED: bool>( in retain_mut() argument
1841 struct FillGapOnDrop<'a, T, A: core::alloc::Allocator> { in dedup_by()
1853 impl<'a, T, A: core::alloc::Allocator> Drop for FillGapOnDrop<'a, T, A> { in dedup_by()
2480 impl<T: Clone, A: Allocator> Vec<T, A> {
2642 impl<T, A: Allocator, const N: usize> Vec<[T; N], A> {
[all …]
Ddrain_filter.rs3 use crate::alloc::{Allocator, Global};
29 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
50 impl<T, F, A: Allocator> DrainFilter<'_, T, F, A>
116 impl<T, F, A: Allocator> Iterator for DrainFilter<'_, T, F, A>
154 impl<T, F, A: Allocator> Drop for DrainFilter<'_, T, F, A>
159 struct BackshiftOnDrop<'a, 'b, T, F, A: Allocator> in drop()
166 impl<'a, 'b, T, F, A: Allocator> Drop for BackshiftOnDrop<'a, 'b, T, F, A> in drop()
/Linux-v6.6/rust/alloc/
Dboxed.rs172 use crate::alloc::{AllocError, Allocator, Global, Layout};
201 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
364 impl<T, A: Allocator> Box<T, A> {
384 A: Allocator, in new_in() argument
412 A: Allocator, in try_new_in() argument
447 A: Allocator, in new_uninit_in() argument
484 A: Allocator, in try_new_uninit_in() argument
517 A: Allocator, in new_zeroed_in() argument
554 A: Allocator, in try_new_zeroed_in() argument
574 A: 'static + Allocator, in pin_in() argument
[all …]
Dslice.rs27 use crate::alloc::Allocator;
94 use core::alloc::Allocator;
102 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec()
112 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec()
118 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> in to_vec()
126 default fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec()
127 struct DropGuard<'a, T, A: Allocator> { in to_vec()
131 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec()
163 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec()
438 pub fn to_vec_in<A: Allocator>(&self, alloc: A) -> Vec<T, A> in to_vec_in()
[all …]
Draw_vec.rs14 use crate::alloc::{Allocator, Global, Layout};
53 pub(crate) struct RawVec<T, A: Allocator = Global> {
106 impl<T, A: Allocator> RawVec<T, A> {
317 fn do_reserve_and_handle<T, A: Allocator>( in reserve()
400 impl<T, A: Allocator> RawVec<T, A> {
499 A: Allocator, in finish_grow()
520 unsafe impl<#[may_dangle] T, A: Allocator> Drop for RawVec<T, A> {
Dalloc.rs244 unsafe impl Allocator for Global {
349 pub(crate) unsafe fn box_free<T: ?Sized, A: Allocator>(ptr: Unique<T>, alloc: A) { in box_free()
/Linux-v6.6/kernel/dma/
DKconfig146 bool "DMA Contiguous Memory Allocator"
149 This enables the Contiguous Memory Allocator which allows drivers
181 Memory Allocator. If the size of 0 is selected, CMA is disabled by
192 Allocator as a percentage of the total memory in the system.
/Linux-v6.6/drivers/dma-buf/heaps/
DKconfig13 by the Contiguous Memory Allocator (CMA). If your system has these
/Linux-v6.6/Documentation/trace/
Devents-kmem.rst11 - Per-CPU Allocator Activity
74 4. Per-CPU Allocator Activity
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
Ddpio-driver.rst70 | Allocator |. . . . . . . | Ethernet |
Doverview.rst294 | Allocator |. . . . . . . | Ethernet |
353 Allocator section in DPAA2 Linux Drivers Overview
/Linux-v6.6/Documentation/gpu/
Ddrm-mm.rst445 DRM MM Range Allocator
460 DRM MM Range Allocator Function References
505 DRM Buddy Allocator
/Linux-v6.6/Documentation/networking/device_drivers/fddi/
Dskfp.rst249 - SBA (Synchronous Bandwidth Allocator) parameters can
/Linux-v6.6/include/linux/
Dmmzone.h1741 #error Allocator MAX_ORDER exceeds SECTION_SIZE
/Linux-v6.6/mm/
DKconfig252 bool "SLUB (Unqueued Allocator)"
896 bool "Contiguous Memory Allocator"
901 This enables the Contiguous Memory Allocator which allows other
/Linux-v6.6/Documentation/driver-api/media/
Dmc-core.rst279 Media Controller Device Allocator API
/Linux-v6.6/Documentation/arch/arm/omap/
Ddss.rst297 can enable Contiguous Memory Allocator (CONFIG_CMA) to improve the dma
/Linux-v6.6/Documentation/powerpc/
Dfirmware-assisted-dump.rst147 Contiguous Memory Allocator (CMA) for memory reservation if CMA is
/Linux-v6.6/Documentation/filesystems/
Dproc.rst1180 Memory reserved for the Contiguous Memory Allocator (CMA)