28 references to HTTP_DATA_CHUNK
Microsoft.AspNetCore.Server.HttpSys (28)
LibraryImports.g.cs (2)
221
internal static unsafe partial uint HttpSendResponseEntityBody(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong requestId, uint flags, ushort entityChunkCount, Windows.Win32.Networking.HttpServer.
HTTP_DATA_CHUNK
* pEntityChunks, uint* pBytesSent, nint pReserved1, uint Reserved2, global::Microsoft.AspNetCore.Server.HttpSys.SafeNativeOverlapped pOverlapped, nint pLogData)
255
static extern unsafe uint __PInvoke(nint __requestQueueHandle_native, ulong __requestId_native, uint __flags_native, ushort __entityChunkCount_native, Windows.Win32.Networking.HttpServer.
HTTP_DATA_CHUNK
* __pEntityChunks_native, uint* __pBytesSent_native, nint __pReserved1_native, uint __Reserved2_native, nint __pOverlapped_native, nint __pLogData_native);
NativeInterop\HttpApi.cs (1)
32
internal static unsafe partial uint HttpSendResponseEntityBody(SafeHandle requestQueueHandle, ulong requestId, uint flags, ushort entityChunkCount, Windows.Win32.Networking.HttpServer.
HTTP_DATA_CHUNK
* pEntityChunks, uint* pBytesSent, IntPtr pReserved1, uint Reserved2, SafeNativeOverlapped pOverlapped, IntPtr pLogData);
RequestProcessing\Response.cs (3)
278
Span<
HTTP_DATA_CHUNK
> dataChunks,
293
fixed (
HTTP_DATA_CHUNK
* chunks = dataChunks)
605
internal unsafe void SerializeTrailers(ref UnmanagedBufferAllocator allocator, out
HTTP_DATA_CHUNK
dataChunk)
RequestProcessing\ResponseBody.cs (6)
190
private unsafe void BuildDataChunks(scoped ref UnmanagedBufferAllocator allocator, bool endOfRequest, ArraySegment<byte> data, out Span<
HTTP_DATA_CHUNK
> dataChunks, out Span<GCHandle> pins)
202
dataChunks = allocator.AllocAsSpan<
HTTP_DATA_CHUNK
>(1);
240
dataChunks = allocator.AllocAsSpan<
HTTP_DATA_CHUNK
>(chunkCount);
276
Span<
HTTP_DATA_CHUNK
> chunks,
286
Span<
HTTP_DATA_CHUNK
> chunks,
290
ref
var
chunk = ref chunks[chunkIndex++];
RequestProcessing\ResponseStreamAsyncResult.cs (9)
16
private readonly
HTTP_DATA_CHUNK
[]? _dataChunks;
53
_dataChunks = new
HTTP_DATA_CHUNK
[1 + (chunked ? 2 : 0)];
113
_dataChunks = new
HTTP_DATA_CHUNK
[chunked ? 3 : 1];
157
private static void SetDataChunk(
HTTP_DATA_CHUNK
[] chunks, ref int chunkIndex, object[] objectsToPin, ref int pinIndex, ArraySegment<byte> segment)
161
ref
var
chunk = ref chunks[chunkIndex++];
167
private static void SetDataChunkWithPinnedData(
HTTP_DATA_CHUNK
[] chunks, ref int chunkIndex, ReadOnlySpan<byte> bytes)
169
ref
var
chunk = ref chunks[chunkIndex++];
209
internal
HTTP_DATA_CHUNK
* DataChunks
219
return (
HTTP_DATA_CHUNK
*)(Marshal.UnsafeAddrOfPinnedArrayElement(_dataChunks, 0));
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
697
var pDataChunk = (
HTTP_DATA_CHUNK
*)(fixup + (byte*)&request->pEntityChunks[dataChunkIndex]);
Windows.Win32.HTTP_REQUEST_V1.g.cs (1)
104
internal unsafe winmdroot.Networking.HttpServer.
HTTP_DATA_CHUNK
* pEntityChunks;
Windows.Win32.HTTP_RESPONSE_V1.g.cs (1)
60
internal unsafe winmdroot.Networking.HttpServer.
HTTP_DATA_CHUNK
* pEntityChunks;
Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (4)
591
/// <inheritdoc cref="HttpSendResponseEntityBody(winmdroot.Foundation.HANDLE, ulong, uint, ushort, winmdroot.Networking.HttpServer.
HTTP_DATA_CHUNK
*, uint*, void*, uint, global::System.Threading.NativeOverlapped*, winmdroot.Networking.HttpServer.HTTP_LOG_DATA*)"/>
593
internal static unsafe uint HttpSendResponseEntityBody(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, Span<winmdroot.Networking.HttpServer.
HTTP_DATA_CHUNK
> EntityChunks, uint* BytesSent, global::System.Threading.NativeOverlapped? Overlapped, winmdroot.Networking.HttpServer.HTTP_LOG_DATA? LogData)
598
fixed (winmdroot.Networking.HttpServer.
HTTP_DATA_CHUNK
* EntityChunksLocal = EntityChunks)
665
internal static extern unsafe uint HttpSendResponseEntityBody(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, uint Flags, ushort EntityChunkCount, [Optional] winmdroot.Networking.HttpServer.
HTTP_DATA_CHUNK
* EntityChunks, [Optional] uint* BytesSent, [Optional] void* Reserved1, uint Reserved2, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA* LogData);