/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/test/ |
H A D | test_napi.cpp | 44 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 D | get_proxy.cpp | 43 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 D | system_proxy.rs | 32 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 D | net_proxy_adapter_impl.cpp | 262 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 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()
|
/ohos5.0/foundation/ability/ability_base/test/unittest/want/ |
H A D | uri_test.cpp | 160 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 D | get_proxy.h | 44 CStringWrapper GetPort(); 74 CStringWrapper GetPort();
|
/ohos5.0/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()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/ |
H A D | stream_pipeline_builder.cpp | 71 … 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 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);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/src/ |
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 =()
|
H A D | socket_remote_info.cpp | 64 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 D | net_address.h | 49 [[nodiscard]] uint16_t GetPort() const;
|
/ohos5.0/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;
|
/ohos5.0/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
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | http_proxy.h | 38 [[nodiscard]] uint16_t GetPort() const;
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_transport.h | 82 virtual int GetPort() = 0;
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/include/ |
H A D | uri.h | 62 int GetPort();
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/ |
H A D | js_uri.h | 140 std::string GetPort() const;
|
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketTest.cpp | 200 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 D | TlsSocketCertChainOneWayTest.cpp | 168 netAddress.SetPort(address.GetPort()); in __anondf24d1200e02() 174 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
|
H A D | TlsSocketOneWayTest.cpp | 169 netAddress.SetPort(address.GetPort()); in __anon018adc4f0e02() 173 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
|
H A D | TlsSocketUnilateralConnection.cpp | 221 netAddress.SetPort(address.GetPort()); in __anon659a62bd0d02() 224 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str()));
|