/third_party/skia/tests/ |
H A D | ResourceAllocatorTest.cpp | 126 sk_sp<GrSurfaceProxy> proxy; in make_proxy() local 129 proxy = make_deferred(proxyProvider, caps, p); in make_proxy() 132 proxy = make_backend(dContext, p); in make_proxy() 135 proxy = make_fully_lazy(proxyProvider, caps, p); in make_proxy() 138 proxy = make_lazy(proxyProvider, caps, p); in make_proxy() 141 proxy = make_deferred(proxyProvider, caps, p); in make_proxy() 142 if (proxy) { in make_proxy() 143 auto surf = proxy->priv().createSurface(dContext->priv().resourceProvider()); in make_proxy() 144 proxy->priv().assign(std::move(surf)); in make_proxy() 148 if (proxy in make_proxy() 374 sk_sp<GrSurfaceProxy> proxy = make_proxy(dContext, params); memory_budget_test() local 388 sk_sp<GrSurfaceProxy> proxy = make_proxy(dContext, params); memory_budget_test() local [all...] |
H A D | GrMipMappedTest.cpp | 67 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...] |
H A D | VkBackendSurfaceTest.cpp | 76 const GrSurfaceProxy* proxy = view.proxy(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 77 REPORTER_ASSERT(reporter, proxy); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 79 REPORTER_ASSERT(reporter, proxy->readOnly()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 81 const GrSurface* surf = proxy->peekSurface(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 131 GrSurfaceProxy* proxy = sk_gpu_test::GetTextureImageProxy(wrappedImage.get(), dContext); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 132 REPORTER_ASSERT(reporter, proxy); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 133 REPORTER_ASSERT(reporter, proxy->isInstantiated()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 134 GrTexture* texture = proxy->peekTexture(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
H A D | EGLImageTest.cpp | 176 GrTextureProxy* proxy = surfaceContext->asTextureProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 177 REPORTER_ASSERT(reporter, proxy->mipmapped() == GrMipmapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 178 REPORTER_ASSERT(reporter, proxy->peekTexture()->mipmapped() == GrMipmapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 180 REPORTER_ASSERT(reporter, proxy->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 181 REPORTER_ASSERT(reporter, proxy->peekTexture()->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 182 REPORTER_ASSERT(reporter, proxy->hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 183 REPORTER_ASSERT(reporter, proxy->peekTexture()->hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
H A D | GrSurfaceTest.cpp | 142 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 145 REPORTER_ASSERT(reporter, SkToBool(proxy.get()) == expectedMipMapability, in DEF_GPUTEST_FOR_ALL_CONTEXTS() 148 SkToBool(proxy.get()), expectedMipMapability); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 263 auto proxy = proxyProvider->testingOnly_createInstantiatedProxy( in DEF_GPUTEST() local 266 if (proxy) { in DEF_GPUTEST() 269 GrSurfaceProxyView view(std::move(proxy), kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST() 287 // Try creating the texture as a deferred proxy. in DEF_GPUTEST() 364 auto proxy = proxyProvider->wrapBackendTexture(mbet->texture(), kBorrow_GrWrapOwnership, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 367 GrSwizzle swizzle = dContext->priv().caps()->getReadSwizzle(proxy->backendFormat(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 369 GrSurfaceProxyView view(proxy, kTopLeft_GrSurfaceOrigi in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrDrawOpAtlas.cpp | 43 // When proxy allocation is deferred until flush time the proxies acting as atlases require 54 SkASSERT(fViews[i].proxy() && fViews[i].proxy()->isInstantiated()); in instantiate() 79 if (!atlas->getViews()[0].proxy()) { in Make() 170 GrTextureProxy* proxy) { in uploadToTexture() 172 SkASSERT(fDirty && fData && proxy && proxy->peekTexture()); in uploadToTexture() 186 writePixels(proxy, in uploadToTexture() 271 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); in updatePlot() local 272 SkASSERT(proxy in updatePlot() 169 uploadToTexture(GrDeferredTextureUploadWritePixelsFn& writePixels, GrTextureProxy* proxy) uploadToTexture() argument 408 GrTextureProxy* proxy = fViews[pageIdx].asTextureProxy(); addToAtlas() local 626 sk_sp<GrSurfaceProxy> proxy = proxyProvider->createProxy( createPages() local [all...] |
H A D | GrRenderTask.cpp | 76 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 D | GrDrawingManager.cpp | 119 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...] |
H A D | GrDDLContext.cpp | 23 GrDDLContext(sk_sp<GrContextThreadSafeProxy> proxy) in GrDDLContext() argument 24 : INHERITED(std::move(proxy), true) { in GrDDLContext() 114 sk_sp<GrRecordingContext> GrRecordingContextPriv::MakeDDL(sk_sp<GrContextThreadSafeProxy> proxy) { in MakeDDL() argument 115 sk_sp<GrRecordingContext> context(new GrDDLContext(std::move(proxy))); in MakeDDL()
|
H A D | GrDeferredProxyUploader.h | 25 * The uploader is owned by the proxy that it's going to populate. 30 * 4) In parallel to 2-3, on the main thread... Some op is created that refers to the proxy. When 49 void scheduleUpload(GrOpFlushState* flushState, GrTextureProxy* proxy) { in scheduleUpload() argument 51 // Multiple references to the owning proxy may have caused us to already execute in scheduleUpload() 55 auto uploadMask = [this, proxy](GrDeferredTextureUploadWritePixelsFn& writePixelsFn) { in scheduleUpload() 61 writePixelsFn(proxy, in scheduleUpload() 67 // Upload has finished, so tell the proxy to release this GrDeferredProxyUploader in scheduleUpload() 68 proxy->texPriv().resetDeferredUploader(); in scheduleUpload() 108 // with it. (This happens if the proxy is deleted early due to a full clear or failure
|
/third_party/skia/src/gpu/effects/ |
H A D | GrBitmapTextGeoProc.cpp | 146 fAtlasDimensions = views[0].proxy()->dimensions(); in GrBitmapTextGeoProc() 149 const GrSurfaceProxy* proxy = views[i].proxy(); in GrBitmapTextGeoProc() local 150 SkASSERT(proxy); in GrBitmapTextGeoProc() 151 SkASSERT(proxy->dimensions() == fAtlasDimensions); in GrBitmapTextGeoProc() 152 fTextureSamplers[i].reset(params, proxy->backendFormat(), views[i].swizzle()); in GrBitmapTextGeoProc() 165 fAtlasDimensions = views[0].proxy()->dimensions(); in addNewViews() 169 const GrSurfaceProxy* proxy = views[i].proxy(); in addNewViews() local 170 SkASSERT(proxy); in addNewViews() [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-proxy-gen.h | 9 #include "src/objects/js-proxy.h" 22 TNode<JSProxy> proxy); 25 TNode<JSProxy> proxy, TNode<Name> name, 30 TNode<JSProxy> proxy, TNode<Name> name); 33 TNode<JSProxy> proxy, TNode<Name> name); 42 TNode<JSProxy> proxy, TNode<NativeContext> native_context);
|
/third_party/node/deps/npm/node_modules/socks/build/client/ |
H A D | socksclient.js | 115 // 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...] |
/third_party/curl/lib/ |
H A D | http_ntlm.c | 66 bool proxy, /* if proxy or not */ in Curl_input_ntlm() 76 ntlm = proxy ? &conn->proxyntlm : &conn->ntlm; in Curl_input_ntlm() 77 state = proxy ? &conn->proxy_ntlm_state : &conn->http_ntlm_state; in Curl_input_ntlm() 129 CURLcode Curl_output_ntlm(struct Curl_easy *data, bool proxy) in Curl_output_ntlm() argument 137 server, which is for a plain host or for an HTTP proxy */ in Curl_output_ntlm() 155 if(proxy) { in Curl_output_ntlm() 223 proxy ? "Proxy-" : "", in Curl_output_ntlm() 242 proxy ? "Proxy-" : "", in Curl_output_ntlm() 65 Curl_input_ntlm(struct Curl_easy *data, bool proxy, const char *header) Curl_input_ntlm() argument
|
H A D | http_digest.c | 47 bool proxy, in Curl_input_digest() 54 if(proxy) { in Curl_input_digest() 72 bool proxy, in Curl_output_digest() 84 server, which is for a plain host or for an HTTP proxy */ in Curl_output_digest() 95 if(proxy) { in Curl_output_digest() 168 proxy ? "Proxy-" : "", in Curl_output_digest() 46 Curl_input_digest(struct Curl_easy *data, bool proxy, const char *header) Curl_input_digest() argument 71 Curl_output_digest(struct Curl_easy *data, bool proxy, const unsigned char *request, const unsigned char *uripath) Curl_output_digest() argument
|
/third_party/node/deps/npm/node_modules/@npmcli/agent/lib/ |
H A D | index.js | 5 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,
|
/third_party/mesa3d/.gitlab-ci/tests/ |
H A D | test_lava_job_submitter.py | 53 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 D | http_lib.c | 270 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()
|
/third_party/skia/src/image/ |
H A D | SkImage_Gpu.cpp | 67 // 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...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Renderbuffer.h | 46 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...] |
/third_party/skia/src/gpu/ops/ |
H A D | OpsTask.cpp | 162 SkASSERT(dstProxyView && dstProxyView->proxy()); in fAppliedClip() 175 if (fDstProxyView.proxy()) { in visitProxies() 176 func(fDstProxyView.proxy(), GrMipmapped::kNo); in visitProxies() 276 SkASSERT(fProcessorAnalysis.requiresDstTexture() == SkToBool(fDstProxyView.proxy())); in tryConcat() 277 SkASSERT(processorAnalysis.requiresDstTexture() == SkToBool(dstProxyView.proxy())); in tryConcat() 437 if (dstProxyView.proxy()) { in addDrawOp() 439 this->addSampledTexture(dstProxyView.proxy()); in addDrawOp() 444 addDependency(dstProxyView.proxy(), GrMipmapped::kNo); in addDrawOp() 551 GrRenderTargetProxy* proxy = this->target(0)->asRenderTargetProxy(); in onExecute() local 552 SkASSERT(proxy); in onExecute() 690 GrSurfaceProxy* proxy = this->target(0); setColorLoadOp() local 975 GrSurfaceProxy* proxy = this->target(0); recordOp() local 1078 GrSurfaceProxy* proxy = this->target(0); onMakeClosed() local [all...] |
/third_party/skia/tools/fonts/ |
H A D | RandomScalerContext.cpp | 45 , fProxy(getRandomTypeface()->proxy()->createScalerContext(SkScalerContextEffects(), desc)) in RandomScalerContext() 138 SkRandomTypeface::SkRandomTypeface(sk_sp<SkTypeface> proxy, const SkPaint& paint, bool fakeIt) in SkRandomTypeface() argument 139 : SkTypeface(proxy->fontStyle(), false) in SkRandomTypeface() 140 , fProxy(std::move(proxy)) in SkRandomTypeface() 170 sk_sp<SkTypeface> proxy = fProxy->makeClone(args); in onMakeClone() local 171 if (!proxy) { in onMakeClone() 174 return sk_make_sp<SkRandomTypeface>(proxy, fPaint, fFakeIt); in onMakeClone()
|
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | label.h | 118 * @proxy: is set to the label that replaced this label 129 struct aa_proxy *proxy; member 282 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp); 427 AA_BUG(!l->proxy); in aa_get_newest_label() 428 AA_BUG(!l->proxy->label); in aa_get_newest_label() 433 tmp = aa_get_label_rcu(&l->proxy->label); in aa_get_newest_label() 452 static inline struct aa_proxy *aa_get_proxy(struct aa_proxy *proxy) in aa_get_proxy() argument 454 if (proxy) in aa_get_proxy() 455 kref_get(&(proxy->count)); in aa_get_proxy() 457 return proxy; in aa_get_proxy() 460 aa_put_proxy(struct aa_proxy *proxy) aa_put_proxy() argument [all...] |
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | label.h | 116 * @proxy: is set to the label that replaced this label 127 struct aa_proxy *proxy; member 281 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp); 427 AA_BUG(!l->proxy); in aa_get_newest_label() 428 AA_BUG(!l->proxy->label); in aa_get_newest_label() 433 tmp = aa_get_label_rcu(&l->proxy->label); in aa_get_newest_label() 452 static inline struct aa_proxy *aa_get_proxy(struct aa_proxy *proxy) in aa_get_proxy() argument 454 if (proxy) in aa_get_proxy() 455 kref_get(&(proxy->count)); in aa_get_proxy() 457 return proxy; in aa_get_proxy() 460 aa_put_proxy(struct aa_proxy *proxy) aa_put_proxy() argument [all...] |
/third_party/node/deps/v8/src/d8/ |
H A D | d8-js.cc | 17 function JSProxyGetTarget(proxy) { }; 18 function JSProxyGetHandler(proxy) { }; 22 JSProxyGetTarget = Function(['proxy'], 23 'return %JSProxyGetTarget(proxy)'); 24 JSProxyGetHandler = Function(['proxy'], 25 'return %JSProxyGetHandler(proxy)'); 89 function StringifyProxy(proxy, depth) { 90 var proxy_type = typeof proxy; 92 target: JSProxyGetTarget(proxy), 93 handler: JSProxyGetHandler(proxy) [all...] |