/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/ |
H A D | socket_extra_exec.cpp | 64 localAddress.SetPort(ntohs(addrIn->sin_port)); in ExecGetLocalAddress() 71 localAddress.SetPort(ntohs(addrIn6->sin6_port)); in ExecGetLocalAddress() 99 localAddress.SetPort(ntohs(addrIn->sin_port)); in ExecTcpServerGetLocalAddress() 106 localAddress.SetPort(ntohs(addrIn6->sin6_port)); in ExecTcpServerGetLocalAddress()
|
H A D | socket_exec.cpp | 333 remoteInfo.SetPort(ntohs(addr4->sin_port)); in OnRecvMessage() 336 remoteInfo.SetPort(ntohs(addr6->sin6_port)); in OnRecvMessage() 1233 context->address_.SetPort(ntohs(addr4.sin_port)); in ExecGetRemoteAddress() 1246 context->address_.SetPort(ntohs(addr6.sin6_port)); in ExecGetRemoteAddress() 1568 context->address_.SetPort(ntohs(addr4.sin_port)); in GetIPv4Address() 1591 context->address_.SetPort(ntohs(addr6.sin6_port)); in GetIPv6Address() 1670 localAddress.SetPort(ntohs(addrIn->sin_port)); in ExecTcpConnectionGetLocalAddress() 1677 localAddress.SetPort(ntohs(addrIn6->sin6_port)); in ExecTcpConnectionGetLocalAddress()
|
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/ |
H A D | global_proxy_plugin_test.cpp | 60 httpProxy.SetPort(9090); 77 httpProxy.SetPort(1234);
|
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketBranchTest.cpp | 74 netAddress.SetPort(0); in BaseOption() 205 netAddress.SetPort(PORT); 239 netAddress.SetPort(0);
|
H A D | TlsSocketCertChainOneWayTest.cpp | 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainOneWayNetAddress() 168 netAddress.SetPort(address.GetPort()); in __anondf24d1200e02()
|
H A D | TlsSocketOneWayTest.cpp | 33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockOneWayNetAddress() 169 netAddress.SetPort(address.GetPort()); in __anon018adc4f0e02()
|
H A D | TlsSocketUnilateralConnection.cpp | 40 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockConnectionNetAddress() 221 netAddress.SetPort(address.GetPort()); in __anon659a62bd0d02()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/include/ |
H A D | net_address.h | 41 void SetPort(uint16_t port);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/include/ |
H A D | socket_remote_info.h | 36 void SetPort(uint16_t port);
|
H A D | net_address.h | 46 void SetPort(uint16_t port);
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/ |
H A D | net_address.cpp | 43 void NetAddress::SetPort(uint16_t port) in SetPort() function in OHOS::NetManagerStandard::NetAddress
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/src/ |
H A D | socket_remote_info.cpp | 40 void SocketRemoteInfo::SetPort(uint16_t port) in SetPort() function in OHOS::NetStack::Socket::SocketRemoteInfo
|
/ohos5.0/foundation/communication/netstack/test/fuzztest/socket/fuzztest/tlssocket_fuzzer/ |
H A D | tls_socket_fuzzer.cpp | 74 netAddress.SetPort(GetData<uint16_t>()); in BindFuzzTest() 109 netAddress.SetPort(GetData<uint16_t>()); in ConnectFuzzTest() 316 address.SetPort(port); in SetNetAddressFuzzTest()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | http_proxy.h | 48 void inline SetPort(uint16_t port) in SetPort() function
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/context/ |
H A D | tls_bind_context.cpp | 56 address_.SetPort(port); in ParseParams()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/src/ |
H A D | setglobalhttpproxy_context.cpp | 52 …httpProxy_.SetPort(static_cast<uint16_t>(NapiUtils::GetUint32Property(GetEnv(), params[0], "port")… in ParseParams()
|
/ohos5.0/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd_port.h | 57 int32_t SetPort(int32_t portId, int32_t powerRole, int32_t dataRole,
|
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/server/ |
H A D | TlsSocketServerTest.cpp | 167 address.SetPort(std::atoi(ChangeToFile(PORT).c_str())); 175 netAddress.SetPort(address.GetPort()); in __anon487d28ab0902()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
H A D | multicast_membership_context.cpp | 45 …address_.SetPort(static_cast<uint16_t>(NapiUtils::GetUint32Property(GetEnv(), params[0], KEY_PORT)… in ParseParams()
|
H A D | tcp_server_listen_context.cpp | 65 address_.SetPort(port); in ParseParams()
|
H A D | bind_context.cpp | 64 address_.SetPort(port); in ParseParams()
|
H A D | connect_context.cpp | 72 options.address.SetPort(port); in ParseParams()
|
H A D | udp_send_context.cpp | 68 options.address.SetPort(port); in ParseParams()
|
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scanner_info.cpp | 92 void ScanDeviceInfoTCP::SetPort(const std::string& port_) in SetPort() function in OHOS::Scan::ScanDeviceInfoTCP 174 SetPort(parcel.ReadString()); in ReadFromParcel()
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/context/ |
H A D | set_iface_config_context.cpp | 110 config_->httpProxy_.SetPort(port); in ParseHttpProxy()
|