10 references to AlignedAlloc
libmscordaccore_universal (5)
Entrypoints.cs (5)
87byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)context.Length, ContextAlignment); 126byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)buffer.Length, ContextAlignment); 451byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)context.Length, ContextAlignment); 524byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)bufferToFill.Length, ContextAlignment); 557byte* alignedBuffer = (byte*)NativeMemory.AlignedAlloc((nuint)context.Length, ContextAlignment);
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Dbi\DacDbiImpl.cs (1)
1833byte* pLocal = (byte*)NativeMemory.AlignedAlloc(contextSize, 16);
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
920IntPtr 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)
278void* result = NativeMemory.AlignedAlloc((uint)size, (uint)alignment);