Home
last modified time | relevance | path

Searched refs:extlen (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/ssl/
Dt1_trce.c694 const unsigned char *ext, size_t extlen) in ssl_print_extension() argument
702 ssl_trace_str(extype, ssl_exts_tbl), extype, (int)extlen); in ssl_print_extension()
705 if (extlen < 1) in ssl_print_extension()
707 xlen = extlen; in ssl_print_extension()
711 if (extlen < 1) in ssl_print_extension()
714 if (extlen != xlen + 1) in ssl_print_extension()
719 if (extlen < 2) in ssl_print_extension()
722 if (extlen != xlen + 2) in ssl_print_extension()
726 if (extlen < 2) in ssl_print_extension()
729 if (extlen != xlen + 2) in ssl_print_extension()
[all …]
/third_party/openssl/crypto/x509v3/
Dv3_prn.c19 static int unknown_ext_print(BIO *out, const unsigned char *ext, int extlen,
76 int extlen; in X509V3_EXT_print() local
83 extlen = ASN1_STRING_length(extoct); in X509V3_EXT_print()
86 return unknown_ext_print(out, p, extlen, flag, indent, 0); in X509V3_EXT_print()
88 ext_str = ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print()
90 ext_str = method->d2i(NULL, &p, extlen); in X509V3_EXT_print()
93 return unknown_ext_print(out, p, extlen, flag, indent, 1); in X509V3_EXT_print()
173 static int unknown_ext_print(BIO *out, const unsigned char *ext, int extlen, in unknown_ext_print() argument
189 return ASN1_parse_dump(out, ext, extlen, indent, -1); in unknown_ext_print()
191 return BIO_dump_indent(out, (const char *)ext, extlen, indent); in unknown_ext_print()
Dv3_lib.c134 int extlen; in X509V3_EXT_d2i() local
140 extlen = ASN1_STRING_length(extvalue); in X509V3_EXT_d2i()
142 return ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_d2i()
143 return method->d2i(NULL, &p, extlen); in X509V3_EXT_d2i()
/third_party/gettext/gnulib-local/lib/
Daddext.c54 size_t slen = strlen (s), extlen = strlen (ext); in addext() local
58 if (slen + extlen <= _POSIX_NAME_MAX && ! HAVE_DOS_FILE_NAMES) in addext()
86 extlen = 9; /* Don't use EXT. */ in addext()
89 if (slen + extlen <= slen_max) in addext()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbuffer.c372 gsize extlen; in gst_rtp_buffer_map() local
386 extlen = GST_READ_UINT16_BE (extdata); in gst_rtp_buffer_map()
387 extlen *= sizeof (guint32); in gst_rtp_buffer_map()
389 extlen += 4; in gst_rtp_buffer_map()
392 if (G_UNLIKELY (rtp->map[1].size < extlen)) in gst_rtp_buffer_map()
395 rtp->size[1] = extlen; in gst_rtp_buffer_map()
1632 guint extlen, offset = 0; in gst_rtp_buffer_add_extension_onebyte_header() local
1650 extlen = offset + size + 1; in gst_rtp_buffer_add_extension_onebyte_header()
1652 wordlen_new = extlen / 4 + ((extlen % 4) ? 1 : 0); in gst_rtp_buffer_add_extension_onebyte_header()
1663 if (extlen % 4) in gst_rtp_buffer_add_extension_onebyte_header()
[all …]
Dgstrtpbasepayload.c1733 gsize extlen; in set_headers() local
1758 extlen = in set_headers()
1761 wordlen = extlen / 4 + ((extlen % 4) ? 1 : 0); in set_headers()
/third_party/openssl/crypto/x509/
Dx509_req.c186 int extlen; in X509_REQ_add_extensions_nid() local
190 extlen = ASN1_item_i2d((ASN1_VALUE *)exts, &ext, in X509_REQ_add_extensions_nid()
192 if (extlen <= 0) in X509_REQ_add_extensions_nid()
194 rv = X509_REQ_add1_attr_by_NID(req, nid, V_ASN1_SEQUENCE, ext, extlen); in X509_REQ_add_extensions_nid()
/third_party/gstreamer/gstplugins_bad/gst/rist/
Dgstristrtpdeext.c108 guint extlen; in gst_rist_rtp_deext_chain() local
126 if (!gst_rtp_buffer_get_extension_data (&rtp, &bits, &extdata, &extlen)) { in gst_rist_rtp_deext_chain()
139 if (extlen != 1) { in gst_rist_rtp_deext_chain()
251 hdrlen = orig_payload_offset - (4 + (extlen * 4)); in gst_rist_rtp_deext_chain()
Dgstristrtxsend.c589 guint extlen; in process_buffer() local
598 if (gst_rtp_buffer_get_extension_data (&rtp, &bits, &extdata, &extlen)) { in process_buffer()
601 if (extlen != 1) in process_buffer()
/third_party/weston/shared/
Dplatform.h49 size_t extlen = strlen(extension); in weston_check_egl_extension() local
64 if (n == extlen && strncmp(extension, extensions, n) == 0) in weston_check_egl_extension()
/third_party/ffmpeg/libavformat/
Did3v2.c863 int extlen = get_size(pb, 4); in id3v2_parse() local
866 extlen -= 4; in id3v2_parse()
868 if (extlen < 0) { in id3v2_parse()
872 avio_skip(pb, extlen); in id3v2_parse()
873 len -= extlen + 4; in id3v2_parse()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dristrtpext.c116 guint extlen; in validate_ext() local
127 &extlen)); in validate_ext()
130 fail_unless (extlen == 1); in validate_ext()
/third_party/glib/glib/
Dgfileutils.c398 int extlen; in g_file_test() local
418 extlen = strlen (lastdot); in g_file_test()
426 if (extlen == q - p && in g_file_test()
427 memcmp (lastdot, p, extlen) == 0) in g_file_test()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c338 int extlen = i2d_X509_EXTENSIONS(s->ext.ocsp.exts, NULL); in tls_construct_ctos_status_request() local
340 if (extlen < 0) { in tls_construct_ctos_status_request()
346 if (!WPACKET_allocate_bytes(pkt, extlen, &extbytes) in tls_construct_ctos_status_request()
348 != extlen) { in tls_construct_ctos_status_request()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtspacketizer.c457 guint8 extlen = *data++; in mpegts_packetizer_parse_adaptation_field_control() local
459 GST_DEBUG ("extension size:%d flags : %s%s%s", extlen, in mpegts_packetizer_parse_adaptation_field_control()