Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 25 of 961) sorted by relevance

12345678910>>...39

/external/libevent/
Dbuffer.c138 (ptr)->internal_.chain = NULL; \
142 static void evbuffer_chain_align(struct evbuffer_chain *chain);
143 static int evbuffer_chain_should_realign(struct evbuffer_chain *chain,
153 static inline void evbuffer_chain_incref(struct evbuffer_chain *chain);
158 struct evbuffer_chain *chain; in evbuffer_chain_new() local
177 if ((chain = mm_malloc(to_alloc)) == NULL) in evbuffer_chain_new()
180 memset(chain, 0, EVBUFFER_CHAIN_SIZE); in evbuffer_chain_new()
182 chain->buffer_len = to_alloc - EVBUFFER_CHAIN_SIZE; in evbuffer_chain_new()
187 chain->buffer = EVBUFFER_CHAIN_EXTRA(unsigned char, chain); in evbuffer_chain_new()
189 chain->refcnt = 1; in evbuffer_chain_new()
[all …]
Dbuffer_iocp.c86 struct evbuffer_chain *next, *chain = eo->first_pinned; in pin_release() local
89 EVUTIL_ASSERT(chain); in pin_release()
90 next = chain->next; in pin_release()
91 evbuffer_chain_unpin_(chain, flag); in pin_release()
92 chain = next; in pin_release()
177 struct evbuffer_chain *chain; in evbuffer_launch_write_() local
202 chain = buf_o->first_pinned = buf->first; in evbuffer_launch_write_()
204 for (i=0; i < MAX_WSABUFS && chain; ++i, chain=chain->next) { in evbuffer_launch_write_()
206 b->buf = (char*)( chain->buffer + chain->misalign ); in evbuffer_launch_write_()
207 evbuffer_chain_pin_(chain, EVBUFFER_MEM_PINNED_W); in evbuffer_launch_write_()
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
Dchain_test.py24 from tensorflow.contrib.distributions.python.ops.bijectors.chain import Chain
50 chain = Chain((Exp(), Softplus()))
51 self.assertEqual("chain_of_exp_of_softplus", chain.name)
54 self.assertAllClose(1. + np.exp(x), chain.forward(x).eval())
55 self.assertAllClose(np.log(x - 1.), chain.inverse(x).eval())
58 chain.inverse_log_det_jacobian(x, event_ndims=1).eval())
61 chain.forward_log_det_jacobian(x, event_ndims=1).eval())
65 chain = Chain()
66 self.assertEqual("identity", chain.name)
69 self.assertAllClose(x, chain.forward(x).eval())
[all …]
/external/iptables/etc/
Dxtables.conf3 chain PREROUTING hook NF_INET_PRE_ROUTING prio -300
4 chain OUTPUT hook NF_INET_LOCAL_OUT prio -300
8 chain PREROUTING hook NF_INET_PRE_ROUTING prio -150
9 chain INPUT hook NF_INET_LOCAL_IN prio -150
10 chain FORWARD hook NF_INET_FORWARD prio -150
11 chain OUTPUT hook NF_INET_LOCAL_OUT prio -150
12 chain POSTROUTING hook NF_INET_POST_ROUTING prio -150
16 chain INPUT hook NF_INET_LOCAL_IN prio 0
17 chain FORWARD hook NF_INET_FORWARD prio 0
18 chain OUTPUT hook NF_INET_LOCAL_OUT prio 0
[all …]
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_x11.c647 struct x11_swapchain *chain = (struct x11_swapchain *)wsi_chain; in x11_get_wsi_image() local
648 return &chain->images[image_index].base; in x11_get_wsi_image()
652 x11_handle_dri3_present_event(struct x11_swapchain *chain, in x11_handle_dri3_present_event() argument
659 if (config->width != chain->extent.width || in x11_handle_dri3_present_event()
660 config->height != chain->extent.height) in x11_handle_dri3_present_event()
669 for (unsigned i = 0; i < chain->base.image_count; i++) { in x11_handle_dri3_present_event()
670 if (chain->images[i].pixmap == idle->pixmap) { in x11_handle_dri3_present_event()
671 chain->images[i].busy = false; in x11_handle_dri3_present_event()
672 if (chain->threaded) in x11_handle_dri3_present_event()
673 wsi_queue_push(&chain->acquire_queue, i); in x11_handle_dri3_present_event()
[all …]
Dwsi_common_wayland.c588 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; in wsi_wl_swapchain_get_wsi_image() local
589 return &chain->images[image_index].base; in wsi_wl_swapchain_get_wsi_image()
598 struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; in wsi_wl_swapchain_acquire_next_image() local
600 int ret = wl_display_dispatch_queue_pending(chain->display->wl_display, in wsi_wl_swapchain_acquire_next_image()
601 chain->display->queue); in wsi_wl_swapchain_acquire_next_image()
610 for (uint32_t i = 0; i < chain->base.image_count; i++) { in wsi_wl_swapchain_acquire_next_image()
611 if (!chain->images[i].busy) { in wsi_wl_swapchain_acquire_next_image()
614 chain->images[i].busy = true; in wsi_wl_swapchain_acquire_next_image()
622 int ret = wl_display_roundtrip_queue(chain->display->wl_display, in wsi_wl_swapchain_acquire_next_image()
623 chain->display->queue); in wsi_wl_swapchain_acquire_next_image()
[all …]
Dwsi_common.c109 struct wsi_swapchain *chain, in wsi_swapchain_init() argument
116 memset(chain, 0, sizeof(*chain)); in wsi_swapchain_init()
118 chain->wsi = wsi; in wsi_swapchain_init()
119 chain->device = device; in wsi_swapchain_init()
120 chain->alloc = *pAllocator; in wsi_swapchain_init()
121 chain->use_prime_blit = false; in wsi_swapchain_init()
123 chain->cmd_pools = in wsi_swapchain_init()
126 if (!chain->cmd_pools) in wsi_swapchain_init()
136 result = wsi->CreateCommandPool(device, &cmd_pool_info, &chain->alloc, in wsi_swapchain_init()
137 &chain->cmd_pools[i]); in wsi_swapchain_init()
[all …]
/external/iproute2/include/libiptc/
Dlibiptc.h28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
41 const struct ipt_entry *iptc_first_rule(const char *chain,
53 int iptc_builtin(const char *chain, struct xtc_handle *const handle);
56 const char *iptc_get_policy(const char *chain,
65 int iptc_insert_entry(const xt_chainlabel chain,
71 int iptc_replace_entry(const xt_chainlabel chain,
78 int iptc_append_entry(const xt_chainlabel chain,
83 int iptc_check_entry(const xt_chainlabel chain,
90 int iptc_delete_entry(const xt_chainlabel chain,
96 int iptc_delete_num_entry(const xt_chainlabel chain,
[all …]
Dlibip6tc.h24 int ip6tc_is_chain(const char *chain, struct xtc_handle *const handle);
37 const struct ip6t_entry *ip6tc_first_rule(const char *chain,
49 int ip6tc_builtin(const char *chain, struct xtc_handle *const handle);
52 const char *ip6tc_get_policy(const char *chain,
61 int ip6tc_insert_entry(const xt_chainlabel chain,
67 int ip6tc_replace_entry(const xt_chainlabel chain,
74 int ip6tc_append_entry(const xt_chainlabel chain,
79 int ip6tc_check_entry(const xt_chainlabel chain,
85 int ip6tc_delete_entry(const xt_chainlabel chain,
91 int ip6tc_delete_num_entry(const xt_chainlabel chain,
[all …]
/external/iptables/include/libiptc/
Dlibiptc.h28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
41 const struct ipt_entry *iptc_first_rule(const char *chain,
53 int iptc_builtin(const char *chain, struct xtc_handle *const handle);
56 const char *iptc_get_policy(const char *chain,
65 int iptc_insert_entry(const xt_chainlabel chain,
71 int iptc_replace_entry(const xt_chainlabel chain,
78 int iptc_append_entry(const xt_chainlabel chain,
83 int iptc_check_entry(const xt_chainlabel chain,
90 int iptc_delete_entry(const xt_chainlabel chain,
96 int iptc_delete_num_entry(const xt_chainlabel chain,
[all …]
Dlibip6tc.h24 int ip6tc_is_chain(const char *chain, struct xtc_handle *const handle);
37 const struct ip6t_entry *ip6tc_first_rule(const char *chain,
49 int ip6tc_builtin(const char *chain, struct xtc_handle *const handle);
52 const char *ip6tc_get_policy(const char *chain,
61 int ip6tc_insert_entry(const xt_chainlabel chain,
67 int ip6tc_replace_entry(const xt_chainlabel chain,
74 int ip6tc_append_entry(const xt_chainlabel chain,
79 int ip6tc_check_entry(const xt_chainlabel chain,
85 int ip6tc_delete_entry(const xt_chainlabel chain,
91 int ip6tc_delete_num_entry(const xt_chainlabel chain,
[all …]
/external/flac/libFLAC/
Dmetadata_iterators.c910 FLAC__Metadata_Chain *chain; member
947 static void chain_init_(FLAC__Metadata_Chain *chain) in chain_init_() argument
949 FLAC__ASSERT(0 != chain); in chain_init_()
951 chain->filename = 0; in chain_init_()
952 chain->is_ogg = false; in chain_init_()
953 chain->head = chain->tail = 0; in chain_init_()
954 chain->nodes = 0; in chain_init_()
955 chain->status = FLAC__METADATA_CHAIN_STATUS_OK; in chain_init_()
956 chain->initial_length = 0; in chain_init_()
957 chain->read_cb = 0; in chain_init_()
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestTrustManager.java86 public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
89 + "chain=" + chain.length + " " in checkClientTrusted()
93 trustManager.checkClientTrusted(chain, authType); in checkClientTrusted()
104 public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
107 + "chain=" + chain.length + " " in checkServerTrusted()
111 trustManager.checkServerTrusted(chain, authType); in checkServerTrusted()
145 public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
148 + "chain=" + chain.length + " " in checkClientTrusted()
152 trustManager.checkClientTrusted(chain, authType); in checkClientTrusted()
163 public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
[all …]
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestTrustManager.java88 public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
91 + "chain=" + chain.length + " " in checkClientTrusted()
95 trustManager.checkClientTrusted(chain, authType); in checkClientTrusted()
106 public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
109 + "chain=" + chain.length + " " in checkServerTrusted()
113 trustManager.checkServerTrusted(chain, authType); in checkServerTrusted()
147 public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
150 + "chain=" + chain.length + " " in checkClientTrusted()
154 trustManager.checkClientTrusted(chain, authType); in checkClientTrusted()
165 public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java69 @Override public Response intercept(Chain chain) throws IOException { in applicationInterceptorsCanShortCircuitResponses()
82 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotShortCircuitResponses()
84 .request(chain.request()) in networkInterceptorsCannotShortCircuitResponses()
112 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotCallProceedMultipleTimes()
113 chain.proceed(chain.request()); in networkInterceptorsCannotCallProceedMultipleTimes()
114 return chain.proceed(chain.request()); in networkInterceptorsCannotCallProceedMultipleTimes()
136 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsCannotChangeServerAddress()
137 Address address = chain.connection().getRoute().getAddress(); in networkInterceptorsCannotChangeServerAddress()
140 return chain.proceed(chain.request().newBuilder() in networkInterceptorsCannotChangeServerAddress()
164 @Override public Response intercept(Chain chain) throws IOException { in networkInterceptorsHaveConnectionAccess()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DTrustManagerImplTest.java135 X509Certificate[] chain = (X509Certificate[]) pke.getCertificateChain(); in testHttpsEndpointIdentification() local
136 X509Certificate root = chain[2]; in testHttpsEndpointIdentification()
152 List<X509Certificate> certs = tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification()
153 new FakeSSLSocket(new FakeSSLSession(badHostname, chain), params)); in testHttpsEndpointIdentification()
154 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification()
160 tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification()
161 new FakeSSLSocket(new FakeSSLSession(badHostname, chain), params)); in testHttpsEndpointIdentification()
165 certs = tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification()
166 new FakeSSLSocket(new FakeSSLSession(goodHostname, chain), params)); in testHttpsEndpointIdentification()
167 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification()
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/
DTrustManagerImplTest.java131 X509Certificate[] chain = (X509Certificate[]) pke.getCertificateChain(); in testHttpsEndpointIdentification() local
132 X509Certificate root = chain[2]; in testHttpsEndpointIdentification()
148 List<X509Certificate> certs = tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification()
149 new FakeSSLSocket(new FakeSSLSession(badHostname, chain), params)); in testHttpsEndpointIdentification()
150 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification()
156 tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification()
157 new FakeSSLSocket(new FakeSSLSession(badHostname, chain), params)); in testHttpsEndpointIdentification()
161 certs = tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification()
162 new FakeSSLSocket(new FakeSSLSession(goodHostname, chain), params)); in testHttpsEndpointIdentification()
163 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification()
[all …]
/external/eigen/bench/btl/generic_bench/utils/
Dutilities.h22 # define INFOS(chain) {HEREWEARE ; cerr << chain << endl ;} argument
23 # define PYSCRIPT(chain) {cout<<flush ; cerr << "---PYSCRIPT--- " << chain << endl ;} argument
59 # define MESSAGE(chain) {HERE ; cerr << chain << endl ;} argument
67 #define BEGIN_OF(chain) {REPERE ; HERE ; cerr << "Begin of: " << chain << endl ; REPERE ; } argument
68 #define END_OF(chain) {REPERE ; HERE ; cerr << "Normal end of: " << chain << endl ; REPERE ; } argument
76 # define MESSAGE(chain) argument
84 #define BEGIN_OF(chain) argument
85 #define END_OF(chain) argument
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DJarTransformerChain.java23 private final RemappingClassTransformer[] chain; field in JarTransformerChain
25 public JarTransformerChain(RemappingClassTransformer[] chain) { in JarTransformerChain() argument
26 this.chain = chain.clone(); in JarTransformerChain()
27 for (int i = chain.length - 1; i > 0; i--) { in JarTransformerChain()
28 chain[i - 1].setTarget(chain[i]); in JarTransformerChain()
33 chain[chain.length - 1].setTarget(v); in transform()
34 return chain[0]; in transform()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DCTVerifier.java41 public CTVerificationResult verifySignedCertificateTimestamps(List<X509Certificate> chain, in verifySignedCertificateTimestamps() argument
43 OpenSSLX509Certificate[] certs = new OpenSSLX509Certificate[chain.size()]; in verifySignedCertificateTimestamps()
45 for(X509Certificate cert : chain) { in verifySignedCertificateTimestamps()
57 public CTVerificationResult verifySignedCertificateTimestamps(OpenSSLX509Certificate[] chain, in verifySignedCertificateTimestamps() argument
59 if (chain.length == 0) { in verifySignedCertificateTimestamps()
63 OpenSSLX509Certificate leaf = chain[0]; in verifySignedCertificateTimestamps()
69 List<SignedCertificateTimestamp> ocspScts = getSCTsFromOCSPResponse(ocspData, chain); in verifySignedCertificateTimestamps()
72 List<SignedCertificateTimestamp> embeddedScts = getSCTsFromX509Extension(chain[0]); in verifySignedCertificateTimestamps()
73 verifyEmbeddedSCTs(embeddedScts, chain, result); in verifySignedCertificateTimestamps()
82 OpenSSLX509Certificate[] chain, in verifyEmbeddedSCTs() argument
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DCTVerifier.java37 public CTVerificationResult verifySignedCertificateTimestamps(List<X509Certificate> chain, in verifySignedCertificateTimestamps() argument
39 OpenSSLX509Certificate[] certs = new OpenSSLX509Certificate[chain.size()]; in verifySignedCertificateTimestamps()
41 for(X509Certificate cert : chain) { in verifySignedCertificateTimestamps()
53 public CTVerificationResult verifySignedCertificateTimestamps(OpenSSLX509Certificate[] chain, in verifySignedCertificateTimestamps() argument
55 if (chain.length == 0) { in verifySignedCertificateTimestamps()
59 OpenSSLX509Certificate leaf = chain[0]; in verifySignedCertificateTimestamps()
65 List<SignedCertificateTimestamp> ocspScts = getSCTsFromOCSPResponse(ocspData, chain); in verifySignedCertificateTimestamps()
68 List<SignedCertificateTimestamp> embeddedScts = getSCTsFromX509Extension(chain[0]); in verifySignedCertificateTimestamps()
69 verifyEmbeddedSCTs(embeddedScts, chain, result); in verifySignedCertificateTimestamps()
78 OpenSSLX509Certificate[] chain, in verifyEmbeddedSCTs() argument
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
62 $tcflags dst_mac $h2mac action goto chain 1
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
88 tc chain add dev $h2 ingress
97 tc chain add dev $h2 ingress chain 1
115 tc chain del dev $h2 ingress
118 tc chain del dev $h2 ingress chain 1
128 tc chain add dev $h2 ingress protocol ip \
[all …]
/external/conscrypt/common/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java82 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withOCSPResponse() local
86 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withOCSPResponse()
93 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withTLSExtension() local
97 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, null); in test_verifySignedCertificateTimestamps_withTLSExtension()
104 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { certEmbedded, ca }; in test_verifySignedCertificateTimestamps_withEmbeddedExtension() local
107 ctVerifier.verifySignedCertificateTimestamps(chain, null, null); in test_verifySignedCertificateTimestamps_withEmbeddedExtension()
114 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withoutTimestamp() local
117 ctVerifier.verifySignedCertificateTimestamps(chain, null, null); in test_verifySignedCertificateTimestamps_withoutTimestamp()
124 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withInvalidSignature() local
129 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, null); in test_verifySignedCertificateTimestamps_withInvalidSignature()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ct/
DCTVerifierTest.java86 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withOCSPResponse() local
90 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withOCSPResponse()
97 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withTLSExtension() local
101 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, null); in test_verifySignedCertificateTimestamps_withTLSExtension()
108 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { certEmbedded, ca }; in test_verifySignedCertificateTimestamps_withEmbeddedExtension() local
111 ctVerifier.verifySignedCertificateTimestamps(chain, null, null); in test_verifySignedCertificateTimestamps_withEmbeddedExtension()
118 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withoutTimestamp() local
121 ctVerifier.verifySignedCertificateTimestamps(chain, null, null); in test_verifySignedCertificateTimestamps_withoutTimestamp()
128 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withInvalidSignature() local
133 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, null); in test_verifySignedCertificateTimestamps_withInvalidSignature()
[all …]
/external/iptables/iptables/
Dnft.h70 int nft_chain_set(struct nft_handle *h, const char *table, const char *chain, const char *policy, c…
72 …nl_chain *nft_chain_list_find(struct nftnl_chain_list *list, const char *table, const char *chain);
74 int nft_chain_user_add(struct nft_handle *h, const char *chain, const char *table);
75 int nft_chain_user_del(struct nft_handle *h, const char *chain, const char *table);
76 int nft_chain_user_rename(struct nft_handle *h, const char *chain, const char *table, const char *n…
77 int nft_chain_zero_counters(struct nft_handle *h, const char *chain, const char *table);
84 int nft_rule_append(struct nft_handle *h, const char *chain, const char *table, void *data, uint64_…
85 int nft_rule_insert(struct nft_handle *h, const char *chain, const char *table, void *data, int rul…
86 int nft_rule_check(struct nft_handle *h, const char *chain, const char *table, void *data, bool ver…
87 int nft_rule_delete(struct nft_handle *h, const char *chain, const char *table, void *data, bool ve…
[all …]

12345678910>>...39