/external/openssl/crypto/x509v3/ |
D | v3_conf.c | 77 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len); 179 int ext_len; in do_ext_i2d() local 186 ext_len = ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d() 187 if (ext_len < 0) goto merr; in do_ext_i2d() 192 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d() 193 if(!(ext_der = OPENSSL_malloc(ext_len))) goto merr; in do_ext_i2d() 199 ext_oct->length = ext_len; in do_ext_i2d() 265 long ext_len; in v3_generic_extension() local 277 ext_der = string_to_hex(value, &ext_len); in v3_generic_extension() 279 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension() [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
D | v3_conf.c | 76 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len); 178 int ext_len; in do_ext_i2d() local 185 ext_len = ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it)); in do_ext_i2d() 186 if (ext_len < 0) goto merr; in do_ext_i2d() 191 ext_len = method->i2d(ext_struc, NULL); in do_ext_i2d() 192 if(!(ext_der = OPENSSL_malloc(ext_len))) goto merr; in do_ext_i2d() 198 ext_oct->length = ext_len; in do_ext_i2d() 264 long ext_len; in v3_generic_extension() local 276 ext_der = string_to_hex(value, &ext_len); in v3_generic_extension() 278 ext_der = generic_asn1(value, ctx, &ext_len); in v3_generic_extension() [all …]
|
/external/chromium_org/content/browser/renderer_host/ |
D | font_utils_linux.cc | 198 const size_t ext_len = strlen(kSFNTExtensions[j]); in MatchFontFaceWithFallback() local 199 if (filename_len > ext_len && in MatchFontFaceWithFallback() 200 memcmp(c_filename + filename_len - ext_len, in MatchFontFaceWithFallback() 202 ext_len) == 0) { in MatchFontFaceWithFallback()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server_read.c | 57 u16 ext_type, ext_len; in tls_process_client_hello() local 217 ext_len = WPA_GET_BE16(pos); in tls_process_client_hello() 221 ext_len); in tls_process_client_hello() 222 if (end - pos != ext_len) { in tls_process_client_hello() 224 ext_len, (unsigned int) (end - pos)); in tls_process_client_hello() 249 ext_len = WPA_GET_BE16(pos); in tls_process_client_hello() 252 if (end - pos < ext_len) { in tls_process_client_hello() 260 "Extension data", pos, ext_len); in tls_process_client_hello() 264 conn->session_ticket = os_malloc(ext_len); in tls_process_client_hello() 267 ext_len); in tls_process_client_hello() [all …]
|
/external/e2fsprogs/misc/ |
D | filefrag.c | 132 unsigned long long ext_len; in print_extent_info() local 140 ext_len = fm_extent->fe_length >> blk_shift; in print_extent_info() 179 ext_len, flags); in print_extent_info()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | ssl_sess.c | 857 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) in SSL_set_session_ticket_ext() argument 867 s->tlsext_session_ticket = OPENSSL_malloc(sizeof(TLS_SESSION_TICKET_EXT) + ext_len); in SSL_set_session_ticket_ext() 876 s->tlsext_session_ticket->length = ext_len; in SSL_set_session_ticket_ext() 878 memcpy(s->tlsext_session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
|
/external/openssl/ssl/ |
D | ssl_sess.c | 944 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len) in SSL_set_session_ticket_ext() argument 954 s->tlsext_session_ticket = OPENSSL_malloc(sizeof(TLS_SESSION_TICKET_EXT) + ext_len); in SSL_set_session_ticket_ext() 963 s->tlsext_session_ticket->length = ext_len; in SSL_set_session_ticket_ext() 965 memcpy(s->tlsext_session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
|
D | ssl.h | 2191 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
|
/external/bluetooth/bluedroid/stack/bnep/ |
D | bnep_utils.c | 794 UINT16 len, ext_len = 0; in bnep_process_control_packet() local 798 ext_len = *p++; in bnep_process_control_packet() 879 p += (ext_len - 1); in bnep_process_control_packet() 880 *rem_len -= (ext_len - 1); in bnep_process_control_packet()
|
/external/chromium_org/net/base/ |
D | mime_util.cc | 253 size_t ext_len = strlen(ext); in FindMimeType() local 259 if (end_pos == ext_len && in FindMimeType() 260 base::strncasecmp(extensions, ext, ext_len) == 0) in FindMimeType()
|
/external/openssl/include/openssl/ |
D | ssl.h | 2191 int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
D | ssl.h | 2248 OPENSSL_EXPORT int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len);
|