Home
last modified time | relevance | path

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

/dports/graphics/vulkan-loader/Vulkan-Loader-1.2.203/loader/
H A Dallocation.c64 void *pNewMem = NULL; local
66 pNewMem = loader_instance_heap_alloc(instance, size, alloc_scope);
74pNewMem = 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);
125pNewMem = 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 Dalignment.c131 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 DMemoryPool.cpp198 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 Dasmdef.c285 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 DFunctionPointerOps.cs97 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 Dmarshal.cs1194 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 DMarshal.cs939 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 Dloader.c155 void *pNewMem = NULL; local
157 pNewMem = loader_instance_heap_alloc(instance, size, alloc_scope);
165pNewMem = 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);
222pNewMem = 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 Dloader.c179 void *pNewMem = NULL; local
181 pNewMem = loader_instance_heap_alloc(instance, size, alloc_scope);
189pNewMem = 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);
246pNewMem = device->alloc_callbacks.pfnReallocation(device->alloc_callbacks.pUserData, pMemory, size…
250 pNewMem = realloc(pMemory, size);
252 return pNewMem;