/external/libevent/ |
D | buffer.c | 139 static void evbuffer_chain_align(struct evbuffer_chain *chain); 140 static int evbuffer_chain_should_realign(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(u_char, chain); in evbuffer_chain_new() 189 return (chain); in evbuffer_chain_new() 193 evbuffer_chain_free(struct evbuffer_chain *chain) in evbuffer_chain_free() argument 195 if (CHAIN_PINNED(chain)) { in evbuffer_chain_free() [all …]
|
D | buffer_iocp.c | 85 struct evbuffer_chain *next, *chain = eo->first_pinned; in pin_release() local 88 EVUTIL_ASSERT(chain); in pin_release() 89 next = chain->next; in pin_release() 90 _evbuffer_chain_unpin(chain, flag); in pin_release() 91 chain = next; in pin_release() 176 struct evbuffer_chain *chain; in evbuffer_launch_write() local 201 chain = buf_o->first_pinned = buf->first; in evbuffer_launch_write() 203 for (i=0; i < MAX_WSABUFS && chain; ++i, chain=chain->next) { in evbuffer_launch_write() 205 b->buf = (char*)( chain->buffer + chain->misalign ); in evbuffer_launch_write() 206 _evbuffer_chain_pin(chain, EVBUFFER_MEM_PINNED_W); in evbuffer_launch_write() [all …]
|
/external/iproute2/include/libiptc/ |
D | libip6tc.h | 24 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 …]
|
D | libiptc.h | 28 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 …]
|
/external/iptables/include/libiptc/ |
D | libiptc.h | 28 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 …]
|
D | libip6tc.h | 24 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/boringssl/src/ssl/ |
D | ssl_cert.c | 180 if (cert->chain) { in ssl_cert_dup() 181 ret->chain = X509_chain_up_ref(cert->chain); in ssl_cert_dup() 182 if (!ret->chain) { in ssl_cert_dup() 208 sk_X509_pop_free(cert->chain, X509_free); in ssl_cert_clear_certs() 209 cert->chain = NULL; in ssl_cert_clear_certs() 227 int ssl_cert_set0_chain(CERT *cert, STACK_OF(X509) *chain) { in ssl_cert_set0_chain() argument 228 sk_X509_pop_free(cert->chain, X509_free); in ssl_cert_set0_chain() 229 cert->chain = chain; in ssl_cert_set0_chain() 233 int ssl_cert_set1_chain(CERT *cert, STACK_OF(X509) *chain) { in ssl_cert_set1_chain() argument 235 if (chain == NULL) { in ssl_cert_set1_chain() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | InterceptorTest.java | 69 @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/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | JarTransformerChain.java | 23 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/eigen/bench/btl/generic_bench/utils/ |
D | utilities.h | 22 # 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/conscrypt/src/test/java/org/conscrypt/ct/ |
D | CTVerifierTest.java | 65 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withOCSPResponse() local 69 ctVerifier.verifySignedCertificateTimestamps(chain, null, ocspResponse); in test_verifySignedCertificateTimestamps_withOCSPResponse() 75 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withTLSExtension() local 79 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, null); in test_verifySignedCertificateTimestamps_withTLSExtension() 85 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { certEmbedded, ca }; in test_verifySignedCertificateTimestamps_withEmbeddedExtension() local 88 ctVerifier.verifySignedCertificateTimestamps(chain, null, null); in test_verifySignedCertificateTimestamps_withEmbeddedExtension() 94 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withoutTimestamp() local 97 ctVerifier.verifySignedCertificateTimestamps(chain, null, null); in test_verifySignedCertificateTimestamps_withoutTimestamp() 103 OpenSSLX509Certificate[] chain = new OpenSSLX509Certificate[] { cert, ca }; in test_verifySignedCertificateTimestamps_withInvalidSignature() local 108 ctVerifier.verifySignedCertificateTimestamps(chain, tlsExtension, null); in test_verifySignedCertificateTimestamps_withInvalidSignature() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
D | ClassTransformerChain.java | 21 private ClassTransformer[] chain; field in ClassTransformerChain 23 public ClassTransformerChain(ClassTransformer[] chain) { in ClassTransformerChain() argument 24 this.chain = (ClassTransformer[])chain.clone(); in ClassTransformerChain() 28 super.setTarget(chain[0]); in setTarget() 30 for (int i = chain.length - 1; i >= 0; i--) { in setTarget() 31 chain[i].setTarget(next); in setTarget() 32 next = chain[i]; in setTarget() 47 for (int i = 0; i < chain.length; i++) { in toString() 51 sb.append(chain[i].toString()); in toString()
|
/external/v8/test/mjsunit/es6/ |
D | promises.js | 144 (new Promise(function() { throw 5 })).chain( 153 Promise.accept(5).chain(undefined, assertUnreachable).chain( 161 Promise.reject(5).chain(assertUnreachable, undefined).chain( 169 Promise.accept(5).then(undefined, assertUnreachable).chain( 174 Promise.accept(6).then(null, assertUnreachable).chain( 182 Promise.reject(5).then(assertUnreachable, undefined).chain( 187 Promise.reject(6).then(assertUnreachable, null).chain( 199 p3.chain( 221 p3.chain( 243 p3.chain(function(x) { return x }, assertUnreachable).chain( [all …]
|
/external/iptables/iptables/ |
D | iptables-save.c | 62 const char *chain = NULL; in do_output() local 84 for (chain = iptc_first_chain(h); in do_output() 85 chain; in do_output() 86 chain = iptc_next_chain(h)) { in do_output() 88 printf(":%s ", chain); in do_output() 89 if (iptc_builtin(chain, h)) { in do_output() 92 iptc_get_policy(chain, &count, h)); in do_output() 99 for (chain = iptc_first_chain(h); in do_output() 100 chain; in do_output() 101 chain = iptc_next_chain(h)) { in do_output() [all …]
|
D | ip6tables-save.c | 64 const char *chain = NULL; in do_output() local 86 for (chain = ip6tc_first_chain(h); in do_output() 87 chain; in do_output() 88 chain = ip6tc_next_chain(h)) { in do_output() 90 printf(":%s ", chain); in do_output() 91 if (ip6tc_builtin(chain, h)) { in do_output() 94 ip6tc_get_policy(chain, &count, h)); in do_output() 101 for (chain = ip6tc_first_chain(h); in do_output() 102 chain; in do_output() 103 chain = ip6tc_next_chain(h)) { in do_output() [all …]
|
D | ip6tables.c | 434 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header() argument 437 const char *pol = ip6tc_get_policy(chain, &counters, handle); in print_header() 438 printf("Chain %s", chain); in print_header() 451 if (!ip6tc_get_references(&refs, chain, handle)) in print_header() 641 append_entry(const xt_chainlabel chain, in append_entry() argument 663 ret &= ip6tc_append_entry(chain, fw, handle); in append_entry() 671 replace_entry(const xt_chainlabel chain, in replace_entry() argument 686 return ip6tc_replace_entry(chain, fw, rulenum, handle); in replace_entry() 690 insert_entry(const xt_chainlabel chain, in insert_entry() argument 713 ret &= ip6tc_insert_entry(chain, fw, rulenum, handle); in insert_entry() [all …]
|
D | iptables.c | 419 print_header(unsigned int format, const char *chain, struct xtc_handle *handle) in print_header() argument 422 const char *pol = iptc_get_policy(chain, &counters, handle); in print_header() 423 printf("Chain %s", chain); in print_header() 436 if (!iptc_get_references(&refs, chain, handle)) in print_header() 626 append_entry(const xt_chainlabel chain, in append_entry() argument 648 ret &= iptc_append_entry(chain, fw, handle); in append_entry() 656 replace_entry(const xt_chainlabel chain, in replace_entry() argument 671 return iptc_replace_entry(chain, fw, rulenum, handle); in replace_entry() 675 insert_entry(const xt_chainlabel chain, in insert_entry() argument 698 ret &= iptc_insert_entry(chain, fw, rulenum, handle); in insert_entry() [all …]
|
D | iptables-xml.c | 90 struct chain { struct 91 char *chain; argument 98 static struct chain chains[maxChains]; argument 236 openChain(char *chain, char *policy, struct xt_counters *ctr, char close) in openChain() argument 240 strncpy(curChain, chain, XT_CHAIN_MAXNAMELEN); in openChain() 257 existsChain(char *chain) in existsChain() argument 262 if (0 == strcmp(curChain, chain)) in existsChain() 265 if (chains[c].chain && strcmp(chains[c].chain, chain) == 0) in existsChain() 271 needChain(char *chain) in needChain() argument 276 if (0 == strcmp(curChain, chain)) in needChain() [all …]
|
D | ip6tables-restore.c | 323 char *policy, *chain; in ip6tables_restore_main() local 325 chain = strtok(buffer+1, " \t\n"); in ip6tables_restore_main() 326 DEBUGP("line %u, chain '%s'\n", line, chain); in ip6tables_restore_main() 327 if (!chain) { in ip6tables_restore_main() 334 if (strlen(chain) >= XT_EXTENSION_MAXNAMELEN) in ip6tables_restore_main() 338 chain, XT_EXTENSION_MAXNAMELEN - 1); in ip6tables_restore_main() 340 if (ops->builtin(chain, handle) <= 0) { in ip6tables_restore_main() 341 if (noflush && ops->is_chain(chain, handle)) { in ip6tables_restore_main() 342 DEBUGP("Flushing existing user defined chain '%s'\n", chain); in ip6tables_restore_main() 343 if (!ops->flush_entries(chain, handle)) in ip6tables_restore_main() [all …]
|
D | iptables-restore.c | 323 char *policy, *chain; in iptables_restore_main() local 325 chain = strtok(buffer+1, " \t\n"); in iptables_restore_main() 326 DEBUGP("line %u, chain '%s'\n", line, chain); in iptables_restore_main() 327 if (!chain) { in iptables_restore_main() 334 if (strlen(chain) >= XT_EXTENSION_MAXNAMELEN) in iptables_restore_main() 338 chain, XT_EXTENSION_MAXNAMELEN - 1); in iptables_restore_main() 340 if (ops->builtin(chain, handle) <= 0) { in iptables_restore_main() 341 if (noflush && ops->is_chain(chain, handle)) { in iptables_restore_main() 342 DEBUGP("Flushing existing user defined chain '%s'\n", chain); in iptables_restore_main() 343 if (!ops->flush_entries(chain, handle)) in iptables_restore_main() [all …]
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
D | Platform.java | 142 X509Certificate[] chain, String authType, Class<?> argumentClass, in checkTrusted() argument 150 method.invoke(tm, chain, authType, argumentInstance); in checkTrusted() 162 public static void checkClientTrusted(X509TrustManager tm, X509Certificate[] chain, in checkClientTrusted() argument 166 x509etm.checkClientTrusted(chain, authType, socket); in checkClientTrusted() 167 } else if (!checkTrusted("checkClientTrusted", tm, chain, authType, Socket.class, socket) in checkClientTrusted() 168 && !checkTrusted("checkClientTrusted", tm, chain, authType, String.class, in checkClientTrusted() 170 tm.checkClientTrusted(chain, authType); in checkClientTrusted() 174 public static void checkServerTrusted(X509TrustManager tm, X509Certificate[] chain, in checkServerTrusted() argument 178 x509etm.checkServerTrusted(chain, authType, socket); in checkServerTrusted() 179 } else if (!checkTrusted("checkServerTrusted", tm, chain, authType, Socket.class, socket) in checkServerTrusted() [all …]
|
D | PinListEntry.java | 96 public boolean isChainValid(List<X509Certificate> chain) { in isChainValid() argument 97 boolean containsUserCert = chainContainsUserCert(chain); in isChainValid() 99 for (X509Certificate cert : chain) { in isChainValid() 106 logPinFailure(chain, containsUserCert); in isChainValid() 141 private boolean chainContainsUserCert(List<X509Certificate> chain) { in chainContainsUserCert() argument 145 for (X509Certificate cert : chain) { in chainContainsUserCert() 153 private void logPinFailure(List<X509Certificate> chain, boolean containsUserCert) { in logPinFailure() argument 154 PinFailureLogger.log(cn, containsUserCert, enforcing, chain); in logPinFailure()
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | ObjectExplorer.java | 104 Chain chain = stack.pop(); in exploreObject() local 106 ObjectVisitor.Traversal traversal = visitor.visit(chain); in exploreObject() 114 @Nonnull Object value = chain.getValue(); in exploreObject() 126 visitor.visit(chain.appendArrayIndex(i, childValue)); in exploreObject() 130 visitor.visit(chain.appendArrayIndex(i, childValue)); in exploreObject() 133 stack.push(chain.appendArrayIndex(i, childValue)); in exploreObject() 153 visitor.visit(chain.appendField(field, childValue)); in exploreObject() 157 Chain extendedChain = chain.appendField(field, childValue); in exploreObject() 179 @Override public boolean apply(Chain chain) { in apply() argument 180 return seen.add(chain.getValue()); in apply() [all …]
|
/external/conscrypt/src/main/java/org/conscrypt/ct/ |
D | CTVerifier.java | 41 public CTVerificationResult verifySignedCertificateTimestamps(OpenSSLX509Certificate[] chain, in verifySignedCertificateTimestamps() argument 43 if (chain.length == 0) { in verifySignedCertificateTimestamps() 47 OpenSSLX509Certificate leaf = chain[0]; in verifySignedCertificateTimestamps() 53 List<SignedCertificateTimestamp> ocspScts = getSCTsFromOCSPResponse(ocspData, chain); in verifySignedCertificateTimestamps() 56 List<SignedCertificateTimestamp> embeddedScts = getSCTsFromX509Extension(chain[0]); in verifySignedCertificateTimestamps() 57 verifyEmbeddedSCTs(embeddedScts, chain, result); in verifySignedCertificateTimestamps() 66 OpenSSLX509Certificate[] chain, in verifyEmbeddedSCTs() argument 74 if (chain.length >= 2) { in verifyEmbeddedSCTs() 75 OpenSSLX509Certificate leaf = chain[0]; in verifyEmbeddedSCTs() 76 OpenSSLX509Certificate issuer = chain[1]; in verifyEmbeddedSCTs() [all …]
|
/external/valgrind/coregrind/ |
D | m_execontext.c | 77 struct _ExeContext* chain; member 169 for (ec = ec_htab[i]; ec; ec = ec->chain) { in VG_() 182 for (ec = ec_htab[i]; ec; ec = ec->chain) in VG_() 314 ExeContext* next = cur->chain; in resize_ec_htab() 317 cur->chain = new_ec_htab[hash]; in resize_ec_htab() 397 list = list->chain; in record_ExeContext_wrk2() 407 vg_assert(prev2->chain == prev); in record_ExeContext_wrk2() 408 vg_assert(prev->chain == list); in record_ExeContext_wrk2() 409 prev2->chain = list; in record_ExeContext_wrk2() 410 prev->chain = list->chain; in record_ExeContext_wrk2() [all …]
|