/external/v8/test/mjsunit/harmony/ |
D | proxies-function.js | 35 var f = Proxy.createFunction(handler, callTrap, constructTrap) 63 var f = Proxy.createFunction(handler, callTrap) 240 TestCall(false, Proxy.createFunction(handler, function(x, y) { 245 TestCall(true, Proxy.createFunction(handler, function(x, y) { 261 var f = Proxy.createFunction({}, callTrap) 277 var f = Proxy.createFunction({}, callTrap) 305 TestCallThrow(Proxy.createFunction({}, function() { throw "myexn" })) 366 var f = Proxy.createFunction(handler, function() {}, constructTrap) 382 TestConstruct(Object.prototype, Proxy.createFunction(handler, ReturnNew)) 383 TestConstruct(prototype, Proxy.createFunction(handler, ReturnNewWithProto)) [all …]
|
D | proxies-json.js | 50 var proxy1 = Proxy.create(handler1); 53 var proxy_fun = Proxy.createFunction(handler1, function() { return 1; }); 80 var proxy2 = Proxy.create(handler2); 101 var proxy3 = Proxy.create(handler3); 119 var proxy4 = Proxy.create(handler4); 137 var proxy5 = Proxy.create(handler5); 153 var proxy6 = Proxy.create(handler6); 173 var proxy7 = Proxy.create(handler7);
|
D | proxies.js | 38 test(Proxy.create, x, y, z) 39 test(function(h) {return Proxy.createFunction(h, function() {})}, x, y, z) 84 TestGetOwnProperty(Proxy.create({ 118 TestGetOwnPropertyThrow(Proxy.create({ 193 TestGet(Proxy.create({ 290 TestGetCall(Proxy.create({ 346 TestGetThrow(Proxy.create({ 350 TestGetThrow(Proxy.create({ 450 TestSet(Proxy.create({ 568 TestSetThrow(Proxy.create({ [all …]
|
D | proxies-with-unscopables.js | 14 var proxy = Proxy.create({ 43 var proxy = Proxy.create({ 75 var proxy = Proxy.create({ 108 var proxy = Proxy.create({ 134 var proxy = Proxy.create({
|
D | proxies-for.js | 34 test(Proxy.create, x, y, z) 35 test(function(h) {return Proxy.createFunction(h, function() {})}, x, y, z) 74 TestForIn(["b", "a", "0", "c"], Proxy.create({ 164 TestForInThrow(Proxy.create({
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | RouteSelector.java | 28 import java.net.Proxy; 52 private Proxy lastProxy; 56 private List<Proxy> proxies = Collections.emptyList(); 119 if (failedRoute.getProxy().type() != Proxy.Type.DIRECT && address.getProxySelector() != null) { in connectFailed() 128 private void resetNextProxy(URI uri, Proxy proxy) { in resetNextProxy() 136 List<Proxy> selectedProxies = client.getProxySelector().select(uri); in resetNextProxy() 139 proxies.removeAll(Collections.singleton(Proxy.NO_PROXY)); in resetNextProxy() 140 proxies.add(Proxy.NO_PROXY); in resetNextProxy() 151 private Proxy nextProxy() throws IOException { in nextProxy() 156 Proxy result = proxies.get(nextProxyIndex++); in nextProxy() [all …]
|
D | RequestLine.java | 6 import java.net.Proxy; 18 static String get(Request request, Proxy.Type proxyType, Protocol protocol) { in get() 39 private static boolean includeAuthorityInRequestLine(Request request, Proxy.Type proxyType) { in includeAuthorityInRequestLine() 40 return !request.isHttps() && proxyType == Proxy.Type.HTTP; in includeAuthorityInRequestLine()
|
D | AuthenticatorAdapter.java | 28 import java.net.Proxy; 37 @Override public Request authenticate(Proxy proxy, Response response) throws IOException { in authenticate() 59 @Override public Request authenticateProxy(Proxy proxy, Response response) throws IOException { in authenticateProxy() 82 private InetAddress getConnectToInetAddress(Proxy proxy, URL url) throws IOException { in getConnectToInetAddress() 83 return (proxy != null && proxy.type() != Proxy.Type.DIRECT) in getConnectToInetAddress()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | ProxySelectorRoutePlanner.java | 37 import java.net.Proxy; 208 List<Proxy> proxies = psel.select(targetURI); in determineProxy() 210 Proxy p = chooseProxy(proxies, target, request, context); in determineProxy() 213 if (p.type() == Proxy.Type.HTTP) { in determineProxy() 266 protected Proxy chooseProxy(List<Proxy> proxies, in chooseProxy() 276 Proxy result = null; in chooseProxy() 281 Proxy p = proxies.get(i); in chooseProxy() 300 result = Proxy.NO_PROXY; in chooseProxy()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Route.java | 19 import java.net.Proxy; 36 final Proxy proxy; 39 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress) { in Route() 65 public Proxy getProxy() { in getProxy() 78 return address.sslSocketFactory != null && proxy.type() == Proxy.Type.HTTP; in requiresTunnel()
|
D | Authenticator.java | 19 import java.net.Proxy; 41 Request authenticate(Proxy proxy, Response response) throws IOException; in authenticate() 59 Request authenticateProxy(Proxy proxy, Response response) throws IOException; in authenticateProxy()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | RecordingOkAuthenticator.java | 21 import java.net.Proxy; 27 public final List<Proxy> proxies = new ArrayList<>(); 39 public Proxy onlyProxy() { in onlyProxy() 44 @Override public Request authenticate(Proxy proxy, Response response) { in authenticate() 52 @Override public Request authenticateProxy(Proxy proxy, Response response) { in authenticateProxy()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | ExcludedProxyTest.java | 25 import java.net.Proxy; 163 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); in test_openConnectionLjava_net_Proxy() 164 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr2); in test_openConnectionLjava_net_Proxy() 165 Proxy proxyList[] = { proxy1, proxy2 }; in test_openConnectionLjava_net_Proxy() 207 fileUrl.openConnection(Proxy.NO_PROXY); in test_openConnectionLjava_net_Proxy()
|
/external/skia/include/effects/ |
D | SkMorphologyImageFilter.h | 35 Proxy*, const SkBitmap& src, const Context&, 40 bool filterImageGPUGeneric(bool dilate, Proxy* proxy, const SkBitmap& src, 63 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 66 virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context&, 91 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 94 virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context&,
|
D | SkPictureImageFilter.h | 73 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 79 void drawPictureAtDeviceResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds, 81 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds,
|
/external/skia/include/core/ |
D | SkImageFilter.h | 80 class Proxy { 82 virtual ~Proxy() {}; in ~Proxy() 108 bool filterImage(Proxy*, const SkBitmap& src, const Context&, 136 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const Context&, 213 bool getInputResultGPU(SkImageFilter::Proxy* proxy, const SkBitmap& src, const Context&, 287 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 323 bool applyCropRect(const Context&, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset,
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
D | HttpHandler.java | 22 import java.net.Proxy; 42 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() 53 protected OkUrlFactory newOkUrlFactory(Proxy proxy) { in newOkUrlFactory() 67 public static OkUrlFactory createHttpOkUrlFactory(Proxy proxy) { in createHttpOkUrlFactory()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
D | Proxy.java | 39 public class Proxy implements Serializable { class 56 protected Proxy(InvocationHandler h) { in Proxy() method in Proxy 62 private static class ProxyImpl extends Proxy { 72 return ((Proxy)proxy).h; in getInvocationHandler()
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
D | Transport.java | 28 import java.net.Proxy; 47 protected Proxy proxy; 90 public Transport(Proxy proxy, String url) { in Transport() 95 public Transport(Proxy proxy, String url, int timeout) { in Transport() 101 public Transport(Proxy proxy, String url, int timeout, int bufferLength) { in Transport()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 31 import java.net.Proxy; 508 .openConnection(new Proxy(Proxy.Type.HTTP, in testProxyConnection() 545 .openConnection(new Proxy(Proxy.Type.HTTP, in testPersistentProxyConnection() 590 .openConnection(new Proxy(Proxy.Type.HTTP, in testProxyAuthConnection() 627 .openConnection(new Proxy(Proxy.Type.HTTP, in testConsequentProxyConnection() 638 connection = (HttpsURLConnection) url.openConnection(new Proxy( in testConsequentProxyConnection() 639 Proxy.Type.HTTP, new InetSocketAddress("localhost", ss in testConsequentProxyConnection() 679 .openConnection(new Proxy(Proxy.Type.HTTP, in testProxyAuthConnection_doOutput() 715 .openConnection(new Proxy(Proxy.Type.HTTP, in testProxyAuthConnectionFailed() 755 .openConnection(new Proxy(Proxy.Type.HTTP, in testProxyConnection_Not_Found_Response()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | RecordingProxySelector.java | 20 import java.net.Proxy; 32 List<Proxy> proxies = new ArrayList<>(); 35 @Override public List<Proxy> select(URI uri) { in select()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | Authenticate.java | 24 import java.net.Proxy; 31 @Override public Request authenticate(Proxy proxy, Response response) { in run() 40 @Override public Request authenticateProxy(Proxy proxy, Response response) { in run()
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
D | DexmakerMockMaker.java | 22 import java.lang.reflect.Proxy; 50 T mock = (T) Proxy.newProxyInstance(contextClassLoader, classesToMock, in createMock() 84 if (Proxy.isProxyClass(mock.getClass())) { in getInvocationHandlerAdapter() 85 InvocationHandler invocationHandler = Proxy.getInvocationHandler(mock); in getInvocationHandlerAdapter()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/ |
D | OkUrlFactory.java | 22 import java.net.Proxy; 51 HttpURLConnection open(URL url, Proxy proxy) { in open() 79 @Override protected URLConnection openConnection(URL url, Proxy proxy) { in createURLStreamHandler()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | AbstractInvocationHandler.java | 23 import java.lang.reflect.Proxy; 82 && equals(Proxy.getInvocationHandler(arg)); in invoke() 137 || (Proxy.isProxyClass(arg.getClass()) in isProxyOfSameInterfaces()
|