Lines Matching refs:pNewMem
1192 IntPtr pNewMem = Win32Native.LocalAlloc_NoSafeHandle(LMEM_FIXED, unchecked(numBytes)); in AllocHGlobal()
1194 if (pNewMem == IntPtr.Zero) { in AllocHGlobal()
1197 return pNewMem; in AllocHGlobal()
1222 IntPtr pNewMem = Win32Native.LocalReAlloc(pv, cb, LMEM_MOVEABLE); in ReAllocHGlobal()
1223 if (pNewMem == IntPtr.Zero) { in ReAllocHGlobal()
1226 return pNewMem; in ReAllocHGlobal()
1856 IntPtr pNewMem = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)cb)); in AllocCoTaskMem()
1857 if (pNewMem == IntPtr.Zero) in AllocCoTaskMem()
1861 return pNewMem; in AllocCoTaskMem()
1943 IntPtr pNewMem = Win32Native.CoTaskMemRealloc(pv, new UIntPtr((uint)cb)); in ReAllocCoTaskMem()
1944 if (pNewMem == IntPtr.Zero && cb != 0) in ReAllocCoTaskMem()
1948 return pNewMem; in ReAllocCoTaskMem()