Home
last modified time | relevance | path

Searched refs:port_ (Results 1 - 25 of 44) sorted by relevance

12

/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dinet_addr.cpp35 out = out && (port_ == obj.port_); in operator ==()
59 if (!parcel.WriteUint8(port_)) { in Marshalling()
90 if (!parcel.ReadUint8(ptr->port_)) { in Unmarshalling()
126 if (!parcel.WriteUint8(object->port_)) { in Marshalling()
164 str.append(std::to_string(port_)); in ToString()
H A Dhttp_proxy.cpp29 HttpProxy::HttpProxy() : port_(0) {} in HttpProxy()
31 HttpProxy::HttpProxy(std::string host, uint16_t port, const std::list<std::string> &exclusionList) : port_(0) in HttpProxy()
35 port_ = port; in HttpProxy()
56 return port_; in GetPort()
76 return (host_ == httpProxy.host_ && port_ == httpProxy.port_ && exclusionList_ == httpProxy.exclusionList_ && in operator ==()
91 if (!parcel.WriteUint16(port_)) { in Marshalling()
167 s.append(std::to_string(port_)); in ToString()
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dsocket_remote_info.cpp22 SocketRemoteInfo::SocketRemoteInfo() : port_(0), size_(0) {} in SocketRemoteInfo()
42 port_ = port; in SetPort()
66 return port_; in GetPort()
H A Dnet_address.cpp26 NetAddress::NetAddress() : family_(Family::IPv4), port_(0) {} in NetAddress()
28 NetAddress::NetAddress(const NetAddress &other) : address_(other.address_), family_(other.family_), port_(other.port_) in NetAddress()
162 port_ = port; in SetPort()
185 return port_; in GetPort()
197 port_ = other.GetPort(); in operator =()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/
H A Dnet_address.cpp22 NetAddress::NetAddress() : family_(Family::IPv4), port_(0) {} in NetAddress()
45 port_ = port; in SetPort()
68 return port_; in GetPort()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_url.h53 port_ = port; in Parse()
83 return port_; in GetPort()
98 return "rtsp://" + host_ + ':' + std::to_string(port_) + path_; in GetUrl()
102 uint16_t port_ = RTSP_DEFAULT_PORT; member in OHOS::Sharing::RtspUrl
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/include/core/
H A Dport.h140 return port_; in GetInstance()
158 static std::shared_ptr<InPort> port_; member in OHOS::Media::Effect::EmptyInPort
165 return port_; in GetInstance()
183 static std::shared_ptr<OutPort> port_; member in OHOS::Media::Effect::EmptyOutPort
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dhttp_proxy.h50 port_ = port; in SetPort()
72 uint16_t port_; member in OHOS::NetManagerStandard::final
/foundation/communication/netmanager_base/frameworks/cj/connection/src/
H A Dnet_connection_callback.cpp126 CNetAddress netAddr{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetConnectionProp()
139 CNetAddress{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetConnectionProp()
152 .port = it->destination_.port_}; in SetConnectionProp()
156 .port = it->gateway_.port_}; in SetConnectionProp()
H A Dnet_connection_ffi.cpp200 CNetAddress netAddr{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetLinkAddr()
218 CNetAddress{.address = MallocCString(it->address_), .family = it->family_, .port = it->port_}; in SetDns()
238 .port = it->destination_.port_}; in SetRoute()
242 .port = it->gateway_.port_}; in SetRoute()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/include/
H A Dnet_address.h56 uint16_t port_; member in OHOS::NetManagerStandard::final
/foundation/communication/netstack/frameworks/js/napi/socket/options/include/
H A Dsocket_remote_info.h54 uint16_t port_; member in OHOS::NetStack::Socket::final
H A Dnet_address.h67 uint16_t port_; member in OHOS::NetStack::Socket::final
/foundation/communication/netmanager_base/interfaces/innerkits/include/
H A Dinet_addr.h39 uint8_t port_ = 0; member
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_info_test/
H A Dinet_addr_test.cpp45 info.port_ = PORT; in GetINetAddrData()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dinet_addr_test.cpp45 info.port_ = PORT; in GetINetAddrData()
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/
H A Dwfd_rtp_consumer.cpp67 port_ = msg->port; in HandleProsumerInitState()
151 if (!StartNetworkServer(port_, rtpServer_.second, rtpServer_.first)) { in Start()
152 SHARING_LOGE("start rtp server port: %{public}d failed.", port_); in Start()
H A Dwfd_rtp_consumer.h70 uint16_t port_ = 0; member in OHOS::Sharing::final
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_ext_test/
H A Dnetworkvpn_service_ext_test.cpp101 sourAddr.port_ = 80; in HWTEST_F()
122 EXPECT_EQ(destAddr.port_, 0); in HWTEST_F()
142 EXPECT_EQ(destAddr.port_, 0); in HWTEST_F()
/foundation/ability/ability_base/interfaces/kits/native/uri/src/
H A Duri.cpp49 port_ = NOT_CALCULATED; in Uri()
241 if (port_ == NOT_CALCULATED) { in GetPort()
242 port_ = ParsePort(); in GetPort()
244 return port_; in GetPort()
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/core/
H A Dport.cpp25 std::shared_ptr<InPort> EmptyInPort::port_ = std::make_shared<EmptyInPort>(); member in OHOS::Media::Effect::EmptyInPort
26 std::shared_ptr<OutPort> EmptyOutPort::port_ = std::make_shared<EmptyOutPort>(); member in OHOS::Media::Effect::EmptyOutPort
/foundation/ability/ability_base/interfaces/kits/native/uri/include/
H A Duri.h196 int port_; member in OHOS::Uri
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web_controller.cpp325 if (port_ != nullptr) { in Close()
326 port_->Close(); in Close()
351 if (port_ != nullptr) { in SetWebMessageCallback()
352 port_->SetWebMessageCallback(std::move(callback)); in SetWebMessageCallback()
359 port_ = port; in SetWebMessagePort()
364 return port_; in GetWebMessagePort()
368 RefPtr<WebMessagePort> port_; member in OHOS::Ace::Framework::JSWebMessagePort
493 if (port_) { in PostMessage()
494 port_->PostMessage(data); in PostMessage()
/foundation/ability/ability_base/test/unittest/want/
H A Duri_test.cpp159 uri_->port_ = -1; in HWTEST_F()
161 EXPECT_EQ(uri_->port_, result); in HWTEST_F()
201 uri_->port_ = 5; in HWTEST_F()
/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/context/
H A Dsetup_context.cpp222 GetUint8FromJsOptionItem(env, netAddress, NET_PORT, iNetAddr.port_); in ParseAddress()
280 GetUint8FromJsOptionItem(env, netAddress, NET_PORT, iNetAddr.port_); in ParseDestination()
298 GetUint8FromJsOptionItem(env, gateway, NET_PORT, iNetAddr.port_); in ParseGateway()

Completed in 12 milliseconds

12