/external/grpc-grpc/test/core/end2end/fixtures/ |
proxy.cc | 19 #include "test/core/end2end/fixtures/proxy.h" 66 grpc_end2end_proxy* proxy; member in struct:__anon23327 85 static void request_call(grpc_end2end_proxy* proxy); 93 grpc_end2end_proxy* proxy = grpc_core::New<grpc_end2end_proxy>(); local 95 gpr_join_host_port(&proxy->proxy_port, "localhost", proxy_port); 96 gpr_join_host_port(&proxy->server_port, "localhost", server_port); 98 gpr_log(GPR_DEBUG, "PROXY ADDR:%s BACKEND:%s", proxy->proxy_port, 99 proxy->server_port); 101 proxy->cq = grpc_completion_queue_create_for_next(nullptr) 125 grpc_end2end_proxy* proxy = static_cast<grpc_end2end_proxy*>(arg); local 327 grpc_end2end_proxy* proxy = static_cast<grpc_end2end_proxy*>(arg); local 423 grpc_end2end_proxy* proxy = static_cast<grpc_end2end_proxy*>(arg); local [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
ForwardingWrapperTester.java | 129 T proxy = Reflection.newProxy(interfaceType, new AbstractInvocationHandler() { local 135 T wrapper = wrapperFunction.apply(proxy); 161 T proxy = new FreshValueGenerator().newProxy(interfaceType); local 163 proxy.toString(), wrapperFunction.apply(proxy).toString()); 204 T proxy = Reflection.newProxy(interfaceType, this); local 205 T wrapper = wrapperFunction.apply(proxy);
|
/external/kernel-headers/original/uapi/linux/ |
atmlec.h | 80 } proxy; /* member in union:atmlec_msg::__anon25310
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
Transport.java | 31 import java.net.Proxy; 49 * with Fiddler2 (Windows) but provides utility for other proxy 52 protected Proxy proxy; field in class:Transport 97 * @param proxy 98 * Specifies the proxy server to use for accessing the web 105 public Transport(Proxy proxy, String url) { 106 this.proxy = proxy; [all...] |
/external/libchrome/mojo/public/cpp/bindings/tests/ |
struct_traits_unittest.cc | 56 void ExpectError(InterfacePtr<T> *proxy, const base::Closure& callback) { 57 proxy->set_connection_error_handler(callback); 138 TraitsTestServicePtr proxy; local 139 traits_test_bindings_.AddBinding(this, mojo::MakeRequest(&proxy)); 140 return proxy; 329 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 331 proxy->EchoStructWithTraits( 358 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 360 proxy->EchoTrivialStructWithTraits( 380 TraitsTestServicePtr proxy = GetTraitsTestProxy() local 417 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 437 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 489 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 508 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local [all...] |
/external/libchrome/mojo/public/cpp/bindings/ |
thread_safe_interface_ptr.h | 40 // underlying proxy object which will be used to ultimately send messages. 74 ProxyType& proxy() { return proxy_; } function in class:mojo::ThreadSafeForwarder 272 // via this thread-safe proxy will internally be sent by first posting to this 283 // sent via this thread-safe proxy will internally be sent by first posting to 293 InterfaceType* get() { return &forwarder_->proxy(); }
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_emulate_branches.c | 123 struct proxy_info * proxy = get_proxy_info(sap, file, index); local 125 if (proxy && !proxy->Proxied) { 126 proxy->Proxied = 1; 127 proxy->Index = rc_find_free_temporary(sap->S->C); 135 struct proxy_info * proxy = get_proxy_info(sap, *pfile, *pindex); local 137 if (proxy && proxy->Proxied) { 139 *pindex = proxy->Index; 144 * Redirect all writes in the instruction range [begin, end) to proxy [all...] |
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
AbstractByteBuddyMockMakerTest.java | 43 SomeInterface proxy = mockMaker.createMock(settingsFor(SomeInterface.class), dummyHandler()); local 45 Class<?> superClass = proxy.getClass().getSuperclass(); 52 ClassWithoutConstructor proxy = mockMaker.createMock(settingsFor(ClassWithoutConstructor.class), dummyHandler()); local 54 Class<?> superClass = mockTypeOf(proxy.getClass()); 96 SerializableClass proxy = mockMaker.createMock(serializableSettingsFor(SerializableClass.class, SerializableMode.BASIC), dummyHandler()); local 98 SerializableClass serialized = SimpleSerializationUtil.serializeAndBack(proxy); 101 MockHandler handlerOne = mockMaker.getHandler(proxy); 110 SampleClass proxy = mockMaker.createMock(settings, new MockHandlerImpl<CallingSuperMethodClass>(settings)); local 111 assertThat(proxy.foo()).isEqualTo("foo"); 117 SampleClass proxy = mockMaker.createMock(settings, new MockHandlerImpl<SampleClass>(settings)) local [all...] |
/external/nos/host/android/citadel/citadeld/ |
main.cpp | 377 sp<CitadelProxy> proxy = new CitadelProxy(citadel); local 378 const status_t status = defaultServiceManager()->addService(ICitadeld::descriptor, proxy); 388 std::bind(&CitadelProxy::onGetStats, proxy, std::placeholders::_1); 391 // the Citadel proxy can start working ASAP.
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
SocksProxy.java | 24 import java.net.Proxy; 81 public Proxy proxy() { method in class:SocksProxy 82 return new Proxy(Proxy.Type.SOCKS, InetSocketAddress.createUnresolved(
|
/external/python/cpython2/Lib/ |
smtpd.py | 2 """An RFC 2821 smtp proxy. 20 Use `classname' as the concrete SMTP proxy class. Uses `PureProxy' by 84 __version__ = 'Python SMTP proxy version 0.2' 393 # Otherwise we'll forward it to the local proxy for disposition. 535 proxy = class_((options.localhost, options.localport), variable
|
/external/skia/src/core/ |
SkSpecialImage.cpp | 109 sk_sp<GrTextureProxy> proxy = GrMakeCachedBitmapProxy(proxyProvider, bmp); local 110 if (!proxy) { 114 const SkIRect rect = SkIRect::MakeWH(proxy->width(), proxy->height()); 121 std::move(proxy), 196 if (sk_sp<GrTextureProxy> proxy = as_IB(image)->asTextureProxyRef(context)) { 201 return MakeDeferredFromGpu(context, subset, image->uniqueID(), std::move(proxy), 364 static sk_sp<SkImage> wrap_proxy_in_image(GrRecordingContext* context, sk_sp<GrTextureProxy> proxy, 369 std::move(proxy), std::move(colorSpace)); 375 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at [all...] |
/external/skia/src/gpu/ |
GrDrawOpAtlas.cpp | 21 // When proxy allocation is deferred until flush time the proxies acting as atlases require 138 GrTextureProxy* proxy) { 140 SkASSERT(fDirty && fData && proxy && proxy->peekTexture()); 155 writePixels(proxy, fOffset.fX + fDirtyRect.fLeft, fOffset.fY + fDirtyRect.fTop, 224 GrTextureProxy* proxy = fProxies[pageIdx].get(); local 225 SkASSERT(proxy->isInstantiated()); // This is occurring at flush time 228 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) { 229 plotsp->uploadToTexture(writePixels, proxy); 356 GrTextureProxy* proxy = fProxies[pageIdx].get() local [all...] |
GrFragmentProcessor.h | 412 * always takes a new ref on the texture proxy as the new fragment processor will not yet be 433 return this->proxy()->underlyingUniqueID() == that.proxy()->underlyingUniqueID() && 450 GrTextureProxy* proxy() const { return fProxyRef.get(); } function in class:GrFragmentProcessor::GrFragmentProcessor::TextureSampler
|
GrProxyProvider.cpp | 41 // In DDL-mode a proxy provider can still have extant uniquely keyed proxies (since 48 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) { 51 if (this->isAbandoned() || !proxy) { 70 proxy->cacheAccess().setUniqueKey(this, key); 71 SkASSERT(proxy->getUniqueKey() == key); 72 fUniquelyKeyedProxies.add(proxy); 76 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) { 78 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()); 79 SkASSERT(proxy->getUniqueKey() == surf->getUniqueKey()); 82 fUniquelyKeyedProxies.add(proxy); 248 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local 351 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local 439 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local [all...] |
GrResourceAllocator.h | 32 * to interval to find proxy reuse). When it comes time to allocate the resources it 61 void addInterval(GrSurfaceProxy* proxy 63 this->addInterval(proxy, fNumOps, fNumOps SkDEBUGCODE(, isDirectDstRead)); 73 // If any proxy fails to instantiate, the AssignError will be set to kFailedProxyInstantiation. 74 // If this happens, the caller should remove all ops which reference an uninstantiated proxy. 93 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil); 109 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) 110 : fProxy(proxy) 111 , fProxyID(proxy->uniqueID().asUInt()) 115 SkASSERT(proxy); 143 const GrSurfaceProxy* proxy() const { return fProxy; } function in class:GrResourceAllocator::Interval 144 GrSurfaceProxy* proxy() { return fProxy; } function in class:GrResourceAllocator::Interval [all...] |
GrResourceProvider.cpp | 104 sk_sp<GrTextureProxy> proxy = proxyProvider->createWrapped(std::move(tex), local 106 if (!proxy) { 112 std::move(proxy));
|
GrSoftwarePathRenderer.cpp | 150 sk_sp<GrTextureProxy> proxy, 172 std::move(proxy), maskMatrix, GrSamplerState::Filter::kNearest)); 190 // MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt to 329 sk_sp<GrTextureProxy> proxy; local 331 proxy = fProxyProvider->findOrCreateProxyByUniqueKey(maskKey, kTopLeft_GrSurfaceOrigin); 333 if (!proxy) { 343 proxy = make_deferred_mask_texture_proxy(args.fContext, fit, 346 if (!proxy) { 367 proxy->texPriv().setDeferredUploader(std::move(uploader)); 374 proxy = helper.toTextureProxy(args.fContext, fit) [all...] |
GrXferProcessor.h | 64 DstProxy(sk_sp<GrTextureProxy> proxy, const SkIPoint& offset) 65 : fProxy(std::move(proxy)) { 89 GrTextureProxy* proxy() const { return fProxy.get(); } function in class:GrXferProcessor::DstProxy 91 void setProxy(sk_sp<GrTextureProxy> proxy) { 92 fProxy = std::move(proxy);
|
SkGpuDevice_drawTexture.cpp | 173 // Assumes srcRect and dstRect have already been optimized to fit the proxy 177 SkCanvas::SrcRectConstraint constraint, sk_sp<GrTextureProxy> proxy, 196 // Must specify the strict constraint when the proxy is not functionally exact and the src 197 // rect would access pixels outside the proxy's content area without the constraint. 199 !GrProxyProvider::IsFunctionallyExact(proxy.get())) { 204 SkRect safeBounds = SkRect::MakeWH(proxy->width(), proxy->height()); 211 if (GrPixelConfigIsAlphaOnly(proxy->config())) { 223 rtc->drawTextureQuad(clip, std::move(proxy), filter, paint.getBlendMode(), color, 228 rtc->drawTexture(clip, std::move(proxy), filter, paint.getBlendMode(), color, srcRect 243 auto proxy = producer->refTextureProxyForParams(GrSamplerState::ClampNearest(), nullptr); local [all...] |
SkGr.cpp | 171 sk_sp<GrTextureProxy> proxy = local 173 if (!proxy) { 177 // Copy the base layer to our proxy 178 sk_sp<GrSurfaceContext> sContext = ctx->priv().makeWrappedSurfaceContext(proxy); 182 return proxy; 234 sk_sp<GrTextureProxy> proxy; local 240 proxy = proxyProvider->findOrCreateProxyByUniqueKey(originalKey, kTopLeft_GrSurfaceOrigin); 242 if (!proxy) { 243 proxy = proxyProvider->createTextureProxy(srcImage, kNone_GrSurfaceFlags, 1, 245 if (proxy && originalKey.isValid()) [all...] |
/external/skia/src/gpu/effects/ |
GrGaussianConvolutionFragmentProcessor.cpp | 123 GrSurfaceProxy* proxy = conv.textureSampler(0).proxy(); local 124 GrTexture& texture = *proxy->peekTexture(); 127 float ySign = proxy->origin() != kTopLeft_GrSurfaceOrigin ? 1.0f : -1.0f; 153 if (proxy->origin() != kTopLeft_GrSurfaceOrigin) { 212 sk_sp<GrTextureProxy> proxy, 219 ModulateForSamplerOptFlags(proxy->config(), 221 , fCoordTransform(proxy.get()) 222 , fTextureSampler(std::move(proxy)) 279 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx) local [all...] |
GrTextureDomain.cpp | 24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX, 30 if (!proxy) { 35 const SkRect kFullRect = SkRect::MakeIWH(proxy->width(), proxy->height()); 182 GrTextureProxy* proxy, 184 GrTexture* tex = proxy->peekTexture(); 197 if (proxy->textureType() == GrTextureType::kRectangle) { 222 if (proxy->textureType() == GrTextureType::kRectangle) { 223 SkASSERT(values[0] >= 0.0f && values[0] <= proxy->height()); 224 SkASSERT(values[1] >= 0.0f && values[1] <= proxy->height()) 335 GrTextureProxy* proxy = tde.textureSampler(0).proxy(); local 360 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local 447 GrTextureProxy* proxy = dstdfp.textureSampler(0).proxy(); local 491 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local [all...] |
/external/skia/src/image/ |
SkImage_GpuBase.cpp | 115 sk_sp<GrSurfaceProxy> proxy = this->asTextureProxyRef(context); local 120 desc.fConfig = proxy->config(); 122 GrBackendFormat format = proxy->backendFormat().makeTexture2D(); 127 // TODO: Should this inherit our proxy's budgeted status? 129 format, desc, proxy->origin(), GrMipMapped::kNo, SkBackingFit::kExact, 130 proxy->isBudgeted())); 135 if (!sContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) { 236 sk_sp<GrTextureProxy> proxy = this->asTextureProxyRef(direct); local 237 SkASSERT(proxy); 239 if (!proxy->isInstantiated()) 261 GrTextureProxy* proxy = this->peekProxy(); local [all...] |
/external/skia/tests/ |
DetermineDomainModeTest.cpp | 27 // 2) the proxy's extent, which may or may not match the GrTexture's extent 37 GrTextureProxy* proxy, 43 proxy, 137 static const char* name = "proxy"; 340 sk_sp<GrTextureProxy> proxy = create_proxy(context, isPowerOfTwoSized, local 367 proxy.get(),
|