Home
last modified time | relevance | path

Searched refs:GetPort (Results 1 – 25 of 75) sorted by relevance

123

/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/test/
H A Dtest_napi.cpp44 ASSERT_STREQ(uri.GetPort().c_str(), "99");
58 ASSERT_STREQ(uri.GetPort().c_str(), "99");
72 ASSERT_STREQ(uri.GetPort().c_str(), "88");
86 ASSERT_STREQ(uri.GetPort().c_str(), "99");
100 ASSERT_STREQ(uri.GetPort().c_str(), "99");
114 ASSERT_STREQ(uri.GetPort().c_str(), "99");
128 ASSERT_STREQ(uri.GetPort().c_str(), "99");
144 ASSERT_STREQ(uri.GetPort().c_str(), "99");
158 ASSERT_STREQ(uri.GetPort().c_str(), "99");
172 ASSERT_STREQ(uri.GetPort().c_str(), "99");
[all …]
/ohos5.0/base/request/request/services/src/cxx/
H A Dget_proxy.cpp43 CStringWrapper SysNetProxyManager::GetPort() in GetPort() function in SysNetProxyManager
101 std::string port_res = std::to_string(httpProxy.GetPort()); in InitProxy()
155 CStringWrapper GetPort() in GetPort() function
157 return SysNetProxyManager::GetInstance().GetPort(); in GetPort()
/ohos5.0/base/request/request/services/src/manage/config/
H A Dsystem_proxy.rs32 unsafe { GetPort() }.to_string() in port()
44 pub(crate) fn GetPort() -> CStringWrapper; in GetPort() function
/ohos5.0/base/web/webview/ohos_adapter/net_proxy_adapter/src/
H A Dnet_proxy_adapter_impl.cpp262 httpProxy.GetHost().c_str(), httpProxy.GetPort()); in StartListenAppProxy()
274 tempHttpProxy.GetHost().c_str(), tempHttpProxy.GetPort()); in StartListenAppProxy()
286 uint16_t port = httpProxy.GetPort(); in StartListenAppProxy()
335 httpProxy.GetPort()); in OnReceiveEvent()
344 port = httpProxy.GetPort(); in OnReceiveEvent()
385 port = httpProxy.GetPort(); in GetProperty()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_extra_exec.cpp121 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()
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Duri_test.cpp160 auto result = uri_->GetPort();
173 auto result = uri_->GetPort();
187 auto result = uri_->GetPort();
202 auto result = uri_->GetPort();
424 auto result7 = uri_->GetPort();
/ohos5.0/base/request/request/services/include/
H A Dget_proxy.h44 CStringWrapper GetPort();
74 CStringWrapper GetPort();
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dhttp_proxy.cpp54 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()
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/
H A Dstream_pipeline_builder.cpp71 … std::shared_ptr<IPort> peerPort = (*peerNode)->GetPort(portSpec.info_.peerPortName_); in Build()
74 std::shared_ptr<IPort> port = newNode->GetPort(portSpec.info_.name_); in Build()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/
H A Dfile_uri_n_exporter.cpp171 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 Dfile_uri_n_exporter.h45 static napi_value GetPort(napi_env env, napi_callback_info info);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dnet_address.cpp183 uint16_t NetAddress::GetPort() const in GetPort() function in OHOS::NetStack::Socket::NetAddress
197 port_ = other.GetPort(); in operator =()
H A Dsocket_remote_info.cpp64 uint16_t SocketRemoteInfo::GetPort() const in GetPort() function in OHOS::NetStack::Socket::SocketRemoteInfo
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/include/
H A Dnet_address.h49 [[nodiscard]] uint16_t GetPort() const;
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/include/
H A Dsocket_remote_info.h45 [[nodiscard]] uint16_t GetPort() const;
H A Dnet_address.h54 [[nodiscard]] uint16_t GetPort() const;
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/options/src/
H A Dnet_address.cpp66 uint16_t NetAddress::GetPort() const in GetPort() function in OHOS::NetManagerStandard::NetAddress
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dhttp_proxy.h38 [[nodiscard]] uint16_t GetPort() const;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_transport.h82 virtual int GetPort() = 0;
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/include/
H A Duri.h62 int GetPort();
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/
H A Djs_uri.h140 std::string GetPort() const;
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsSocketTest.cpp200 netAddress.SetPort(address.GetPort()); in __anon0295c29c1202()
203 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
437 addr4.sin_port = htons(address.GetPort());
H A DTlsSocketCertChainOneWayTest.cpp168 netAddress.SetPort(address.GetPort()); in __anondf24d1200e02()
174 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
H A DTlsSocketOneWayTest.cpp169 netAddress.SetPort(address.GetPort()); in __anon018adc4f0e02()
173 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
H A DTlsSocketUnilateralConnection.cpp221 netAddress.SetPort(address.GetPort()); in __anon659a62bd0d02()
224 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));

123