/dports/graphics/vulkan-loader/Vulkan-Loader-1.2.203/loader/ |
H A D | allocation.c | 64 void *pNewMem = NULL; local 66 pNewMem = loader_instance_heap_alloc(instance, size, alloc_scope); 74 …pNewMem = instance->alloc_callbacks.pfnReallocation(instance->alloc_callbacks.pUserData, pMemory, … 78 pNewMem = realloc(pMemory, size); 80 return pNewMem; 115 void *pNewMem = NULL; local 117 pNewMem = loader_device_heap_alloc(device, size, alloc_scope); 125 …pNewMem = device->alloc_callbacks.pfnReallocation(device->alloc_callbacks.pUserData, pMemory, size… 129 pNewMem = realloc(pMemory, size); 131 return pNewMem;
|
/dports/net/freerdp/freerdp-2.5.0/winpr/libwinpr/crt/ |
H A D | alignment.c | 131 WINPR_ALIGNED_MEM* pNewMem; in _aligned_offset_realloc() local 156 pNewMem = WINPR_ALIGNED_MEM_STRUCT_FROM_PTR(newMemblock); in _aligned_offset_realloc() 157 copySize = (pNewMem->size < pMem->size) ? pNewMem->size : pMem->size; in _aligned_offset_realloc() 168 WINPR_ALIGNED_MEM* pNewMem; in _aligned_offset_recalloc() local 176 pNewMem = WINPR_ALIGNED_MEM_STRUCT_FROM_PTR(newMemblock); in _aligned_offset_recalloc() 177 ZeroMemory(newMemblock, pNewMem->size); in _aligned_offset_recalloc() 203 pNewMem = WINPR_ALIGNED_MEM_STRUCT_FROM_PTR(newMemblock); in _aligned_offset_recalloc() 204 ZeroMemory(newMemblock, pNewMem->size); in _aligned_offset_recalloc()
|
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/OpenClaw/Engine/Util/Memory/ |
H A D | MemoryPool.cpp | 198 unsigned char* pNewMem = (unsigned char*)malloc(trueSize); in AllocateNewMemoryBlock() local 199 if (!pNewMem) in AllocateNewMemoryBlock() 203 unsigned char* pEnd = pNewMem + trueSize; in AllocateNewMemoryBlock() 204 unsigned char* pCurr = pNewMem; in AllocateNewMemoryBlock() 218 return pNewMem; in AllocateNewMemoryBlock()
|
/dports/devel/asl/asl-current/ |
H A D | asmdef.c | 285 void *pNewMem; in SetMaxCodeLen() local 288 pNewMem = (LongWord *) malloc(NewMaxCodeLen); in SetMaxCodeLen() 290 pNewMem = (LongWord *) realloc(DAsmCode, NewMaxCodeLen); in SetMaxCodeLen() 291 if (!pNewMem) in SetMaxCodeLen() 294 DAsmCode = (LongWord *)pNewMem; in SetMaxCodeLen()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/Internal/Runtime/CompilerServices/ |
H A D | FunctionPointerOps.cs | 97 IntPtr pNewMem = Interop.MemAlloc(allocationSize); in GetGenericMethodFunctionPointer() 98 s_genericFunctionPointerCollection.Add(pNewMem); in GetGenericMethodFunctionPointer()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/runtime/interopservices/ |
H A D | marshal.cs | 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() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.Interop/src/System/Runtime/InteropServices/ |
H A D | Marshal.cs | 939 IntPtr pNewMem = PInvokeMarshal.CoTaskMemReAlloc(pv, new IntPtr(cb)); in ReAllocCoTaskMem() 940 if (pNewMem == IntPtr.Zero && cb != 0) in ReAllocCoTaskMem() 945 return pNewMem; in ReAllocCoTaskMem()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/third_party/vulkan-loader/src/loader/ |
H A D | loader.c | 155 void *pNewMem = NULL; local 157 pNewMem = loader_instance_heap_alloc(instance, size, alloc_scope); 165 …pNewMem = instance->alloc_callbacks.pfnReallocation(instance->alloc_callbacks.pUserData, pMemory, … 169 pNewMem = realloc(pMemory, size); 171 return pNewMem; 212 void *pNewMem = NULL; local 214 pNewMem = loader_device_heap_alloc(device, size, alloc_scope); 222 …pNewMem = device->alloc_callbacks.pfnReallocation(device->alloc_callbacks.pUserData, pMemory, size… 226 pNewMem = realloc(pMemory, size); 228 return pNewMem;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/vulkan-loader/src/loader/ |
H A D | loader.c | 179 void *pNewMem = NULL; local 181 pNewMem = loader_instance_heap_alloc(instance, size, alloc_scope); 189 …pNewMem = instance->alloc_callbacks.pfnReallocation(instance->alloc_callbacks.pUserData, pMemory, … 193 pNewMem = realloc(pMemory, size); 195 return pNewMem; 236 void *pNewMem = NULL; local 238 pNewMem = loader_device_heap_alloc(device, size, alloc_scope); 246 …pNewMem = device->alloc_callbacks.pfnReallocation(device->alloc_callbacks.pUserData, pMemory, size… 250 pNewMem = realloc(pMemory, size); 252 return pNewMem;
|