Home
last modified time | relevance | path

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

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs1492 private IntPtr Reallocate(IntPtr oldPointer, IntPtr newSize) in Reallocate() argument
1494 return memoryManager.Reallocate(oldPointer, newSize); in Reallocate()
1545 public IntPtr Reallocate(IntPtr oldPointer, IntPtr newSize) in Reallocate() argument
1549 return Allocate(newSize); in Reallocate()
1551 if(newSize == IntPtr.Zero) in Reallocate()
1560 var ptr = Marshal.ReAllocHGlobal(oldPointer, newSize); in Reallocate()
1561 … 0x{3:X}.", Misc.NormalizeBinary(oldSize), oldPointer, Misc.NormalizeBinary((double)newSize), ptr); in Reallocate()
1562 Interlocked.Add(ref allocated, (long)newSize - oldSize); in Reallocate()
1563 ourPointers.TryAdd(ptr, (long)newSize); in Reallocate()