HomeSort by relevance Sort by last modified time
    Searched refs:syscall (Results 276 - 300 of 2048) sorted by null

<<11121314151617181920>>

  /prebuilts/go/linux-x86/src/net/
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
interface_darwin.go 9 "syscall"
15 tab, err := syscall.RouteRIB(syscall.NET_RT_IFLIST2, ifi.Index)
19 msgs, err := syscall.ParseRoutingMessage(tab)
26 case *syscall.InterfaceMulticastAddrMessage:
41 func newMulticastAddr(ifi *Interface, m *syscall.InterfaceMulticastAddrMessage) (*IPAddr, error) {
42 sas, err := syscall.ParseRoutingSockaddr(m)
46 switch sa := sas[syscall.RTAX_IFA].(type) {
47 case *syscall.SockaddrInet4:
49 case *syscall.SockaddrInet6
    [all...]
interface_freebsd.go 9 "syscall"
15 tab, err := syscall.RouteRIB(syscall.NET_RT_IFMALIST, ifi.Index)
19 msgs, err := syscall.ParseRoutingMessage(tab)
26 case *syscall.InterfaceMulticastAddrMessage:
41 func newMulticastAddr(ifi *Interface, m *syscall.InterfaceMulticastAddrMessage) (*IPAddr, error) {
42 sas, err := syscall.ParseRoutingSockaddr(m)
46 switch sa := sas[syscall.RTAX_IFA].(type) {
47 case *syscall.SockaddrInet4:
49 case *syscall.SockaddrInet6
    [all...]
  /prebuilts/go/darwin-x86/src/net/internal/socktest/
sys_windows.go 7 import "syscall"
9 // Socket wraps syscall.Socket.
10 func (sw *Switch) Socket(family, sotype, proto int) (s syscall.Handle, err error) {
20 return syscall.InvalidHandle, err
22 s, so.Err = syscall.Socket(family, sotype, proto)
25 syscall.Closesocket(s)
27 return syscall.InvalidHandle, err
34 return syscall.InvalidHandle, so.Err
41 // Closesocket wraps syscall.Closesocket.
42 func (sw *Switch) Closesocket(s syscall.Handle) (err error)
    [all...]
sys_unix.go 9 import "syscall"
11 // Socket wraps syscall.Socket.
24 s, so.Err = syscall.Socket(family, sotype, proto)
27 syscall.Close(s)
43 // Close wraps syscall.Close.
47 return syscall.Close(s)
57 so.Err = syscall.Close(s)
73 // Connect wraps syscall.Connect.
74 func (sw *Switch) Connect(s int, sa syscall.Sockaddr) (err error) {
77 return syscall.Connect(s, sa
    [all...]
sys_cloexec.go 9 import "syscall"
11 // Accept4 wraps syscall.Accept4.
12 func (sw *Switch) Accept4(s, flags int) (ns int, sa syscall.Sockaddr, err error) {
15 return syscall.Accept4(s, flags)
25 ns, sa, so.Err = syscall.Accept4(s, flags)
28 syscall.Close(ns)
  /prebuilts/go/linux-x86/src/net/internal/socktest/
sys_windows.go 7 import "syscall"
9 // Socket wraps syscall.Socket.
10 func (sw *Switch) Socket(family, sotype, proto int) (s syscall.Handle, err error) {
20 return syscall.InvalidHandle, err
22 s, so.Err = syscall.Socket(family, sotype, proto)
25 syscall.Closesocket(s)
27 return syscall.InvalidHandle, err
34 return syscall.InvalidHandle, so.Err
41 // Closesocket wraps syscall.Closesocket.
42 func (sw *Switch) Closesocket(s syscall.Handle) (err error)
    [all...]
sys_unix.go 9 import "syscall"
11 // Socket wraps syscall.Socket.
24 s, so.Err = syscall.Socket(family, sotype, proto)
27 syscall.Close(s)
43 // Close wraps syscall.Close.
47 return syscall.Close(s)
57 so.Err = syscall.Close(s)
73 // Connect wraps syscall.Connect.
74 func (sw *Switch) Connect(s int, sa syscall.Sockaddr) (err error) {
77 return syscall.Connect(s, sa
    [all...]
sys_cloexec.go 9 import "syscall"
11 // Accept4 wraps syscall.Accept4.
12 func (sw *Switch) Accept4(s, flags int) (ns int, sa syscall.Sockaddr, err error) {
15 return syscall.Accept4(s, flags)
25 ns, sa, so.Err = syscall.Accept4(s, flags)
28 syscall.Close(ns)
  /external/strace/tests/
sendfile.c 41 #include <sys/syscall.h>
70 if (!syscall(__NR_sendfile, 0, 1, NULL, page_len) ||
81 if (!syscall(__NR_sendfile, 0, 1, p + page_len, page_len))
86 if (syscall(__NR_sendfile, sv[1], reg_in, NULL, alen) != (long) alen)
93 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) {
98 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen)
106 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, stb.st_size + 1)
118 if (!syscall(__NR_sendfile, sv[1], reg_in, p_off64, 1))
126 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, 1))
fcntl64.c 32 #include <sys/syscall.h>
49 syscall(TEST_SYSCALL_NR, 0, cmd, &fl);
69 int rc = syscall(TEST_SYSCALL_NR, 0, F_SETLK64, &fl);
77 syscall(TEST_SYSCALL_NR, 0, F_GETLK64, &fl);
82 syscall(TEST_SYSCALL_NR, 0, F_SETLK64, &fl);
timer_create.c 36 #include <sys/syscall.h>
51 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0]))
62 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1]))
75 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2]))
101 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3]))
  /bionic/libc/arch-mips64/bionic/
syscall.S 38 LEAF(syscall,FRAMESZ)
40 SETUP_GP64(FRAME_GP,syscall)
42 move v0, a0 # syscall number to v0
57 syscall
68 END(syscall)
  /prebuilts/go/darwin-x86/src/net/
interface_darwin.go 9 "syscall"
15 tab, err := syscall.RouteRIB(syscall.NET_RT_IFLIST2, ifi.Index)
19 msgs, err := syscall.ParseRoutingMessage(tab)
26 case *syscall.InterfaceMulticastAddrMessage:
41 func newMulticastAddr(ifi *Interface, m *syscall.InterfaceMulticastAddrMessage) (*IPAddr, error) {
42 sas, err := syscall.ParseRoutingSockaddr(m)
46 switch sa := sas[syscall.RTAX_IFA].(type) {
47 case *syscall.SockaddrInet4:
49 case *syscall.SockaddrInet6
    [all...]
interface_freebsd.go 9 "syscall"
15 tab, err := syscall.RouteRIB(syscall.NET_RT_IFMALIST, ifi.Index)
19 msgs, err := syscall.ParseRoutingMessage(tab)
26 case *syscall.InterfaceMulticastAddrMessage:
41 func newMulticastAddr(ifi *Interface, m *syscall.InterfaceMulticastAddrMessage) (*IPAddr, error) {
42 sas, err := syscall.ParseRoutingSockaddr(m)
46 switch sa := sas[syscall.RTAX_IFA].(type) {
47 case *syscall.SockaddrInet4:
49 case *syscall.SockaddrInet6
    [all...]
  /prebuilts/go/darwin-x86/src/time/
sys_plan9.go 11 "syscall"
23 f, err := syscall.Open(name, syscall.O_RDONLY)
27 defer syscall.Close(f)
34 n, err = syscall.Read(f, buf[:])
46 fd, err := syscall.Open(name, syscall.O_RDONLY)
54 syscall.Close(int(fd))
62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
66 m, err := syscall.Read(int(fd), buf
    [all...]
  /prebuilts/go/linux-x86/src/time/
sys_plan9.go 11 "syscall"
23 f, err := syscall.Open(name, syscall.O_RDONLY)
27 defer syscall.Close(f)
34 n, err = syscall.Read(f, buf[:])
46 fd, err := syscall.Open(name, syscall.O_RDONLY)
54 syscall.Close(int(fd))
62 if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
66 m, err := syscall.Read(int(fd), buf
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
syscall_unix_test.go 19 "syscall"
29 _ func(int, int, int) error = syscall.Setpriority
30 _ func(int, int) (int, error) = syscall.Getpriority
33 _ int = syscall.PRIO_USER
34 _ int = syscall.PRIO_PROCESS
35 _ int = syscall.PRIO_PGRP
40 _ int = syscall.TCIFLUSH
41 _ int = syscall.TCIOFLUSH
42 _ int = syscall.TCOFLUSH
47 _ = syscall.Flock_t
    [all...]
  /prebuilts/go/linux-x86/src/syscall/
syscall_unix_test.go 19 "syscall"
29 _ func(int, int, int) error = syscall.Setpriority
30 _ func(int, int) (int, error) = syscall.Getpriority
33 _ int = syscall.PRIO_USER
34 _ int = syscall.PRIO_PROCESS
35 _ int = syscall.PRIO_PGRP
40 _ int = syscall.TCIFLUSH
41 _ int = syscall.TCIOFLUSH
42 _ int = syscall.TCOFLUSH
47 _ = syscall.Flock_t
    [all...]
  /bionic/benchmarks/
time_benchmark.cpp 17 #include <sys/syscall.h>
35 syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &t);
51 syscall(__NR_gettimeofday, &tv, NULL);
  /bionic/libc/arch-mips/bionic/
syscall.S 33 * syscall has up to 6 arguments, so we need space for the extra two arguments.
37 ENTRY(syscall) function
50 syscall
61 END(syscall)
  /external/valgrind/memcheck/tests/solaris/
execx.c 8 #include <sys/syscall.h>
12 int ret = syscall(SYS_execve, -1, 0, 0, 0);
19 int ret = syscall(SYS_execve, -1, 0, 0, EXEC_DESCRIPTOR);
53 /* First exercise the syscall with some invalid input. */
  /external/valgrind/memcheck/tests/x86-linux/
scalar.h 8 #include <sys/syscall.h>
16 extern long int syscall (long int __sysno, ...) __THROW;
18 // Thorough syscall scalar arg checking. Also serves as thorough checking
19 // for (very) basic syscall use. Generally not trying to do anything
28 #define SY res = syscall
  /prebuilts/go/darwin-x86/src/os/
error_windows.go 7 import "syscall"
18 return err == syscall.ERROR_ALREADY_EXISTS ||
19 err == syscall.ERROR_FILE_EXISTS || err == ErrExist
31 return err == syscall.ERROR_FILE_NOT_FOUND ||
32 err == syscall.ERROR_PATH_NOT_FOUND || err == ErrNotExist
44 return err == syscall.ERROR_ACCESS_DENIED || err == ErrPermission

Completed in 7937 milliseconds

<<11121314151617181920>>