/prebuilts/go/linux-x86/src/net/internal/socktest/ |
main_windows_test.go | 7 import "syscall" 10 socketFunc func(int, int, int) (syscall.Handle, error) 11 closeFunc func(syscall.Handle) error 20 socketFunc = syscall.Socket 21 closeFunc = syscall.Closesocket
|
/prebuilts/go/darwin-x86/src/net/ |
sockopt_linux.go | 9 "syscall" 13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW { 17 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only)) 20 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1)) 25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1) [all...] |
sockopt_solaris.go | 9 "syscall" 13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW { 17 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only)) 20 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1)) 25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1) [all...] |
sockopt_windows.go | 9 "syscall" 12 func setDefaultSockopts(s syscall.Handle, family, sotype int, ipv6only bool) error { 13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW { 17 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only)) 20 syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1 [all...] |
main_posix_test.go | 12 "syscall" 24 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_STREAM { 25 return nil, syscall.EHOSTUNREACH 28 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_DGRAM { 29 return nil, syscall.EHOSTUNREACH 32 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_RAW { 33 return nil, syscall.EHOSTUNREAC [all...] |
fd_posix_test.go | 11 "syscall" 21 {100, nil, &netFD{sotype: syscall.SOCK_STREAM}, nil}, 22 {100, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF}, 23 {100, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing}, 24 {0, nil, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF}, 25 {0, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF}, 26 {0, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing}, 28 {100, nil, &netFD{sotype: syscall.SOCK_DGRAM}, nil}, 29 {100, io.EOF, &netFD{sotype: syscall.SOCK_DGRAM}, io.EOF}, 30 {100, errClosing, &netFD{sotype: syscall.SOCK_DGRAM}, errClosing} [all...] |
hook_unix.go | 9 import "syscall" 15 socketFunc func(int, int, int) (int, error) = syscall.Socket 16 closeFunc func(int) error = syscall.Close 17 connectFunc func(int, syscall.Sockaddr) error = syscall.Connect 18 listenFunc func(int, int) error = syscall.Listen 19 acceptFunc func(int) (int, syscall.Sockaddr, error) = syscall.Accept 20 getsockoptIntFunc func(int, int, int) (int, error) = syscall.GetsockoptInt
|
/prebuilts/go/linux-x86/src/net/ |
sockopt_linux.go | 9 "syscall" 13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW { 17 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only)) 20 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1)) 25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1) [all...] |
sockopt_solaris.go | 9 "syscall" 13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW { 17 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only)) 20 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1)) 25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1) [all...] |
sockopt_windows.go | 9 "syscall" 12 func setDefaultSockopts(s syscall.Handle, family, sotype int, ipv6only bool) error { 13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW { 17 syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only)) 20 syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1 [all...] |
main_posix_test.go | 12 "syscall" 24 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_STREAM { 25 return nil, syscall.EHOSTUNREACH 28 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_DGRAM { 29 return nil, syscall.EHOSTUNREACH 32 if so.Cookie.Family() == syscall.AF_INET && so.Cookie.Type() == syscall.SOCK_RAW { 33 return nil, syscall.EHOSTUNREAC [all...] |
fd_posix_test.go | 11 "syscall" 21 {100, nil, &netFD{sotype: syscall.SOCK_STREAM}, nil}, 22 {100, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF}, 23 {100, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing}, 24 {0, nil, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF}, 25 {0, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF}, 26 {0, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing}, 28 {100, nil, &netFD{sotype: syscall.SOCK_DGRAM}, nil}, 29 {100, io.EOF, &netFD{sotype: syscall.SOCK_DGRAM}, io.EOF}, 30 {100, errClosing, &netFD{sotype: syscall.SOCK_DGRAM}, errClosing} [all...] |
hook_unix.go | 9 import "syscall" 15 socketFunc func(int, int, int) (int, error) = syscall.Socket 16 closeFunc func(int) error = syscall.Close 17 connectFunc func(int, syscall.Sockaddr) error = syscall.Connect 18 listenFunc func(int, int) error = syscall.Listen 19 acceptFunc func(int) (int, syscall.Sockaddr, error) = syscall.Accept 20 getsockoptIntFunc func(int, int, int) (int, error) = syscall.GetsockoptInt
|
/prebuilts/go/darwin-x86/api/ |
go1.1.txt | [all...] |
/prebuilts/go/linux-x86/api/ |
go1.1.txt | [all...] |
/prebuilts/go/darwin-x86/src/internal/syscall/windows/registry/ |
zsyscall_windows.go | 6 import "syscall" 11 modadvapi32 = syscall.NewLazyDLL("advapi32.dll") 12 modkernel32 = syscall.NewLazyDLL("kernel32.dll") 22 func regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) { 23 r0, _, _ := syscall.Syscall9(procRegCreateKeyExW.Addr(), 9, uintptr(key), uintptr(unsafe.Pointer(subkey)), uintptr(reserved), uintptr(unsafe.Pointer(class)), uintptr(options), uintptr(desired), uintptr(unsafe.Pointer(sa)), uintptr(unsafe.Pointer(result)), uintptr(unsafe.Pointer(disposition))) 25 regerrno = syscall.Errno(r0) 30 func regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) { 31 r0, _, _ := syscall.Syscall(procRegDeleteKeyW.Addr(), 2, uintptr(key), uintptr(unsafe.Pointer(subkey)), 0 [all...] |
/prebuilts/go/linux-x86/src/internal/syscall/windows/registry/ |
zsyscall_windows.go | 6 import "syscall" 11 modadvapi32 = syscall.NewLazyDLL("advapi32.dll") 12 modkernel32 = syscall.NewLazyDLL("kernel32.dll") 22 func regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) { 23 r0, _, _ := syscall.Syscall9(procRegCreateKeyExW.Addr(), 9, uintptr(key), uintptr(unsafe.Pointer(subkey)), uintptr(reserved), uintptr(unsafe.Pointer(class)), uintptr(options), uintptr(desired), uintptr(unsafe.Pointer(sa)), uintptr(unsafe.Pointer(result)), uintptr(unsafe.Pointer(disposition))) 25 regerrno = syscall.Errno(r0) 30 func regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) { 31 r0, _, _ := syscall.Syscall(procRegDeleteKeyW.Addr(), 2, uintptr(key), uintptr(unsafe.Pointer(subkey)), 0 [all...] |
/external/valgrind/memcheck/tests/solaris/ |
syscall_at.stderr.exp | 2 Warning: invalid file descriptor 159879507 in syscall linkat() 3 Warning: invalid file descriptor 159879508 in syscall linkat() 4 Warning: invalid file descriptor 646349138 in syscall symlinkat() 5 Warning: invalid file descriptor 70680914 in syscall readlinkat() 6 Warning: invalid file descriptor 68362578 in syscall faccessat() 7 Warning: invalid file descriptor 70685266 in syscall fchownat() 8 Warning: invalid file descriptor 70717779 in syscall renameat() 9 Warning: invalid file descriptor 70717780 in syscall renameat() 10 Warning: invalid file descriptor 123765074 in syscall unlinkat() 11 Warning: invalid file descriptor 1112625490 in syscall fstatat( [all...] |
/external/valgrind/none/tests/x86-solaris/ |
syscalls.c | 5 #include <sys/syscall.h> 8 #define SYSCALL(instr, scnum, out) \ 33 /* Normal Solaris/x86 syscall instructions. */ 34 SYSCALL("int $0x91", SYS_getpid, pid); 36 /* AMD's syscall instruction. */ 37 SYSCALL("syscall", SYS_getpid, pid2); 38 check_pid(pid, pid2, "syscall"); 41 SYSCALL("sysenter", SYS_getpid, pid2); 44 /* Linux syscall instructions that are handled as "int $0x91". * [all...] |
/prebuilts/go/darwin-x86/src/os/ |
stat_darwin.go | 8 "syscall" 13 stat1 := fs1.sys.(*syscall.Stat_t) 14 stat2 := fs2.sys.(*syscall.Stat_t) 18 func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo { 26 switch st.Mode & syscall.S_IFMT { 27 case syscall.S_IFBLK, syscall.S_IFWHT: 29 case syscall.S_IFCHR: 31 case syscall.S_IFDIR: 33 case syscall.S_IFIFO [all...] |
exec_windows.go | 11 "syscall" 18 s, e := syscall.WaitForSingleObject(syscall.Handle(handle), syscall.INFINITE) 20 case syscall.WAIT_OBJECT_0: 22 case syscall.WAIT_FAILED: 28 e = syscall.GetExitCodeProcess(syscall.Handle(handle), &ec) 32 var u syscall.Rusage 33 e = syscall.GetProcessTimes(syscall.Handle(handle), &u.CreationTime, &u.ExitTime, &u.KernelTime, &u.UserTime [all...] |
stat_dragonfly.go | 8 "syscall" 13 stat1 := fs1.sys.(*syscall.Stat_t) 14 stat2 := fs2.sys.(*syscall.Stat_t) 18 func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo { 26 switch st.Mode & syscall.S_IFMT { 27 case syscall.S_IFBLK: 29 case syscall.S_IFCHR: 31 case syscall.S_IFDIR: 33 case syscall.S_IFIFO: 35 case syscall.S_IFLNK [all...] |
stat_freebsd.go | 8 "syscall" 13 stat1 := fs1.sys.(*syscall.Stat_t) 14 stat2 := fs2.sys.(*syscall.Stat_t) 18 func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo { 26 switch st.Mode & syscall.S_IFMT { 27 case syscall.S_IFBLK: 29 case syscall.S_IFCHR: 31 case syscall.S_IFDIR: 33 case syscall.S_IFIFO: 35 case syscall.S_IFLNK [all...] |
/prebuilts/go/linux-x86/src/os/ |
stat_darwin.go | 8 "syscall" 13 stat1 := fs1.sys.(*syscall.Stat_t) 14 stat2 := fs2.sys.(*syscall.Stat_t) 18 func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo { 26 switch st.Mode & syscall.S_IFMT { 27 case syscall.S_IFBLK, syscall.S_IFWHT: 29 case syscall.S_IFCHR: 31 case syscall.S_IFDIR: 33 case syscall.S_IFIFO [all...] |
exec_windows.go | 11 "syscall" 18 s, e := syscall.WaitForSingleObject(syscall.Handle(handle), syscall.INFINITE) 20 case syscall.WAIT_OBJECT_0: 22 case syscall.WAIT_FAILED: 28 e = syscall.GetExitCodeProcess(syscall.Handle(handle), &ec) 32 var u syscall.Rusage 33 e = syscall.GetProcessTimes(syscall.Handle(handle), &u.CreationTime, &u.ExitTime, &u.KernelTime, &u.UserTime [all...] |