/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/ |
H A D | socket_extra_exec.cpp | 121 NapiUtils::SetUint32Property(env, obj, KEY_PORT, context->localAddress_.GetPort()); in GetLocalAddressCallback() 134 NapiUtils::SetUint32Property(env, obj, KEY_PORT, context->localAddress_.GetPort()); in TcpConnectionGetLocalAddressCallback() 147 NapiUtils::SetUint32Property(env, obj, KEY_PORT, context->localAddress_.GetPort()); in TcpServerGetLocalAddressCallback()
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | http_proxy.cpp | 54 uint16_t HttpProxy::GetPort() const in GetPort() function in OHOS::NetManagerStandard::HttpProxy 216 std::optional<uint16_t> GetPort() in GetPort() function 245 auto port = parser.GetPort(); in FromString()
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/include/ |
H A D | net_address.h | 49 [[nodiscard]] uint16_t GetPort() const;
|
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/ |
H A D | socket_remote_info.cpp | 64 uint16_t SocketRemoteInfo::GetPort() const in GetPort() function in OHOS::NetStack::Socket::SocketRemoteInfo
|
H A D | net_address.cpp | 183 uint16_t NetAddress::GetPort() const in GetPort() function in OHOS::NetStack::Socket::NetAddress 197 port_ = other.GetPort(); in operator =()
|
/foundation/communication/netstack/frameworks/js/napi/socket/options/include/ |
H A D | socket_remote_info.h | 45 [[nodiscard]] uint16_t GetPort() const;
|
H A D | net_address.h | 54 [[nodiscard]] uint16_t GetPort() const;
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/ |
H A D | net_address.cpp | 66 uint16_t NetAddress::GetPort() const in GetPort() function in OHOS::NetManagerStandard::NetAddress
|
/foundation/ability/ability_base/test/unittest/want/ |
H A D | uri_test.cpp | 160 auto result = uri_->GetPort(); in HWTEST_F() 173 auto result = uri_->GetPort(); in HWTEST_F() 187 auto result = uri_->GetPort(); in HWTEST_F() 202 auto result = uri_->GetPort(); in HWTEST_F() 396 auto result7 = uri_->GetPort(); in HWTEST_F()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/ |
H A D | file_uri_n_exporter.cpp | 171 if (uri.GetPort() != -1) { in Split() 172 normalizeUri += ":" + std::to_string(uri.GetPort()); in Split() 412 napi_value FileUriNExporter::GetPort(napi_env env, napi_callback_info info) in GetPort() function in OHOS::AppFileService::ModuleFileUri::FileUriNExporter 427 return NVal::CreateUTF8String(env, to_string(fileuriEntity->fileUri_.uri_.GetPort())).val_; in GetPort() 483 NVal::DeclareNapiGetter("port", GetPort), in Export()
|
H A D | file_uri_n_exporter.h | 45 static napi_value GetPort(napi_env env, napi_callback_info info);
|
/foundation/ability/ability_base/interfaces/kits/native/uri/include/ |
H A D | uri.h | 62 int GetPort();
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/ |
H A D | rtsp_url.h | 81 uint16_t GetPort() const in GetPort() function in OHOS::Sharing::RtspUrl
|
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | http_proxy.h | 38 [[nodiscard]] uint16_t GetPort() const;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_transport.h | 82 virtual int GetPort() = 0;
|
/foundation/communication/netstack/test/unittest/tls_test/client/ |
H A D | TlsSocketTest.cpp | 200 netAddress.SetPort(address.GetPort());
in HWTEST_F() 203 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in HWTEST_F() 437 addr4.sin_port = htons(address.GetPort());
in HWTEST_F()
|
H A D | TlsSocketUnilateralConnection.cpp | 221 netAddress.SetPort(address.GetPort());
in HWTEST_F() 224 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in HWTEST_F()
|
H A D | TlsSocketCertChainTest.cpp | 166 netAddress.SetPort(address.GetPort());
in HWTEST_F() 171 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in HWTEST_F()
|
H A D | TlsSocketCertChainOneWayTest.cpp | 168 netAddress.SetPort(address.GetPort());
in HWTEST_F() 174 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in HWTEST_F()
|
H A D | TlsSocketOneWayTest.cpp | 169 netAddress.SetPort(address.GetPort());
in HWTEST_F() 173 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketTest.cpp | 200 netAddress.SetPort(address.GetPort()); in HWTEST_F() 203 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F() 437 addr4.sin_port = htons(address.GetPort()); in HWTEST_F()
|
H A D | TlsSocketUnilateralConnection.cpp | 221 netAddress.SetPort(address.GetPort()); in HWTEST_F() 224 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
|
H A D | TlsSocketCertChainTest.cpp | 166 netAddress.SetPort(address.GetPort()); in HWTEST_F() 171 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
|
H A D | TlsSocketOneWayTest.cpp | 169 netAddress.SetPort(address.GetPort()); in HWTEST_F() 173 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_probe.cpp | 582 proxyPort = static_cast<int32_t>(globalHttpProxy_.GetPort()); in LoadProxy() 585 proxyPort = static_cast<int32_t>(netLinkInfo_.httpProxy_.GetPort()); in LoadProxy()
|