Home
last modified time | relevance | path

Searched defs:socketFd (Results 1 – 25 of 54) sorted by relevance

123

/foundation/communication/dsoftbus/tests/adapter/unittest/
Dsoftbus_socket_test.cpp76 int32_t socketFd = -1; in SocketServiceStart() local
130 static void ClientConnect(int32_t *socketFd) in ClientConnect()
146 static void ClientExit(int32_t socketFd) in ClientExit()
166 int32_t socketFd = -1; variable
187 int32_t socketFd = -1; variable
200 int32_t socketFd = -1; variable
215 int32_t socketFd = -1; variable
240 int32_t socketFd = -1; variable
260 int socketFd; variable
280 int socketFd; variable
[all …]
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
Dsoftbus_adapter_socket.c76 int32_t SoftBusSocketCreate(int32_t domain, int32_t type, int32_t protocol, int32_t *socketFd) in SoftBusSocketCreate()
92 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, i… in SoftBusSocketSetOpt()
103 int32_t SoftBusSocketGetOpt(int32_t socketFd, int32_t level, int32_t optName, void *optVal, int32_t… in SoftBusSocketGetOpt()
113 int32_t SoftBusSocketGetError(int32_t socketFd) in SoftBusSocketGetError()
167 int32_t SoftBusSocketGetLocalName(int32_t socketFd, SoftBusSockAddr *addr) in SoftBusSocketGetLocalName()
191 int32_t SoftBusSocketGetPeerName(int32_t socketFd, SoftBusSockAddr *addr) in SoftBusSocketGetPeerName()
215 int32_t SoftBusSocketBind(int32_t socketFd, SoftBusSockAddr *addr, int32_t addrLen) in SoftBusSocketBind()
236 int32_t SoftBusSocketListen(int32_t socketFd, int32_t backLog) in SoftBusSocketListen()
247 int32_t SoftBusSocketAccept(int32_t socketFd, SoftBusSockAddr *addr, int32_t *acceptFd) in SoftBusSocketAccept()
272 int32_t SoftBusSocketConnect(int32_t socketFd, const SoftBusSockAddr *addr) in SoftBusSocketConnect()
[all …]
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
Dnetwork_mock.cpp41 int32_t SoftBusSocketCreate(int32_t domain, int32_t type, int32_t protocol, int32_t *socketFd) in SoftBusSocketCreate()
46 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, i… in SoftBusSocketSetOpt()
51 int32_t SoftBusSocketClose(int32_t socketFd) in SoftBusSocketClose()
56 int32_t SoftBusSocketBind(int32_t socketFd, SoftBusSockAddr *addr, int32_t addrLen) in SoftBusSocketBind()
71 int32_t SoftBusSocketRecv(int32_t socketFd, void *buf, uint32_t len, int32_t flags) in SoftBusSocketRecv()
/foundation/communication/netstack/test/unittest/tlssocket/server/
DTlsSocketServerTest.cpp121 int socketFd = tlsServerSendOptions.GetSocket(); variable
138 int socketFd = tlsServerSendOptions.GetSocket(); variable
163 int socketFd = tlsServerSendOptions.GetSocket(); variable
199 int socketFd = tlsServerSendOptions.GetSocket(); variable
227 int socketFd = tlsServerSendOptions.GetSocket(); variable
248 int socketFd = tlsServerSendOptions.GetSocket(); variable
285 int socketFd = tlsServerSendOptions.GetSocket(); variable
/foundation/ability/ability_runtime/test/unittest/connect_server_manager_test/
Dconnect_server_manager_test.cpp67 uint32_t socketFd = 0; variable
174 uint32_t socketFd = 0; variable
192 uint32_t socketFd = 0; variable
211 uint32_t socketFd = 0; variable
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
Dnetsys_controller_service_impl_test.cpp387 int32_t socketFd = 0; variable
478 int32_t socketFd = 0; variable
488 int32_t socketFd = 0; variable
546 int32_t socketFd = 0; variable
626 int32_t socketFd = 0; variable
667 int32_t socketFd = 0; variable
Dfwmark_network_test.cpp192 int32_t socketFd = 0; variable
204 int32_t socketFd = 1111; variable
295 int32_t socketFd = 1111; variable
Dmock_netsys_native_client_test.cpp190 int32_t socketFd = 0; variable
218 int32_t socketFd = 0; variable
/foundation/communication/bluetooth/frameworks/inner/src/
Dbluetooth_socket_outputstream.cpp24 OutputStream::OutputStream(int socketFd) : socketFd_(socketFd) in OutputStream()
Dbluetooth_socket_inputstream.cpp24 InputStream::InputStream(int socketFd) : socketFd_(socketFd) in InputStream()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
Dnet_handle_test.cpp44 int32_t socketFd = 1; variable
54 int32_t socketFd = -1; variable
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
Dnet_handle.cpp46 int32_t NetHandle::BindSocket(int32_t socketFd) in BindSocket()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
Dfwmark_network.cpp85 int32_t SetMark(int32_t *socketFd, FwmarkCommand *command) in SetMark()
141 int32_t socketFd = -1; in SendMessage() local
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
Dsocket_service.cpp103 int socketFd = SOCK_INVALID_FD; in Connect() local
122 int socketFd = SOCK_INVALID_FD; in Listen() local
/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbussocketrecv_fuzzer/
Dsoftbussocketrecv_fuzzer.cpp37 int32_t socketFd = *(reinterpret_cast<const int32_t*>(data)); in DoSomethingInterestingWithMyAPI() local
/foundation/communication/netstack/frameworks/native/tls_socket/src/
Dtls_socket_server.cpp148 void TLSServerSendOptions::SetSocket(const int &socketFd) in SetSocket()
280 int socketFd = data.GetSocket(); in Send() local
316 void TLSSocketServer::Close(const int socketFd, const TlsSocket::CloseCallback &callback) in Close()
354 void TLSSocketServer::GetRemoteAddress(const int socketFd, const TlsSocket::GetRemoteAddressCallbac… in GetRemoteAddress()
468 void TLSSocketServer::GetRemoteCertificate(const int socketFd, const TlsSocket::GetRemoteCertificat… in GetRemoteCertificate()
498 void TLSSocketServer::GetCipherSuite(const int socketFd, const TlsSocket::GetCipherSuiteCallback &c… in GetCipherSuite()
519 void TLSSocketServer::GetSignatureAlgorithms(const int socketFd, in GetSignatureAlgorithms()
1207 void TLSSocketServer::RemoveConnect(int socketFd) in RemoveConnect()
1228 int TLSSocketServer::RecvRemoteInfo(int socketFd, int index) in RecvRemoteInfo()
1259 void TLSSocketServer::Connection::CallOnMessageCallback(int32_t socketFd, const std::string &data, in CallOnMessageCallback()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/
Dnetlink_handler_test.cpp91 int32_t StartSocket(int32_t& socketFd) in StartSocket()
Dnetlink_listener_test.cpp89 int32_t StartSocket(int32_t& socketFd) in StartSocket()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
Ddata_receiver.cpp29 DataReceiver::DataReceiver(int32_t socketFd, int32_t format) : socket_(socketFd), format_(format) in DataReceiver()
Dnetlink_manager.cpp58 int32_t socketFd; in CreateNetlinkDistributor() local
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
Draw_socket.cpp74 int socketFd = socket(PF_PACKET, SOCK_DGRAM, htons(protocol)); in CreateSocket() local
/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/
Dfwmark_client.cpp53 int32_t FwmarkClient::ProtectFromVpn(int32_t socketFd) in ProtectFromVpn()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/
Daudio_pnp_server.cpp129 int32_t socketFd = -1; in OpenAndReadWithSocket() local
/foundation/communication/netmanager_base/services/netsyscontroller/src/
Dmock_netsys_native_client.cpp531 int32_t MockNetsysNativeClient::BindSocket(int32_t socketFd, uint32_t netId) in BindSocket()
549 int32_t MockNetsysNativeClient::BindNetworkServiceVpn(int32_t socketFd) in BindNetworkServiceVpn()
555 int32_t MockNetsysNativeClient::EnableVirtualNetIfaceCard(int32_t socketFd, struct ifreq &ifRequest… in EnableVirtualNetIfaceCard()
565 int32_t MockNetsysNativeClient::SetIpAddress(int32_t socketFd, const std::string &ipAddress, int32_… in SetIpAddress()
Dnetsys_controller_service_impl.cpp406 int32_t NetsysControllerServiceImpl::BindSocket(int32_t socketFd, uint32_t netId) in BindSocket()
482 int32_t NetsysControllerServiceImpl::BindNetworkServiceVpn(int32_t socketFd) in BindNetworkServiceVpn()
491 int32_t NetsysControllerServiceImpl::EnableVirtualNetIfaceCard(int32_t socketFd, struct ifreq &ifRe… in EnableVirtualNetIfaceCard()
501 int32_t NetsysControllerServiceImpl::SetIpAddress(int32_t socketFd, const std::string &ipAddress, i… in SetIpAddress()

123