/external/strace/tests/ |
libsocketcall.c | 40 socketcall(const int nr, const int call, function
|
/external/strace/tests-m32/ |
libsocketcall.c | 40 socketcall(const int nr, const int call, function
|
/external/strace/tests-mx32/ |
libsocketcall.c | 40 socketcall(const int nr, const int call, function
|
/external/ltp/testcases/kernel/syscalls/socketcall/ |
socketcall01.c | 20 * This is a basic test for the socketcall(2) system call. 35 #define socketcall(call, args) syscall(__NR_socketcall, call, args) macro 50 TEST(socketcall(TC[i].call, TC[i].args)); 53 tst_res(TFAIL | TTERRNO, "socketcall() for %s failed with %li", 58 tst_res(TPASS, "socketcall() for %s", TC[i].desc); 71 TST_TEST_TCONF("The socketcall() syscall is not supported");
|
socketcall02.c | 23 * TEST TITLE : Error test for socketcall(2) 34 * verify socketcall(2) returns -1 and sets errno 85 #define socketcall(call, args) syscall(__NR_socketcall, call, args) macro 115 TEST(socketcall(TC.call, TC.args)); 120 tst_resm(TPASS, "socketcall() failed" 123 tst_brkm(TFAIL, NULL, "socketcall()"
|
socketcall03.c | 23 * TEST TITLE : Basic test for socketcall(2) for bind(2) 34 * This is a phase I test for the socketcall(2) system call. 81 #define socketcall(call, args) syscall(__NR_socketcall, call, args) macro 117 TEST(socketcall(TC.call, args)); 122 tst_resm(TFAIL | TERRNO, "socketcall() Failed " 125 tst_resm(TPASS, "socketcall() passed "
|
socketcall04.c | 23 * TEST TITLE : Basic test for socketcall(2) for listen(2) 34 * This is a phase I test for the socketcall(2) system call. 81 #define socketcall(call, args) syscall(__NR_socketcall, call, args) macro 117 TEST(socketcall(TC.call, args)); 121 tst_resm(TFAIL | TTERRNO, "socketcall() Failed " 124 tst_resm(TPASS, "socketcall() passed "
|
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_linux_386.go | 177 // socketcall assembly to avoid allocation on every system call. 203 func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err Errno) func 207 fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) 215 fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) 247 _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 255 _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 271 _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) 279 _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0) 291 n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) 303 _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen) [all...] |
syscall_linux_s390x.go | 108 // socketcall assembly to avoid allocation on every system call. 134 func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err Errno) func 138 fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) 146 fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) 178 _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 186 _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 202 _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) 210 _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0) 222 n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) 234 _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen) [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
syscall_linux_386.go | 177 // socketcall assembly to avoid allocation on every system call. 203 func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err Errno) func 207 fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) 215 fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) 247 _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 255 _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 271 _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) 279 _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0) 291 n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) 303 _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen) [all...] |
syscall_linux_s390x.go | 108 // socketcall assembly to avoid allocation on every system call. 134 func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err Errno) func 138 fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) 146 fd, e := socketcall(_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) 178 _, e := socketcall(_BIND, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 186 _, e := socketcall(_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) 202 _, e := socketcall(_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) 210 _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0) 222 n, e := socketcall(_RECVFROM, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) 234 _, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen) [all...] |
/external/google-breakpad/src/third_party/lss/ |
linux_syscall_support.h | 3686 LSS_INLINE int LSS_NAME(socketcall)(int op, ...) { function [all...] |