Home
last modified time | relevance | path

Searched refs:AllocatedStackMemory (Results 1 – 25 of 72) sorted by relevance

123

/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/alloc-no-stdlib-2.0.3/src/
H A Dallocated_stack_memory.rs6 pub struct AllocatedStackMemory<'a, T:'a> { struct
10 define_index_ops_mut!(a, T, AllocatedStackMemory<'a, T>); argument
12 impl<'a, T: 'a> core::default::Default for AllocatedStackMemory<'a, T> { implementation
14 return AllocatedStackMemory::<'a, T>{mem : &mut[]}; in default()
19 impl<'a, T: 'a> SliceWrapper<T> for AllocatedStackMemory<'a, T> { implementation
25 impl<'a, T: 'a> SliceWrapperMut<T> for AllocatedStackMemory<'a, T> { implementation
H A Dstack_allocator.rs3 use super::allocated_stack_memory::AllocatedStackMemory;
25 fn clear_if_necessary(self : &Self, index : usize, data : AllocatedStackMemory<'a, T>) in clear_if_necessary()
26 -> AllocatedStackMemory<'a, T> { in clear_if_necessary()
36 type AllocatedMemory = AllocatedStackMemory<'a, T>;
38 len : usize) -> AllocatedStackMemory<'a, T> { in alloc_cell()
40 return AllocatedStackMemory::<'a, T>::default(); in alloc_cell()
71 AllocatedStackMemory::<'a, T>{mem:available_slice}); in alloc_cell()
75 return self.clear_if_necessary(index, AllocatedStackMemory::<'a, T>{mem:retval}); in alloc_cell()
79 val : AllocatedStackMemory<'a, T>) { in free_cell()
H A Dtests.rs7 StackAllocator, AllocatedStackMemory, CallocBackingStore};
52 ags.free_cell(AllocatedStackMemory::<u8>{mem:&mut global_buffer}); in integration_test()
H A Dinit.rs120 retval.free_cell(AllocatedStackMemory::<T>{mem:global_buffer});
137 … retval.free_cell(AllocatedStackMemory::<T>{mem:core::mem::replace(&mut global_buffer, &mut[])});
185 $allocator.free_cell(AllocatedStackMemory::<$T>{mem:&mut $buffer::HEAP});
H A Dlib.rs13 pub use allocated_stack_memory::AllocatedStackMemory;
/dports/security/suricata/suricata-6.0.4/rust/vendor/alloc-no-stdlib/src/
H A Dallocated_stack_memory.rs6 pub struct AllocatedStackMemory<'a, T:'a> { struct
10 define_index_ops_mut!(a, T, AllocatedStackMemory<'a, T>); argument
12 impl<'a, T: 'a> core::default::Default for AllocatedStackMemory<'a, T> { implementation
14 return AllocatedStackMemory::<'a, T>{mem : &mut[]}; in default()
19 impl<'a, T: 'a> SliceWrapper<T> for AllocatedStackMemory<'a, T> { implementation
25 impl<'a, T: 'a> SliceWrapperMut<T> for AllocatedStackMemory<'a, T> { implementation
H A Dstack_allocator.rs3 use super::allocated_stack_memory::AllocatedStackMemory;
25 fn clear_if_necessary(self : &Self, index : usize, data : AllocatedStackMemory<'a, T>) in clear_if_necessary()
26 -> AllocatedStackMemory<'a, T> { in clear_if_necessary()
36 type AllocatedMemory = AllocatedStackMemory<'a, T>;
38 len : usize) -> AllocatedStackMemory<'a, T> { in alloc_cell()
40 return AllocatedStackMemory::<'a, T>::default(); in alloc_cell()
71 AllocatedStackMemory::<'a, T>{mem:available_slice}); in alloc_cell()
75 return self.clear_if_necessary(index, AllocatedStackMemory::<'a, T>{mem:retval}); in alloc_cell()
79 val : AllocatedStackMemory<'a, T>) { in free_cell()
H A Dtests.rs7 StackAllocator, AllocatedStackMemory, CallocBackingStore};
52 ags.free_cell(AllocatedStackMemory::<u8>{mem:&mut global_buffer}); in integration_test()
H A Dinit.rs120 retval.free_cell(AllocatedStackMemory::<T>{mem:global_buffer});
137 … retval.free_cell(AllocatedStackMemory::<T>{mem:core::mem::replace(&mut global_buffer, &mut[])});
185 $allocator.free_cell(AllocatedStackMemory::<$T>{mem:&mut $buffer::HEAP});
H A Dlib.rs13 pub use allocated_stack_memory::AllocatedStackMemory;
/dports/www/xh/xh-0.14.1/cargo-crates/alloc-no-stdlib-2.0.3/src/
H A Dallocated_stack_memory.rs6 pub struct AllocatedStackMemory<'a, T:'a> { struct
10 define_index_ops_mut!(a, T, AllocatedStackMemory<'a, T>); argument
12 impl<'a, T: 'a> core::default::Default for AllocatedStackMemory<'a, T> { implementation
14 return AllocatedStackMemory::<'a, T>{mem : &mut[]}; in default()
19 impl<'a, T: 'a> SliceWrapper<T> for AllocatedStackMemory<'a, T> { implementation
25 impl<'a, T: 'a> SliceWrapperMut<T> for AllocatedStackMemory<'a, T> { implementation
H A Dstack_allocator.rs3 use super::allocated_stack_memory::AllocatedStackMemory;
25 fn clear_if_necessary(self : &Self, index : usize, data : AllocatedStackMemory<'a, T>) in clear_if_necessary()
26 -> AllocatedStackMemory<'a, T> { in clear_if_necessary()
36 type AllocatedMemory = AllocatedStackMemory<'a, T>;
38 len : usize) -> AllocatedStackMemory<'a, T> { in alloc_cell()
40 return AllocatedStackMemory::<'a, T>::default(); in alloc_cell()
71 AllocatedStackMemory::<'a, T>{mem:available_slice}); in alloc_cell()
75 return self.clear_if_necessary(index, AllocatedStackMemory::<'a, T>{mem:retval}); in alloc_cell()
79 val : AllocatedStackMemory<'a, T>) { in free_cell()
H A Dtests.rs7 StackAllocator, AllocatedStackMemory, CallocBackingStore};
52 ags.free_cell(AllocatedStackMemory::<u8>{mem:&mut global_buffer}); in integration_test()
H A Dinit.rs120 retval.free_cell(AllocatedStackMemory::<T>{mem:global_buffer});
137 … retval.free_cell(AllocatedStackMemory::<T>{mem:core::mem::replace(&mut global_buffer, &mut[])});
185 $allocator.free_cell(AllocatedStackMemory::<$T>{mem:&mut $buffer::HEAP});
H A Dlib.rs13 pub use allocated_stack_memory::AllocatedStackMemory;
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/alloc-stdlib-0.2.1/src/
H A Dlib.rs8 pub use alloc_no_stdlib::{StackAllocator, AllocatedStackMemory};
/dports/security/suricata/suricata-6.0.4/rust/vendor/alloc-stdlib/src/
H A Dlib.rs8 pub use alloc_no_stdlib::{StackAllocator, AllocatedStackMemory};
/dports/www/xh/xh-0.14.1/cargo-crates/alloc-stdlib-0.2.1/src/
H A Dlib.rs8 pub use alloc_no_stdlib::{StackAllocator, AllocatedStackMemory};
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/brotli-3.3.2/src/
H A Dlib.rs21 pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator};
/dports/security/suricata/suricata-6.0.4/rust/vendor/brotli/src/
H A Dlib.rs21 pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator};
/dports/www/xh/xh-0.14.1/cargo-crates/brotli-3.3.2/src/
H A Dlib.rs21 pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator};
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/alloc-no-stdlib-2.0.3/src/bin/
H A Dexample.rs21 use alloc_no_stdlib::AllocatedStackMemory;
/dports/security/suricata/suricata-6.0.4/rust/vendor/alloc-no-stdlib/src/bin/
H A Dexample.rs21 use alloc_no_stdlib::AllocatedStackMemory;
/dports/www/xh/xh-0.14.1/cargo-crates/alloc-no-stdlib-2.0.3/src/bin/
H A Dexample.rs21 use alloc_no_stdlib::AllocatedStackMemory;
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/alloc-stdlib-0.2.1/src/bin/
H A Dexample.rs23 use alloc_no_stdlib::AllocatedStackMemory;

123