/system/core/init/ |
D | util.cpp | 520 auto optval = parts[1]; in ParseMkdir() local 525 if (optval == "Require") { in ParseMkdir() 527 } else if (optval == "None") { in ParseMkdir() 529 } else if (optval == "Attempt") { in ParseMkdir() 531 } else if (optval == "DeleteIfNecessary") { in ParseMkdir() 534 return Error() << "Unknown encryption option: '" << optval << "'"; in ParseMkdir() 541 if (optval == "ref" || optval == "per_boot_ref") { in ParseMkdir() 542 ref_option = optval; in ParseMkdir() 544 return Error() << "Unknown key option: '" << optval << "'"; in ParseMkdir()
|
/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()
|
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/netd/libnetdutils/ |
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/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()
|
/system/netd/server/ |
D | XfrmController.cpp | 470 int optval; in ipSecSetEncapSocketOwner() local 471 socklen_t optlen = sizeof(optval); in ipSecSetEncapSocketOwner() 473 getSyscallInstance().getsockopt(Fd(fd), IPPROTO_UDP, UDP_ENCAP, &optval, &optlen); in ipSecSetEncapSocketOwner() 477 if (optval != UDP_ENCAP_ESPINUDP && optval != UDP_ENCAP_ESPINUDP_NON_IKE) { in ipSecSetEncapSocketOwner()
|
D | XfrmControllerTest.cpp | 548 const void* optval; in TEST_P() local 559 .WillOnce(DoAll(SaveArg<3>(&optval), SaveArg<4>(&optlen), in TEST_P() 565 EXPECT_EQ(nullptr, optval); in TEST_P()
|