11 references to AlignedAlloc
libmscordaccore_universal (4)
Entrypoints.cs (4)
90
byte* alignedBuffer = (byte*)NativeMemory.
AlignedAlloc
((nuint)context.Length, ContextAlignment);
129
byte* alignedBuffer = (byte*)NativeMemory.
AlignedAlloc
((nuint)buffer.Length, ContextAlignment);
420
byte* alignedBuffer = (byte*)NativeMemory.
AlignedAlloc
((nuint)bufferToFill.Length, ContextAlignment);
453
byte* alignedBuffer = (byte*)NativeMemory.
AlignedAlloc
((nuint)context.Length, ContextAlignment);
Microsoft.Diagnostics.DataContractReader.Legacy (3)
Dbi\DacDbiImpl.cs (1)
1845
byte* pLocal = (byte*)NativeMemory.
AlignedAlloc
(expectedContextSize, 16);
Entrypoints\EntrypointHelpers.cs (1)
151
byte* alignedBuffer = (byte*)NativeMemory.
AlignedAlloc
((nuint)context.Length, ContextAlignment);
ICLRData.cs (1)
78
byte* 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)
944
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)
273
void* result = NativeMemory.
AlignedAlloc
((uint)size, (uint)alignment);