/foundation/communication/dhcp/test/services/dhcp_client/ |
D | mock_system_func.cpp | 97 int __real_setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optle… 98 int __wrap_setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optle… in __wrap_setsockopt() argument 101 … return MockSystemFunc::GetInstance().setsockopt(__fd, __level, __optname, __optval, __optlen); in __wrap_setsockopt() 103 return __real_setsockopt(__fd, __level, __optname, __optval, __optlen); in __wrap_setsockopt() 107 int __real_ioctl(int __fd, unsigned long __request, struct sockaddr *__ifreq); 108 int __wrap_ioctl(int __fd, unsigned long __request, struct sockaddr *__ifreq) in __wrap_ioctl() argument 111 return MockSystemFunc::GetInstance().ioctl(__fd, __request, __ifreq); in __wrap_ioctl() 113 return __real_ioctl(__fd, __request, __ifreq); in __wrap_ioctl() 117 int __real_bind(int __fd, const struct sockaddr *__addr, socklen_t __len); 118 int __wrap_bind(int __fd, const struct sockaddr *__addr, socklen_t __len) in __wrap_bind() argument [all …]
|
D | mock_system_func.h | 38 …MOCK_METHOD5(setsockopt, int(int __fd, int __level, int __optname, const void *__optval, socklen_t… 39 MOCK_METHOD3(ioctl, int(int __fd, unsigned long __request, struct sockaddr *__ifreq)); 40 MOCK_METHOD3(bind, int(int __fd, const struct sockaddr *__addr, socklen_t __len)); 41 MOCK_METHOD2(listen, int(int __fd, int __n)); 42 MOCK_METHOD3(connect, int(int __fd, const struct sockaddr *__addr, socklen_t __len));
|
/foundation/communication/dhcp/test/services/mgr_service/ |
D | mock_system_func.cpp | 94 int __real_setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optle… 95 int __wrap_setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optle… in __wrap_setsockopt() argument 98 … return MockSystemFunc::GetInstance().setsockopt(__fd, __level, __optname, __optval, __optlen); in __wrap_setsockopt() 100 return __real_setsockopt(__fd, __level, __optname, __optval, __optlen); in __wrap_setsockopt() 104 int __real_ioctl(int __fd, unsigned long __request, struct sockaddr *__ifreq); 105 int __wrap_ioctl(int __fd, unsigned long __request, struct sockaddr *__ifreq) in __wrap_ioctl() argument 108 return MockSystemFunc::GetInstance().ioctl(__fd, __request, __ifreq); in __wrap_ioctl() 110 return __real_ioctl(__fd, __request, __ifreq); in __wrap_ioctl() 114 int __real_bind(int __fd, const struct sockaddr *__addr, socklen_t __len); 115 int __wrap_bind(int __fd, const struct sockaddr *__addr, socklen_t __len) in __wrap_bind() argument [all …]
|
D | mock_system_func.h | 36 …MOCK_METHOD5(setsockopt, int(int __fd, int __level, int __optname, const void *__optval, socklen_t… 37 MOCK_METHOD3(ioctl, int(int __fd, unsigned long __request, struct sockaddr *__ifreq)); 38 MOCK_METHOD3(bind, int(int __fd, const struct sockaddr *__addr, socklen_t __len)); 39 MOCK_METHOD2(listen, int(int __fd, int __n)); 40 MOCK_METHOD3(connect, int(int __fd, const struct sockaddr *__addr, socklen_t __len));
|
/foundation/communication/dhcp/test/services/dhcp_server/unittest/ |
D | system_func_mock.cpp | 84 int __real_setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optle… 85 int __wrap_setsockopt(int __fd, int __level, int __optname, const void *__optval, socklen_t __optle… in __wrap_setsockopt() argument 90 … return SystemFuncMock::GetInstance().setsockopt(__fd, __level, __optname, __optval, __optlen); in __wrap_setsockopt() 94 return __real_setsockopt(__fd, __level, __optname, __optval, __optlen); in __wrap_setsockopt() 124 int __real_bind(int __fd, struct sockaddr *__addr, socklen_t __len); 125 int __wrap_bind(int __fd, struct sockaddr *__addr, socklen_t __len) in __wrap_bind() argument 130 return SystemFuncMock::GetInstance().bind(__fd, __addr, __len); in __wrap_bind() 134 return __real_bind(__fd, __addr, __len); in __wrap_bind() 150 ssize_t recvfrom(int __fd, void *__buf, size_t __n, int __flags, struct sockaddr *__addr, socklen_t… in recvfrom() argument 155 … return SystemFuncMock::GetInstance().recvfrom(__fd, __buf, __n, __flags, __addr, __addr_len); in recvfrom() [all …]
|
D | system_func_mock.h | 34 …MOCK_METHOD5(setsockopt, int(int __fd, int __level, int __optname, const void *__optval, socklen_t… 37 MOCK_METHOD3(bind, int(int __fd, struct sockaddr *__addr, socklen_t __len)); 39 …MOCK_METHOD6(sendto, ssize_t(int __fd, const void *__buf, size_t __n, int __flags, struct sockaddr… 41 …MOCK_METHOD6(recvfrom, ssize_t(int __fd, void *__buf, size_t __n, int __flags, struct sockaddr *__…
|