/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | inet_addr.cpp | 35 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 D | http_proxy.cpp | 29 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 D | socket_remote_info.cpp | 22 SocketRemoteInfo::SocketRemoteInfo() : port_(0), size_(0) {} in SocketRemoteInfo() 42 port_ = port; in SetPort() 66 return port_; in GetPort()
|
H A D | net_address.cpp | 26 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 D | net_address.cpp | 22 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 D | rtsp_url.h | 53 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 D | port.h | 140 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 D | http_proxy.h | 50 port_ = port; in SetPort() 72 uint16_t port_; member in OHOS::NetManagerStandard::final
|
/foundation/communication/netmanager_base/frameworks/cj/connection/src/ |
H A D | net_connection_callback.cpp | 126 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 D | net_connection_ffi.cpp | 200 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 D | net_address.h | 56 uint16_t port_; member in OHOS::NetManagerStandard::final
|
/foundation/communication/netstack/frameworks/js/napi/socket/options/include/ |
H A D | socket_remote_info.h | 54 uint16_t port_; member in OHOS::NetStack::Socket::final
|
H A D | net_address.h | 67 uint16_t port_; member in OHOS::NetStack::Socket::final
|
/foundation/communication/netmanager_base/interfaces/innerkits/include/ |
H A D | inet_addr.h | 39 uint8_t port_ = 0; member
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_info_test/ |
H A D | inet_addr_test.cpp | 45 info.port_ = PORT; in GetINetAddrData()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | inet_addr_test.cpp | 45 info.port_ = PORT; in GetINetAddrData()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/ |
H A D | wfd_rtp_consumer.cpp | 67 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 D | wfd_rtp_consumer.h | 70 uint16_t port_ = 0; member in OHOS::Sharing::final
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_ext_test/ |
H A D | networkvpn_service_ext_test.cpp | 101 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 D | uri.cpp | 49 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 D | port.cpp | 25 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 D | uri.h | 196 int port_; member in OHOS::Uri
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web_controller.cpp | 325 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 D | uri_test.cpp | 159 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 D | setup_context.cpp | 222 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()
|