/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_transaction.cpp | 192 TransactionProxy *proxy = nullptr; in NewInstance() local 193 status = napi_unwrap(env, instance, reinterpret_cast<void **>(&proxy)); in NewInstance() 194 if (proxy == nullptr) { in NewInstance() 198 proxy->SetInstance(std::move(transaction)); in NewInstance() 252 auto *proxy = new (std::nothrow) TransactionProxy(); in Initialize() local 253 if (proxy == nullptr) { in Initialize() 267 TransactionProxy *proxy = reinterpret_cast<TransactionProxy *>(data); in Initialize() 268 proxy->SetInstance(nullptr); in Initialize() 269 delete proxy; in Initialize() 271 napi_status status = napi_wrap(env, self, proxy, finaliz in Initialize() [all...] |
/foundation/communication/ipc/services/dbinder/dbinder_service/src/ |
H A D | dbinder_service.cpp | 567 DBINDER_LOGW(LOG_LABEL, "attach proxy object is already existed"); in LoadSystemAbilityComplete() 677 std::string DBinderService::GetDatabusNameByProxy(IPCObjectProxy *proxy) in GetDatabusNameByProxy() argument 679 if (proxy == nullptr) { in GetDatabusNameByProxy() 680 DBINDER_LOGE(LOG_LABEL, "proxy can not be null"); in GetDatabusNameByProxy() 684 std::string sessionName = proxy->GetSessionName(); in GetDatabusNameByProxy() 691 proxy->GetHandle(), sessionName.c_str()); in GetDatabusNameByProxy() 725 bool DBinderService::CheckInvokeListenThreadIllegal(IPCObjectProxy *proxy, MessageParcel &data, MessageParcel &reply) in CheckInvokeListenThreadIllegal() argument 727 int err = proxy->InvokeListenThread(data, reply); in CheckInvokeListenThreadIllegal() 729 DBINDER_LOGE(LOG_LABEL, "start service listen error:%{public}d handle:%{public}d", err, proxy->GetHandle()); in CheckInvokeListenThreadIllegal() 736 const std::string &deviceId, IPCObjectProxy *proxy) in CheckStubIndexAndSessionNameIllegal() 735 CheckStubIndexAndSessionNameIllegal(uint64_t stubIndex, const std::string &serverSessionName, const std::string &deviceId, IPCObjectProxy *proxy) CheckStubIndexAndSessionNameIllegal() argument 747 SetReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage, uint64_t stubIndex, const std::string &serverSessionName, uint32_t selfTokenId, IPCObjectProxy *proxy) SetReplyMessage() argument 767 OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, std::shared_ptr<struct DHandleEntryTxRx> replyMessage, std::string &remoteDeviceId, int pid, int uid, uint32_t tokenId) OnRemoteInvokerDataBusMessage() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_single_kv_store.cpp | 676 auto proxy = reinterpret_cast<JsSingleKVStore*>(ctxt->native); in OnDataChange() local 677 std::lock_guard<std::mutex> lck(proxy->listMutex_); in OnDataChange() 678 for (auto& it : proxy->dataObserver_[type]) { in OnDataChange() 685 Status status = proxy->Subscribe(type, in OnDataChange() 686 std::make_shared<DataObserver>(proxy->uvQueue_, argv[1], proxy->IsSchemaStore())); in OnDataChange() 712 auto proxy = reinterpret_cast<JsSingleKVStore*>(ctxt->native); in OffDataChange() local 715 auto traverseType = [argc, argv, proxy, env, &found, &status](uint8_t type, auto& observers) { in OffDataChange() 723 status = proxy->UnSubscribe(type, *it); in OffDataChange() 731 std::lock_guard<std::mutex> lck(proxy in OffDataChange() 757 auto proxy = reinterpret_cast<JsSingleKVStore*>(ctxt->native); OnSyncComplete() local 771 auto proxy = reinterpret_cast<JsSingleKVStore*>(ctxt->native); OffSyncComplete() local [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | TextureOp.cpp | 108 NormalizationParams proxy_normalization_params(const GrSurfaceProxy* proxy, in proxy_normalization_params() argument 110 // Whether or not the proxy is instantiated, this is the size its texture will be, so we can in proxy_normalization_params() 112 SkISize dimensions = proxy->backingStoreDimensions(); in proxy_normalization_params() 114 if (proxy->backendFormat().textureType() == GrTextureType::kRectangle) { in proxy_normalization_params() 180 // Count the number of proxy runs in the entry set. This usually is already computed by 181 // SkGpuDevice, but when the BatchLengthLimiter chops the set up it must determine a new proxy count 187 if (set[i].fProxyView.proxy() != lastProxy) { in proxy_run_count() 189 lastProxy = set[i].fProxyView.proxy(); in proxy_run_count() 368 // This will be >= fProxyCount, since a proxy may be drawn multiple times 457 !subsetRect->contains(proxyView.proxy() in TextureOpImpl() 767 auto* proxy = op->fViewCountPairs[p].fProxy->asTextureProxy(); validate_op() local 1404 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( GR_DRAW_OP_TEST_DEFINE() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_ui_extension.cpp | 249 RefPtr<JSUIExtensionProxy> proxy = Referenced::Claim(contextObj->Unwrap<JSUIExtensionProxy>()); in On() 250 CHECK_NULL_VOID(proxy); in On() 251 proxy->SetInstanceId(instanceId); in On() 252 proxy->SetProxy(session); in On() 324 void JSUIExtensionProxy::SetProxy(const RefPtr<NG::UIExtensionProxy>& proxy) in SetProxy() argument 326 proxy_ = proxy; in SetProxy() 451 RefPtr<JSUIExtensionProxy> proxy = Referenced::Claim(contextObj->Unwrap<JSUIExtensionProxy>()); in OnRemoteReady() 452 CHECK_NULL_VOID(proxy); in OnRemoteReady() 453 proxy->SetInstanceId(instanceId); in OnRemoteReady() 454 proxy in OnRemoteReady() [all...] |
H A D | js_security_ui_extension.cpp | 258 RefPtr<JSSecurityUIExtensionProxy> proxy = in On() 260 CHECK_NULL_VOID(proxy); in On() 261 proxy->SetInstanceId(instanceId); in On() 262 proxy->SetProxy(session); in On() 334 const RefPtr<NG::SecurityUIExtensionProxy>& proxy) in SetProxy() 336 proxy_ = proxy; in SetProxy() 454 RefPtr<JSSecurityUIExtensionProxy> proxy = in OnRemoteReady() 456 CHECK_NULL_VOID(proxy); in OnRemoteReady() 457 proxy->SetInstanceId(instanceId); in OnRemoteReady() 458 proxy in OnRemoteReady() 333 SetProxy( const RefPtr<NG::SecurityUIExtensionProxy>& proxy) SetProxy() argument [all...] |
H A D | js_scroller.h | 64 void SetScrollBarProxy(const RefPtr<ScrollProxy>& proxy) in SetScrollBarProxy() argument 66 scrollBarProxyWeak_ = proxy; in SetScrollBarProxy()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrTextureEffect.cpp | 27 Sampling(const GrSurfaceProxy& proxy, 38 GrTextureEffect::Sampling::Sampling(const GrSurfaceProxy& proxy, in Sampling() argument 66 auto type = proxy.asTextureProxy()->textureType(); in Sampling() 121 SkISize dim = proxy.isFullyLazy() ? SkISize{-1, -1} : proxy.backingStoreDimensions(); in Sampling() 172 Sampling sampling(*view.proxy(), in Make() 174 SkRect::Make(view.proxy()->dimensions()), in Make() 193 Sampling sampling(*view.proxy(), in MakeSubset() 214 Sampling sampling(*view.proxy(), sampler, subset, &domain, border, false, caps); in MakeSubset() 233 Sampling sampling(*view.proxy(), sample in MakeCustomLinearFilterInset() [all...] |
H A D | GrShadowGeoProc.cpp | 61 SkASSERT(lutView.proxy()); in GrRRectShadowGeoProc() 62 fLUTTextureSampler.reset(GrSamplerState::Filter::kLinear, lutView.proxy()->backendFormat(), in GrRRectShadowGeoProc()
|
/third_party/curl/lib/ |
H A D | http.c | 188 * checkProxyHeaders() checks the linked list of custom proxy headers 189 * if proxy headers are not available, then it will lookup into http header 192 * It takes a connectdata struct as input to see if this is a proxy request or 203 for(head = (conn->bits.proxy && data->set.sep_headers) ? in Curl_checkProxyheaders() 267 * http_output_basic() sets up an Authorization: header (or the proxy version) 272 static CURLcode http_output_basic(struct Curl_easy *data, bool proxy) in http_output_basic() argument 284 if(proxy) { in http_output_basic() 314 proxy ? "Proxy-" : "", in http_output_basic() 646 * and whether or not it is to a proxy. 654 bool proxy) in output_auth_headers() 649 output_auth_headers(struct Curl_easy *data, struct connectdata *conn, struct auth *authstatus, const char *request, const char *path, bool proxy) output_auth_headers() argument 909 Curl_http_input_auth(struct Curl_easy *data, bool proxy, const char *auth) Curl_http_input_auth() argument 1714 enum proxy_use proxy; Curl_dynhds_add_custom() local 1861 enum proxy_use proxy; Curl_add_custom_headers() local 3648 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; Curl_http_header() local [all...] |
/foundation/CastEngine/castengine_wifi_display/services/interaction/interprocess/ |
H A D | ipc_msg_adapter.cpp | 63 void IpcMsgAdapter::SetPeerProxy(sptr<IInterIpc> proxy) in SetPeerProxy() argument 66 peerProxy_ = proxy; in SetPeerProxy()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/ |
H A D | js_uiservice_ability_connection.h | 42 void SetProxyObject(napi_value proxy); 46 void ResolveDuplicatedPendingTask(napi_env env, napi_value proxy);
|
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/include/ |
H A D | connection_observer_client_impl.h | 68 bool RegisterObserverToServiceLocked(const std::shared_ptr<ServiceProxyAdapter> &proxy); 69 void UnregisterFromServiceLocked(const std::shared_ptr<ServiceProxyAdapter> &proxy); 81 std::mutex proxyLock_; // proxy lock. 82 std::shared_ptr<ServiceProxyAdapter> serviceAdapter_; // abilityms proxy adapter, send request code.
|
/foundation/ability/ability_runtime/interfaces/inner_api/uri_permission/include/ |
H A D | uri_permission_manager_client.h | 120 explicit UpmsDeathRecipient(const ClearProxyCallback &proxy) : proxy_(proxy) {} in UpmsDeathRecipient() argument
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ui_extension_ability/ |
H A D | js_uiservice_uiext_connection.h | 42 void SetProxyObject(napi_value proxy); 46 void ResolveDuplicatedPendingTask(napi_env env, napi_value proxy);
|
/foundation/CastEngine/castengine_cast_framework/client/include/ |
H A D | stream_player.h | 31 explicit StreamPlayer(sptr<IStreamPlayerIpc> proxy) : proxy_(proxy) {} in StreamPlayer() argument
|
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/core/ |
H A D | index.js | 87 Object.keys(data).forEach(key => proxy(vm, data, key)); 98 * proxy data 100 * @param {Object} source the data to be proxy 101 * @param {String} key the key to be proxy 103 function proxy(target, source, key) { function
|
/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | dbinder_session_object.h | 52 uint64_t stubIndex, IPCObjectProxy *proxy, uint32_t tokenId); 57 void SetProxy(IPCObjectProxy *proxy);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | extension_mgr_proxy.cpp | 47 static std::shared_ptr<ExtensionMgrProxy> proxy = std::make_shared<ExtensionMgrProxy>(); in GetInstance() local 48 return proxy; in GetInstance()
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | symbol-unscopables.js | 109 let proxy = new Proxy({ a : 4, [Symbol.unscopables] : [] }, { 120 with (proxy){
|
/third_party/skia/tools/fonts/ |
H A D | RandomScalerContext.h | 21 SkRandomTypeface(sk_sp<SkTypeface> proxy, const SkPaint&, bool fakeit); 23 SkTypeface* proxy() const { return fProxy.get(); } in proxy() function in SkRandomTypeface
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/ |
H A D | select_overlay_manager.cpp | 37 auto proxy = MakeRefPtr<SelectOverlayProxy>(current->GetId()); in CreateAndShowSelectOverlay() local 38 return proxy; in CreateAndShowSelectOverlay() 104 auto proxy = MakeRefPtr<SelectOverlayProxy>(selectOverlayNode->GetId()); in CreateAndShowSelectOverlay() local 105 return proxy; in CreateAndShowSelectOverlay() 129 void SelectOverlayManager::DestroySelectOverlay(const RefPtr<SelectOverlayProxy>& proxy, bool animation) in DestroySelectOverlay() argument 131 auto id = proxy->GetSelectOverlayId(); in DestroySelectOverlay()
|
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/ |
H A D | dbinder_service.h | 235 * @brief Detach the callback proxy object. 243 * @brief Attach the callback proxy object. 278 * @brief Detach the proxy object. 355 bool CheckInvokeListenThreadIllegal(IPCObjectProxy *proxy, MessageParcel &data, MessageParcel &reply); 357 const std::string &deviceId, IPCObjectProxy *proxy); 359 const std::string &serverSessionName, uint32_t selfTokenId, IPCObjectProxy *proxy); 360 uint32_t OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, std::shared_ptr<struct DHandleEntryTxRx> replyMessage, 363 std::string GetDatabusNameByProxy(IPCObjectProxy *proxy); 368 bool HandleInvokeListenThread(IPCObjectProxy *proxy, uint64_t stubIndex, std::string serverSessionName,
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | message_parcel.cpp | 148 // note that cannot use this proxy's descriptor, this stub is now stored and strong refered in WriteDBinderProxy() 198 const IPCObjectProxy *proxy = reinterpret_cast<const IPCObjectProxy *>(object.GetRefPtr()); in WriteRemoteObject() local 199 const uint32_t handle = proxy ? proxy->GetHandle() : 0; in WriteRemoteObject() 201 /* this is a fake proxy which handle get by MakeRemoteHandle(), Not binder driver of kernel */ in WriteRemoteObject() 202 ZLOGI(LOG_LABEL, "send a dbinder proxy to another process in this device"); in WriteRemoteObject() 228 // if this stub is a DBinderCallbackStub, return corresponding proxy in ReadRemoteObject() 231 sptr<IRemoteObject> proxy = current->QueryDBinderCallbackProxy(temp); in ReadRemoteObject() local 232 if (proxy != nullptr) { in ReadRemoteObject() 233 temp = proxy; in ReadRemoteObject() [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/ |
H A D | datashare_helper.cpp | 162 LOG_ERROR("Service proxy is nullptr."); in CreateServiceHelper() 170 auto proxy = DataShareManagerImpl::GetServiceProxy(); in GetSilentProxyStatus() local 171 if (proxy == nullptr) { in GetSilentProxyStatus() 172 LOG_ERROR("Service proxy is nullptr."); in GetSilentProxyStatus() 175 return proxy->GetSilentProxyStatus(uri); in GetSilentProxyStatus() 364 auto proxy = DataShareManagerImpl::GetServiceProxy(); in SetSilentSwitch() local 365 if (proxy == nullptr) { in SetSilentSwitch() 366 LOG_ERROR("proxy is nullptr"); in SetSilentSwitch() 369 return proxy->SetSilentSwitch(uri, enable); in SetSilentSwitch()
|