Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 193) sorted by relevance

12345678

/foundation/communication/dsoftbus/tests/core/connection/tcp/
Dtcp_manager_test.cpp135 unsigned int port = SERVERPORT; in CreateServer() local
188 int port = CLIENTPORT; variable
237 int port = CLIENTPORT; variable
264 int port = CLIENTPORT; variable
347 int port = CLIENTPORT; variable
389 int port = CLIENTPORT; variable
439 int port = CLIENTPORT; variable
483 int port = CLIENTPORT; variable
526 int port = CLIENTPORT; variable
570 int port = CLIENTPORT; variable
[all …]
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/
Dfile_adapter.c48 static int CreateServerSocketByIpv4(const char *ip, int port) in CreateServerSocketByIpv4()
89 static int CreateServerSocketByIpv6(const char *ip, int port) in CreateServerSocketByIpv6()
130 static int32_t CreateServerSocket(const char *ip, int32_t *fd, int32_t *port) in CreateServerSocket()
166 static int32_t InitSockAddrInByIpPort(const char *ip, int32_t port, struct sockaddr_in *addr) in InitSockAddrInByIpPort()
178 static int32_t InitSockAddrIn6ByIpPort(const char *ip, int32_t port, struct sockaddr_in6 *addr) in InitSockAddrIn6ByIpPort()
209 int32_t port = -1; in StartNStackXDFileServer() local
/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
Dsoftbus_conn_common_test.cpp105 int port = 6666; variable
184 int port = 6666; variable
224 int port = 6666; variable
395 int port = tcp->GetSockPort(fd); variable
459 int port = tcp->GetSockPort(invalidFd); variable
507 int port = tcp->GetSockPort(fd); variable
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
Dhttp_proxy.cpp31 HttpProxy::HttpProxy(std::string host, uint16_t port, const std::list<std::string> &exclusionList) in HttpProxy()
135 uint16_t port = 0; in Unmarshalling() local
193 auto port = std::strtol(portStr.c_str(), &strEnd, BASE_DEC); in ParsePort() local
231 auto port = ParsePort(std::string(begin, portEnd)); in GetPort() local
256 auto port = parser.GetPort(); in FromString() local
/foundation/communication/netstack/test/unittest/utils/common_utils/
DNetStackCommonUtilsTest.cpp304 std::string port = GetPortFromURL("https://www.example.com?data_string"); variable
310 std::string port = GetPortFromURL("http://www.example.com?data_string"); variable
316 std::string port = GetPortFromURL("https://www.example.com:9984?data_string"); variable
322 std::string port = GetPortFromURL("www.example.com:9984?data_string"); variable
328 std::string port = GetPortFromURL("www.example.com?data_string"); variable
334 std::string port = GetPortFromURL("https://www.example.com?k_string=data_string:234"); variable
340 std::string port = GetPortFromURL("https://www.example.com/path:data_string:234"); variable
346 …std::string port = GetPortFromURL("https://www.example.com:8989/path:path2?k_string=data_string:23… variable
352 … std::string port = GetPortFromURL("https://www.example.com/path:path2?k_string=data_string:234"); variable
358 std::string port = GetPortFromURL("https://www.example.com:"); variable
[all …]
/foundation/CastEngine/castengine_wifi_display/services/network/socket/
Dsocket_utils.cpp32 bool SocketUtils::CreateTcpServer(const char *ip, unsigned port, int32_t &fd) in CreateTcpServer()
50 uint16_t port = GetAvailableUdpPortPair(gAvailablePort, maxPort_); in GetAvailableUdpPortPair() local
71 uint16_t port = minPort; in GetAvailableUdpPortPair() local
87 bool SocketUtils::IsUdpPortAvailable(uint16_t port) in IsUdpPortAvailable()
99 bool SocketUtils::CreateTcpClient(const char *ip, unsigned port, int32_t &fd, int32_t &ret) in CreateTcpClient()
106 bool SocketUtils::CreateUdpSession(unsigned port, int32_t &fd) in CreateUdpSession()
129 bool SocketUtils::BindSocket(int32_t fd, const std::string &host, uint16_t port) in BindSocket()
162 bool SocketUtils::ConnectSocket(int32_t fd, bool isAsync, const std::string &ip, uint16_t port, int… in ConnectSocket()
Dudp_socket.cpp32 bool UdpSocket::Bind(const uint16_t port, const std::string &host, bool enableReuse, uint32_t backl… in Bind()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/
Dwfd_media_def.h27 uint16_t port = 0; member
37 uint16_t port = 0; member
/foundation/arkui/ui_lite/test/autotest/include/
Dtcp_socket.h27 const quint16 port = 23495; variable
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
Dtrans_tcp_direct_p2p_mock_test.cpp175 int32_t port = TEST_PORT; variable
198 int32_t port = TEST_PORT; variable
214 int32_t port = TEST_PORT; variable
236 int32_t port = TEST_PORT; variable
282 int32_t port = TEST_PORT; variable
401 int32_t port = TEST_PORT; variable
437 int32_t port = TEST_PORT; variable
516 int32_t port = TEST_PORT; variable
897 int32_t port = TEST_PORT; variable
/foundation/communication/dsoftbus/core/authentication/src/virtual/
Dauth_tcp_connection_virtual.c35 int32_t AuthOpenChannel(const char *ip, int32_t port) in AuthOpenChannel()
67 int32_t SocketConnectDevice(const char *ip, int32_t port, bool isBlockMode) in SocketConnectDevice()
/foundation/communication/dsoftbus/core/authentication/src/
Dauth_tcp_connection.c342 int32_t port = StartBaseListener(info, &listener); in StartSocketListening() local
372 static int32_t SocketConnectInner(const char *localIp, const char *peerIp, int32_t port, ListenerMo… in SocketConnectInner()
414 int32_t SocketConnectDeviceWithAllIp(const char *localIp, const char *peerIp, int32_t port, bool is… in SocketConnectDeviceWithAllIp()
419 int32_t SocketConnectDevice(const char *ip, int32_t port, bool isBlockMode) in SocketConnectDevice()
470 const char *addr, int32_t port, bool isBlockMode) in NipSocketConnectDevice()
648 int32_t AuthOpenChannelWithAllIp(const char *localIp, const char *remoteIp, int32_t port) in AuthOpenChannelWithAllIp()
663 int32_t AuthOpenChannel(const char *ip, int32_t port) in AuthOpenChannel()
/foundation/multimedia/media_foundation/engine/pipeline/core/
Dport.cpp27 std::shared_ptr<InPort> EmptyInPort::port = std::make_shared<EmptyInPort>(); member in OHOS::Media::Pipeline::EmptyInPort
28 std::shared_ptr<OutPort> EmptyOutPort::port = std::make_shared<EmptyOutPort>(); member in OHOS::Media::Pipeline::EmptyOutPort
45 ErrorCode InPort::Connect(const std::shared_ptr<Port>& port) in Connect()
107 ErrorCode OutPort::Connect(const std::shared_ptr<Port>& port) in Connect()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
Dutils.h52 __inline static FILLP_UINT32 UtilsIpv4AddrPortKey(FILLP_UINT16 port, struct sockaddr_in *remoteAddr) in UtilsIpv4AddrPortKey()
57 __inline static FILLP_UINT32 UtilsIpv6AddrPortKey(FILLP_UINT16 port, struct sockaddr_in6 *remoteAdd… in UtilsIpv6AddrPortKey()
68 FILLP_INT port = UTILS_GET_ADDRPORT(addr); in UtilsAddrHashKey() local
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/
Dnet_address.cpp43 void NetAddress::SetPort(uint16_t port) in SetPort()
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/common/include/
Dskill_uri.h30 std::string port; member
/foundation/communication/netmanager_ext/interfaces/kits/js/
D@ohos.net.mdns.d.ts226 port?: number; property
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
Dtcp_connection.cpp59 int port = socket_.Bind(channelRequest_.localDeviceInfo.ipAddress, channelRequest_.localPort); in Connect() local
82 int port = socket_.Bind(request.localDeviceInfo.ipAddress, request.localPort); in StartListen() local
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
Dtcp_connection.cpp59 int port = socket_.Bind(channelRequest_.localDeviceInfo.ipAddress, channelRequest_.localPort); in Connect() local
82 int port = socket_.Bind(request.localDeviceInfo.ipAddress, request.localPort); in StartListen() local
/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/
Dconnect_context.cpp235 …int32_t port = NapiUtils::GetInt32Property(GetEnv(), websocketProxyValue, ContextKey::WEBSOCKET_PR… in ParseProxy() local
307 void ConnectContext::SetSpecifiedWebsocketProxy(const std::string &host, int32_t port, const std::s… in SetSpecifiedWebsocketProxy()
314 void ConnectContext::GetSpecifiedWebsocketProxy(std::string &host, uint32_t &port, std::string &exc… in GetSpecifiedWebsocketProxy()
/foundation/communication/ipc/ipc/test/rpc/socket_trans/src/
Drpc_socket_trans.c71 static int32_t BindLocalIP(int fd, const char *localIP, uint16_t port, struct sockaddr_in *addr) in BindLocalIP()
149 uint16_t port = Hash((char *)args); in OpenTcpServerSocket() local
245 uint16_t port = Hash(SaSessionName); in Connect() local
/foundation/communication/netstack/frameworks/js/napi/tls/src/context/
Dtls_bind_context.cpp55 …uint16_t port = static_cast<uint16_t>(NapiUtils::GetUint32Property(GetEnv(), params[0], KEY_PORT)); in ParseParams() local
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
Dsocket_remote_info.cpp40 void SocketRemoteInfo::SetPort(uint16_t port) in SetPort()
/foundation/communication/netmanager_base/interfaces/kits/js/
D@ohos.net.connection.d.ts1300 port?: number; property
1324 port: number; property
/foundation/communication/netmanager_ext/interfaces/innerkits/mdnsclient/include/
Dmdns_service_info.h39 int32_t port = -1; member

12345678