11 references to AlignedAlloc
libmscordaccore_universal (4)
Entrypoints.cs (4)
90byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)context.Length, ContextAlignment); 129byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)buffer.Length, ContextAlignment); 420byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)bufferToFill.Length, ContextAlignment); 453byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)context.Length, ContextAlignment);
Microsoft.Diagnostics.DataContractReader.Legacy (3)
Dbi\DacDbiImpl.cs (1)
1845byte* pLocal = (byte*)NativeMemory.AlignedAlloc(expectedContextSize, 16);
Entrypoints\EntrypointHelpers.cs (1)
151byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)context.Length, ContextAlignment);
ICLRData.cs (1)
78byte* alignedContext = (byte*)NativeMemory.AlignedAlloc((nuint)buffer.Length, ContextAlignment);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
944IntPtr wrapperMem = (IntPtr)NativeMemory.AlignedAlloc(
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NativeMemory.Unix.cs (1)
80/// <para>This method acts as <see cref="AlignedAlloc" /> if <paramref name="ptr" /> is <c>null</c>.</para>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelThreadBlocker.cs (1)
40_pState = (int*)NativeMemory.AlignedAlloc(Internal.PaddingHelpers.CACHE_LINE_SIZE, Internal.PaddingHelpers.CACHE_LINE_SIZE);
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
273void* result = NativeMemory.AlignedAlloc((uint)size, (uint)alignment);