Home
last modified time | relevance | path

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

/external/rust/crates/async-task/src/
Draw.rs100 let task_layout = abort_on_panic(|| Self::task_layout()); in allocate() localVariable
104 let ptr = match NonNull::new(alloc::alloc::alloc(task_layout.layout) as *mut ()) { in allocate()
139 let task_layout = Self::task_layout(); in from_ptr() localVariable
145 schedule: p.add(task_layout.offset_s) as *const S, in from_ptr()
146 future: p.add(task_layout.offset_f) as *mut F, in from_ptr()
147 output: p.add(task_layout.offset_r) as *mut T, in from_ptr()
154 fn task_layout() -> TaskLayout { in task_layout() function
419 let task_layout = Self::task_layout(); in destroy() localVariable
428 alloc::alloc::dealloc(ptr as *mut u8, task_layout.layout); in destroy()