/third_party/libwebsockets/lib/core/ |
H A D | lws_dll2.c | 34 if (d->owner) in lws_dll2_is_detached() 42 * have .owner, .next and .prev all set to NULL, so we in lws_dll2_is_detached() 43 * can just check .owner to see if we are detached. in lws_dll2_is_detached() 46 * state of NULL .owner, but non-NULL in .next or .prev, in lws_dll2_is_detached() 57 lws_dll2_foreach_safe(struct lws_dll2_owner *owner, void *user, in lws_dll2_foreach_safe() argument 60 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, owner->head) { in lws_dll2_foreach_safe() 69 lws_dll2_add_head(struct lws_dll2 *d, struct lws_dll2_owner *owner) in lws_dll2_add_head() argument 77 if (owner->head != d) in lws_dll2_add_head() 78 d->next = owner->head; in lws_dll2_add_head() 87 owner in lws_dll2_add_head() 103 lws_dll2_owner_t *owner = after->owner; lws_dll2_add_before() local 140 lws_dll2_add_tail(struct lws_dll2 *d, struct lws_dll2_owner *owner) lws_dll2_add_tail() argument 282 lws_dll2_describe(lws_dll2_owner_t *owner, const char *desc) lws_dll2_describe() argument [all...] |
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_proxy_lite.cpp | 219 static int IpcCallback(void *owner, int code, IpcIo *reply) in IpcCallback() argument 221 if (code != 0 || owner == nullptr || reply == nullptr) { in IpcCallback() 222 WIFI_LOGE("Callback error, code:%{public}d, owner:%{public}d, reply:%{public}d", in IpcCallback() 223 code, owner == nullptr, reply == nullptr); in IpcCallback() 227 struct IpcOwner *data = (struct IpcOwner *)owner; in IpcCallback() 367 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; in EnableWifi() local 375 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_WIFI); in EnableWifi() 376 int error = remote_->Invoke(remote_, static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_WIFI), &req, &owner, in EnableWifi() 384 if (owner.exception) { in EnableWifi() 387 return ErrCode(owner in EnableWifi() 400 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; DisableWifi() local 433 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; InitWifiProtect() local 468 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetWifiProtectRef() local 503 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; PutWifiProtectRef() local 624 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; AddDeviceConfig() local 660 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; UpdateDeviceConfig() local 695 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; RemoveDevice() local 729 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; RemoveAllDevice() local 762 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetDeviceConfigs() local 798 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; EnableDeviceConfig() local 833 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; DisableDeviceConfig() local 867 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; ConnectToNetwork() local 902 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; ConnectToDevice() local 936 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; IsConnected() local 969 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; ReConnect() local 1002 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; ReAssociate() local 1035 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; Disconnect() local 1068 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; StartWps() local 1104 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; CancelWps() local 1137 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; IsWifiActive() local 1171 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; IsMeteredHotspot() local 1205 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetWifiState() local 1239 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetLinkedInfo() local 1273 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetIpInfo() local 1307 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetIpv6Info() local 1341 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; SetCountryCode() local 1375 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetCountryCode() local 1418 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; RegisterCallBack() local 1464 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetSignalLevel() local 1500 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetSupportedFeatures() local 1534 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetDeviceMacAddress() local 1569 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; SetLowLatencyMode() local 1610 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; IsBandTypeSupported() local 1646 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; Get5GHzChannelList() local 1681 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; EnableSemiWifi() local 1714 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetWifiDetailState() local [all...] |
H A D | wifi_scan_proxy_lite.cpp | 93 static int IpcCallback(void *owner, int code, IpcIo *reply) in IpcCallback() argument 95 if (code != 0 || owner == nullptr || reply == nullptr) { in IpcCallback() 96 WIFI_LOGE("Callback error, code:%{public}d, owner:%{public}d, reply:%{public}d", in IpcCallback() 97 code, owner == nullptr, reply == nullptr); in IpcCallback() 101 struct IpcOwner *data = (struct IpcOwner *)owner; in IpcCallback() 209 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; in SetScanControlInfo() local 235 owner.funcId = static_cast<int32_t>(ScanInterfaceCode::WIFI_SVR_CMD_SET_SCAN_CONTROL_INFO); in SetScanControlInfo() 237 &request, &owner, IpcCallback); in SetScanControlInfo() 244 if (owner.exception) { in SetScanControlInfo() 247 return ErrCode(owner in SetScanControlInfo() 260 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; Scan() local 293 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; AdvanceScan() local 335 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; IsWifiClosedScan() local 369 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetScanInfoList() local 412 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; RegisterCallBack() local 453 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetSupportedFeatures() local [all...] |
/foundation/ai/ai_engine/services/client/communication_adapter/source/ |
H A D | sa_client_proxy.cpp | 51 int Callback(void *owner, int code, IpcIo *reply) in Callback() argument 54 if (owner == nullptr) { in Callback() 55 HILOGE("[SaClientProxy]Callback owner is nullptr."); in Callback() 58 auto notify = reinterpret_cast<NotificationInitServer *>(owner); in Callback() 64 int CallbackBuff(void *owner, int code, IpcIo *reply) in CallbackBuff() argument 67 if (owner == nullptr) { in CallbackBuff() 68 HILOGE("[SaClientProxy]SyncCallback owner is nullptr."); in CallbackBuff() 71 auto notify = reinterpret_cast<struct NotifyBuff *>(owner); in CallbackBuff() 145 NotificationInitServer owner = { in InitSaEngine() local 153 proxy.Invoke(&proxy, ID_INIT_ENGINE, &request, &owner, Callbac in InitSaEngine() 163 struct Notify owner = {.retCode = RETCODE_FAILURE}; DestroyEngineProxy() local 203 struct NotifyBuff owner = { SyncExecAlgorithmProxy() local 236 struct Notify owner = {.retCode = RETCODE_FAILURE}; AsyncExecuteAlgorithmProxy() local 256 struct NotifyBuff owner = { LoadAlgorithmProxy() local 289 struct Notify owner = {.retCode = RETCODE_FAILURE}; UnloadAlgorithmProxy() local 310 struct Notify owner = {.retCode = RETCODE_FAILURE}; SetOptionProxy() local 332 struct NotifyBuff owner = { GetOptionProxy() local 365 struct Notify owner = {.retCode = RETCODE_FAILURE}; RegisterCallbackProxy() local 392 struct Notify owner = {.retCode = RETCODE_FAILURE}; UnregisterCallbackProxy() local [all...] |
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_client_proxy_lite.cpp | 60 static int IpcCallback(void *owner, int code, IpcIo *reply) in IpcCallback() argument 62 if (code != 0 || owner == nullptr || reply == nullptr) { in IpcCallback() 63 DHCP_LOGE("Callback error, code:%{public}d, owner:%{public}d, reply:%{public}d", in IpcCallback() 64 code, owner == nullptr, reply == nullptr); in IpcCallback() 68 struct IpcOwner *data = (struct IpcOwner *)owner; in IpcCallback() 104 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; in RegisterDhcpClientCallBack() local 119 owner.funcId = static_cast<int32_t>(DhcpClientInterfaceCode::DHCP_CLIENT_SVR_CMD_REG_CALL_BACK); in RegisterDhcpClientCallBack() 122 &req, &owner, IpcCallback); in RegisterDhcpClientCallBack() 128 if (owner.exception) { in RegisterDhcpClientCallBack() 129 DHCP_LOGE("exception failed, exception:%{public}d", owner in RegisterDhcpClientCallBack() 147 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; StartDhcpClient() local 185 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; SetConfiguration() local 223 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; StopDhcpClient() local [all...] |
H A D | dhcp_server_proxy_lite.cpp | 49 static int IpcCallback(void *owner, int code, IpcIo *reply) in IpcCallback() argument 51 if (code != 0 || owner == nullptr || reply == nullptr) { in IpcCallback() 52 DHCP_LOGE("Callback error, code:%{public}d, owner:%{public}d, reply:%{public}d", in IpcCallback() 53 code, owner == nullptr, reply == nullptr); in IpcCallback() 57 struct IpcOwner *data = (struct IpcOwner *)owner; in IpcCallback() 179 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; in RegisterDhcpServerCallBack() local 189 owner.funcId = static_cast<int32_t>(DhcpServerInterfaceCode::DHCP_SERVER_SVR_CMD_REG_CALL_BACK); in RegisterDhcpServerCallBack() 192 &request, &owner, IpcCallback); in RegisterDhcpServerCallBack() 197 DHCP_LOGD("RegisterCallBack is finished: result=%{public}d", owner.exception); in RegisterDhcpServerCallBack() 198 if (owner in RegisterDhcpServerCallBack() 216 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; StartDhcpServer() local 254 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; StopDhcpServer() local 293 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; SetDhcpRange() local 338 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; SetDhcpName() local 377 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; PutDhcpRange() local 421 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; RemoveAllDhcpRange() local 459 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; UpdateLeasesTime() local 497 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; RemoveDhcpRange() local 541 struct IpcOwner owner = {.exception = -1, .retCode = 0, .variable = nullptr}; GetDhcpClientInfos() local [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/src/ |
H A D | connection_observer_stub_impl.cpp | 24 auto owner = owner_.lock(); in OnExtensionConnected() local 25 if (!owner) { in OnExtensionConnected() 28 owner->HandleExtensionConnected(data); in OnExtensionConnected() 33 auto owner = owner_.lock(); in OnExtensionDisconnected() local 34 if (!owner) { in OnExtensionDisconnected() 37 owner->HandleExtensionDisconnected(data); in OnExtensionDisconnected() 43 auto owner = owner_.lock(); in OnDlpAbilityOpened() local 44 if (!owner) { in OnDlpAbilityOpened() 47 owner->HandleDlpAbilityOpened(data); in OnDlpAbilityOpened() 52 auto owner in OnDlpAbilityClosed() local [all...] |
/third_party/musl/src/stdio/ |
H A D | __lockfile.c | 6 int owner = f->lock, tid = __pthread_self()->tid; in __lockfile() local 7 if ((owner & ~MAYBE_WAITERS) == tid) in __lockfile() 9 owner = a_cas(&f->lock, 0, tid); in __lockfile() 10 if (!owner) return 1; in __lockfile() 11 while ((owner = a_cas(&f->lock, 0, tid|MAYBE_WAITERS))) { in __lockfile() 12 if ((owner & MAYBE_WAITERS) || in __lockfile() 13 a_cas(&f->lock, owner, owner|MAYBE_WAITERS)==owner) in __lockfile() 14 __futexwait(&f->lock, owner|MAYBE_WAITER in __lockfile() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | attachment_container.cpp | 68 const auto owner = owner_.lock(); in Replace() local 86 bool AttachmentContainer::Initialize(const META_NS::IAttach::Ptr& owner) in Initialize() argument 88 if (!owner) { in Initialize() 91 owner_ = owner; in Initialize() 108 if (const auto owner = owner_.lock()) { in Attach() 112 if (current == owner) { in Attach() 122 const auto context = dataContext ? dataContext : interface_pointer_cast<IObject>(owner); in Attach() 137 if (const auto owner = owner_.lock()) { in Detach() 140 if (current != owner) { in Detach() 151 if (const auto owner in AddingToContainer() 191 const auto owner = owner_.lock(); RemoveAllAttachments() local [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | window_focus_changed_listener.cpp | 26 WindowFocusChangedListener::WindowFocusChangedListener(const std::shared_ptr<AppMgrServiceInner> &owner, in WindowFocusChangedListener() argument 27 const std::shared_ptr<AAFwk::TaskHandlerWrap>& handler) : owner_(owner), taskHandler_(handler) {} in WindowFocusChangedListener() 40 auto owner = inner.lock(); in OnFocused() 41 if (!owner) { in OnFocused() 45 owner->HandleFocused(focusChangeInfo); in OnFocused() 60 auto owner = inner.lock(); in OnUnfocused() 61 if (!owner) { in OnUnfocused() 65 owner->HandleUnfocused(focusChangeInfo); in OnUnfocused()
|
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | persistent-node.h | 33 void InitializeAsUsedNode(void* owner, TraceRootCallback trace) { in InitializeAsUsedNode() argument 35 owner_ = owner; in InitializeAsUsedNode() 44 void UpdateOwner(void* owner) { in UpdateOwner() argument 46 owner_ = owner; in UpdateOwner() 61 void* owner() const { in owner() function in cppgc::internal::final 96 PersistentNode* TryAllocateNodeFromFreeList(void* owner, in TryAllocateNodeFromFreeList() argument 103 node->InitializeAsUsedNode(owner, trace); in TryAllocateNodeFromFreeList() 118 PersistentNode* RefillFreeListAndAllocateNode(void* owner, 146 V8_INLINE PersistentNode* AllocateNode(void* owner, TraceRootCallback trace) { in AllocateNode() argument 148 auto* node = TryAllocateNodeFromFreeList(owner, trac in AllocateNode() 190 AllocateNode(void* owner, TraceRootCallback trace) AllocateNode() argument [all...] |
/third_party/node/deps/v8/include/cppgc/internal/ |
H A D | persistent-node.h | 35 void InitializeAsUsedNode(void* owner, TraceCallback trace) { in InitializeAsUsedNode() argument 37 owner_ = owner; in InitializeAsUsedNode() 46 void UpdateOwner(void* owner) { in UpdateOwner() argument 48 owner_ = owner; in UpdateOwner() 63 void* owner() const { in owner() function in cppgc::internal::final 98 PersistentNode* TryAllocateNodeFromFreeList(void* owner, in TryAllocateNodeFromFreeList() argument 105 node->InitializeAsUsedNode(owner, trace); in TryAllocateNodeFromFreeList() 120 PersistentNode* RefillFreeListAndAllocateNode(void* owner, 148 V8_INLINE PersistentNode* AllocateNode(void* owner, TraceCallback trace) { in AllocateNode() argument 150 auto* node = TryAllocateNodeFromFreeList(owner, trac in AllocateNode() 192 AllocateNode(void* owner, TraceCallback trace) AllocateNode() argument [all...] |
/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account_manager.cpp | 28 ErrCode AppAccountManager::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument 32 owner, authType, options, callback); in AddAccountImplicitly() 40 ErrCode AppAccountManager::CreateAccountImplicitly(const std::string &owner, in CreateAccountImplicitly() argument 43 return AppAccount::GetInstance().CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly() 108 ErrCode AppAccountManager::Authenticate(const std::string &name, const std::string &owner, in Authenticate() argument 111 return AppAccount::GetInstance().Authenticate(name, owner, authType, options, callback); in Authenticate() 115 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetOAuthToken() 117 return AppAccount::GetInstance().GetOAuthToken(name, owner, authType, token); in GetOAuthToken() 121 const std::string &name, const std::string &owner, const std::string &authType, std::string &token) in GetAuthToken() 123 return AppAccount::GetInstance().GetAuthToken(name, owner, authTyp in GetAuthToken() 114 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument 120 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument 132 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument 138 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument 172 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument 177 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument 200 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument 210 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument 232 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument 238 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument 244 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument [all...] |
H A D | app_account.cpp | 64 ErrCode AppAccount::AddAccountImplicitly(const std::string &owner, const std::string &authType, in AddAccountImplicitly() argument 67 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constants::OWNER_MAX_SIZE, "owner is empty or oversize"); in AddAccountImplicitly() 75 return proxy->AddAccountImplicitly(owner, authType, options, callback); in AddAccountImplicitly() 95 ErrCode AppAccount::CreateAccountImplicitly(const std::string &owner, const CreateAccountImplicitlyOptions &options, in CreateAccountImplicitly() argument 98 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constants::OWNER_MAX_SIZE, "owner is empty or oversize"); in CreateAccountImplicitly() 108 return proxy->CreateAccountImplicitly(owner, options, callback); in CreateAccountImplicitly() 253 ErrCode AppAccount::Authenticate(const std::string &name, const std::string &owner, const std::string &authType, in Authenticate() argument 257 RETURN_IF_STRING_IS_EMPTY_OR_OVERSIZE(owner, Constant in Authenticate() 268 GetOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetOAuthToken() argument 282 GetAuthToken( const std::string &name, const std::string &owner, const std::string &authType, std::string &token) GetAuthToken() argument 307 DeleteOAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteOAuthToken() argument 322 DeleteAuthToken( const std::string &name, const std::string &owner, const std::string &authType, const std::string &token) DeleteAuthToken() argument 404 GetAuthenticatorInfo(const std::string &owner, AuthenticatorInfo &info) GetAuthenticatorInfo() argument 414 GetAllOAuthTokens( const std::string &name, const std::string &owner, std::vector<OAuthTokenInfo> &tokenInfos) GetAllOAuthTokens() argument 462 GetAllAccounts(const std::string &owner, std::vector<AppAccountInfo> &appAccounts) GetAllAccounts() argument 512 VerifyCredential(const std::string &name, const std::string &owner, const VerifyCredentialOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) VerifyCredential() argument 527 CheckAccountLabels(const std::string &name, const std::string &owner, const std::vector<std::string> &labels, const sptr<IAppAccountAuthenticatorCallback> &callback) CheckAccountLabels() argument 541 SetAuthenticatorProperties(const std::string &owner, const SetPropertiesOptions &options, const sptr<IAppAccountAuthenticatorCallback> &callback) SetAuthenticatorProperties() argument 561 QueryAllAccessibleAccounts( const std::string &owner, std::vector<AppAccountInfo> &appAccounts) QueryAllAccessibleAccounts() argument [all...] |
/third_party/node/lib/ |
H A D | _tls_wrap.js | 145 const owner = this[owner_symbol]; 147 assert(owner._tlsOptions.isServer); 150 owner._emitTLSError(new ERR_TLS_SESSION_ATTACK()); 154 if (owner[kDisableRenegotiation]) 155 owner._emitTLSError(new ERR_TLS_RENEGOTIATION_DISABLED()); 161 const owner = this[owner_symbol]; 162 assert(owner._tlsOptions.isServer); 165 if (owner._newSessionPending) { 166 owner._securePending = true; 170 owner [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | memory-chunk-inl.h | 18 owner()->IncrementExternalBackingStoreBytes(type, amount); in IncrementExternalBackingStoreBytes() 26 owner()->DecrementExternalBackingStoreBytes(type, amount); in DecrementExternalBackingStoreBytes() 34 DCHECK_NOT_NULL(from->owner()); in MoveExternalBackingStoreBytes() 35 DCHECK_NOT_NULL(to->owner()); in MoveExternalBackingStoreBytes() 38 Space::MoveExternalBackingStoreBytes(type, from->owner(), to->owner(), in MoveExternalBackingStoreBytes() 44 return owner()->identity(); in owner_identity()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_subscribe_manager.cpp | 104 std::vector<AppAccountSubscribeRecordPtr> AppAccountSubscribeManager::GetSubscribeRecords(const std::string &owner) in GetSubscribeRecords() argument 113 auto subscribeRecordsPtr = ownerSubscribeRecords_.find(owner); in GetSubscribeRecords() 127 if (std::find(owners.begin(), owners.end(), owner) == owners.end()) { in GetSubscribeRecords() 128 ACCOUNT_LOGE("failed to find owner in owners"); in GetSubscribeRecords() 160 for (auto owner : owners) { in CheckAppAccess() 161 if (owner == bundleName) { in CheckAppAccess() 167 [owner](const std::string &account) { in CheckAppAccess() 168 auto position = account.find(owner); in CheckAppAccess() 199 for (auto owner : owners) { in InsertSubscribeRecord() 200 auto item = ownerSubscribeRecords_.find(owner); in InsertSubscribeRecord() 333 std::string owner; GetAccessibleAccountsBySubscribeInfo() local [all...] |
/foundation/ability/ability_runtime/test/unittest/window_focus_changed_listener_test/ |
H A D | window_focus_changed_listener_test.cpp | 65 std::shared_ptr<AbilityManagerService> owner; in HWTEST_F() local 67 auto info = std::make_shared<WindowFocusChangedListener>(owner, handler); in HWTEST_F() 82 std::shared_ptr<AbilityManagerService> owner; in HWTEST_F() local 84 auto info = std::make_shared<WindowFocusChangedListener>(owner, handler); in HWTEST_F() 102 std::shared_ptr<AbilityManagerService> owner; in HWTEST_F() local 106 auto info = std::make_shared<WindowFocusChangedListener>(owner, handler); in HWTEST_F() 124 std::shared_ptr<AbilityManagerService> owner; in HWTEST_F() local 126 auto info = std::make_shared<WindowFocusChangedListener>(owner, handler); in HWTEST_F() 141 std::shared_ptr<AbilityManagerService> owner; in HWTEST_F() local 143 auto info = std::make_shared<WindowFocusChangedListener>(owner, handle in HWTEST_F() 161 std::shared_ptr<AbilityManagerService> owner; HWTEST_F() local [all...] |
/foundation/communication/ipc/ipc/test/ipc/client/ |
H A D | ipc_test_client.c | 51 static int ServerAddCallback(IOwner owner, int code, IpcIo *reply) in ServerAddCallback() argument 59 ReadInt32(reply, (int *)owner); in ServerAddCallback() 61 RPC_LOG_INFO("ServerAddCallback return[%d].", *(int32_t*)owner); in ServerAddCallback() 62 EXPECT_EQ(*(int32_t*)owner, tmpSum); in ServerAddCallback() 85 static int ServerMultiCallback(IOwner owner, int code, IpcIo *reply) in ServerMultiCallback() argument 92 ReadInt32(reply, (int *)owner); in ServerMultiCallback() 94 RPC_LOG_INFO("ServerMultiCallback return[%d].", *(int32_t*)owner); in ServerMultiCallback() 95 EXPECT_EQ(*(int32_t*)owner, tmpMulti); in ServerMultiCallback() 116 static int ServerSubCallback(IOwner owner, int code, IpcIo *reply) in ServerSubCallback() argument 123 ReadInt32(reply, (int *)owner); in ServerSubCallback() [all...] |
/third_party/python/Lib/test/ |
H A D | test_subclassinit.py | 105 def __set_name__(self, owner, name): 106 self.owner = owner 113 self.assertIs(A.d.owner, A) 120 self.assertIs(ret.d.owner, ret) 124 def __set_name__(self, owner, name): 125 self.owner = owner 134 def __set_name__(self, owner, name): 176 def __set_name__(self, owner, nam [all...] |
/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
H A D | app_account_manager.h | 52 * Only the owner of the application account has the permission to call this method. 61 * @brief Adds an application account of a specified owner implicitly. 62 * @param owner - Indicates the account owner of your application or third-party applications. 68 static ErrCode AddAccountImplicitly(const std::string &owner, const std::string &authType, 74 * Only the owner of the application account has the permission to call this method. 83 * @brief Creates an application account of a specified owner implicitly. 84 * @param owner - Indicates the account owner of your application or third-party applications. 88 static ErrCode CreateAccountImplicitly(const std::string &owner, cons [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | window_focus_changed_listener.cpp | 33 auto owner = inner.lock(); in OnFocused() 34 if (!owner) { in OnFocused() 39 owner->HandleFocused(focusChangeInfo); in OnFocused() 55 auto owner = inner.lock(); in OnUnfocused() 56 if (!owner) { in OnUnfocused() 61 owner->HandleUnfocused(focusChangeInfo); in OnUnfocused()
|
H A D | user_event_handler.cpp | 23 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<UserController> &owner) in UserEventHandler() 24 : EventHandlerWrap(taskHandler), controller_(owner) in UserEventHandler() 30 auto owner = controller_.lock(); in ProcessEvent() local 31 if (owner) { in ProcessEvent() 32 owner->ProcessEvent(event); in ProcessEvent() 22 UserEventHandler( const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<UserController> &owner) UserEventHandler() argument
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLField.h | 27 Field(int line, const Variable* owner, int fieldIndex) in Field() argument 28 : INHERITED(line, kSymbolKind, owner->type().fields()[fieldIndex].fName, in Field() 29 owner->type().fields()[fieldIndex].fType) in Field() 30 , fOwner(owner) in Field() 37 const Variable& owner() const { in owner() function in SkSL::final 42 return this->owner().description() + "." + this->name();
|
/third_party/rust/crates/regex/src/ |
H A D | pool.rs | 110 /// The ID of the thread that owns this pool. The owner is the thread 111 /// that makes the first call to 'get'. When the owner calls 'get', it 118 owner: AtomicUsize, 160 .field("owner", &self.owner) in fmt() 183 let owner = AtomicUsize::new(0); in fmt() 185 Pool { stack: Mutex::new(vec![]), create, owner, owner_val } in fmt() 205 // owner, then only one thread may receive this value. in fmt() 207 let owner = self.owner in fmt() [all...] |