Home
last modified time | relevance | path

Searched refs:Proxy (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/external/v8/test/mjsunit/es6/
Dproxies-prototype-target-stackoverflow.js9 var p = new Proxy({}, {});
15 var p = new Proxy({}, {});
21 var p = new Proxy({}, {});
29 var p = new Proxy({}, {});
35 var p = new Proxy({}, {});
41 var p = new Proxy({}, {});
50 var p = new Proxy({}, {});
56 var p = new Proxy({}, {});
62 var p = new Proxy({}, {});
68 var p = new Proxy({}, {});
[all …]
Dproxies-prototype-handler-stackoverflow.js12 var p = new Proxy({}, handler);
19 var p = new Proxy({}, handler);
26 var p = new Proxy({}, handler);
35 var p = new Proxy({}, handler);
42 var p = new Proxy({}, handler);
49 var p = new Proxy({}, handler);
56 var p = new Proxy({}, handler);
65 var p = new Proxy({}, handler);
74 var p = new Proxy({}, handler);
83 var p = new Proxy({}, handler);
[all …]
Dproxies-json.js59 var proxy1 = new Proxy({}, handler1);
62 var proxy_fun = new Proxy(() => {}, handler1);
97 var proxy2 = new Proxy({}, handler2);
122 var proxy3 = new Proxy({}, handler3);
142 var proxy4 = new Proxy({}, handler4);
165 var proxy5 = new Proxy({}, handler5);
186 var proxy6 = new Proxy({}, handler6);
208 var proxy7 = new Proxy({}, handler7);
220 var handler = new Proxy({}, logger);
234 var proxy = new Proxy(target, handler);
[all …]
Dproxies-function.js51 var f = new Proxy(()=>{}, handler)
151 var f = new Proxy(()=>{}, {apply: callTrap})
197 TestCall(false, new Proxy(function(_, that, [x, y]) {
202 TestCall(true, new Proxy(function(_, that, args) {
208 TestCall(false, Object.freeze(new Proxy(function(_, that, [x, y]) {
218 var f = new Proxy(()=>{}, {apply: (_, that, args) => callTrap(...args)})
234 var f = new Proxy(()=>{}, {apply: callTrap})
245 var f = Object.freeze(new Proxy(()=>{}, {apply: callTrap}))
258 TestCallThrow(new Proxy(() => {throw "myexn"}, {}))
259 TestCallThrow(Object.freeze(new Proxy(() => {throw "myexn"}, {})))
[all …]
Dproxies-apply.js6 var proxy = new Proxy({},{});
9 var proxy2 = new Proxy(proxy, {});
18 var proxy = new Proxy(target, {});
24 var proxy2 = new Proxy(proxy, {});
36 var proxy = new Proxy(target, {});
49 var proxy = new Proxy(target, {});
61 var proxy = new Proxy(target, {});
81 var proxy = new Proxy(target, handler);
95 var proxy = new Proxy(target, { apply() { assertUnreachable(); } });
107 var proxy_to_proxy = new Proxy(proxy, { apply() { assertUnreachable(); } });
Dproxies-get.js15 var proxy = new Proxy(target, handler);
25 var handler2 = new Proxy({get: function() { return "value 3" }},{});
26 var proxy2 = new Proxy(target, handler2);
33 var handler = new Proxy({}, {get: function(){ throw Error() }});
34 var proxy = new Proxy({}, handler);
40 var proxy = new Proxy(target, {});
46 var handler = new Proxy({}, {get: function(){ return undefined }});
48 var proxy = new Proxy(target, handler);
56 var proxy = new Proxy(target, handler);
109 var it = new Proxy(origIt, {
Dtail-call-proxies.js27 var p1 = new Proxy(f1, {});
36 var p2 = new Proxy(f2, {});
45 var p3 = new Proxy(f3, {});
54 var p4 = new Proxy(f4, {});
67 var p1 = new Proxy(f1, {});
76 var p2 = new Proxy(f2, {});
85 var p3 = new Proxy(f3, {});
94 var p4 = new Proxy(f4, {});
Dproxies-construct.js6 var proxy = new Proxy({},{});
9 var proxy2 = new Proxy(proxy, {});
14 var pair = Proxy.revocable(Array, {});
26 var proxy = new Proxy({},{});
27 var proxy2 = new Proxy({}, proxy);
38 var proxy = new Proxy(Target, {});
46 var proxy2 = new Proxy(proxy, {});
63 var proxy = new Proxy(Target, handler);
81 var proxy = new Proxy(Target, handler);
108 var proxy = new Proxy(Array, handler);
Dproxies.js44 test((handler) => { return new Proxy({}, handler) }, x, y, z)
49 test((handler) => { return new Proxy(() => {}, handler) }, x, y, z)
93 TestGetOwnProperty(new Proxy({}, {
128 TestGetOwnPropertyThrow(new Proxy({}, {
182 TestGet(new Proxy({}, {
254 TestGetCall(new Proxy({}, {
291 TestGetThrow(new Proxy({}, {
295 TestGetThrow(new Proxy({}, {
345 TestSet(new Proxy({}, {
431 TestSetThrow(new Proxy({}, {
[all …]
Dproxies-bind.js12 var handler = new Proxy({}, logger);
25 var proxy = new Proxy(target, handler);
66 proxy = new Proxy(target, handler);
79 proxy = new Proxy(target, handler);
92 proxy = new Proxy(target, handler);
105 proxy = new Proxy(target, handler);
118 proxy = new Proxy(target, handler);
127 assertThrows(() => Function.prototype.bind.call(new Proxy({}, {})), TypeError);
128 assertThrows(() => Function.prototype.bind.call(new Proxy([], {})), TypeError);
Dproxies-prevent-extensions.js11 var proxy = new Proxy(target, handler);
26 var proxy = new Proxy(target, handler);
41 var proxy = new Proxy(target, handler);
50 var proxy = new Proxy(target, handler);
66 var proxy = new Proxy(target, handler);
77 var proxy = new Proxy(target, handler);
Dproxies-set-prototype-of.js8 var proxy = new Proxy(target, handler);
21 var pair = Proxy.revocable(target, handler);
61 var target2 = new Proxy(target, handler2);
62 var proxy2 = new Proxy(target2, handler);
78 var target2 = new Proxy(target, handler);
79 var proxy2 = new Proxy(target2, handler2);
125 var target = new Proxy({}, {isExtensible: () => assertUnreachable()});
126 var object = new Proxy(target, handler);
Dproxies-cross-realm-exception.js15 __proto__ = new Proxy({}, { getPrototypeOf() { assertUnreachable() } });
30 __proto__ = new Proxy({}, { get(t, p, r) { assertUnreachable() } });
37 __proto__.__proto__ = new Proxy({}, {
46 __proto__ = new Proxy({},
47 new Proxy({}, {
Dobject-tostring.js147 assertTag("Object", new Proxy({}, {}));
148 assertTag("Array", new Proxy([], {}));
149 assertTag("Function", new Proxy(() => 42, {}));
150 assertTag("Foo", new Proxy(() => 42, {get() {return "Foo"}}));
151 assertTag("Function", new Proxy(() => 42, {get() {return 666}}));
153 var revocable = Proxy.revocable([], {});
158 revocable = Proxy.revocable([], handler);
164 revocable = Proxy.revocable([], handler);
170 revocable = Proxy.revocable(function() {}, handler);
/external/libbrillo/brillo/glib/
Ddbus.h67 friend class Proxy; variable
88 class BRILLO_EXPORT Proxy {
92 Proxy();
96 Proxy(const BusConnection& connection,
103 Proxy(const BusConnection& connection,
109 Proxy(const BusConnection& connection,
113 Proxy(const Proxy& x);
115 ~Proxy();
117 Proxy& operator=(Proxy x) {
150 friend void swap(Proxy& x, Proxy& y);
[all …]
Ddbus.cc17 bool CallPtrArray(const Proxy& proxy, in CallPtrArray()
109 bool RetrieveProperties(const Proxy& proxy, in RetrieveProperties()
126 Proxy::Proxy() in Proxy() function in brillo::dbus::Proxy
132 Proxy::Proxy(const BusConnection& connection, in Proxy() function in brillo::dbus::Proxy
142 Proxy::Proxy(const BusConnection& connection, in Proxy() function in brillo::dbus::Proxy
150 Proxy::Proxy(const BusConnection& connection, in Proxy() function in brillo::dbus::Proxy
156 Proxy::Proxy(const Proxy& x) in Proxy() function in brillo::dbus::Proxy
162 Proxy::~Proxy() { in ~Proxy()
168 Proxy::value_type Proxy::GetGProxy(const BusConnection& connection, in GetGProxy()
199 Proxy::value_type Proxy::GetGPeerProxy(const BusConnection& connection, in GetGPeerProxy()
[all …]
/external/v8/test/mjsunit/
Darray-isarray.js10 assertTrue(Array.isArray(new Proxy([], {})));
11 assertFalse(Array.isArray(new Proxy({}, {})));
13 assertTrue(Array.isArray(new Proxy(new Proxy([], {}), {})));
14 assertFalse(Array.isArray(new Proxy(new Proxy({}, {}), {})));
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRouteSelector.java29 import java.net.Proxy;
50 private Proxy lastProxy;
54 private List<Proxy> proxies = Collections.emptyList();
117 if (failedRoute.getProxy().type() != Proxy.Type.DIRECT && address.getProxySelector() != null) { in connectFailed()
127 private void resetNextProxy(HttpUrl url, Proxy proxy) { in resetNextProxy()
135 List<Proxy> selectedProxies = client.getProxySelector().select(url.uri()); in resetNextProxy()
138 proxies.removeAll(Collections.singleton(Proxy.NO_PROXY)); in resetNextProxy()
139 proxies.add(Proxy.NO_PROXY); in resetNextProxy()
150 private Proxy nextProxy() throws IOException { in nextProxy()
155 Proxy result = proxies.get(nextProxyIndex++); in nextProxy()
[all …]
/external/skia/src/core/
DSkSpecialSurface.h56 static SkSpecialSurface* NewFromTexture(SkImageFilter::Proxy* proxy,
64 static SkSpecialSurface* NewRenderTarget(SkImageFilter::Proxy* proxy,
71 static SkSpecialSurface* NewFromBitmap(SkImageFilter::Proxy* proxy,
82 static SkSpecialSurface* NewRaster(SkImageFilter::Proxy* proxy,
86 SkSpecialSurface(SkImageFilter::Proxy*, const SkIRect& subset, const SkSurfaceProps*);
93 SkImageFilter::Proxy* proxy() const { return fProxy; } in proxy()
100 SkImageFilter::Proxy* fProxy;
DSkSpecialImage.h56 static SkSpecialImage* NewFromRaster(SkImageFilter::Proxy*,
59 static SkSpecialImage* NewFromGpu(SkImageFilter::Proxy*,
72 static SkSpecialImage* internal_fromBM(SkImageFilter::Proxy*, const SkBitmap&);
73 SkImageFilter::Proxy* internal_getProxy();
76 SkSpecialImage(SkImageFilter::Proxy* proxy, const SkIRect& subset, uint32_t uniqueID) in SkSpecialImage()
106 SkImageFilter::Proxy* proxy() const { return fProxy; } in proxy()
113 SkImageFilter::Proxy* fProxy;
DSkSpecialSurface.cpp16 SkSpecialSurface_Base(SkImageFilter::Proxy* proxy, in SkSpecialSurface_Base()
44 SkSpecialSurface::SkSpecialSurface(SkImageFilter::Proxy* proxy, in SkSpecialSurface()
69 SkSpecialSurface_Raster(SkImageFilter::Proxy* proxy, in SkSpecialSurface_Raster()
94 SkSpecialSurface* SkSpecialSurface::NewFromBitmap(SkImageFilter::Proxy* proxy, in NewFromBitmap()
100 SkSpecialSurface* SkSpecialSurface::NewRaster(SkImageFilter::Proxy* proxy, in NewRaster()
120 SkSpecialSurface_Gpu(SkImageFilter::Proxy* proxy, in SkSpecialSurface_Gpu()
151 SkSpecialSurface* SkSpecialSurface::NewFromTexture(SkImageFilter::Proxy* proxy, in NewFromTexture()
162 SkSpecialSurface* SkSpecialSurface::NewRenderTarget(SkImageFilter::Proxy* proxy, in NewRenderTarget()
182 SkSpecialSurface* SkSpecialSurface::NewFromTexture(SkImageFilter::Proxy* proxy, in NewFromTexture()
189 SkSpecialSurface* SkSpecialSurface::NewRenderTarget(SkImageFilter::Proxy* proxy, in NewRenderTarget()
/external/apache-http/src/org/apache/http/impl/conn/
DProxySelectorRoutePlanner.java37 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/libmicrohttpd/src/examples/
Dmhd2spdy_structures.h67 struct Proxy;
75 struct Proxy *proxies_head;
76 struct Proxy *proxies_tail;
103 struct Proxy struct
110 struct Proxy *next; argument
111 struct Proxy *prev; argument
134 struct Proxy * proxy; argument
286 free_proxy(struct Proxy *proxy);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRoute.java19 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()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DRecordingOkAuthenticator.java21 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()

12345678910>>...13