/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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.
550 proxy = class_((options.localhost, options.localport),
variable
|
/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/guice/core/src/com/google/inject/internal/ |
SingletonScope.java | 40 * 2) Guice supports circular dependencies and thus manages proxy objects. 64 * as message is only generated when failure occurs on proxy object generation. 98 * - returns circular proxy only when circular dependencies are detected, 99 * - aside from that, blocking synchronization is only used for proxy creation and initialization, 110 * -- guards constructionContext for all operations except proxy creation 190 // creating a proxy to satisfy circular dependency across several threads 198 T proxy = (T) constructionContext.createProxy( local 200 return proxy;
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxyFactoryCompatibilityTest.java | 1 package test.javassist.proxy; 4 import javassist.util.proxy.MethodFilter; 5 import javassist.util.proxy.MethodHandler; 6 import javassist.util.proxy.ProxyFactory; 7 import javassist.util.proxy.ProxyObject; 13 * test which checks that it is still possible to use the old style proxy factory api 14 * to create proxy classes which set their own handler. it checks that caching is 93 * test class used as the super for the proxy 109 * test interface used as an interface implemented by the proxy
|
/external/kernel-headers/original/uapi/linux/ |
atmlec.h | 80 } proxy; /* member in union:atmlec_msg::__anon22661
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy_spdy.c | 27 * @brief SPDY part of the proxy. libspdylay is used for the client side. 76 struct Proxy *proxy = (struct Proxy *)(source->ptr); local 86 if(!proxy->received_body_size)//nothing to write now 88 if(proxy->receiving_done) 97 if(length >= proxy->received_body_size) 99 ret = proxy->received_body_size; 105 if(NULL == (newbody = malloc(proxy->received_body_size - length))) 110 memcpy(newbody, proxy->received_body + length, proxy->received_body_size - length) 294 struct Proxy *proxy; local 330 struct Proxy * proxy; local 394 struct Proxy * proxy = spdylay_session_get_stream_user_data(session, stream_id); local 429 struct Proxy *proxy; local 475 struct Proxy *proxy; local 815 struct Proxy *proxy; local [all...] |
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Interface.java | 38 * A proxy to a mojo interface. This is base class for all generated proxies. It implements the 42 public interface Proxy extends Interface { 44 * Class allowing to interact with the proxy itself. 53 * Unbinds the proxy and passes the handle. Can return null if the proxy is not bound or 54 * if the proxy is not over a message pipe. 83 * Returns the {@link Handler} object allowing to interact with the proxy itself. 89 * Base implementation of {@link Proxy}. 91 abstract class AbstractProxy implements Proxy { 95 protected static class HandlerImpl implements Proxy.Handler, ConnectionErrorHandler 370 P proxy = attachProxy(handle.getCore(), router); local 386 P proxy = attachProxy(handles.first, 0); local [all...] |
/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/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 | 106 sk_sp<GrTextureProxy> proxy = GrMakeCachedBitmapProxy(proxyProvider, bmp); local 107 if (!proxy) { 111 const SkIRect rect = SkIRect::MakeWH(proxy->width(), proxy->height()); 118 std::move(proxy), 193 if (sk_sp<GrTextureProxy> proxy = as_IB(image)->asTextureProxyRef()) { 196 return MakeDeferredFromGpu(context, subset, image->uniqueID(), std::move(proxy), 342 static sk_sp<SkImage> wrap_proxy_in_image(GrContext* context, sk_sp<GrTextureProxy> proxy, 345 std::move(proxy), std::move(colorSpace), SkBudgeted::kYes); 351 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at [all...] |
/external/skia/src/gpu/ |
GrPipeline.h | 172 GrRenderTargetProxy* proxy() const { return fProxy.get(); } function 237 // MDB TODO: do we still need the destination proxy here?
|
GrProxyProvider.cpp | 51 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) { 54 if (this->isAbandoned() || !proxy) { 67 if (SkBudgeted::kNo == proxy->isBudgeted() && 68 (!proxy->priv().isInstantiated() || 69 !proxy->priv().peekSurface()->resourcePriv().refsWrappedObjects())) { 75 proxy->cacheAccess().setUniqueKey(this, key); 76 SkASSERT(proxy->getUniqueKey() == key); 77 fUniquelyKeyedProxies.add(proxy); 81 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) { 83 proxy->cacheAccess().setUniqueKey(this, surf->getUniqueKey()) 246 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local 326 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local 424 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local 489 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( local 540 sk_sp<GrRenderTargetProxy> proxy = this->createLazyRenderTargetProxy( local 598 sk_sp<GrRenderTargetProxy> proxy = this->createLazyRenderTargetProxy( local 737 GrTextureProxy* proxy = fUniquelyKeyedProxies.find(key); local [all...] |
GrResourceAllocator.h | 25 * to interval to find proxy reuse). When it comes time to allocate the resources it 55 void addInterval(GrSurfaceProxy* proxy 57 this->addInterval(proxy, fNumOps, fNumOps SkDEBUGCODE(, isDirectDstRead)); 67 // If any proxy fails to instantiate, the AssignError will be set to kFailedProxyInstantiation. 68 // If this happens, the caller should remove all ops which reference an uninstantiated proxy. 83 sk_sp<GrSurface> findSurfaceFor(const GrSurfaceProxy* proxy, bool needsStencil); 99 Interval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end) 100 : fProxy(proxy) 101 , fProxyID(proxy->uniqueID().asUInt()) 105 SkASSERT(proxy); 122 const GrSurfaceProxy* proxy() const { return fProxy; } function in class:GrResourceAllocator::Interval 123 GrSurfaceProxy* proxy() { return fProxy; } function in class:GrResourceAllocator::Interval [all...] |
GrResourceProvider.cpp | 123 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, local 126 if (!proxy) { 141 std::move(proxy), std::move(colorSpace));
|
GrSoftwarePathRenderer.cpp | 143 sk_sp<GrTextureProxy> proxy, 165 std::move(proxy), maskMatrix, GrSamplerState::Filter::kNearest)); 180 // MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt to 317 sk_sp<GrTextureProxy> proxy; local 319 proxy = fProxyProvider->findOrCreateProxyByUniqueKey(maskKey, kTopLeft_GrSurfaceOrigin); 321 if (!proxy) { 327 proxy = make_deferred_mask_texture_proxy(args.fContext, fit, 330 if (!proxy) { 351 proxy->texPriv().setDeferredUploader(std::move(uploader)); 358 proxy = helper.toTextureProxy(args.fContext, fit) [all...] |
GrXferProcessor.h | 65 DstProxy(sk_sp<GrTextureProxy> proxy, const SkIPoint& offset) 66 : fProxy(std::move(proxy)) { 90 GrTextureProxy* proxy() const { return fProxy.get(); } function in class:GrXferProcessor::DstProxy 92 void setProxy(sk_sp<GrTextureProxy> proxy) { 93 fProxy = std::move(proxy);
|
SkGpuDevice_drawTexture.cpp | 109 const SkRect* dst, GrAA aa, sk_sp<GrTextureProxy> proxy, 113 SkRect srcRect = src ? *src : SkRect::MakeWH(proxy->width(), proxy->height()); 115 if (src && !SkRect::MakeIWH(proxy->width(), proxy->height()).contains(srcRect)) { 119 SkAssertResult(srcRect.intersect(SkRect::MakeIWH(proxy->width(), proxy->height()))); 122 auto csxf = GrColorSpaceXform::Make(colorSpace, proxy->config(), 136 GrColor color = GrPixelConfigIsAlphaOnly(proxy->config()) 139 rtc->drawTextureAffine(clip, std::move(proxy), filter, color, srcRect, dstRect, aa, ctm 170 auto proxy = maker->refTextureProxyForParams( local [all...] |
SkGr.cpp | 128 sk_sp<GrTextureProxy> proxy = proxyProvider->createMipMapProxy(desc, SkBudgeted::kYes); local 129 if (!proxy) { 133 // Copy the base layer to our proxy 135 if (GrPixelConfigIsSRGB(proxy->config())) { 139 ctx->contextPriv().makeWrappedSurfaceContext(proxy, std::move(colorSpace)); 143 return proxy; 195 sk_sp<GrTextureProxy> proxy; local 201 proxy = proxyProvider->findOrCreateProxyByUniqueKey(originalKey, kTopLeft_GrSurfaceOrigin); 203 if (!proxy) { 204 proxy = proxyProvider->createTextureProxy(std::move(srcImage), kNone_GrSurfaceFlags [all...] |
/external/skia/src/gpu/effects/ |
GrGaussianConvolutionFragmentProcessor.cpp | 124 GrSurfaceProxy* proxy = conv.textureSampler(0).proxy(); local 125 GrTexture& texture = *proxy->priv().peekTexture(); 128 float ySign = proxy->origin() != kTopLeft_GrSurfaceOrigin ? 1.0f : -1.0f; 153 if (proxy->origin() != kTopLeft_GrSurfaceOrigin) { 198 sk_sp<GrTextureProxy> proxy, 205 ModulateByConfigOptimizationFlags(proxy->config())) 206 , fCoordTransform(proxy.get()) 207 , fTextureSampler(std::move(proxy)) 261 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx) local [all...] |
GrMatrixConvolutionEffect.cpp | 129 GrSurfaceProxy* proxy = conv.textureSampler(0).proxy(); local 130 GrTexture* texture = proxy->priv().peekTexture(); 133 float ySign = proxy->origin() == kTopLeft_GrSurfaceOrigin ? 1.0f : -1.0f; 144 fDomain.setData(pdman, conv.domain(), proxy); 147 GrMatrixConvolutionEffect::GrMatrixConvolutionEffect(sk_sp<GrTextureProxy> proxy, 159 , fCoordTransform(proxy.get()) 160 , fDomain(proxy.get(), GrTextureDomain::MakeTexelDomainForMode(bounds, tileMode), tileMode) 161 , fTextureSampler(std::move(proxy)) 245 sk_sp<GrTextureProxy> proxy, 270 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local [all...] |
GrTextureDomain.cpp | 22 static bool can_ignore_rect(GrTextureProxy* proxy, const SkRect& domain) { 23 if (GrProxyProvider::IsFunctionallyExact(proxy)) { 24 const SkIRect kFullRect = SkIRect::MakeWH(proxy->width(), proxy->height()); 32 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode mode, int index) 40 if (kClamp_Mode == mode && can_ignore_rect(proxy, domain)) { 45 const SkRect kFullRect = SkRect::MakeIWH(proxy->width(), proxy->height()); 162 GrSurfaceProxy* proxy) { 163 GrTexture* tex = proxy->priv().peekTexture() 276 GrSurfaceProxy* proxy = tde.textureSampler(0).proxy(); local 301 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local 382 GrSurfaceProxy* proxy = dstdfp.textureSampler(0).proxy(); local 425 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); local [all...] |
/external/skia/tests/ |
DetermineDomainModeTest.cpp | 20 // 2) the proxy's extent, which may or may not match the GrTexture's extent 30 GrTextureProxy* proxy, 36 proxy, 127 static const char* name = "proxy"; 329 sk_sp<GrTextureProxy> proxy = create_proxy(proxyProvider, isPowerOfTwoSized, local 356 proxy.get(),
|
GrMeshTest.cpp | 371 GrRenderTargetProxy* proxy = fState->drawOpArgs().fProxy; local 372 GrPipeline pipeline(proxy, GrPipeline::ScissorState::kDisabled, SkBlendMode::kSrc);
|