/system/netd/libnetdutils/ |
D | SocketOption.cpp | 29 Status enableSockopt(Fd sock, int level, int optname) { in enableSockopt() argument 32 return sys.setsockopt(sock, level, optname, &on, sizeof(on)); in enableSockopt()
|
D | Syscalls.cpp | 68 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()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Syscalls.h | 52 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() 130 Status setsockopt(Fd sock, int level, int optname, const SockoptT& opt) const { in setsockopt() argument 131 return setsockopt(sock, level, optname, &opt, sizeof(opt)); in setsockopt()
|
D | SocketOption.h | 36 Status enableSockopt(Fd sock, int level, int optname);
|
D | MockSyscalls.h | 40 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,
|
/system/core/init/ |
D | util.cpp | 519 auto optname = parts[0]; in ParseMkdir() local 521 if (optname == "encryption") { in ParseMkdir() 523 return Error() << "Duplicated option: '" << optname << "'"; in ParseMkdir() 537 } else if (optname == "key") { in ParseMkdir() 539 return Error() << "Duplicated option: '" << optname << "'"; in ParseMkdir()
|
/system/core/adb/ |
D | sysdeps.h | 195 extern int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, 622 static inline int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, in adb_setsockopt() argument 624 return setsockopt(fd.get(), level, optname, optval, optlen); in adb_setsockopt()
|
D | sysdeps_win32.cpp | 1095 int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, socklen_t optlen) { in adb_setsockopt() argument 1109 setsockopt(fh->fh_socket, level, optname, reinterpret_cast<const char*>(optval), optlen); in adb_setsockopt() 1113 optname, android::base::SystemErrorCodeToString(err).c_str()); in adb_setsockopt()
|