/external/libmicrohttpd/src/examples/ |
D | mhd2spdy_http.c | 87 struct Proxy *proxy = (struct Proxy *)cls; in http_cb_response() local 92 PRINT_INFO2("http_cb_response for %s", proxy->url); in http_cb_response() 94 if(proxy->spdy_error) in http_cb_response() 97 if(0 == proxy->http_body_size && (proxy->done || !proxy->spdy_active)) in http_cb_response() 103 if(!proxy->http_body_size)//nothing to write now in http_cb_response() 106 info = MHD_get_connection_info (proxy->http_connection, in http_cb_response() 117 if(max >= proxy->http_body_size) in http_cb_response() 119 ret = proxy->http_body_size; in http_cb_response() 125 if(NULL == (newbody = au_malloc(proxy->http_body_size - max))) in http_cb_response() 130 memcpy(newbody, proxy->http_body + max, proxy->http_body_size - max); in http_cb_response() [all …]
|
D | mhd2spdy_spdy.c | 76 struct Proxy *proxy = (struct Proxy *)(source->ptr); in spdy_cb_data_source_read() local 86 if(!proxy->received_body_size)//nothing to write now in spdy_cb_data_source_read() 88 if(proxy->receiving_done) in spdy_cb_data_source_read() 97 if(length >= proxy->received_body_size) in spdy_cb_data_source_read() 99 ret = proxy->received_body_size; in spdy_cb_data_source_read() 105 if(NULL == (newbody = malloc(proxy->received_body_size - length))) in spdy_cb_data_source_read() 110 memcpy(newbody, proxy->received_body + length, proxy->received_body_size - length); in spdy_cb_data_source_read() 112 memcpy(buf, proxy->received_body, ret); in spdy_cb_data_source_read() 113 free(proxy->received_body); in spdy_cb_data_source_read() 114 proxy->received_body = newbody; in spdy_cb_data_source_read() [all …]
|
/external/libmicrohttpd/src/spdy2http/ |
D | proxy.c | 412 struct Proxy *proxy = (struct Proxy *)SPDY_get_cls_from_request(request); in spdy_post_data_cb() local 414 if(!store_in_buffer(buf, size, &proxy->received_body, &proxy->received_body_size)) in spdy_post_data_cb() 420 proxy->receiving_done = !more; in spdy_post_data_cb() 426 if(proxy->is_curl_read_paused) in spdy_post_data_cb() 428 if(CURLE_OK != (ret = curl_easy_pause(proxy->curl_handle, CURLPAUSE_CONT))) in spdy_post_data_cb() 447 struct Proxy *proxy = (struct Proxy *)cls; in response_callback() local 451 assert(!proxy->spdy_error); in response_callback() 453 if(proxy->curl_error) in response_callback() 459 if(!proxy->http_body_size)//nothing to write now in response_callback() 462 if(proxy->curl_done || proxy->curl_error) *more = false; in response_callback() [all …]
|
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
D | PropertyChangeListenerProxyTest.java | 31 PropertyChangeListenerProxy proxy; field in PropertyChangeListenerProxyTest 42 proxy = new PropertyChangeListenerProxy(name, listener); in setUp() 46 proxy = new PropertyChangeListenerProxy(null, listener); in testPropertyChangeListenerProxy() 47 assertSame(listener, proxy.getListener()); in testPropertyChangeListenerProxy() 48 assertNull(proxy.getPropertyName()); in testPropertyChangeListenerProxy() 51 proxy.propertyChange(newevent); in testPropertyChangeListenerProxy() 53 proxy = new PropertyChangeListenerProxy(name, null); in testPropertyChangeListenerProxy() 54 assertSame(name, proxy.getPropertyName()); in testPropertyChangeListenerProxy() 55 assertNull(proxy.getListener()); in testPropertyChangeListenerProxy() 57 proxy.propertyChange(new PropertyChangeEvent(new Object(), "name", in testPropertyChangeListenerProxy() [all …]
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/ |
D | ProxyBuilderTest.java | 90 ExampleClass proxy = proxyFor(ExampleClass.class).build(); in testExampleOperation() local 91 assertEquals("expected", proxy.exampleMethod()); in testExampleOperation() 98 ExampleOperationClass proxy = proxyFor(ExampleOperationClass.class).build(); in testExampleOperation_DexMakerCaching() local 100 assertEquals("expected", proxy.exampleMethod()); in testExampleOperation_DexMakerCaching() 105 proxy = proxyFor(ExampleOperationClass.class).build(); in testExampleOperation_DexMakerCaching() 107 assertEquals("expected", proxy.exampleMethod()); in testExampleOperation_DexMakerCaching() 124 ConstructorTakesArguments proxy = proxyFor(ConstructorTakesArguments.class) in testConstruction_SucceedsIfCorrectArgumentsProvided() local 128 assertEquals("hello", proxy.argument); in testConstruction_SucceedsIfCorrectArgumentsProvided() 129 proxy.method(); in testConstruction_SucceedsIfCorrectArgumentsProvided() 173 HasFinalMethod proxy = proxyFor(HasFinalMethod.class).build(); in testCanProxyClassesWithFinalMethods_WillNotCallTheFinalMethod() local [all …]
|
/external/webrtc/webrtc/base/ |
D | proxydetect.cc | 286 bool ParseProxy(const std::string& saddress, ProxyInfo* proxy) { in ParseProxy() argument 350 if (Better(ptype, proxy->type)) { in ParseProxy() 351 proxy->type = ptype; in ParseProxy() 352 proxy->address.SetIP(host); in ParseProxy() 353 proxy->address.SetPort(port); in ParseProxy() 357 return proxy->type != PROXY_NONE; in ParseProxy() 544 bool GetFirefoxProxySettings(const char* url, ProxyInfo* proxy) { in GetFirefoxProxySettings() argument 553 proxy->bypass_list = in GetFirefoxProxySettings() 558 if (ProxyListMatch(purl, proxy->bypass_list.c_str(), ',')) { in GetFirefoxProxySettings() 561 proxy->type = PROXY_UNKNOWN; in GetFirefoxProxySettings() [all …]
|
/external/autotest/client/site_tests/platform_CryptohomeMigrateKey/ |
D | platform_CryptohomeMigrateKey.py | 17 if not self.proxy.mount(user, old_pass, create=True): 19 if not self.proxy.unmount(user): 21 if not self.proxy.migrate(user, old_pass, new_pass): 23 if self.proxy.mount(user, old_pass): 25 if not self.proxy.mount(user, new_pass): 27 if not self.proxy.unmount(user): 29 self.proxy.remove(user) 35 if not self.proxy.mount(user, old_pass, create=True): 37 if not self.proxy.unmount(user): 39 if self.proxy.migrate(user, 'bad', new_pass): [all …]
|
/external/libbrillo/brillo/glib/ |
D | dbus.h | 182 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument 186 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection() 191 const Proxy& proxy() const { return proxy_; } in proxy() function 204 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument 208 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection() 213 const Proxy& proxy() const { return proxy_; } in proxy() function 226 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument 230 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection() 235 const Proxy& proxy() const { return proxy_; } in proxy() function 248 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Route.java | 36 final Proxy proxy; field in Route 39 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress) { in Route() argument 43 if (proxy == null) { in Route() 50 this.proxy = proxy; in Route() 66 return proxy; in getProxy() 78 return address.sslSocketFactory != null && proxy.type() == Proxy.Type.HTTP; in requiresTunnel() 85 && proxy.equals(other.proxy) in equals() 94 result = 31 * result + proxy.hashCode(); in hashCode()
|
/external/curl/tests/data/ |
D | test1021 | 7 HTTP proxy 8 HTTP proxy NTLM auth 9 --proxy-anyauth 16 HTTP/1.1 407 Authorization Required to proxy me my dear swsclose 24 # this is returned first since we get no proxy-auth 26 HTTP/1.1 407 Authorization Required to proxy me my dear 36 HTTP/1.1 200 Things are fine in proxy land 54 # then this is returned when we get proxy-auth 59 Nice proxy auth sir! 63 HTTP/1.1 407 Authorization Required to proxy me my dear swsclose [all …]
|
D | test209 | 7 HTTP proxy 8 HTTP proxy NTLM auth 15 # this is returned first since we get no proxy-auth 17 HTTP/1.1 407 Authorization Required to proxy me my dear 26 HTTP/1.1 200 Things are fine in proxy land 44 # then this is returned when we get proxy-auth 49 Nice proxy auth sir! 53 HTTP/1.1 407 Authorization Required to proxy me my dear 56 HTTP/1.1 200 Things are fine in proxy land 82 HTTP proxy CONNECT auth NTLM [all …]
|
D | test1008 | 7 HTTP proxy 8 HTTP proxy NTLM auth 18 # this is returned first since we get no proxy-auth 20 HTTP/1.1 407 Authorization Required to proxy me my dear 35 HTTP/1.1 200 Things are fine in proxy land 53 # then this is returned when we get proxy-auth 58 Nice proxy auth sir! 62 HTTP/1.1 407 Authorization Required to proxy me my dear 66 HTTP/1.1 200 Things are fine in proxy land 92 HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response [all …]
|
D | test265 | 7 HTTP proxy 8 HTTP proxy NTLM auth 15 # this is returned first since we get no proxy-auth 17 HTTP/1.0 407 Authorization Required to proxy me my dear 28 HTTP/1.1 200 Things are fine in proxy land 46 # then this is returned when we get proxy-auth 51 Nice proxy auth sir! 55 HTTP/1.0 407 Authorization Required to proxy me my dear 59 HTTP/1.1 200 Things are fine in proxy land 85 HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407 [all …]
|
/external/javassist/src/main/javassist/tools/rmi/ |
D | StubGenerator.java | 136 CtClass proxy = classPool.makeClass(orgclass.getName(), in produceProxyClass() local 139 proxy.setInterfaces(interfacesForProxy); in produceProxyClass() 143 fieldImporter, proxy); in produceProxyClass() 145 proxy.addField(f, CtField.Initializer.byParameter(0)); in produceProxyClass() 147 f = new CtField(CtClass.intType, fieldObjectId, proxy); in produceProxyClass() 149 proxy.addField(f, CtField.Initializer.byParameter(1)); in produceProxyClass() 151 proxy.addMethod(CtNewMethod.getter(accessorObjectId, f)); in produceProxyClass() 153 proxy.addConstructor(CtNewConstructor.defaultConstructor(proxy)); in produceProxyClass() 156 null, proxy); in produceProxyClass() 157 proxy.addConstructor(cons); in produceProxyClass() [all …]
|
/external/skia/src/gpu/ |
D | GrBitmapTextureMaker.cpp | 32 sk_sp<GrTextureProxy> proxy; in refOriginalTextureProxy() local 35 proxy = this->context()->resourceProvider()->findProxyByUniqueKey(fOriginalKey); in refOriginalTextureProxy() 36 if (proxy) { in refOriginalTextureProxy() 37 return proxy; in refOriginalTextureProxy() 41 proxy = GrGenerateMipMapsAndUploadToTextureProxy(this->context(), fBitmap, dstColorSpace); in refOriginalTextureProxy() 43 if (!proxy) { in refOriginalTextureProxy() 44 proxy = GrUploadBitmapToTextureProxy(this->context()->resourceProvider(), fBitmap); in refOriginalTextureProxy() 46 if (proxy && fOriginalKey.isValid()) { in refOriginalTextureProxy() 47 this->context()->resourceProvider()->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy() 51 return proxy; in refOriginalTextureProxy()
|
D | GrPreFlushResourceProvider.cpp | 23 sk_sp<GrSurfaceProxy> proxy = GrSurfaceProxy::MakeDeferred( in makeRenderTargetContext() local 29 if (!proxy->asRenderTargetProxy()) { in makeRenderTargetContext() 34 proxy->asRenderTargetProxy(), in makeRenderTargetContext() 39 proxy->setLastOpList(opList.get()); in makeRenderTargetContext() 41 return fDrawingMgr->makeRenderTargetContext(std::move(proxy), in makeRenderTargetContext() 49 sk_sp<GrSurfaceProxy> proxy, in makeRenderTargetContext() argument 54 proxy->asRenderTargetProxy(), in makeRenderTargetContext() 59 proxy->setLastOpList(opList.get()); in makeRenderTargetContext() 61 return fDrawingMgr->makeRenderTargetContext(std::move(proxy), in makeRenderTargetContext()
|
/external/skia/src/gpu/effects/ |
D | GrTextureDomain.cpp | 22 static bool can_ignore_rect(GrTextureProxy* proxy, const SkRect& domain) { in can_ignore_rect() argument 23 if (GrResourceProvider::IsFunctionallyExact(proxy)) { in can_ignore_rect() 24 const SkIRect kFullRect = SkIRect::MakeWH(proxy->width(), proxy->height()); in can_ignore_rect() 70 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode mode, int index) in GrTextureDomain() argument 78 if (kClamp_Mode == mode && can_ignore_rect(proxy, domain)) { in GrTextureDomain() 83 const SkRect kFullRect = SkRect::MakeIWH(proxy->width(), proxy->height()); in GrTextureDomain() 246 sk_sp<GrTextureProxy> proxy, in Make() argument 253 (GrTextureDomain::kClamp_Mode == mode && can_ignore_rect(proxy.get(), domain))) { in Make() 254 return GrSimpleTextureEffect::Make(resourceProvider, std::move(proxy), in Make() 258 new GrTextureDomainEffect(resourceProvider, std::move(proxy), in Make() [all …]
|
/external/autotest/client/site_tests/platform_CryptohomeMount/ |
D | platform_CryptohomeMount.py | 19 proxy = cryptohome.CryptohomeProxy() 22 proxy.remove(test_user) 25 if not proxy.mount(test_user, test_password, create=True): 29 if not proxy.unmount(test_user): 33 if proxy.is_mounted(test_user): 38 if proxy.mount(test_user, incorrect_password): 41 if proxy.is_mounted(test_user): 45 if not proxy.remove(test_user):
|
/external/easymock/src/org/easymock/internal/ |
D | ObjectMethodsFilter.java | 61 public final Object invoke(Object proxy, Method method, Object[] args) in invoke() argument 64 return Boolean.valueOf(proxy == args[0]); in invoke() 67 return Integer.valueOf(System.identityHashCode(proxy)); in invoke() 70 return mockToString(proxy); in invoke() 72 return delegate.invoke(proxy, method, args); in invoke() 75 private String mockToString(Object proxy) { in mockToString() argument 76 return (name != null) ? name : "EasyMock for " + mockType(proxy); in mockToString() 79 private String mockType(Object proxy) { in mockType() argument 80 if (Proxy.isProxyClass(proxy.getClass())) in mockType() 81 return proxy.getClass().getInterfaces()[0].toString(); in mockType() [all …]
|
/external/guice/core/src/com/google/inject/internal/ |
D | InterceptorStackCallback.java | 21 import net.sf.cglib.proxy.MethodProxy; 38 final class InterceptorStackCallback implements net.sf.cglib.proxy.MethodInterceptor { 53 public Object intercept(Object proxy, Method method, Object[] arguments, in intercept() argument 55 return new InterceptedMethodInvocation(proxy, methodProxy, arguments, 0).proceed(); in intercept() 60 final Object proxy; field in InterceptorStackCallback.InterceptedMethodInvocation 65 public InterceptedMethodInvocation(Object proxy, MethodProxy methodProxy, in InterceptedMethodInvocation() argument 67 this.proxy = proxy; in InterceptedMethodInvocation() 76 ? methodProxy.invokeSuper(proxy, arguments) in proceed() 78 new InterceptedMethodInvocation(proxy, methodProxy, arguments, index + 1)); in proceed() 94 return proxy; in getThis()
|
/external/v8/src/runtime/ |
D | runtime-proxy.cc | 23 CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, args.length() - 1); in RUNTIME_FUNCTION() 26 Handle<Object> handler(proxy->handler(), isolate); in RUNTIME_FUNCTION() 28 if (proxy->IsRevoked()) { in RUNTIME_FUNCTION() 35 Handle<JSReceiver> target(proxy->target(), isolate); in RUNTIME_FUNCTION() 75 CONVERT_ARG_HANDLE_CHECKED(JSProxy, proxy, args.length() - 2); in RUNTIME_FUNCTION() 80 Handle<Object> handler(proxy->handler(), isolate); in RUNTIME_FUNCTION() 82 if (proxy->IsRevoked()) { in RUNTIME_FUNCTION() 89 Handle<JSReceiver> target(JSReceiver::cast(proxy->target()), isolate); in RUNTIME_FUNCTION() 147 CONVERT_ARG_CHECKED(JSProxy, proxy, 0); in RUNTIME_FUNCTION() 148 return proxy->handler(); in RUNTIME_FUNCTION() [all …]
|
/external/skia/tests/ |
D | ProxyTest.cpp | 21 GrSurfaceProxy* proxy, in check_surface() argument 27 REPORTER_ASSERT(reporter, proxy->origin() == origin); in check_surface() 28 REPORTER_ASSERT(reporter, proxy->width() == width); in check_surface() 29 REPORTER_ASSERT(reporter, proxy->height() == height); in check_surface() 30 REPORTER_ASSERT(reporter, proxy->config() == config); in check_surface() 32 REPORTER_ASSERT(reporter, proxy->uniqueID().asUInt() == uniqueID.asUInt()); in check_surface() 34 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid()); in check_surface() 36 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted); in check_surface() 143 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 146 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxySerializationTest.java | 1 package test.javassist.proxy; 3 import javassist.util.proxy.*; 34 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); in testSerialization() local 35 ((ProxyObject)proxy).setHandler(handler); in testSerialization() 38 out.writeObject(proxy); in testSerialization() 47 assertTrue("classes should be equal", newProxy.getClass() == proxy.getClass()); in testSerialization() 61 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); in testSerialization() local 62 ((ProxyObject)proxy).setHandler(handler); in testSerialization() 65 out.writeObject(proxy); in testSerialization() 72 assertTrue("names should be equal", proxy.getName().equals(newProxy.getName())); in testSerialization() [all …]
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | InterfacesTest.java | 182 private void checkProxy(NamedObject.Proxy proxy, MockNamedObjectImpl impl) { in checkProxy() argument 185 proxy.getProxyHandler().setErrorHandler(errorHandler); in checkProxy() 192 proxy.getName(callback); in checkProxy() 200 proxy.setName(OBJECT_NAME); in checkProxy() 209 proxy.getName(callback); in checkProxy() 225 NamedObject.Proxy proxy = in testProxyAndStub() local 228 checkProxy(proxy, impl); in testProxyAndStub() 234 NamedObject.Proxy proxy = in testProxyAndStubOverPipe() local 237 checkProxy(proxy, impl); in testProxyAndStubOverPipe() 242 Factory.Proxy proxy = BindingsTestUtils.newProxyOverPipe( in testFactoryOverPipe() local [all …]
|
/external/libvncserver/webclients/java-applet/ssl/ |
D | ss_vncviewer | 265 "-proxy") shift; proxy="$1" 371 if [ "X$proxy" != "X" ]; then 375 if echo "$proxy" | egrep -i "(repeater|vencrypt)://" > /dev/null; then 381 elif echo "$proxy" | grep "," > /dev/null; then 470 if echo "$proxy" | egrep "^sslrepeater://" > /dev/null; then 471 pstr=`echo "$proxy" | sed -e 's,sslrepeater://,,'` 478 proxy="" 480 if echo "$proxy" | egrep "vencrypt://" > /dev/null; then 700 if [ "X$proxy" = "X" -a "X$reverse" = "X" ]; then 711 proxy="ipv6://$host:$port" [all …]
|