Lines Matching defs:ReallocFunc
65 struct ReallocFunc(
75 impl ReallocFunc {
149 // SAFETY: `realloc` delegates to `ReallocFunc::call`, which guarantees that
152 // - `realloc` satisfies the guarantees, since `ReallocFunc::call` has the same.
166 // SAFETY: `ReallocFunc::call` has the same safety requirements as `Allocator::realloc`.
167 unsafe { ReallocFunc::KREALLOC.call(ptr, layout, old_layout, flags, nid) }
222 // SAFETY: `realloc` delegates to `ReallocFunc::call`, which guarantees that
225 // - `realloc` satisfies the guarantees, since `ReallocFunc::call` has the same.
239 unsafe { ReallocFunc::VREALLOC.call(ptr, layout, old_layout, flags, nid) }
243 // SAFETY: `realloc` delegates to `ReallocFunc::call`, which guarantees that
246 // - `realloc` satisfies the guarantees, since `ReallocFunc::call` has the same.
264 unsafe { ReallocFunc::KVREALLOC.call(ptr, layout, old_layout, flags, nid) }