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

1 2 3 4 56 7 8 91011>>

  /prebuilts/go/linux-x86/src/os/
stat_nacl.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...]
pipe_linux.go 7 import "syscall"
14 e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC)
17 if e == syscall.ENOSYS {
18 // See ../syscall/exec.go for description of lock.
19 syscall.ForkLock.RLock()
20 e = syscall.Pipe(p[0:])
22 syscall.ForkLock.RUnlock()
25 syscall.CloseOnExec(p[0])
26 syscall.CloseOnExec(p[1]
    [all...]
  /external/strace/tests/
select.test 3 # Check select syscall decoding.
8 syscall=${ME_%.test}
10 run_strace -a36 -e$syscall $args > "$OUT"
statx.sh 7 syscall=${ME_%.test}
10 run_strace -ve$syscall -P$syscall.sample $args > "$OUT"
  /prebuilts/go/darwin-x86/src/net/
hook_cloexec.go 9 import "syscall"
13 accept4Func func(int, int) (int, syscall.Sockaddr, error) = syscall.Accept4
tcpsockopt_stub.go 10 "syscall"
15 return syscall.ENOPROTOOPT
19 return syscall.ENOPROTOOPT
sockoptip_posix.go 11 "syscall"
15 mreq := &syscall.IPMreq{Multiaddr: [4]byte{ip[0], ip[1], ip[2], ip[3]}}
23 return os.NewSyscallError("setsockopt", syscall.SetsockoptIPMreq(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_ADD_MEMBERSHIP, mreq))
35 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IPV6, syscall.IPV6_MULTICAST_IF, v))
43 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IPV6, syscall.IPV6_MULTICAST_LOOP, boolint(v))
    [all...]
sockopt_stub.go 9 import "syscall"
24 return syscall.ENOPROTOOPT
28 return syscall.ENOPROTOOPT
32 return syscall.ENOPROTOOPT
36 return syscall.ENOPROTOOPT
lookup_stub.go 9 import "syscall"
12 return 0, syscall.ENOPROTOOPT
16 return nil, syscall.ENOPROTOOPT
20 return nil, syscall.ENOPROTOOPT
24 return 0, syscall.ENOPROTOOPT
28 return "", syscall.ENOPROTOOPT
32 return "", nil, syscall.ENOPROTOOPT
36 return nil, syscall.ENOPROTOOPT
40 return nil, syscall.ENOPROTOOPT
44 return nil, syscall.ENOPROTOOP
    [all...]
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))
  /prebuilts/go/linux-x86/src/net/
hook_cloexec.go 9 import "syscall"
13 accept4Func func(int, int) (int, syscall.Sockaddr, error) = syscall.Accept4
tcpsockopt_stub.go 10 "syscall"
15 return syscall.ENOPROTOOPT
19 return syscall.ENOPROTOOPT
sockoptip_posix.go 11 "syscall"
15 mreq := &syscall.IPMreq{Multiaddr: [4]byte{ip[0], ip[1], ip[2], ip[3]}}
23 return os.NewSyscallError("setsockopt", syscall.SetsockoptIPMreq(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_ADD_MEMBERSHIP, mreq))
35 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IPV6, syscall.IPV6_MULTICAST_IF, v))
43 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IPV6, syscall.IPV6_MULTICAST_LOOP, boolint(v))
    [all...]
sockopt_stub.go 9 import "syscall"
24 return syscall.ENOPROTOOPT
28 return syscall.ENOPROTOOPT
32 return syscall.ENOPROTOOPT
36 return syscall.ENOPROTOOPT
lookup_stub.go 9 import "syscall"
12 return 0, syscall.ENOPROTOOPT
16 return nil, syscall.ENOPROTOOPT
20 return nil, syscall.ENOPROTOOPT
24 return 0, syscall.ENOPROTOOPT
28 return "", syscall.ENOPROTOOPT
32 return "", nil, syscall.ENOPROTOOPT
36 return nil, syscall.ENOPROTOOPT
40 return nil, syscall.ENOPROTOOPT
44 return nil, syscall.ENOPROTOOP
    [all...]
  /prebuilts/go/darwin-x86/src/internal/syscall/windows/registry/
syscall.go 9 import "syscall"
11 //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall.go
19 _ERROR_NO_MORE_ITEMS syscall.Errno = 259
22 //sys regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) = advapi32.RegCreateKeyExW
23 //sys regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) = advapi32.RegDeleteKeyW
24 //sys regSetValueEx(key syscall.Handle, valueName *uint16, reserved uint32, vtype uint32, buf *byte, bufsize uint32) (regerrno error) = advapi32.RegSetValueExW
25 //sys regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, (…)
    [all...]
  /prebuilts/go/darwin-x86/src/internal/syscall/windows/
zsyscall_windows.go 6 import "syscall"
11 modiphlpapi = syscall.NewLazyDLL("iphlpapi.dll")
12 modkernel32 = syscall.NewLazyDLL("kernel32.dll")
20 r0, _, _ := syscall.Syscall6(procGetAdaptersAddresses.Addr(), 5, uintptr(family), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(adapterAddresses)), uintptr(unsafe.Pointer(sizeOfPointer)), 0)
22 errcode = syscall.Errno(r0)
28 r1, _, e1 := syscall.Syscall(procGetComputerNameExW.Addr(), 3, uintptr(nameformat), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(n)))
33 err = syscall.EINVAL
40 r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(fla (…)
    [all...]
  /prebuilts/go/darwin-x86/src/os/
pipe_linux.go 7 import "syscall"
14 e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC)
17 if e == syscall.ENOSYS {
18 // See ../syscall/exec.go for description of lock.
19 syscall.ForkLock.RLock()
20 e = syscall.Pipe(p[0:])
22 syscall.ForkLock.RUnlock()
25 syscall.CloseOnExec(p[0])
26 syscall.CloseOnExec(p[1]
    [all...]
  /prebuilts/go/linux-x86/src/internal/syscall/windows/registry/
syscall.go 9 import "syscall"
11 //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall.go
19 _ERROR_NO_MORE_ITEMS syscall.Errno = 259
22 //sys regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) = advapi32.RegCreateKeyExW
23 //sys regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) = advapi32.RegDeleteKeyW
24 //sys regSetValueEx(key syscall.Handle, valueName *uint16, reserved uint32, vtype uint32, buf *byte, bufsize uint32) (regerrno error) = advapi32.RegSetValueExW
25 //sys regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, (…)
    [all...]
  /prebuilts/go/linux-x86/src/internal/syscall/windows/
zsyscall_windows.go 6 import "syscall"
11 modiphlpapi = syscall.NewLazyDLL("iphlpapi.dll")
12 modkernel32 = syscall.NewLazyDLL("kernel32.dll")
20 r0, _, _ := syscall.Syscall6(procGetAdaptersAddresses.Addr(), 5, uintptr(family), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(adapterAddresses)), uintptr(unsafe.Pointer(sizeOfPointer)), 0)
22 errcode = syscall.Errno(r0)
28 r1, _, e1 := syscall.Syscall(procGetComputerNameExW.Addr(), 3, uintptr(nameformat), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(n)))
33 err = syscall.EINVAL
40 r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(fla (…)
    [all...]

Completed in 131 milliseconds

1 2 3 4 56 7 8 91011>>