Home
last modified time | relevance | path

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

123

/foundation/communication/dsoftbus/tests/adapter/unittest/
Dsoftbus_socket_test.cpp78 int32_t socketFd = -1; in SocketServiceStart() local
134 int32_t socketFd = -1; in SocketIpv6ServiceStart() local
193 static void ClientConnect(int32_t *socketFd) in ClientConnect()
209 static void ClientIpv6Connect(int32_t *socketFd) in ClientIpv6Connect()
224 static void ClientExit(int32_t socketFd) in ClientExit()
244 int32_t socketFd = -1; variable
265 int32_t socketFd = -1; variable
278 int32_t socketFd = -1; variable
293 int32_t socketFd = -1; variable
318 int32_t socketFd = -1; variable
[all …]
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
Dsoftbus_adapter_socket.c95 int32_t SoftBusSocketCreate(int32_t domain, int32_t type, int32_t protocol, int32_t *socketFd) in SoftBusSocketCreate()
111 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, i… in SoftBusSocketSetOpt()
122 int32_t SoftBusSocketGetOpt(int32_t socketFd, int32_t level, int32_t optName, void *optVal, int32_t… in SoftBusSocketGetOpt()
132 int32_t SoftBusSocketGetError(int32_t socketFd) in SoftBusSocketGetError()
148 int32_t SoftBusSocketGetLocalName(int32_t socketFd, SoftBusSockAddr *addr) in SoftBusSocketGetLocalName()
163 int32_t SoftBusSocketGetPeerName(int32_t socketFd, SoftBusSockAddr *addr) in SoftBusSocketGetPeerName()
179 int32_t SoftBusSocketBind(int32_t socketFd, SoftBusSockAddr *addr, int32_t addrLen) in SoftBusSocketBind()
195 int32_t SoftBusSocketListen(int32_t socketFd, int32_t backLog) in SoftBusSocketListen()
208 int32_t SoftBusSocketAccept(int32_t socketFd, SoftBusSockAddr *addr, int32_t *acceptFd) in SoftBusSocketAccept()
227 int32_t SoftBusSocketConnect(int32_t socketFd, const SoftBusSockAddr *addr, int32_t addrLen) 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/dsoftbus/tests/adapter/fuzztest/softbussocketrecv_fuzzer/
Dsoftbussocketrecv_fuzzer.cpp68 int32_t socketFd = GetData<int32_t>(); in SoftBusSocketRecvFuzzTest() local
87 int32_t socketFd = GetData<int32_t>(); in SoftBusSocketRecvFromFuzzTest() local
117 int32_t socketFd = GetData<int32_t>(); in SoftBusSocketSendFuzzTest() local
145 int32_t socketFd = GetData<int32_t>(); in SoftBusSocketSendToFuzzTest() local
/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/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/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/
Dfwmark_network_test.cpp193 int32_t socketFd = 0; variable
205 int32_t socketFd = 1111; variable
296 int32_t socketFd = 1111; variable
Dnetsys_controller_service_impl_test.cpp391 int32_t socketFd = 0; variable
485 int32_t socketFd = 0; variable
495 int32_t socketFd = 0; variable
557 int32_t socketFd = 0; variable
653 int32_t socketFd = 0; variable
694 int32_t socketFd = 0; variable
Dmock_netsys_native_client_test.cpp196 int32_t socketFd = 0; variable
224 int32_t socketFd = 0; variable
/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/
Dfwmark_client.cpp47 int32_t FwmarkClient::ProtectFromVpn(int32_t socketFd) in ProtectFromVpn()
58 auto socketFd = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in Send() local
/foundation/communication/bluetooth/frameworks/inner/src/
Dbluetooth_socket_inputstream.cpp28 InputStream::InputStream(int socketFd) : socketFd_(socketFd) in InputStream()
Dbluetooth_socket_outputstream.cpp31 OutputStream::OutputStream(int socketFd) : socketFd_(socketFd) in OutputStream()
/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()
142 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/netstack/frameworks/native/tls_socket/src/
Dtls_socket_server.cpp157 void TLSServerSendOptions::SetSocket(const int &socketFd) in SetSocket()
289 int socketFd = data.GetSocket(); in Send() local
325 void TLSSocketServer::Close(const int socketFd, const TlsSocket::CloseCallback &callback) in Close()
363 void TLSSocketServer::GetRemoteAddress(const int socketFd, const TlsSocket::GetRemoteAddressCallbac… in GetRemoteAddress()
377 void TLSSocketServer::GetLocalAddress(const int socketFd, const TlsSocket::GetLocalAddressCallback … in GetLocalAddress()
491 void TLSSocketServer::GetRemoteCertificate(const int socketFd, const TlsSocket::GetRemoteCertificat… in GetRemoteCertificate()
521 void TLSSocketServer::GetCipherSuite(const int socketFd, const TlsSocket::GetCipherSuiteCallback &c… in GetCipherSuite()
542 void TLSSocketServer::GetSignatureAlgorithms(const int socketFd, in GetSignatureAlgorithms()
1260 void TLSSocketServer::RemoveConnect(int socketFd) in RemoveConnect()
1281 int TLSSocketServer::RecvRemoteInfo(int socketFd, int index) in RecvRemoteInfo()
[all …]
/foundation/multimodalinput/input/intention/ipc/socket/src/
Dsocket_params.cpp41 AllocSocketPairReply::AllocSocketPairReply(int32_t tokenType, int32_t socketFd) in AllocSocketPairReply()
Dsocket_connection.cpp31 SocketConnection::SocketConnection(int32_t socketFd, in SocketConnection()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
Dsoftbus_session.cpp31 int32_t socketFd = INVALID_SOCKET_FD; in SoftbusSession() local
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
Ddns_proxy_listen.cpp64 int32_t socketFd = -1; in DnsParseBySocket() local
130 void DnsProxyListen::SendRequest2Server(int32_t socketFd) in SendRequest2Server()
163 void DnsProxyListen::SendDnsBack2Client(int32_t socketFd) in SendDnsBack2Client()
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/
Dnetlink_listener_test.cpp89 int32_t StartSocket(int32_t& socketFd) in StartSocket()
Dnetlink_handler_test.cpp91 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()
/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

123