Home
last modified time | relevance | path

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

/Linux-v6.1/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> {
73 impl<'a, T, A: Allocator> AsRef<[T]> for Drain<'a, T, A> {
80 unsafe impl<T: Sync, A: Sync + Allocator> Sync for Drain<'_, T, A> {}
82 unsafe impl<T: Send, A: Send + Allocator> Send for Drain<'_, T, A> {}
85 impl<T, A: Allocator> Iterator for Drain<'_, T, A> {
99 impl<T, A: Allocator> DoubleEndedIterator for Drain<'_, T, A> {
107 impl<T, A: Allocator> Drop for Drain<'_, T, A> {
[all …]
Dinto_iter.rs5 use crate::alloc::{Allocator, Global};
34 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
47 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> {
53 impl<T, A: Allocator> IntoIter<T, A> {
136 impl<T, A: Allocator> AsRef<[T]> for IntoIter<T, A> {
143 unsafe impl<T: Send, A: Allocator + Send> Send for IntoIter<T, A> {}
145 unsafe impl<T: Sync, A: Allocator + Sync> Sync for IntoIter<T, A> {}
148 impl<T, A: Allocator> Iterator for IntoIter<T, A> {
228 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> {
271 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> {
[all …]
Dmod.rs74 use crate::alloc::{Allocator, Global};
402 pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
550 impl<T, A: Allocator> Vec<T, A> {
1504 struct BackshiftOnDrop<'a, T, A: Allocator> { in retain_mut()
1511 impl<T, A: Allocator> Drop for BackshiftOnDrop<'_, T, A> { in retain_mut()
1532 fn process_loop<F, T, A: Allocator, const DELETED: bool>( in retain_mut() argument
1630 struct FillGapOnDrop<'a, T, A: core::alloc::Allocator> { in dedup_by()
1642 impl<'a, T, A: core::alloc::Allocator> Drop for FillGapOnDrop<'a, T, A> { in dedup_by()
2216 impl<T: Clone, A: Allocator> Vec<T, A> {
2315 impl<T, A: Allocator, const N: usize> Vec<[T; N], A> {
[all …]
Ddrain_filter.rs3 use crate::alloc::{Allocator, Global};
28 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
49 impl<T, F, A: Allocator> DrainFilter<'_, T, F, A>
62 impl<T, F, A: Allocator> Iterator for DrainFilter<'_, T, F, A>
100 impl<T, F, A: Allocator> Drop for DrainFilter<'_, T, F, A>
105 struct BackshiftOnDrop<'a, 'b, T, F, A: Allocator> in drop()
112 impl<'a, 'b, T, F, A: Allocator> Drop for BackshiftOnDrop<'a, 'b, T, F, A> in drop()
/Linux-v6.1/rust/alloc/
Dboxed.rs159 use crate::alloc::{AllocError, Allocator, Global, Layout};
186 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
342 impl<T, A: Allocator> Box<T, A> {
363 A: ~const Allocator + ~const Destruct, in new_in()
393 A: ~const Allocator + ~const Destruct, in try_new_in()
429 A: ~const Allocator + ~const Destruct, in new_uninit_in()
467 A: ~const Allocator + ~const Destruct, in try_new_uninit_in()
501 A: ~const Allocator + ~const Destruct, in new_zeroed_in()
539 A: ~const Allocator + ~const Destruct, in try_new_zeroed_in()
555 A: 'static + ~const Allocator + ~const Destruct, in pin_in()
[all …]
Draw_vec.rs15 use crate::alloc::{Allocator, Global, Layout};
54 pub(crate) struct RawVec<T, A: Allocator = Global> {
107 impl<T, A: Allocator> RawVec<T, A> {
282 fn do_reserve_and_handle<T, A: Allocator>( in reserve()
365 impl<T, A: Allocator> RawVec<T, A> {
462 A: Allocator, in finish_grow()
483 unsafe impl<#[may_dangle] T, A: Allocator> Drop for RawVec<T, A> {
Dslice.rs97 use crate::alloc::Allocator;
159 use core::alloc::Allocator;
167 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec()
177 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec()
183 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> in to_vec()
191 default fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec()
192 struct DropGuard<'a, T, A: Allocator> { in to_vec()
196 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec()
228 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec()
503 pub fn to_vec_in<A: Allocator>(&self, alloc: A) -> Vec<T, A> in to_vec_in()
[all …]
Dalloc.rs230 unsafe impl Allocator for Global {
336 pub(crate) const unsafe fn box_free<T: ?Sized, A: ~const Allocator + ~const Destruct>( in box_free()
/Linux-v6.1/kernel/dma/
DKconfig119 bool "DMA Contiguous Memory Allocator"
122 This enables the Contiguous Memory Allocator which allows drivers
153 Memory Allocator. If the size of 0 is selected, CMA is disabled by
164 Allocator as a percentage of the total memory in the system.
/Linux-v6.1/drivers/dma-buf/heaps/
DKconfig13 by the Contiguous Memory Allocator (CMA). If your system has these
/Linux-v6.1/Documentation/trace/
Devents-kmem.rst11 - Per-CPU Allocator Activity
74 4. Per-CPU Allocator Activity
/Linux-v6.1/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.1/Documentation/gpu/
Ddrm-mm.rst445 DRM MM Range Allocator
460 DRM MM Range Allocator Function References
469 DRM Buddy Allocator
/Linux-v6.1/Documentation/networking/device_drivers/fddi/
Dskfp.rst249 - SBA (Synchronous Bandwidth Allocator) parameters can
/Linux-v6.1/mm/
DKconfig212 bool "SLUB (Unqueued Allocator)"
224 bool "SLOB (Simple Allocator)"
823 bool "Contiguous Memory Allocator"
828 This enables the Contiguous Memory Allocator which allows other
/Linux-v6.1/include/linux/
Dmmzone.h1593 #error Allocator MAX_ORDER exceeds SECTION_SIZE
/Linux-v6.1/Documentation/driver-api/media/
Dmc-core.rst281 Media Controller Device Allocator API
/Linux-v6.1/Documentation/arm/omap/
Ddss.rst297 can enable Contiguous Memory Allocator (CONFIG_CMA) to improve the dma
/Linux-v6.1/Documentation/powerpc/
Dfirmware-assisted-dump.rst147 Contiguous Memory Allocator (CMA) for memory reservation if CMA is
/Linux-v6.1/Documentation/filesystems/
Dproc.rst1161 Memory reserved for the Contiguous Memory Allocator (CMA)