Home
last modified time | relevance | path

Searched refs:proxy (Results 176 - 200 of 898) sorted by relevance

12345678910>>...36

/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/
H A Dflat_object_store.cpp226 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in BindAssetStore() local
227 if (proxy == nullptr) { in BindAssetStore()
228 LOG_ERROR("proxy is nullptr."); in BindAssetStore()
231 int32_t status = proxy->BindAssetStore(bundleName_, sessionId, assetValue, bindInfo); in BindAssetStore()
433 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in SaveObject() local
434 if (proxy == nullptr) { in SaveObject()
435 LOG_ERROR("proxy is nullptr."); in SaveObject()
447 int32_t status = proxy->ObjectStoreSave( in SaveObject()
462 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); in RevokeSaveObject() local
463 if (proxy in RevokeSaveObject()
485 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); ResumeObject() local
507 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); SubscribeDataChange() local
529 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); UnregisterDataChange() local
544 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); DeleteSnapshot() local
559 sptr<OHOS::DistributedObject::IObjectService> proxy = ClientAdaptor::GetObjectService(); IsContinue() local
[all...]
/third_party/node/deps/npm/node_modules/socks/build/client/
H A Dsocksclient.js115 // If we've reached the last proxy in the chain, the destination is the actual destination, otherwise it's the next proxy.
126 proxy: nextProxy,
219 * Starts the connection establishment to the proxy and destination.
268 // Socket options (defaults host/port to options.proxy.host/options.proxy.port)
270 return Object.assign(Object.assign({}, this.options.socket_options), { host: this.options.proxy.host || this.options.proxy.ipaddress, port: this.options.proxy.port });
288 if (this.options.proxy
[all...]
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dlocal_abilitys_test.cpp60 auto proxy = LocalAbilitys::GetInstance().GetAbility(SAID); in HWTEST_F() local
61 EXPECT_TRUE(proxy != nullptr); in HWTEST_F()
75 auto proxy = LocalAbilitys::GetInstance().GetAbility(SAID); in HWTEST_F() local
76 EXPECT_TRUE(proxy == nullptr); in HWTEST_F()
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/mini/
H A Ddbinder_ipc_adapter.c48 proxyObject->proxy = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RpcGetSystemAbility()
49 if (proxyObject->proxy == NULL) { in RpcGetSystemAbility()
54 if (memcpy_s(proxyObject->proxy, sizeof(SvcIdentity), &target, sizeof(SvcIdentity)) != EOK) { in RpcGetSystemAbility()
55 free(proxyObject->proxy); in RpcGetSystemAbility()
/foundation/filemanagement/app_file_service/tests/mock/module_ipc/src/
H A Dapp_gallery_dispose_proxy_mock.cpp47 return BAppGalleryDisposeProxy::proxy->StartBackup(bundleName); in StartBackup()
52 return BAppGalleryDisposeProxy::proxy->EndBackup(bundleName); in EndBackup()
57 return BAppGalleryDisposeProxy::proxy->StartRestore(bundleName); in StartRestore()
62 return BAppGalleryDisposeProxy::proxy->EndRestore(bundleName); in EndRestore()
/third_party/node/deps/npm/node_modules/@npmcli/agent/lib/
H A Dindex.js5 const { getProxy, proxyCache } = require('./proxy.js')
11 const getAgent = (url, { agent, proxy, noProxy, ...options } = {}) => {
19 const proxyForUrl = getProxy(url, { proxy, noProxy })
22 proxy: proxyForUrl,
47 proxy: proxyCache,
/foundation/ability/ability_lite/services/abilitymgr_lite/tools/src/
H A Dability_tool.cpp184 bool AbilityTool::TerminateApp(IClientProxy *proxy) const in TerminateApp()
186 if (proxy == nullptr) { in TerminateApp()
197 return proxy->Invoke(proxy, TERMINATE_APP, &req, nullptr, nullptr) == EC_SUCCESS; in TerminateApp()
200 bool AbilityTool::Dump(IClientProxy *proxy) in Dump() argument
202 if (proxy == nullptr) { in Dump()
221 if (proxy->Invoke(proxy, DUMP_ABILITY, &req, nullptr, nullptr) != EC_SUCCESS) { in Dump()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_navigation_function.cpp43 TAG_LOGI(AceLogTag::ACE_NAVIGATION, "navigation transition proxy can not support modify from attribute"); in SetFromContentInfo()
83 auto proxy = Referenced::MakeRefPtr<JsNavigationTransitionProxy>(); in Constructor() local
84 proxy->IncRefCount(); in Constructor()
85 info.SetReturnValue(Referenced::RawPtr(proxy)); in Constructor()
88 void JsNavigationTransitionProxy::Destructor(JsNavigationTransitionProxy* proxy) in Destructor() argument
90 if (proxy != nullptr) { in Destructor()
91 proxy->DecRefCount(); in Destructor()
132 void JsNavigationFunction::Execute(const RefPtr<NG::NavigationTransitionProxy>& proxy) in Execute() argument
136 jsProxy->SetProxy(proxy); in Execute()
H A Djs_swiper_function.cpp108 auto proxy = Referenced::MakeRefPtr<JsSwiperContentTransitionProxy>(); in Constructor() local
109 proxy->IncRefCount(); in Constructor()
110 args.SetReturnValue(Referenced::RawPtr(proxy)); in Constructor()
113 void JsSwiperContentTransitionProxy::Destructor(JsSwiperContentTransitionProxy* proxy) in Destructor() argument
115 if (proxy != nullptr) { in Destructor()
116 proxy->DecRefCount(); in Destructor()
174 void JsSwiperFunction::Execute(const RefPtr<SwiperContentTransitionProxy>& proxy) in Execute() argument
178 jsProxy->SetProxy(proxy); in Execute()
H A Djs_swiper_function.h43 void Execute(const RefPtr<SwiperContentTransitionProxy>& proxy);
60 void SetProxy(const RefPtr<SwiperContentTransitionProxy>& proxy) in SetProxy() argument
62 proxy_ = proxy; in SetProxy()
72 static void Destructor(JsSwiperContentTransitionProxy* proxy);
H A Djs_tabs_function.h38 void Execute(const RefPtr<TabContentTransitionProxy>& proxy);
50 void SetProxy(const RefPtr<TabContentTransitionProxy>& proxy) in SetProxy() argument
52 proxy_ = proxy; in SetProxy()
62 static void Destructor(JsTabContentTransitionProxy* proxy);
/third_party/mesa3d/.gitlab-ci/tests/
H A Dtest_lava_job_submitter.py53 proxy = mock_proxy(side_effect=exception)
54 job = LAVAJob(proxy, '')
200 proxy = mock_proxy(side_effect=test_log, **proxy_args)
201 job: LAVAJob = retriable_follow_job(proxy, "")
346 proxy = mock_proxy()
349 proxy.scheduler.jobs.logs.side_effect = load_lines()
351 proxy.scheduler.jobs.submit = reset_logs
354 retriable_follow_job(proxy, "")
/third_party/openssl/crypto/http/
H A Dhttp_lib.c270 const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, in OSSL_HTTP_adapt_proxy() argument
277 if (proxy == NULL) in OSSL_HTTP_adapt_proxy()
278 proxy = ossl_safe_getenv(use_ssl ? "https_proxy" : "http_proxy"); in OSSL_HTTP_adapt_proxy()
279 if (proxy == NULL) in OSSL_HTTP_adapt_proxy()
280 proxy = ossl_safe_getenv(use_ssl ? OPENSSL_HTTP_PROXY : OPENSSL_HTTPS_PROXY); in OSSL_HTTP_adapt_proxy()
282 if (proxy == NULL || *proxy == '\0' || !use_proxy(no_proxy, server)) in OSSL_HTTP_adapt_proxy()
284 return proxy; in OSSL_HTTP_adapt_proxy()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_test_service_skeleton.cpp98 DBINDER_LOGE(LOG_LABEL, "fail to send proxy object"); in TransProxyObjectRefCount()
140 sptr<IRemoteObject> proxy = replyParcel.ReadRemoteObject(); in TransStubObject() local
141 if (proxy == nullptr) { in TransStubObject()
152 error = proxy->SendRequest(REVERSEINT, dataStubParcel, replyStubParcel, option); in TransStubObject()
193 sptr<IRemoteObject> proxy = replyParcel.ReadRemoteObject(); in GetRemoteObject() local
194 if (proxy == nullptr) { in GetRemoteObject()
198 return proxy; in GetRemoteObject()
559 sptr<IRemoteObject> proxy = data.ReadRemoteObject(); in OnReceivedObject() local
560 if (proxy == nullptr) { in OnReceivedObject()
561 DBINDER_LOGE(LOG_LABEL, "null proxy"); in OnReceivedObject()
605 sptr<IRemoteObject> proxy = data.ReadRemoteObject(); OnReceivedProxyObjectRefCount() local
622 sptr<IRemoteObject> proxy = data.ReadRemoteObject(); OnReceivedObjectTransAgain() local
669 sptr<IRemoteObject> proxy = data.ReadRemoteObject(); OnReceivedStubObject() local
704 sptr<IRemoteObject> proxy = data.ReadRemoteObject(); OnReceivedStubObjectRefCount() local
[all...]
/third_party/skia/src/gpu/
H A DGrRenderTask.cpp76 GrSurfaceProxy* proxy = this->target(0); in makeClosed() local
77 if (proxy->requiresManualMSAAResolve()) { in makeClosed()
182 // Does this proxy have msaa to resolve and/or mipmaps to regenerate? in addDependency()
189 // addProxy() should have closed the texture proxy's previous task. in addDependency()
203 // The GrTextureResolveRenderTask factory should have also marked the proxy clean, set the in addDependency()
282 GrSurfaceProxy* proxy = target.get(); in isInstantiated() local
283 if (!proxy->isInstantiated()) { in isInstantiated()
287 GrSurface* surface = proxy->peekSurface(); in isInstantiated()
296 void GrRenderTask::addTarget(GrDrawingManager* drawingMgr, sk_sp<GrSurfaceProxy> proxy) { in addTarget() argument
297 SkASSERT(proxy); in addTarget()
[all...]
H A DGrDrawingManager.cpp119 bool allUnused = std::all_of(proxies.begin(), proxies.end(), [&](GrSurfaceProxy* proxy) { in flush()
121 return task && task->isUsed(proxy); in flush()
477 static void resolve_and_mipmap(GrGpu* gpu, GrSurfaceProxy* proxy) { in resolve_and_mipmap() argument
478 if (!proxy->isInstantiated()) { in resolve_and_mipmap()
485 if (proxy->requiresManualMSAAResolve()) { in resolve_and_mipmap()
486 auto* rtProxy = proxy->asRenderTargetProxy(); in resolve_and_mipmap()
499 if (auto* textureProxy = proxy->asTextureProxy()) { in resolve_and_mipmap()
534 for (GrSurfaceProxy* proxy : proxies) { in flushSurfaces()
535 resolve_and_mipmap(gpu, proxy); in flushSurfaces()
559 void GrDrawingManager::setLastRenderTask(const GrSurfaceProxy* proxy, GrRenderTas
770 newWaitRenderTask(sk_sp<GrSurfaceProxy> proxy, std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores, int numSemaphores) newWaitRenderTask() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DRenderbuffer.h46 virtual void addProxyRef(const Renderbuffer *proxy);
47 virtual void releaseProxy(const Renderbuffer *proxy);
77 void addProxyRef(const Renderbuffer *proxy) override;
78 void releaseProxy(const Renderbuffer *proxy) override;
104 void addProxyRef(const Renderbuffer *proxy) override;
105 void releaseProxy(const Renderbuffer *proxy) override;
127 void addProxyRef(const Renderbuffer *proxy) override;
128 void releaseProxy(const Renderbuffer *proxy) override;
155 void addProxyRef(const Renderbuffer *proxy) override;
156 void releaseProxy(const Renderbuffer *proxy) overrid
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/
H A Dselect_overlay_client.cpp153 auto proxy = GetSelectOverlayProxy(); in UpdateShowingSelectOverlay() local
154 CHECK_NULL_VOID(proxy); in UpdateShowingSelectOverlay()
156 proxy->UpdateSelectArea(selectOverlayInfo->selectArea); in UpdateShowingSelectOverlay()
160 proxy->UpdateSelectMenuInfo([newMenuInfo = selectOverlayInfo->menuInfo](SelectMenuInfo& menuInfo) { in UpdateShowingSelectOverlay()
166 proxy->UpdateSecondSelectHandleInfo(selectOverlayInfo->secondHandle); in UpdateShowingSelectOverlay()
169 proxy->UpdateSelectMenuInfo([newMenuInfo = selectOverlayInfo->menuInfo](SelectMenuInfo& menuInfo) { in UpdateShowingSelectOverlay()
176 proxy->UpdateFirstAndSecondHandleInfo(selectOverlayInfo->firstHandle, selectOverlayInfo->secondHandle); in UpdateShowingSelectOverlay()
282 auto proxy = GetSelectOverlayProxy(); in OnParentScrollStartOrEnd() local
283 CHECK_NULL_VOID(proxy); in OnParentScrollStartOrEnd()
285 proxy in OnParentScrollStartOrEnd()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/
H A Dscroll_bar_test_ng.cpp164 auto proxy = scrollBarModel.GetScrollBarProxy(nullptr); in HWTEST_F() local
165 scrollBarModel.Create(proxy, true, proxyFlag, 0, 0); in HWTEST_F()
171 scrollBarModel.Create(proxy, infoflag, false, 0, 0); in HWTEST_F()
177 scrollBarModel.Create(proxy, true, true, directionValue, 0); in HWTEST_F()
182 scrollBarModel.Create(proxy, true, true, directionValue, 0); in HWTEST_F()
188 scrollBarModel.Create(proxy, true, true, 0, stateValue); in HWTEST_F()
193 scrollBarModel.Create(proxy, true, true, 0, stateValue); in HWTEST_F()
207 auto proxy = scrollBarModel.GetScrollBarProxy(nullptr); in HWTEST_F() local
208 EXPECT_NE(proxy, nullptr); in HWTEST_F()
209 auto proxy2 = scrollBarModel.GetScrollBarProxy(proxy); in HWTEST_F()
221 auto proxy = scrollBarModel.GetScrollBarProxy(nullptr); HWTEST_F() local
[all...]
/foundation/multimodalinput/input/service/connect_manager/test/
H A Dmultimodal_input_connect_proxy_ex_test.cpp133 MultimodalInputConnectProxy proxy(remote); in HWTEST_F()
136 EXPECT_EQ(proxy.SubscribeSwitchEvent(subscribeId, switchType), ERR_INVALID_VALUE); in HWTEST_F()
151 MultimodalInputConnectProxy proxy(remote); in HWTEST_F()
154 EXPECT_EQ(proxy.SubscribeSwitchEvent(subscribeId, switchType), RET_OK); in HWTEST_F()
168 MultimodalInputConnectProxy proxy(remote); in HWTEST_F()
170 EXPECT_EQ(proxy.UnsubscribeSwitchEvent(subscribeId), ERR_INVALID_VALUE); in HWTEST_F()
185 MultimodalInputConnectProxy proxy(remote); in HWTEST_F()
187 EXPECT_EQ(proxy.UnsubscribeSwitchEvent(subscribeId), RET_OK); in HWTEST_F()
201 MultimodalInputConnectProxy proxy(remote); in HWTEST_F()
206 EXPECT_EQ(proxy in HWTEST_F()
[all...]
/third_party/skia/tests/
H A DGrMipMappedTest.cpp67 sk_sp<GrTextureProxy> proxy; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
82 proxy = device->readSurfaceView().asTextureProxyRef(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 proxy = sk_ref_sp(sk_gpu_test::GetTextureImageProxy(image.get(), dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 REPORTER_ASSERT(reporter, proxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
96 if (!proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 REPORTER_ASSERT(reporter, proxy->isInstantiated()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 GrTexture* texture = proxy->peekTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 GrTextureProxy* proxy = sk_gpu_test::GetTextureImageProxy(image.get(), dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
139 REPORTER_ASSERT(reporter, proxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 if (!proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all...]
/third_party/skia/src/image/
H A DSkImage_Gpu.cpp67 // The image is being destroyed. If there is a stable copy proxy but we've been able to use in ~ProxyChooser()
68 // the volatile proxy for all requests then we can skip the copy. in ~ProxyChooser()
149 SkImageInfo::Make(view.proxy()->backingStoreDimensions(), std::move(info)), in SkImage_Gpu()
170 SkImageInfo::Make(volatileSrc.proxy()->backingStoreDimensions(), in SkImage_Gpu()
193 SkASSERT(volatileSrc.proxy()->asTextureProxy()); in MakeWithVolatileSrc()
194 GrMipmapped mm = volatileSrc.proxy()->asTextureProxy()->mipmapped(); in MakeWithVolatileSrc()
206 // We only attempt to make a dual-proxy image on a direct context. This optimziation requires in MakeWithVolatileSrc()
210 int targetCount = volatileSrc.proxy()->getTaskTargetCount(); in MakeWithVolatileSrc()
245 sk_sp<GrSurfaceProxy> proxy = fChooser.chooseProxy(dContext); in onFlush() local
246 return dContext->priv().flushSurface(proxy in onFlush()
264 sk_sp<GrSurfaceProxy> proxy = fChooser.switchToStableProxy(); onGetBackendTexture() local
398 sk_sp<GrTextureProxy> proxy = proxyProvider->wrapBackendTexture( new_wrapped_texture_common() local
433 sk_sp<GrTextureProxy> proxy = proxyProvider->wrapCompressedBackendTexture( MakeFromCompressedTexture() local
518 sk_sp<GrTextureProxy> proxy = proxyProvider->createCompressedTextureProxy( MakeTextureFromCompressed() local
613 auto proxy = SkImage_GpuBase::MakePromiseImageLazyProxy(threadSafeProxy.get(), MakePromiseTexture() local
744 sk_sp<GrTextureProxy> proxy = proxyProvider->wrapBackendTexture( MakeFromAHardwareBufferWithData() local
[all...]
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/small/
H A Ddbinder_ipc_adapter.c66 proxyObject->proxy = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RpcGetSystemAbility()
67 if (proxyObject->proxy == NULL) { in RpcGetSystemAbility()
73 if (memcpy_s(proxyObject->proxy, sizeof(SvcIdentity), &svc, sizeof(SvcIdentity)) != EOK) { in RpcGetSystemAbility()
74 free(proxyObject->proxy); in RpcGetSystemAbility()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/
H A Ddms_mission_manager_test.cpp173 sptr<IDistributedSched> proxy = GetDms(); in HWTEST_F() local
174 ASSERT_NE(nullptr, proxy); in HWTEST_F()
176 auto ret = proxy->GetMissionInfos(DEVICE_ID, 0, infos); in HWTEST_F()
179 ret = proxy->GetMissionInfos(localDeviceId_, 0, infos); in HWTEST_F()
182 ret = proxy->GetMissionInfos("", 0, infos); in HWTEST_F()
185 ret = proxy->GetMissionInfos(DEVICE_ID, -1, infos); in HWTEST_F()
188 ret = proxy->GetMissionInfos(localDeviceId_, -1, infos); in HWTEST_F()
199 sptr<IDistributedSched> proxy = GetDms(); in HWTEST_F() local
200 ASSERT_NE(nullptr, proxy); in HWTEST_F()
201 auto ret = proxy in HWTEST_F()
212 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
225 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
374 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
429 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
442 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
455 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
585 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
604 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
720 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
1409 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
1426 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
1444 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
1461 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
1478 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
2009 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
2044 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
2255 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
2769 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
2900 sptr<IDistributedSched> proxy = GetDms(); HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_kv_store.cpp461 auto proxy = reinterpret_cast<JsKVStore*>(ctxt->native); in OnDataChange() local
462 std::lock_guard<std::mutex> lck(proxy->listMutex_); in OnDataChange()
463 for (auto& it : proxy->dataObserver_[type]) { in OnDataChange()
471 proxy->Subscribe(type, std::make_shared<DataObserver>(proxy->uvQueue_, argv[1], proxy->IsSchemaStore())); in OnDataChange()
495 auto proxy = reinterpret_cast<JsKVStore*>(ctxt->native); in OffDataChange() local
498 auto traverseType = [argc, argv, proxy, env, &found, &status](uint8_t type, auto& observers) { in OffDataChange()
506 status = proxy->UnSubscribe(type, *it); in OffDataChange()
514 std::lock_guard<std::mutex> lck(proxy in OffDataChange()
538 auto proxy = reinterpret_cast<JsKVStore*>(ctxt->native); OnSyncComplete() local
552 auto proxy = reinterpret_cast<JsKVStore*>(ctxt->native); OffSyncComplete() local
[all...]

Completed in 26 milliseconds

12345678910>>...36