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