/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/net_handle_interface/src/ |
H A D | net_handle_interface.cpp | 30 [](napi_env theEnv, napi_value thisVal, GetAddressByNameContext *context) -> bool { in GetAddressesByName() argument 31 context->netId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_NET_ID); in GetAddressesByName() 42 [](napi_env theEnv, napi_value thisVal, GetAddressByNameContext *context) -> bool { in GetAddressByName() argument 43 context->netId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_NET_ID); in GetAddressByName() 54 [](napi_env theEnv, napi_value thisVal, BindSocketContext *context) -> bool { in BindSocket() argument 55 context->netId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_NET_ID); in BindSocket()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocketserver_module.cpp | 79 [](napi_env theEnv, napi_value thisVal, TLSServerSendContext *context) -> bool { in Send() argument 80 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in Send() 90 [](napi_env theEnv, napi_value thisVal, TLSServerCloseContext *context) -> bool { in Close() argument 91 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in Close() 102 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in GetRemoteAddress() 112 [](napi_env theEnv, napi_value thisVal, TLSServerGetLocalAddressContext *context) -> bool { in GetLocalAddress() argument 113 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in GetLocalAddress() 126 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in GetRemoteCertificate() 136 [](napi_env theEnv, napi_value thisVal, ServerGetCipherSuitesContext *context) -> bool { in GetCipherSuites() argument 137 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in GetCipherSuites() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/ |
H A D | socket_module.cpp | 758 [](napi_env theEnv, napi_value thisVal, TcpServerSendContext *context) -> bool { in Send() argument 759 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in Send() 769 [](napi_env theEnv, napi_value thisVal, TcpServerCloseContext *context) -> bool { in Close() argument 770 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in Close() 781 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in GetRemoteAddress() 791 [](napi_env theEnv, napi_value thisVal, TcpServerGetLocalAddressContext *context) -> bool { in GetLocalAddress() argument 792 context->clientId_ = NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID); in GetLocalAddress() 967 [](napi_env theEnv, napi_value thisVal, LocalSocketServerSendContext *context) -> bool { in Send() argument 968 context->SetClientId(NapiUtils::GetInt32Property(theEnv, thisVal, PROPERTY_CLIENT_ID)); in Send() 978 [](napi_env theEnv, napi_value thisVal, LocalSocketServerCloseContext *context) -> bool { in Close() argument [all …]
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | event_manager.cpp | 361 UvWorkWrapper::UvWorkWrapper(void *theData, napi_env theEnv, std::string eventType, EventManager *e… in UvWorkWrapper() argument 362 : data(theData), env(theEnv), type(std::move(eventType)), manager(eventManager) in UvWorkWrapper() 366 UvWorkWrapperShared::UvWorkWrapperShared(void *theData, napi_env theEnv, std::string eventType, in UvWorkWrapperShared() argument 368 : data(theData), env(theEnv), type(std::move(eventType)), manager(eventManager) in UvWorkWrapperShared()
|
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A D | event_manager.cpp | 141 UvWorkWrapper::UvWorkWrapper(void *theData, napi_env theEnv, std::string eventType, EventManager *e… in UvWorkWrapper() argument 142 : data(theData), env(theEnv), type(std::move(eventType)), manager(eventManager) in UvWorkWrapper()
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | event_manager.h | 141 … UvWorkWrapper(void *theData, napi_env theEnv, std::string eventType, EventManager *eventManager); 184 UvWorkWrapperShared(void *theData, napi_env theEnv, std::string eventType,
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_module/src/ |
H A D | connection_module.cpp | 471 [](napi_env theEnv, napi_value thisVal, RegisterContext *context) -> bool { in Register() argument 473 context->GetManager()->SetRef(NapiUtils::CreateReference(theEnv, thisVal)); in Register() 485 [](napi_env theEnv, napi_value thisVal, UnregisterContext *context) -> bool { in Unregister() argument 488 NapiUtils::DeleteReference(theEnv, context->GetManager()->GetRef()); in Unregister()
|
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/include/ |
H A D | event_manager.h | 70 …explicit UvWorkWrapper(void *theData, napi_env theEnv, std::string eventType, EventManager *eventM…
|