Home
last modified time | relevance | path

Searched refs:optval (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DSyscalls.h52 virtual Status getsockopt(Fd sock, int level, int optname, void *optval,
55 virtual Status setsockopt(Fd sock, int level, int optname, const void* optval,
125 Status getsockopt(Fd sock, int level, int optname, void* optval, socklen_t* optlen) const { in getsockopt() argument
126 return getsockopt(sock, level, optname, optval, optlen); in getsockopt()
DMockSyscalls.h40 MOCK_CONST_METHOD5(getsockopt, Status(Fd sock, int level, int optname, void* optval,
42 MOCK_CONST_METHOD5(setsockopt, Status(Fd sock, int level, int optname, const void* optval,
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSyscalls.cpp68 Status getsockopt(Fd sock, int level, int optname, void* optval, in getsockopt() argument
70 auto rv = ::getsockopt(sock.get(), level, optname, optval, optlen); in getsockopt()
77 Status setsockopt(Fd sock, int level, int optname, const void* optval, in setsockopt() argument
79 auto rv = ::setsockopt(sock.get(), level, optname, optval, optlen); in setsockopt()
/packages/modules/Bluetooth/system/gd/hal/
Dsyscall_wrapper_impl.cc58 int SyscallWrapperImpl::Setsockopt(int fd, int level, int optname, const void* optval, socklen_t op… in Setsockopt() argument
59 int ret = setsockopt(fd, level, optname, optval, optlen); in Setsockopt()
Dsyscall_wrapper_impl.h37 int Setsockopt(int fd, int level, int optname, const void* optval, socklen_t optlen);
Dsyscall_wrapper_interface.h47 virtual int Setsockopt(int fd, int level, int optname, const void* optval, socklen_t optlen) = 0;
/packages/modules/adb/
Dsysdeps.h200 extern int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval,
662 static inline int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, in adb_setsockopt() argument
664 return setsockopt(fd.get(), level, optname, optval, optlen); in adb_setsockopt()
Dsysdeps_win32.cpp1260 int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, socklen_t optlen) { in adb_setsockopt() argument
1274 setsockopt(fh->fh_socket, level, optname, reinterpret_cast<const char*>(optval), optlen); in adb_setsockopt()