Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 25 of 1128) sorted by relevance

12345678910>>...46

/third_party/openssl/test/recipes/
D70-test_sslsigalgs.t30 my $proxy = TLSProxy::Proxy->new(
57 $proxy->clientflags("-no_tls1_3") if disabled("ec") && disabled("dh");
58 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
67 $proxy->filter(\&sigalgs_filter);
70 $proxy->clear();
72 $proxy->start();
76 $proxy->clear();
78 $proxy->start();
82 $proxy->clear();
84 $proxy->start();
[all …]
D70-test_sslrecords.t32 my $proxy = TLSProxy::Proxy->new(
45 $proxy->serverflags("-tls1_2");
46 $proxy->clientflags("-no_tls1_3");
47 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
52 $proxy->clear();
54 $proxy->serverflags("-tls1_2");
55 $proxy->clientflags("-no_tls1_3");
56 $proxy->start();
61 $proxy->clear();
64 $proxy->serverflags("-tls1_2");
[all …]
D70-test_key_share.t69 my $proxy = TLSProxy::Proxy->new(
82 $proxy->filter(\&modify_key_shares_filter);
84 $proxy->serverflags("-groups ffdhe3072");
86 $proxy->serverflags("-groups P-256");
88 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
94 $proxy->clear();
95 $proxy->start();
99 $proxy->clear();
101 $proxy->start();
106 $proxy->clear();
[all …]
D70-test_sslextension.t45 my $proxy = TLSProxy::Proxy->new(
55 my $proxy = shift;
57 if ($proxy->flight == 1) {
60 my $message = ${$proxy->message_list}[1];
67 if ($proxy->flight != 0) {
71 foreach my $message (@{$proxy->message_list}) {
86 my ($proxy, $message_type) = @_;
88 foreach my $message (@{$proxy->message_list}) {
103 my $proxy = shift;
106 if ($proxy->flight == 0) {
[all …]
D70-test_sslmessages.t34 my $proxy = TLSProxy::Proxy->new(
176 $proxy->serverconnects(2);
177 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
178 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
180 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
185 $proxy->clearClient();
186 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
187 $proxy->clientstart();
188 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
199 $proxy->clear();
[all …]
D70-test_sslsessiontick.t41 my $proxy = TLSProxy::Proxy->new(
51 $proxy->clientflags("-no_tls1_3");
52 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
61 $proxy->clientflags("-no_tls1_3");
62 $proxy->serverflags("-no_ticket");
63 $proxy->start();
71 $proxy->clientflags("-no_tls1_3 -no_ticket");
72 $proxy->start();
80 $proxy->serverconnects(2);
81 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
[all …]
D70-test_tlsextms.t42 my $proxy = TLSProxy::Proxy->new(
57 $proxy->clientflags("-no_tls1_3");
58 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
68 $proxy->clientflags("-no_tls1_3");
69 $proxy->start();
76 $proxy->clientflags("-no_ticket -no_tls1_3");
78 $proxy->start();
85 $proxy->clientflags("-no_ticket -no_tls1_3");
87 $proxy->start();
98 $proxy->serverconnects(2);
[all …]
D70-test_renegotiation.t32 my $proxy = TLSProxy::Proxy->new(
40 $proxy->clientflags("-no_tls1_3");
41 $proxy->serverflags("-client_renegotiation");
42 $proxy->reneg(1);
43 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
47 $proxy->clear();
48 $proxy->filter(\&reneg_filter);
49 $proxy->clientflags("-no_tls1_3");
50 $proxy->serverflags("-client_renegotiation");
51 $proxy->reneg(1);
[all …]
D70-test_tls13psk.t32 my $proxy = TLSProxy::Proxy->new(
49 $proxy->clientflags("-sess_out ".$session);
50 $proxy->serverflags("-servername localhost");
51 $proxy->sessionfile($session);
52 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
57 $proxy->clear();
58 $proxy->clientflags("-sess_in ".$session);
59 $proxy->filter(\&modify_psk_filter);
61 $proxy->start();
66 $proxy->clear();
[all …]
D70-test_tls13messages.t198 my $proxy = TLSProxy::Proxy->new(
207 $proxy->serverconnects(2);
208 $proxy->clientflags("-sess_out ".$session);
209 $proxy->sessionfile($session);
210 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
212 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
217 $proxy->clearClient();
218 $proxy->clientflags("-sess_in ".$session);
219 $proxy->clientstart();
220 checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
[all …]
D70-test_tls13hrr.t31 my $proxy = TLSProxy::Proxy->new(
46 $proxy->filter(\&hrr_filter);
48 $proxy->serverflags("-curves ffdhe3072");
50 $proxy->serverflags("-curves P-256");
53 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
59 $proxy->clear();
61 $proxy->serverflags("-curves ffdhe3072");
63 $proxy->serverflags("-curves P-256");
65 $proxy->ciphersuitess("TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384");
67 $proxy->start();
[all …]
D70-test_tls13downgrade.t33 my $proxy = TLSProxy::Proxy->new(
47 $proxy->filter(\&downgrade_filter);
49 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
54 $proxy->clear();
56 $proxy->start();
60 $proxy->clear();
61 $proxy->clientflags("-no_tls1_3");
62 $proxy->serverflags("-no_tls1_3");
63 $proxy->start();
68 $proxy->clear();
[all …]
D70-test_sslversions.t47 my $proxy = TLSProxy::Proxy->new(
60 $proxy->filter(\&modify_supported_versions_filter);
61 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
67 $proxy->clear();
69 $proxy->start();
73 $proxy->clear();
75 $proxy->start();
76 my $record = pop @{$proxy->record_list};
82 $proxy->clear();
83 $proxy->serverflags("-tls1_3");
[all …]
D70-test_tls13kexmodes.t184 my $proxy = TLSProxy::Proxy->new(
193 $proxy->clientflags("-sess_out ".$session);
194 $proxy->serverflags("-servername localhost");
195 $proxy->sessionfile($session);
196 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
202 $proxy->clear();
203 $proxy->clientflags("-sess_in ".$session);
205 $proxy->filter(\&modify_kex_modes_filter);
206 $proxy->start();
211 $proxy->clear();
[all …]
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dmhd2spdy_http.c87 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 …]
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
Dproxy.c412 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 …]
/third_party/skia/tests/
DProxyRefTest.cpp51 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
52 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
53 … sk_sp<GrTextureProxy> extraRef(proxy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
55 int backingRefs = proxy->isInstantiated() ? 1 : -1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
57 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 2, backingRefs); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
59 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
61 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 2, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
63 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 1, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
68 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
69 if (proxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dproxy_own_keys.js32 var proxy = new Proxy(target, handler); variable
36 Array.prototype.sort.call(proxy); argument
44 Object.keys(proxy);
52 Object.getOwnPropertyNames(proxy);
60 Object.getOwnPropertySymbols(proxy);
77 var proxy = new Proxy(target, handler); variable
79 array_check(Reflect.ownKeys(proxy), ["foo", "bar", symA]);
80 array_check(Object.getOwnPropertyNames(proxy), ["foo", "bar"]);
81 array_check(Object.keys(proxy), ["foo", "bar"]);
82 array_check(Object.getOwnPropertySymbols(proxy), [symA]);
[all …]
Dproxy_call.js24 var proxy = new Proxy (target, handler); variable
28 proxy (5)
36 proxy = new Proxy(revocable.proxy, {}) variable
38 proxy (5)
60 var proxy = new Proxy ({},{}); variable
62 proxy()
68 var proxy2 = new Proxy(proxy, {});
81 var proxy = new Proxy (target, {}); variable
83 proxy();
87 var proxy2 = new Proxy (proxy, {});
[all …]
Dproxy_get_prototoype_of.js24 var proxy = new Proxy(target, handler); variable
28 Object.getPrototypeOf(proxy);
36 Object.prototype.isPrototypeOf(proxy);
47 Object.setPrototypeOf(g, proxy);
68 Function.prototype.bind.call(proxy);
81 var proxy = new Proxy(target, handler); variable
83 assert(Object.getPrototypeOf(proxy) === Array.prototype);
84 assert(Reflect.getPrototypeOf(proxy) === Array.prototype);
85 assert(Array.prototype.isPrototypeOf(proxy));
86 assert(proxy instanceof Array);
[all …]
Dproxy_get.js24 var proxy = new Proxy(target, handler); variable
28 proxy.a
36 proxy[2];
44 proxy + "foo";
57 var proxy = new Proxy(target, handler); variable
59 assert(proxy.prop === "value");
60 assert(proxy.nothing === undefined);
61 assert(proxy.handler === undefined);
65 assert(proxy.prop === "value 2");
66 assert(proxy.nothing === "value 2");
[all …]
Dproxy_is_extensible.js25 var proxy = new Proxy(target, handler); variable
29 Object.isFrozen(proxy)
37 Object.isSealed(proxy)
45 Object.isExtensible(proxy)
54 var proxy = new Proxy(target, handler); variable
56 assert(Object.isExtensible(proxy) === true);
59 assert(Object.isExtensible(proxy) === false);
64 var proxy = new Proxy(target, handler); variable
66 assert(Object.isExtensible(proxy) === true);
69 assert(Object.isExtensible(proxy) === false);
[all …]
Dproxy_has.js24 var proxy = new Proxy(target, handler); variable
28 "foo" in proxy;
36 with (proxy) {
47 with (proxy) {
67 var proxy = new Proxy(target, handler); variable
69 assert("present" in proxy === true);
70 assert("non_present" in proxy === false);
86 var proxy = new Proxy(target, handler); variable
88 assert("foo" in proxy === false);
89 assert("bar" in proxy === true);
[all …]
/third_party/skia/src/gpu/
DGrResourceAllocator.cpp46 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end,
52 if (proxy->canSkipResourceAllocator()) {
59 if (proxy->readOnly()) {
61 if (proxy->isLazy() && !proxy->priv().doLazyInstantiation(resourceProvider)) {
66 SkASSERT(proxy->isInstantiated());
70 uint32_t proxyID = proxy->uniqueID().asUInt();
94 Interval* newIntvl = fInternalAllocator.make<Interval>(proxy, start, end);
104 static bool can_proxy_use_scratch(const GrCaps& caps, GrSurfaceProxy* proxy) { in can_proxy_use_scratch() argument
105 return caps.reuseScratchTextures() || proxy->asRenderTargetProxy(); in can_proxy_use_scratch()
108 static bool user_cache_proxy(GrSurfaceProxy* proxy) { in user_cache_proxy() argument
[all …]
/third_party/node/deps/npm/node_modules/https-proxy-agent/dist/
Dagent.js51 const proxy = Object.assign({}, opts);
54 this.secureProxy = opts.secureProxy || isHTTPS(proxy.protocol);
56 proxy.host = proxy.hostname || proxy.host;
57 if (typeof proxy.port === 'string') {
58 proxy.port = parseInt(proxy.port, 10);
60 if (!proxy.port && proxy.host) {
61 proxy.port = this.secureProxy ? 443 : 80;
65 if (this.secureProxy && !('ALPNProtocols' in proxy)) {
66 proxy.ALPNProtocols = ['http 1.1'];
68 if (proxy.host && proxy.path) {
[all …]

12345678910>>...46