github.com/goplus/gossa@v0.3.25/pkg/syscall/go115_export_js_wasm.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package syscall 6 7 import ( 8 q "syscall" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "syscall", 19 Path: "syscall", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "internal/oserror": "oserror", 23 "io": "io", 24 "runtime": "runtime", 25 "sync": "sync", 26 "syscall/js": "js", 27 "unsafe": "unsafe", 28 }, 29 Interfaces: map[string]reflect.Type{ 30 "Conn": reflect.TypeOf((*q.Conn)(nil)).Elem(), 31 "RawConn": reflect.TypeOf((*q.RawConn)(nil)).Elem(), 32 "Sockaddr": reflect.TypeOf((*q.Sockaddr)(nil)).Elem(), 33 }, 34 NamedTypes: map[string]gossa.NamedType{ 35 "Dirent": {reflect.TypeOf((*q.Dirent)(nil)).Elem(), "", ""}, 36 "Errno": {reflect.TypeOf((*q.Errno)(nil)).Elem(), "Error,Is,Temporary,Timeout", ""}, 37 "Iovec": {reflect.TypeOf((*q.Iovec)(nil)).Elem(), "", ""}, 38 "ProcAttr": {reflect.TypeOf((*q.ProcAttr)(nil)).Elem(), "", ""}, 39 "Rusage": {reflect.TypeOf((*q.Rusage)(nil)).Elem(), "", ""}, 40 "Signal": {reflect.TypeOf((*q.Signal)(nil)).Elem(), "Signal,String", ""}, 41 "SockaddrInet4": {reflect.TypeOf((*q.SockaddrInet4)(nil)).Elem(), "", ""}, 42 "SockaddrInet6": {reflect.TypeOf((*q.SockaddrInet6)(nil)).Elem(), "", ""}, 43 "SockaddrUnix": {reflect.TypeOf((*q.SockaddrUnix)(nil)).Elem(), "", ""}, 44 "Stat_t": {reflect.TypeOf((*q.Stat_t)(nil)).Elem(), "", ""}, 45 "SysProcAttr": {reflect.TypeOf((*q.SysProcAttr)(nil)).Elem(), "", ""}, 46 "Timespec": {reflect.TypeOf((*q.Timespec)(nil)).Elem(), "", "Nano,Unix"}, 47 "Timeval": {reflect.TypeOf((*q.Timeval)(nil)).Elem(), "", "Nano,Unix"}, 48 "WaitStatus": {reflect.TypeOf((*q.WaitStatus)(nil)).Elem(), "Continued,CoreDump,ExitStatus,Exited,Signal,Signaled,StopSignal,Stopped,TrapCause", ""}, 49 }, 50 AliasTypes: map[string]reflect.Type{}, 51 Vars: map[string]reflect.Value{ 52 "ForkLock": reflect.ValueOf(&q.ForkLock), 53 }, 54 Funcs: map[string]reflect.Value{ 55 "Accept": reflect.ValueOf(q.Accept), 56 "Bind": reflect.ValueOf(q.Bind), 57 "BytePtrFromString": reflect.ValueOf(q.BytePtrFromString), 58 "ByteSliceFromString": reflect.ValueOf(q.ByteSliceFromString), 59 "Chdir": reflect.ValueOf(q.Chdir), 60 "Chmod": reflect.ValueOf(q.Chmod), 61 "Chown": reflect.ValueOf(q.Chown), 62 "Clearenv": reflect.ValueOf(q.Clearenv), 63 "Close": reflect.ValueOf(q.Close), 64 "CloseOnExec": reflect.ValueOf(q.CloseOnExec), 65 "Connect": reflect.ValueOf(q.Connect), 66 "Dup": reflect.ValueOf(q.Dup), 67 "Dup2": reflect.ValueOf(q.Dup2), 68 "Environ": reflect.ValueOf(q.Environ), 69 "Exit": reflect.ValueOf(q.Exit), 70 "Fchdir": reflect.ValueOf(q.Fchdir), 71 "Fchmod": reflect.ValueOf(q.Fchmod), 72 "Fchown": reflect.ValueOf(q.Fchown), 73 "Fstat": reflect.ValueOf(q.Fstat), 74 "Fsync": reflect.ValueOf(q.Fsync), 75 "Ftruncate": reflect.ValueOf(q.Ftruncate), 76 "Getcwd": reflect.ValueOf(q.Getcwd), 77 "Getegid": reflect.ValueOf(q.Getegid), 78 "Getenv": reflect.ValueOf(q.Getenv), 79 "Geteuid": reflect.ValueOf(q.Geteuid), 80 "Getgid": reflect.ValueOf(q.Getgid), 81 "Getgroups": reflect.ValueOf(q.Getgroups), 82 "Getpagesize": reflect.ValueOf(q.Getpagesize), 83 "Getpid": reflect.ValueOf(q.Getpid), 84 "Getppid": reflect.ValueOf(q.Getppid), 85 "GetsockoptInt": reflect.ValueOf(q.GetsockoptInt), 86 "Gettimeofday": reflect.ValueOf(q.Gettimeofday), 87 "Getuid": reflect.ValueOf(q.Getuid), 88 "Getwd": reflect.ValueOf(q.Getwd), 89 "Kill": reflect.ValueOf(q.Kill), 90 "Lchown": reflect.ValueOf(q.Lchown), 91 "Link": reflect.ValueOf(q.Link), 92 "Listen": reflect.ValueOf(q.Listen), 93 "Lstat": reflect.ValueOf(q.Lstat), 94 "Mkdir": reflect.ValueOf(q.Mkdir), 95 "NsecToTimespec": reflect.ValueOf(q.NsecToTimespec), 96 "NsecToTimeval": reflect.ValueOf(q.NsecToTimeval), 97 "Open": reflect.ValueOf(q.Open), 98 "ParseDirent": reflect.ValueOf(q.ParseDirent), 99 "Pipe": reflect.ValueOf(q.Pipe), 100 "Pread": reflect.ValueOf(q.Pread), 101 "Pwrite": reflect.ValueOf(q.Pwrite), 102 "RawSyscall": reflect.ValueOf(q.RawSyscall), 103 "RawSyscall6": reflect.ValueOf(q.RawSyscall6), 104 "Read": reflect.ValueOf(q.Read), 105 "ReadDirent": reflect.ValueOf(q.ReadDirent), 106 "Readlink": reflect.ValueOf(q.Readlink), 107 "Recvfrom": reflect.ValueOf(q.Recvfrom), 108 "Recvmsg": reflect.ValueOf(q.Recvmsg), 109 "Rename": reflect.ValueOf(q.Rename), 110 "Rmdir": reflect.ValueOf(q.Rmdir), 111 "Seek": reflect.ValueOf(q.Seek), 112 "Sendfile": reflect.ValueOf(q.Sendfile), 113 "SendmsgN": reflect.ValueOf(q.SendmsgN), 114 "Sendto": reflect.ValueOf(q.Sendto), 115 "SetNonblock": reflect.ValueOf(q.SetNonblock), 116 "SetReadDeadline": reflect.ValueOf(q.SetReadDeadline), 117 "SetWriteDeadline": reflect.ValueOf(q.SetWriteDeadline), 118 "Setenv": reflect.ValueOf(q.Setenv), 119 "SetsockoptInt": reflect.ValueOf(q.SetsockoptInt), 120 "Shutdown": reflect.ValueOf(q.Shutdown), 121 "Socket": reflect.ValueOf(q.Socket), 122 "StartProcess": reflect.ValueOf(q.StartProcess), 123 "Stat": reflect.ValueOf(q.Stat), 124 "StopIO": reflect.ValueOf(q.StopIO), 125 "StringBytePtr": reflect.ValueOf(q.StringBytePtr), 126 "StringByteSlice": reflect.ValueOf(q.StringByteSlice), 127 "Symlink": reflect.ValueOf(q.Symlink), 128 "Syscall": reflect.ValueOf(q.Syscall), 129 "Syscall6": reflect.ValueOf(q.Syscall6), 130 "Sysctl": reflect.ValueOf(q.Sysctl), 131 "TimespecToNsec": reflect.ValueOf(q.TimespecToNsec), 132 "TimevalToNsec": reflect.ValueOf(q.TimevalToNsec), 133 "Truncate": reflect.ValueOf(q.Truncate), 134 "Umask": reflect.ValueOf(q.Umask), 135 "Unlink": reflect.ValueOf(q.Unlink), 136 "Unsetenv": reflect.ValueOf(q.Unsetenv), 137 "UtimesNano": reflect.ValueOf(q.UtimesNano), 138 "Wait4": reflect.ValueOf(q.Wait4), 139 "Write": reflect.ValueOf(q.Write), 140 }, 141 TypedConsts: map[string]gossa.TypedConst{ 142 "E2BIG": {reflect.TypeOf(q.E2BIG), constant.MakeInt64(int64(q.E2BIG))}, 143 "EACCES": {reflect.TypeOf(q.EACCES), constant.MakeInt64(int64(q.EACCES))}, 144 "EADDRINUSE": {reflect.TypeOf(q.EADDRINUSE), constant.MakeInt64(int64(q.EADDRINUSE))}, 145 "EADDRNOTAVAIL": {reflect.TypeOf(q.EADDRNOTAVAIL), constant.MakeInt64(int64(q.EADDRNOTAVAIL))}, 146 "EADV": {reflect.TypeOf(q.EADV), constant.MakeInt64(int64(q.EADV))}, 147 "EAFNOSUPPORT": {reflect.TypeOf(q.EAFNOSUPPORT), constant.MakeInt64(int64(q.EAFNOSUPPORT))}, 148 "EAGAIN": {reflect.TypeOf(q.EAGAIN), constant.MakeInt64(int64(q.EAGAIN))}, 149 "EALREADY": {reflect.TypeOf(q.EALREADY), constant.MakeInt64(int64(q.EALREADY))}, 150 "EBADE": {reflect.TypeOf(q.EBADE), constant.MakeInt64(int64(q.EBADE))}, 151 "EBADF": {reflect.TypeOf(q.EBADF), constant.MakeInt64(int64(q.EBADF))}, 152 "EBADFD": {reflect.TypeOf(q.EBADFD), constant.MakeInt64(int64(q.EBADFD))}, 153 "EBADMSG": {reflect.TypeOf(q.EBADMSG), constant.MakeInt64(int64(q.EBADMSG))}, 154 "EBADR": {reflect.TypeOf(q.EBADR), constant.MakeInt64(int64(q.EBADR))}, 155 "EBADRQC": {reflect.TypeOf(q.EBADRQC), constant.MakeInt64(int64(q.EBADRQC))}, 156 "EBADSLT": {reflect.TypeOf(q.EBADSLT), constant.MakeInt64(int64(q.EBADSLT))}, 157 "EBFONT": {reflect.TypeOf(q.EBFONT), constant.MakeInt64(int64(q.EBFONT))}, 158 "EBUSY": {reflect.TypeOf(q.EBUSY), constant.MakeInt64(int64(q.EBUSY))}, 159 "ECANCELED": {reflect.TypeOf(q.ECANCELED), constant.MakeInt64(int64(q.ECANCELED))}, 160 "ECASECLASH": {reflect.TypeOf(q.ECASECLASH), constant.MakeInt64(int64(q.ECASECLASH))}, 161 "ECHILD": {reflect.TypeOf(q.ECHILD), constant.MakeInt64(int64(q.ECHILD))}, 162 "ECHRNG": {reflect.TypeOf(q.ECHRNG), constant.MakeInt64(int64(q.ECHRNG))}, 163 "ECOMM": {reflect.TypeOf(q.ECOMM), constant.MakeInt64(int64(q.ECOMM))}, 164 "ECONNABORTED": {reflect.TypeOf(q.ECONNABORTED), constant.MakeInt64(int64(q.ECONNABORTED))}, 165 "ECONNREFUSED": {reflect.TypeOf(q.ECONNREFUSED), constant.MakeInt64(int64(q.ECONNREFUSED))}, 166 "ECONNRESET": {reflect.TypeOf(q.ECONNRESET), constant.MakeInt64(int64(q.ECONNRESET))}, 167 "EDEADLK": {reflect.TypeOf(q.EDEADLK), constant.MakeInt64(int64(q.EDEADLK))}, 168 "EDEADLOCK": {reflect.TypeOf(q.EDEADLOCK), constant.MakeInt64(int64(q.EDEADLOCK))}, 169 "EDESTADDRREQ": {reflect.TypeOf(q.EDESTADDRREQ), constant.MakeInt64(int64(q.EDESTADDRREQ))}, 170 "EDOM": {reflect.TypeOf(q.EDOM), constant.MakeInt64(int64(q.EDOM))}, 171 "EDOTDOT": {reflect.TypeOf(q.EDOTDOT), constant.MakeInt64(int64(q.EDOTDOT))}, 172 "EDQUOT": {reflect.TypeOf(q.EDQUOT), constant.MakeInt64(int64(q.EDQUOT))}, 173 "EEXIST": {reflect.TypeOf(q.EEXIST), constant.MakeInt64(int64(q.EEXIST))}, 174 "EFAULT": {reflect.TypeOf(q.EFAULT), constant.MakeInt64(int64(q.EFAULT))}, 175 "EFBIG": {reflect.TypeOf(q.EFBIG), constant.MakeInt64(int64(q.EFBIG))}, 176 "EFTYPE": {reflect.TypeOf(q.EFTYPE), constant.MakeInt64(int64(q.EFTYPE))}, 177 "EHOSTDOWN": {reflect.TypeOf(q.EHOSTDOWN), constant.MakeInt64(int64(q.EHOSTDOWN))}, 178 "EHOSTUNREACH": {reflect.TypeOf(q.EHOSTUNREACH), constant.MakeInt64(int64(q.EHOSTUNREACH))}, 179 "EIDRM": {reflect.TypeOf(q.EIDRM), constant.MakeInt64(int64(q.EIDRM))}, 180 "EILSEQ": {reflect.TypeOf(q.EILSEQ), constant.MakeInt64(int64(q.EILSEQ))}, 181 "EINPROGRESS": {reflect.TypeOf(q.EINPROGRESS), constant.MakeInt64(int64(q.EINPROGRESS))}, 182 "EINTR": {reflect.TypeOf(q.EINTR), constant.MakeInt64(int64(q.EINTR))}, 183 "EINVAL": {reflect.TypeOf(q.EINVAL), constant.MakeInt64(int64(q.EINVAL))}, 184 "EIO": {reflect.TypeOf(q.EIO), constant.MakeInt64(int64(q.EIO))}, 185 "EISCONN": {reflect.TypeOf(q.EISCONN), constant.MakeInt64(int64(q.EISCONN))}, 186 "EISDIR": {reflect.TypeOf(q.EISDIR), constant.MakeInt64(int64(q.EISDIR))}, 187 "EL2HLT": {reflect.TypeOf(q.EL2HLT), constant.MakeInt64(int64(q.EL2HLT))}, 188 "EL2NSYNC": {reflect.TypeOf(q.EL2NSYNC), constant.MakeInt64(int64(q.EL2NSYNC))}, 189 "EL3HLT": {reflect.TypeOf(q.EL3HLT), constant.MakeInt64(int64(q.EL3HLT))}, 190 "EL3RST": {reflect.TypeOf(q.EL3RST), constant.MakeInt64(int64(q.EL3RST))}, 191 "ELBIN": {reflect.TypeOf(q.ELBIN), constant.MakeInt64(int64(q.ELBIN))}, 192 "ELIBACC": {reflect.TypeOf(q.ELIBACC), constant.MakeInt64(int64(q.ELIBACC))}, 193 "ELIBBAD": {reflect.TypeOf(q.ELIBBAD), constant.MakeInt64(int64(q.ELIBBAD))}, 194 "ELIBEXEC": {reflect.TypeOf(q.ELIBEXEC), constant.MakeInt64(int64(q.ELIBEXEC))}, 195 "ELIBMAX": {reflect.TypeOf(q.ELIBMAX), constant.MakeInt64(int64(q.ELIBMAX))}, 196 "ELIBSCN": {reflect.TypeOf(q.ELIBSCN), constant.MakeInt64(int64(q.ELIBSCN))}, 197 "ELNRNG": {reflect.TypeOf(q.ELNRNG), constant.MakeInt64(int64(q.ELNRNG))}, 198 "ELOOP": {reflect.TypeOf(q.ELOOP), constant.MakeInt64(int64(q.ELOOP))}, 199 "EMFILE": {reflect.TypeOf(q.EMFILE), constant.MakeInt64(int64(q.EMFILE))}, 200 "EMLINK": {reflect.TypeOf(q.EMLINK), constant.MakeInt64(int64(q.EMLINK))}, 201 "EMSGSIZE": {reflect.TypeOf(q.EMSGSIZE), constant.MakeInt64(int64(q.EMSGSIZE))}, 202 "EMULTIHOP": {reflect.TypeOf(q.EMULTIHOP), constant.MakeInt64(int64(q.EMULTIHOP))}, 203 "ENAMETOOLONG": {reflect.TypeOf(q.ENAMETOOLONG), constant.MakeInt64(int64(q.ENAMETOOLONG))}, 204 "ENETDOWN": {reflect.TypeOf(q.ENETDOWN), constant.MakeInt64(int64(q.ENETDOWN))}, 205 "ENETRESET": {reflect.TypeOf(q.ENETRESET), constant.MakeInt64(int64(q.ENETRESET))}, 206 "ENETUNREACH": {reflect.TypeOf(q.ENETUNREACH), constant.MakeInt64(int64(q.ENETUNREACH))}, 207 "ENFILE": {reflect.TypeOf(q.ENFILE), constant.MakeInt64(int64(q.ENFILE))}, 208 "ENMFILE": {reflect.TypeOf(q.ENMFILE), constant.MakeInt64(int64(q.ENMFILE))}, 209 "ENOANO": {reflect.TypeOf(q.ENOANO), constant.MakeInt64(int64(q.ENOANO))}, 210 "ENOBUFS": {reflect.TypeOf(q.ENOBUFS), constant.MakeInt64(int64(q.ENOBUFS))}, 211 "ENOCSI": {reflect.TypeOf(q.ENOCSI), constant.MakeInt64(int64(q.ENOCSI))}, 212 "ENODATA": {reflect.TypeOf(q.ENODATA), constant.MakeInt64(int64(q.ENODATA))}, 213 "ENODEV": {reflect.TypeOf(q.ENODEV), constant.MakeInt64(int64(q.ENODEV))}, 214 "ENOENT": {reflect.TypeOf(q.ENOENT), constant.MakeInt64(int64(q.ENOENT))}, 215 "ENOEXEC": {reflect.TypeOf(q.ENOEXEC), constant.MakeInt64(int64(q.ENOEXEC))}, 216 "ENOLCK": {reflect.TypeOf(q.ENOLCK), constant.MakeInt64(int64(q.ENOLCK))}, 217 "ENOLINK": {reflect.TypeOf(q.ENOLINK), constant.MakeInt64(int64(q.ENOLINK))}, 218 "ENOMEDIUM": {reflect.TypeOf(q.ENOMEDIUM), constant.MakeInt64(int64(q.ENOMEDIUM))}, 219 "ENOMEM": {reflect.TypeOf(q.ENOMEM), constant.MakeInt64(int64(q.ENOMEM))}, 220 "ENOMSG": {reflect.TypeOf(q.ENOMSG), constant.MakeInt64(int64(q.ENOMSG))}, 221 "ENONET": {reflect.TypeOf(q.ENONET), constant.MakeInt64(int64(q.ENONET))}, 222 "ENOPKG": {reflect.TypeOf(q.ENOPKG), constant.MakeInt64(int64(q.ENOPKG))}, 223 "ENOPROTOOPT": {reflect.TypeOf(q.ENOPROTOOPT), constant.MakeInt64(int64(q.ENOPROTOOPT))}, 224 "ENOSHARE": {reflect.TypeOf(q.ENOSHARE), constant.MakeInt64(int64(q.ENOSHARE))}, 225 "ENOSPC": {reflect.TypeOf(q.ENOSPC), constant.MakeInt64(int64(q.ENOSPC))}, 226 "ENOSR": {reflect.TypeOf(q.ENOSR), constant.MakeInt64(int64(q.ENOSR))}, 227 "ENOSTR": {reflect.TypeOf(q.ENOSTR), constant.MakeInt64(int64(q.ENOSTR))}, 228 "ENOSYS": {reflect.TypeOf(q.ENOSYS), constant.MakeInt64(int64(q.ENOSYS))}, 229 "ENOTCONN": {reflect.TypeOf(q.ENOTCONN), constant.MakeInt64(int64(q.ENOTCONN))}, 230 "ENOTDIR": {reflect.TypeOf(q.ENOTDIR), constant.MakeInt64(int64(q.ENOTDIR))}, 231 "ENOTEMPTY": {reflect.TypeOf(q.ENOTEMPTY), constant.MakeInt64(int64(q.ENOTEMPTY))}, 232 "ENOTSOCK": {reflect.TypeOf(q.ENOTSOCK), constant.MakeInt64(int64(q.ENOTSOCK))}, 233 "ENOTSUP": {reflect.TypeOf(q.ENOTSUP), constant.MakeInt64(int64(q.ENOTSUP))}, 234 "ENOTTY": {reflect.TypeOf(q.ENOTTY), constant.MakeInt64(int64(q.ENOTTY))}, 235 "ENOTUNIQ": {reflect.TypeOf(q.ENOTUNIQ), constant.MakeInt64(int64(q.ENOTUNIQ))}, 236 "ENXIO": {reflect.TypeOf(q.ENXIO), constant.MakeInt64(int64(q.ENXIO))}, 237 "EOPNOTSUPP": {reflect.TypeOf(q.EOPNOTSUPP), constant.MakeInt64(int64(q.EOPNOTSUPP))}, 238 "EOVERFLOW": {reflect.TypeOf(q.EOVERFLOW), constant.MakeInt64(int64(q.EOVERFLOW))}, 239 "EPERM": {reflect.TypeOf(q.EPERM), constant.MakeInt64(int64(q.EPERM))}, 240 "EPFNOSUPPORT": {reflect.TypeOf(q.EPFNOSUPPORT), constant.MakeInt64(int64(q.EPFNOSUPPORT))}, 241 "EPIPE": {reflect.TypeOf(q.EPIPE), constant.MakeInt64(int64(q.EPIPE))}, 242 "EPROCLIM": {reflect.TypeOf(q.EPROCLIM), constant.MakeInt64(int64(q.EPROCLIM))}, 243 "EPROTO": {reflect.TypeOf(q.EPROTO), constant.MakeInt64(int64(q.EPROTO))}, 244 "EPROTONOSUPPORT": {reflect.TypeOf(q.EPROTONOSUPPORT), constant.MakeInt64(int64(q.EPROTONOSUPPORT))}, 245 "EPROTOTYPE": {reflect.TypeOf(q.EPROTOTYPE), constant.MakeInt64(int64(q.EPROTOTYPE))}, 246 "ERANGE": {reflect.TypeOf(q.ERANGE), constant.MakeInt64(int64(q.ERANGE))}, 247 "EREMCHG": {reflect.TypeOf(q.EREMCHG), constant.MakeInt64(int64(q.EREMCHG))}, 248 "EREMOTE": {reflect.TypeOf(q.EREMOTE), constant.MakeInt64(int64(q.EREMOTE))}, 249 "EROFS": {reflect.TypeOf(q.EROFS), constant.MakeInt64(int64(q.EROFS))}, 250 "ESHUTDOWN": {reflect.TypeOf(q.ESHUTDOWN), constant.MakeInt64(int64(q.ESHUTDOWN))}, 251 "ESOCKTNOSUPPORT": {reflect.TypeOf(q.ESOCKTNOSUPPORT), constant.MakeInt64(int64(q.ESOCKTNOSUPPORT))}, 252 "ESPIPE": {reflect.TypeOf(q.ESPIPE), constant.MakeInt64(int64(q.ESPIPE))}, 253 "ESRCH": {reflect.TypeOf(q.ESRCH), constant.MakeInt64(int64(q.ESRCH))}, 254 "ESRMNT": {reflect.TypeOf(q.ESRMNT), constant.MakeInt64(int64(q.ESRMNT))}, 255 "ESTALE": {reflect.TypeOf(q.ESTALE), constant.MakeInt64(int64(q.ESTALE))}, 256 "ETIME": {reflect.TypeOf(q.ETIME), constant.MakeInt64(int64(q.ETIME))}, 257 "ETIMEDOUT": {reflect.TypeOf(q.ETIMEDOUT), constant.MakeInt64(int64(q.ETIMEDOUT))}, 258 "ETOOMANYREFS": {reflect.TypeOf(q.ETOOMANYREFS), constant.MakeInt64(int64(q.ETOOMANYREFS))}, 259 "EUNATCH": {reflect.TypeOf(q.EUNATCH), constant.MakeInt64(int64(q.EUNATCH))}, 260 "EUSERS": {reflect.TypeOf(q.EUSERS), constant.MakeInt64(int64(q.EUSERS))}, 261 "EWOULDBLOCK": {reflect.TypeOf(q.EWOULDBLOCK), constant.MakeInt64(int64(q.EWOULDBLOCK))}, 262 "EXDEV": {reflect.TypeOf(q.EXDEV), constant.MakeInt64(int64(q.EXDEV))}, 263 "EXFULL": {reflect.TypeOf(q.EXFULL), constant.MakeInt64(int64(q.EXFULL))}, 264 "SIGCHLD": {reflect.TypeOf(q.SIGCHLD), constant.MakeInt64(int64(q.SIGCHLD))}, 265 "SIGINT": {reflect.TypeOf(q.SIGINT), constant.MakeInt64(int64(q.SIGINT))}, 266 "SIGKILL": {reflect.TypeOf(q.SIGKILL), constant.MakeInt64(int64(q.SIGKILL))}, 267 "SIGQUIT": {reflect.TypeOf(q.SIGQUIT), constant.MakeInt64(int64(q.SIGQUIT))}, 268 "SIGTERM": {reflect.TypeOf(q.SIGTERM), constant.MakeInt64(int64(q.SIGTERM))}, 269 "SIGTRAP": {reflect.TypeOf(q.SIGTRAP), constant.MakeInt64(int64(q.SIGTRAP))}, 270 }, 271 UntypedConsts: map[string]gossa.UntypedConst{ 272 "AF_INET": {"untyped int", constant.MakeInt64(int64(q.AF_INET))}, 273 "AF_INET6": {"untyped int", constant.MakeInt64(int64(q.AF_INET6))}, 274 "AF_UNIX": {"untyped int", constant.MakeInt64(int64(q.AF_UNIX))}, 275 "AF_UNSPEC": {"untyped int", constant.MakeInt64(int64(q.AF_UNSPEC))}, 276 "F_CNVT": {"untyped int", constant.MakeInt64(int64(q.F_CNVT))}, 277 "F_DUPFD": {"untyped int", constant.MakeInt64(int64(q.F_DUPFD))}, 278 "F_DUPFD_CLOEXEC": {"untyped int", constant.MakeInt64(int64(q.F_DUPFD_CLOEXEC))}, 279 "F_GETFD": {"untyped int", constant.MakeInt64(int64(q.F_GETFD))}, 280 "F_GETFL": {"untyped int", constant.MakeInt64(int64(q.F_GETFL))}, 281 "F_GETLK": {"untyped int", constant.MakeInt64(int64(q.F_GETLK))}, 282 "F_GETOWN": {"untyped int", constant.MakeInt64(int64(q.F_GETOWN))}, 283 "F_RDLCK": {"untyped int", constant.MakeInt64(int64(q.F_RDLCK))}, 284 "F_RGETLK": {"untyped int", constant.MakeInt64(int64(q.F_RGETLK))}, 285 "F_RSETLK": {"untyped int", constant.MakeInt64(int64(q.F_RSETLK))}, 286 "F_RSETLKW": {"untyped int", constant.MakeInt64(int64(q.F_RSETLKW))}, 287 "F_SETFD": {"untyped int", constant.MakeInt64(int64(q.F_SETFD))}, 288 "F_SETFL": {"untyped int", constant.MakeInt64(int64(q.F_SETFL))}, 289 "F_SETLK": {"untyped int", constant.MakeInt64(int64(q.F_SETLK))}, 290 "F_SETLKW": {"untyped int", constant.MakeInt64(int64(q.F_SETLKW))}, 291 "F_SETOWN": {"untyped int", constant.MakeInt64(int64(q.F_SETOWN))}, 292 "F_UNLCK": {"untyped int", constant.MakeInt64(int64(q.F_UNLCK))}, 293 "F_UNLKSYS": {"untyped int", constant.MakeInt64(int64(q.F_UNLKSYS))}, 294 "F_WRLCK": {"untyped int", constant.MakeInt64(int64(q.F_WRLCK))}, 295 "IPPROTO_IP": {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IP))}, 296 "IPPROTO_IPV4": {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IPV4))}, 297 "IPPROTO_IPV6": {"untyped int", constant.MakeInt64(int64(q.IPPROTO_IPV6))}, 298 "IPPROTO_TCP": {"untyped int", constant.MakeInt64(int64(q.IPPROTO_TCP))}, 299 "IPPROTO_UDP": {"untyped int", constant.MakeInt64(int64(q.IPPROTO_UDP))}, 300 "IPV6_V6ONLY": {"untyped int", constant.MakeInt64(int64(q.IPV6_V6ONLY))}, 301 "ImplementsGetwd": {"untyped bool", constant.MakeBool(bool(q.ImplementsGetwd))}, 302 "O_APPEND": {"untyped int", constant.MakeInt64(int64(q.O_APPEND))}, 303 "O_CLOEXEC": {"untyped int", constant.MakeInt64(int64(q.O_CLOEXEC))}, 304 "O_CREAT": {"untyped int", constant.MakeInt64(int64(q.O_CREAT))}, 305 "O_CREATE": {"untyped int", constant.MakeInt64(int64(q.O_CREATE))}, 306 "O_EXCL": {"untyped int", constant.MakeInt64(int64(q.O_EXCL))}, 307 "O_RDONLY": {"untyped int", constant.MakeInt64(int64(q.O_RDONLY))}, 308 "O_RDWR": {"untyped int", constant.MakeInt64(int64(q.O_RDWR))}, 309 "O_SYNC": {"untyped int", constant.MakeInt64(int64(q.O_SYNC))}, 310 "O_TRUNC": {"untyped int", constant.MakeInt64(int64(q.O_TRUNC))}, 311 "O_WRONLY": {"untyped int", constant.MakeInt64(int64(q.O_WRONLY))}, 312 "PathMax": {"untyped int", constant.MakeInt64(int64(q.PathMax))}, 313 "SOCK_DGRAM": {"untyped int", constant.MakeInt64(int64(q.SOCK_DGRAM))}, 314 "SOCK_RAW": {"untyped int", constant.MakeInt64(int64(q.SOCK_RAW))}, 315 "SOCK_SEQPACKET": {"untyped int", constant.MakeInt64(int64(q.SOCK_SEQPACKET))}, 316 "SOCK_STREAM": {"untyped int", constant.MakeInt64(int64(q.SOCK_STREAM))}, 317 "SOMAXCONN": {"untyped int", constant.MakeInt64(int64(q.SOMAXCONN))}, 318 "SO_ERROR": {"untyped int", constant.MakeInt64(int64(q.SO_ERROR))}, 319 "SYS_FCNTL": {"untyped int", constant.MakeInt64(int64(q.SYS_FCNTL))}, 320 "S_IEXEC": {"untyped int", constant.MakeInt64(int64(q.S_IEXEC))}, 321 "S_IFBLK": {"untyped int", constant.MakeInt64(int64(q.S_IFBLK))}, 322 "S_IFBOUNDSOCK": {"untyped int", constant.MakeInt64(int64(q.S_IFBOUNDSOCK))}, 323 "S_IFCHR": {"untyped int", constant.MakeInt64(int64(q.S_IFCHR))}, 324 "S_IFCOND": {"untyped int", constant.MakeInt64(int64(q.S_IFCOND))}, 325 "S_IFDIR": {"untyped int", constant.MakeInt64(int64(q.S_IFDIR))}, 326 "S_IFDSOCK": {"untyped int", constant.MakeInt64(int64(q.S_IFDSOCK))}, 327 "S_IFIFO": {"untyped int", constant.MakeInt64(int64(q.S_IFIFO))}, 328 "S_IFLNK": {"untyped int", constant.MakeInt64(int64(q.S_IFLNK))}, 329 "S_IFMT": {"untyped int", constant.MakeInt64(int64(q.S_IFMT))}, 330 "S_IFMUTEX": {"untyped int", constant.MakeInt64(int64(q.S_IFMUTEX))}, 331 "S_IFREG": {"untyped int", constant.MakeInt64(int64(q.S_IFREG))}, 332 "S_IFSEMA": {"untyped int", constant.MakeInt64(int64(q.S_IFSEMA))}, 333 "S_IFSHM": {"untyped int", constant.MakeInt64(int64(q.S_IFSHM))}, 334 "S_IFSHM_SYSV": {"untyped int", constant.MakeInt64(int64(q.S_IFSHM_SYSV))}, 335 "S_IFSOCK": {"untyped int", constant.MakeInt64(int64(q.S_IFSOCK))}, 336 "S_IFSOCKADDR": {"untyped int", constant.MakeInt64(int64(q.S_IFSOCKADDR))}, 337 "S_IREAD": {"untyped int", constant.MakeInt64(int64(q.S_IREAD))}, 338 "S_IRGRP": {"untyped int", constant.MakeInt64(int64(q.S_IRGRP))}, 339 "S_IROTH": {"untyped int", constant.MakeInt64(int64(q.S_IROTH))}, 340 "S_IRUSR": {"untyped int", constant.MakeInt64(int64(q.S_IRUSR))}, 341 "S_IRWXG": {"untyped int", constant.MakeInt64(int64(q.S_IRWXG))}, 342 "S_IRWXO": {"untyped int", constant.MakeInt64(int64(q.S_IRWXO))}, 343 "S_IRWXU": {"untyped int", constant.MakeInt64(int64(q.S_IRWXU))}, 344 "S_ISGID": {"untyped int", constant.MakeInt64(int64(q.S_ISGID))}, 345 "S_ISUID": {"untyped int", constant.MakeInt64(int64(q.S_ISUID))}, 346 "S_ISVTX": {"untyped int", constant.MakeInt64(int64(q.S_ISVTX))}, 347 "S_IWGRP": {"untyped int", constant.MakeInt64(int64(q.S_IWGRP))}, 348 "S_IWOTH": {"untyped int", constant.MakeInt64(int64(q.S_IWOTH))}, 349 "S_IWRITE": {"untyped int", constant.MakeInt64(int64(q.S_IWRITE))}, 350 "S_IWUSR": {"untyped int", constant.MakeInt64(int64(q.S_IWUSR))}, 351 "S_IXGRP": {"untyped int", constant.MakeInt64(int64(q.S_IXGRP))}, 352 "S_IXOTH": {"untyped int", constant.MakeInt64(int64(q.S_IXOTH))}, 353 "S_IXUSR": {"untyped int", constant.MakeInt64(int64(q.S_IXUSR))}, 354 "S_UNSUP": {"untyped int", constant.MakeInt64(int64(q.S_UNSUP))}, 355 "Stderr": {"untyped int", constant.MakeInt64(int64(q.Stderr))}, 356 "Stdin": {"untyped int", constant.MakeInt64(int64(q.Stdin))}, 357 "Stdout": {"untyped int", constant.MakeInt64(int64(q.Stdout))}, 358 }, 359 }) 360 }