Home
last modified time | relevance | path

Searched refs:TransmitFileOptions (Results 1 – 25 of 46) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/Sockets/
H A D_TransmitFileOverlappedAsyncResult.cs26 private TransmitFileOptions m_flags;
49 …ctures(byte[] preBuffer, byte[] postBuffer, FileStream fileStream, TransmitFileOptions flags, bool… in SetUnmanagedStructures()
114 …ctures(byte[] preBuffer, byte[] postBuffer, FileStream fileStream, TransmitFileOptions flags, ref … in SetUnmanagedStructures()
145 internal TransmitFileOptions Flags{
H A DTransmitFileFlags.cs18 public enum TransmitFileOptions enum
H A D_DynamicWinsockMethods.cs304 TransmitFileOptions flags); in TransmitPacketsDelegate()
H A DSocket.cs1435 SendFile(fileName,null,null,TransmitFileOptions.UseDefaultWorkerThread); in SendFile()
1445 …ic void SendFile(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) { in SendFile()
1515 …if ((asyncResult.Flags & (TransmitFileOptions.Disconnect | TransmitFileOptions.ReuseSocket) )!=0) { in SendFile()
2714 …return BeginSendFile(fileName,null,null,TransmitFileOptions.UseDefaultWorkerThread,callback,state); in BeginSendFile()
3245 …connectEx(m_Handle,asyncResult.OverlappedHandle, (int)(reuseSocket?TransmitFileOptions.ReuseSocket… in DoBeginDisconnect()
3627 TransmitFileOptions flags, in BeginSendFile()
3650 TransmitFileOptions flags, in DoBeginSendFile()
3968 …if ((castedAsyncResult.Flags & (TransmitFileOptions.Disconnect | TransmitFileOptions.ReuseSocket) … in EndSendFile()
7923 (int)(e.DisconnectReuseSocket ? TransmitFileOptions.ReuseSocket : 0), in DisconnectAsync()
8627 internal TransmitFileOptions m_SendPacketsFlags;
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DSendPacketsAsync.cs249 #region TransmitFileOptions
255 … SendPackets(type, new SendPacketsElement(new byte[10], 4, 4), TransmitFileOptions.Disconnect, 4); in SocketDisconnected_TransmitFileOptionDisconnect()
263 …type, new SendPacketsElement(new byte[10], 4, 4), TransmitFileOptions.Disconnect | TransmitFileOpt… in SocketDisconnectedAndReusable_TransmitFileOptionReuseSocket()
389 …Packets(SocketImplementationType type, SendPacketsElement element, TransmitFileOptions flags, int … in SendPackets()
418 case TransmitFileOptions.Disconnect: in SendPackets()
422 case TransmitFileOptions.ReuseSocket & TransmitFileOptions.Disconnect: in SendPackets()
H A DSendFile.cs83 …s<ObjectDisposedException>(() => s.BeginSendFile(null, null, null, TransmitFileOptions.UseDefaultW… in Disposed_ThrowsException()
104 …ows<NotSupportedException>(() => s.BeginSendFile(null, null, null, TransmitFileOptions.UseDefaultW… in NotConnected_ThrowsException()
170 … client.SendFile(filename, preBuffer, postBuffer, TransmitFileOptions.UseDefaultWorkerThread); in SendFile_Synchronous()
223 …k, state) => client.BeginSendFile(filename, preBuffer, postBuffer, TransmitFileOptions.UseDefaultW… in SendFile_APM()
H A DSocketAsyncEventArgsTest.cs54 Assert.Equal((TransmitFileOptions)0, args.SendPacketsFlags); in SendPacketsFlags_Roundtrips()
55 args.SendPacketsFlags = TransmitFileOptions.UseDefaultWorkerThread; in SendPacketsFlags_Roundtrips()
56 Assert.Equal(TransmitFileOptions.UseDefaultWorkerThread, args.SendPacketsFlags); in SendPacketsFlags_Roundtrips()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/
H A DSocket.Windows.cs118 …cketArray, int elementCount, int sendSize, NativeOverlapped* overlapped, TransmitFileOptions flags) in TransmitPackets()
209 …d SendFileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) in SendFileInternal()
230 if ((flags & (TransmitFileOptions.Disconnect | TransmitFileOptions.ReuseSocket)) != 0) in SendFileInternal()
237 …FileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, Asyn… in BeginSendFileInternal()
H A DSocket.Unix.cs116 private static void CheckTransmitFileOptions(TransmitFileOptions flags) in CheckTransmitFileOptions()
120 if (flags != TransmitFileOptions.UseDefaultWorkerThread) in CheckTransmitFileOptions()
126 …d SendFileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) in SendFileInternal()
204 …FileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, Asyn… in BeginSendFileInternal()
H A DTransmitFileOptions.cs8 public enum TransmitFileOptions enum
H A DSocketPal.Windows.cs193 … handle, SafeFileHandle fileHandle, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) in SendFile()
866 TransmitFileOptions flags) in TransmitFileHelper()
891 …andle, FileStream fileStream, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, Tran… in SendFileAsync()
893 …ures(fileStream, preBuffer, postBuffer, (flags & (TransmitFileOptions.Disconnect | TransmitFileOpt… in SendFileAsync()
1090 (int)(reuseSocket ? TransmitFileOptions.ReuseSocket : 0), in DisconnectAsync()
1107 …cket.DisconnectExBlocking(handle, IntPtr.Zero, (int)(reuseSocket ? TransmitFileOptions.ReuseSocket… in Disconnect()
H A DSocketAsyncEventArgs.cs53 private TransmitFileOptions _sendPacketsFlags;
125 public TransmitFileOptions SendPacketsFlags
H A DDynamicWinsockMethods.cs334 TransmitFileOptions flags); in TransmitPacketsDelegate()
H A DSocketPal.Unix.cs1591 …Socket socket, TransmitFileOptions options, SendPacketsElement[] elements, FileStream[] files, Act… in SendPacketsAsync()
1633 … if ((options & (TransmitFileOptions.Disconnect | TransmitFileOptions.ReuseSocket)) != 0) in SendPacketsAsync()
1638 (options & TransmitFileOptions.ReuseSocket) != 0, in SendPacketsAsync()
H A DSocket.cs1252 SendFile(fileName, null, null, TransmitFileOptions.UseDefaultWorkerThread); in SendFile()
1255 …blic void SendFile(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) in SendFile()
2670 …return BeginSendFile(fileName, null, null, TransmitFileOptions.UseDefaultWorkerThread, callback, s… in BeginSendFile()
2673 …eginSendFile(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, Asyn… in BeginSendFile()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Interop/Windows/Winsock/
H A DInterop.TransmitFile.cs22 TransmitFileOptions flags); in TransmitFile()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Sockets/
H A DSocketAsyncEventArgs.cs114 public TransmitFileOptions SendPacketsFlags {
H A DSocket.cs2187 …public void SendFile (string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions fl… in SendFile()
2205 …ginSendFile (string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, Asyn… in BeginSendFile()
2233 …eHandle, string filename, byte [] pre_buffer, byte [] post_buffer, TransmitFileOptions flags, out … in SendFile_internal()
2244 …tr sock, string filename, byte [] pre_buffer, byte [] post_buffer, TransmitFileOptions flags, out … in SendFile_internal()
2246 …endFileHandler (string fileName, byte [] preBuffer, byte [] postBuffer, TransmitFileOptions flags); in SendFileHandler()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Facades/System.Net.Sockets/
H A DTypeForwarders.cs49 ….Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.TransmitFileOptions))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/Facades/
H A DSystem.Net.Sockets.cs43 ….Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.TransmitFileOptions))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/Facades/
H A DSystem.Net.Sockets.cs43 ….Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.TransmitFileOptions))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/Facades/
H A DSystem.Net.Sockets.cs43 ….Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Sockets.TransmitFileOptions))]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/ref/
H A DSystem.Net.Sockets.cs258 …eginSendFile(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, Asyn… in BeginSendFile()
324 … void SendFile(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) { } in SendFile()
354 … public System.Net.Sockets.TransmitFileOptions SendPacketsFlags { get { throw null; } set { } }
588 public enum TransmitFileOptions enum
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.Sockets/
H A DSocketAsyncEventArgsTest.cs58 …Assert.AreEqual (TransmitFileOptions.UseDefaultWorkerThread, saea.SendPacketsFlags, "SendPacketsFl… in Defaults()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A DUnsafeNativeMethods.cs1184 [In] TransmitFileOptions flags in TransmitFile()
1195 [In] TransmitFileOptions flags in TransmitFile2()
1207 [In] TransmitFileOptions flags in TransmitFile_Blocking()
1218 [In] TransmitFileOptions flags in TransmitFile_Blocking2()

12