37 references to Interop
System.IO.Compression.ZipFile (37)
LibraryImports.g.cs (15)
7internal static extern partial global::Interop.Error ConvertErrorPlatformToPal(int platformErrno); 15internal static extern partial int ConvertErrorPalToPlatform(global::Interop.Error error); 31internal static unsafe extern partial global::Interop.Error GetSocketAddressSizes(int* ipv4SocketAddressSize, int* ipv6SocketAddressSize, int* udsSocketAddressSize, int* maxSocketAddressSize); 39internal static unsafe extern partial global::Interop.Error GetAddressFamily(byte* socketAddress, int socketAddressLen, int* addressFamily); 47internal static unsafe extern partial global::Interop.Error SetAddressFamily(byte* socketAddress, int socketAddressLen, int addressFamily); 55internal static unsafe extern partial global::Interop.Error GetPort(byte* socketAddress, int socketAddressLen, ushort* port); 63internal static unsafe extern partial global::Interop.Error SetPort(byte* socketAddress, int socketAddressLen, ushort port); 71internal static unsafe extern partial global::Interop.Error GetIPv4Address(byte* socketAddress, int socketAddressLen, uint* address); 79internal static unsafe extern partial global::Interop.Error SetIPv4Address(byte* socketAddress, int socketAddressLen, uint address); 87internal static unsafe extern partial global::Interop.Error GetIPv6Address(byte* socketAddress, int socketAddressLen, byte* address, int addressLen, uint* scopeId); 95internal static unsafe extern partial global::Interop.Error SetIPv6Address(byte* socketAddress, int socketAddressLen, byte* address, int addressLen, uint scopeId); 134internal static unsafe extern partial int GetNameInfo(byte* address, uint addressLength, byte isIpv6, byte* host, uint hostLength, byte* service, uint serviceLength, global::Interop.Sys.GetNameInfoFlags flags); 142internal static unsafe partial int GetHostEntryForName(string address, global::System.Net.Sockets.AddressFamily family, global::Interop.Sys.HostEntry* entry) 167static extern unsafe int __PInvoke(byte* __address_native, global::System.Net.Sockets.AddressFamily __family_native, global::Interop.Sys.HostEntry* __entry_native); 176internal static unsafe extern partial void FreeHostEntry(global::Interop.Sys.HostEntry* entry);
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (6)
124_error = Interop.Sys.ConvertErrorPlatformToPal(errno); 141get { return _rawErrno == -1 ? (_rawErrno = Interop.Sys.ConvertErrorPalToPlatform(_error)) : _rawErrno; } 146return Interop.Sys.StrError(RawErrno); 220public static Interop.ErrorInfo Info(this Interop.Error error) 222return new Interop.ErrorInfo(error);
src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (4)
16throw Interop.GetExceptionForIoErrno(errorInfo, path, isDirError); 21if (error != Interop.Error.SUCCESS) 99Exception e = Interop.GetExceptionForIoErrno(Sys.GetLastErrorInfo(), path, isDirError); 179internal static Exception GetIOException(Interop.ErrorInfo errorInfo, string? path = null)
src\libraries\Common\src\System\IO\Compression\ZipArchiveEntryConstants.Unix.cs (2)
12(Interop.Sys.FileTypes.S_IFREG | 23(Interop.Sys.FileTypes.S_IFDIR |
System\IO\Compression\ZipFile.Create.Unix.cs (7)
19type = Interop.Sys.FileTypes.S_IFDIR; 24Interop.CheckIo(Interop.Sys.Stat(fullPath, out Interop.Sys.FileStatus status), fullPath); 25type = (status.Mode & Interop.Sys.FileTypes.S_IFMT); 30Interop.Sys.FileTypes.S_IFREG => (fullPath, CreateEntryType.File), 31Interop.Sys.FileTypes.S_IFDIR => (fullPath, CreateEntryType.Directory),
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.Unix.cs (3)
21Interop.Sys.FileStatus status; 22Interop.CheckIo(Interop.Sys.FStat(fs.SafeFileHandle, out status), fs.Name);