HomeSort by relevance Sort by last modified time
    Searched full:syscall (Results 151 - 175 of 3446) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/go/darwin-x86/src/net/
tcpsockopt_unix.go 11 "syscall"
23 if err := syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, secs); err != nil {
26 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs))
file_unix.go 11 "syscall"
19 if err := syscall.SetNonblock(s, true); err != nil {
31 family := syscall.AF_UNSPEC
32 sotype, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_TYPE)
37 lsa, _ := syscall.Getsockname(s)
38 rsa, _ := syscall.Getpeername(s)
40 case *syscall.SockaddrInet4:
41 family = syscall.AF_INE
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/race/
race_unix_test.go 12 "syscall"
19 data, err := syscall.Mmap(-1, 0, 4096, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE)
29 syscall.Munmap(data)
  /prebuilts/go/linux-x86/src/net/
cgo_sockold.go 19 "syscall"
24 sa := syscall.RawSockaddrInet4{Len: syscall.SizeofSockaddrInet4, Family: syscall.AF_INET}
30 sa := syscall.RawSockaddrInet6{Len: syscall.SizeofSockaddrInet6, Family: syscall.AF_INET6}
sockoptip_bsd.go 11 "syscall"
25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInet4Addr(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, a))
33 return os.NewSyscallError("setsockopt", syscall.SetsockoptByte(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, byte(boolint(v))))
sockoptip_stub.go 9 import "syscall"
13 return syscall.ENOPROTOOPT
18 return syscall.ENOPROTOOPT
23 return syscall.ENOPROTOOPT
28 return syscall.ENOPROTOOPT
33 return syscall.ENOPROTOOPT
38 return syscall.ENOPROTOOPT
sockoptip_windows.go 9 "syscall"
24 return os.NewSyscallError("setsockopt", syscall.Setsockopt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, (*byte)(unsafe.Pointer(&a[0])), 4))
32 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v)))
tcpsockopt_darwin.go 9 "syscall"
23 switch err := syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, sysTCP_KEEPINTVL, secs); err {
24 case nil, syscall.ENOPROTOOPT: // OS X 10.7 and earlier don't support this option
28 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs))
tcpsockopt_dragonfly.go 9 "syscall"
22 if err := syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, msecs); err != nil {
25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, msecs))
tcpsockopt_unix.go 11 "syscall"
23 if err := syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, secs); err != nil {
26 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs))
file_unix.go 11 "syscall"
19 if err := syscall.SetNonblock(s, true); err != nil {
31 family := syscall.AF_UNSPEC
32 sotype, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_TYPE)
37 lsa, _ := syscall.Getsockname(s)
38 rsa, _ := syscall.Getpeername(s)
40 case *syscall.SockaddrInet4:
41 family = syscall.AF_INE
    [all...]
  /prebuilts/go/linux-x86/src/runtime/race/
race_unix_test.go 12 "syscall"
19 data, err := syscall.Mmap(-1, 0, 4096, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE)
29 syscall.Munmap(data)
  /prebuilts/go/darwin-x86/src/time/
sys_unix.go 11 "syscall"
16 syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
23 f, err := syscall.Open(name, syscall.O_RDONLY, 0)
27 defer syscall.Close(f)
34 n, err = syscall.Read(f, buf[:])
46 fd, err := syscall.Open(name, syscall.O_RDONLY, 0
    [all...]
sys_windows.go 9 "syscall"
20 f, err := syscall.Open(name, syscall.O_RDONLY, 0)
24 defer syscall.Close(f)
31 n, err = syscall.Read(f, buf[:])
43 fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
51 syscall.Close(syscall.Handle(fd))
59 if _, err := syscall.Seek(syscall.Handle(fd), int64(off), whence); err != nil
    [all...]
  /prebuilts/go/linux-x86/src/time/
sys_unix.go 11 "syscall"
16 syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
23 f, err := syscall.Open(name, syscall.O_RDONLY, 0)
27 defer syscall.Close(f)
34 n, err = syscall.Read(f, buf[:])
46 fd, err := syscall.Open(name, syscall.O_RDONLY, 0
    [all...]
sys_windows.go 9 "syscall"
20 f, err := syscall.Open(name, syscall.O_RDONLY, 0)
24 defer syscall.Close(f)
31 n, err = syscall.Read(f, buf[:])
43 fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
51 syscall.Close(syscall.Handle(fd))
59 if _, err := syscall.Seek(syscall.Handle(fd), int64(off), whence); err != nil
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
memmove_linux_amd64_test.go 11 "syscall"
32 base, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
33 0xa0<<32, 3<<30, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_PRIVATE|syscall.MAP_ANONYMOUS, ^uintptr(0), 0)
37 syscall.Syscall(syscall.SYS_MUNMAP, base, 3<<30, 0
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
memmove_linux_amd64_test.go 11 "syscall"
32 base, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
33 0xa0<<32, 3<<30, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_PRIVATE|syscall.MAP_ANONYMOUS, ^uintptr(0), 0)
37 syscall.Syscall(syscall.SYS_MUNMAP, base, 3<<30, 0
    [all...]
  /prebuilts/go/darwin-x86/src/net/internal/socktest/
switch_posix.go 11 "syscall"
16 case syscall.AF_INET:
18 case syscall.AF_INET6:
20 case syscall.AF_UNIX:
30 case syscall.SOCK_STREAM:
32 case syscall.SOCK_DGRAM:
34 case syscall.SOCK_RAW:
36 case syscall.SOCK_SEQPACKET:
51 case syscall.IPPROTO_TCP:
53 case syscall.IPPROTO_UDP
    [all...]
  /prebuilts/go/linux-x86/src/net/internal/socktest/
switch_posix.go 11 "syscall"
16 case syscall.AF_INET:
18 case syscall.AF_INET6:
20 case syscall.AF_UNIX:
30 case syscall.SOCK_STREAM:
32 case syscall.SOCK_DGRAM:
34 case syscall.SOCK_RAW:
36 case syscall.SOCK_SEQPACKET:
51 case syscall.IPPROTO_TCP:
53 case syscall.IPPROTO_UDP
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/x509/
root_windows.go 9 "syscall"
13 // Creates a new *syscall.CertContext representing the leaf certificate in an in-memory
19 // syscall.CertFreeCertificateContext.
20 func createStoreContext(leaf *Certificate, opts *VerifyOptions) (*syscall.CertContext, error) {
21 var storeCtx *syscall.CertContext
23 leafCtx, err := syscall.CertCreateCertificateContext(syscall.X509_ASN_ENCODING|syscall.PKCS_7_ASN_ENCODING, &leaf.Raw[0], uint32(len(leaf.Raw)))
27 defer syscall.CertFreeCertificateContext(leafCtx)
29 handle, err := syscall.CertOpenStore(syscall.CERT_STORE_PROV_MEMORY, 0, 0, syscall.CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE (…)
    [all...]
  /prebuilts/go/linux-x86/src/crypto/x509/
root_windows.go 9 "syscall"
13 // Creates a new *syscall.CertContext representing the leaf certificate in an in-memory
19 // syscall.CertFreeCertificateContext.
20 func createStoreContext(leaf *Certificate, opts *VerifyOptions) (*syscall.CertContext, error) {
21 var storeCtx *syscall.CertContext
23 leafCtx, err := syscall.CertCreateCertificateContext(syscall.X509_ASN_ENCODING|syscall.PKCS_7_ASN_ENCODING, &leaf.Raw[0], uint32(len(leaf.Raw)))
27 defer syscall.CertFreeCertificateContext(leafCtx)
29 handle, err := syscall.CertOpenStore(syscall.CERT_STORE_PROV_MEMORY, 0, 0, syscall.CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE (…)
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
route_bsd_test.go 13 "syscall"
19 for _, facility := range []int{syscall.NET_RT_DUMP, syscall.NET_RT_IFLIST} {
20 for _, param := range []int{syscall.AF_UNSPEC, syscall.AF_INET, syscall.AF_INET6} {
26 b, err = syscall.RouteRIB(facility, param)
37 msgs, err := syscall.ParseRoutingMessage(b)
54 if flags&(syscall.RTA_DST|syscall.RTA_IFA) != 0
    [all...]
route_ifma_test.go 11 "syscall"
14 func parseRoutingMessageHeader(m syscall.RoutingMessage) (addrFlags, error) {
16 case *syscall.RouteMessage:
17 errno := syscall.Errno(uintptr(m.Header.Errno))
22 case *syscall.InterfaceMessage:
24 case *syscall.InterfaceAddrMessage:
26 case *syscall.InterfaceMulticastAddrMessage:
33 func parseRoutingSockaddrs(m syscall.RoutingMessage) ([]syscall.Sockaddr, error) {
35 case *syscall.RouteMessage
    [all...]
  /prebuilts/go/linux-x86/src/syscall/
route_bsd_test.go 13 "syscall"
19 for _, facility := range []int{syscall.NET_RT_DUMP, syscall.NET_RT_IFLIST} {
20 for _, param := range []int{syscall.AF_UNSPEC, syscall.AF_INET, syscall.AF_INET6} {
26 b, err = syscall.RouteRIB(facility, param)
37 msgs, err := syscall.ParseRoutingMessage(b)
54 if flags&(syscall.RTA_DST|syscall.RTA_IFA) != 0
    [all...]

Completed in 321 milliseconds

1 2 3 4 5 67 8 91011>>