| /freebsd-12.1/lib/libc/net/ |
| H A D | ip6opt.c | 391 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init() argument 396 if (extlen <= 0 || (extlen % 8)) in inet6_opt_init() 398 ext->ip6e_len = (extlen >> 3) - 1; in inet6_opt_init() 440 if (extlen && /* XXX: right? */ in inet6_opt_append() 441 currentlen > extlen) in inet6_opt_append() 470 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) in inet6_opt_finish() argument 478 if (updatelen > extlen) in inet6_opt_finish() 510 if (extlen == 0 || (extlen % 8)) in inet6_opt_next() 512 lim = (u_int8_t *)extbuf + extlen; in inet6_opt_next() 559 if (extlen == 0 || (extlen % 8)) in inet6_opt_find() [all …]
|
| /freebsd-12.1/crypto/openssl/ssl/ |
| H A D | t1_trce.c | 702 if (extlen < 1) in ssl_print_extension() 704 xlen = extlen; in ssl_print_extension() 708 if (extlen < 1) in ssl_print_extension() 716 if (extlen < 2) in ssl_print_extension() 723 if (extlen < 2) in ssl_print_extension() 744 if (extlen < 2) in ssl_print_extension() 763 if (extlen < 1) in ssl_print_extension() 805 if (extlen < 2) in ssl_print_extension() 845 if (extlen < 1) in ssl_print_extension() 908 size_t extlen; in ssl_print_extensions() local [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/x509v3/ |
| H A D | v3_prn.c | 19 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()
|
| H A D | v3_lib.c | 134 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()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | graph.c | 230 size_t extlen = strlen (graph_ext[graph_dump_format]) + 1; in print_rtl_graph_with_bb() local 231 char *buf = alloca (namelen + extlen); in print_rtl_graph_with_bb() 238 memcpy (buf + namelen, graph_ext[graph_dump_format], extlen); in print_rtl_graph_with_bb() 393 size_t extlen = strlen (graph_ext[graph_dump_format]) + 1; in clean_graph_dump_file() local 394 char *buf = alloca (namelen + extlen); in clean_graph_dump_file() 398 memcpy (buf + namelen, graph_ext[graph_dump_format], extlen); in clean_graph_dump_file() 417 size_t extlen = strlen (graph_ext[graph_dump_format]) + 1; in finish_graph_dump_file() local 418 char *buf = alloca (namelen + extlen); in finish_graph_dump_file() 422 memcpy (buf + namelen, graph_ext[graph_dump_format], extlen); in finish_graph_dump_file()
|
| /freebsd-12.1/crypto/openssl/crypto/x509/ |
| H A D | x509_req.c | 186 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()
|
| /freebsd-12.1/usr.sbin/makefs/ |
| H A D | cd9660.c | 1614 int extlen = 0; in cd9660_level1_convert_filename() local 1617 while (*oldname != '\0' && extlen < 3) { in cd9660_level1_convert_filename() 1622 extlen ++; in cd9660_level1_convert_filename() 1647 extlen++; in cd9660_level1_convert_filename() 1659 return namelen + extlen + found_ext; in cd9660_level1_convert_filename() 1677 int extlen = 0; in cd9660_level2_convert_filename() local 1680 while (*oldname != '\0' && namelen + extlen < 30) { in cd9660_level2_convert_filename() 1689 extlen ++; in cd9660_level2_convert_filename() 1714 extlen++; in cd9660_level2_convert_filename() 1726 return namelen + extlen + found_ext; in cd9660_level2_convert_filename()
|
| /freebsd-12.1/stand/common/ |
| H A D | module.c | 739 int pathlen, extlen, len; in file_lookup() local 742 extlen = 0; in file_lookup() 747 if (len > extlen) in file_lookup() 748 extlen = len; in file_lookup() 750 result = malloc(pathlen + namelen + extlen + 2); in file_lookup()
|
| /freebsd-12.1/sys/netipsec/ |
| H A D | key_debug.c | 172 int tlen, extlen; in kdebug_sadb() local 262 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len); in kdebug_sadb() 263 tlen -= extlen; in kdebug_sadb() 264 ext = (struct sadb_ext *)((caddr_t)ext + extlen); in kdebug_sadb()
|
| H A D | key.c | 433 ((_mhp)->extlen[(_ext)] > maxsize[(_ext)]))) 577 int extlen[SADB_EXT_MAX + 1]; member 1893 len = mhp->extlen[idx]; in key_gather_mbuf() 2347 mhp->extlen[SADB_X_EXT_POLICY], M_NOWAIT); in key_spddelete2() 3395 len = mhp->extlen[SADB_EXT_KEY_AUTH]; in key_setsaval() 3433 len = mhp->extlen[SADB_EXT_KEY_ENCRYPT]; in key_setsaval() 8053 int extlen; in key_align() local 8127 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len); in key_align() 8129 if (key_validate_ext(ext, extlen)) { in key_align() 8135 n = m_pulldown(m, off, extlen, &toff); in key_align() [all …]
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | print-udp.c | 200 u_int i2, extlen; in rtp_print() local 203 extlen = (i2 & 0xffff) + 1; in rtp_print() 204 if (extlen > len) { in rtp_print() 208 ip += extlen; in rtp_print()
|
| /freebsd-12.1/sbin/ping6/ |
| H A D | ping6.c | 1865 socklen_t extlen, len; in pr_ip6opt() local 1872 extlen = (ext->ip6h_len + 1) * 8; in pr_ip6opt() 1874 (unsigned int)ext->ip6h_len, (unsigned long)extlen); in pr_ip6opt() 1880 if (bufsize < (extlen + CMSG_SPACE(0))) { in pr_ip6opt() 1881 extlen = bufsize - CMSG_SPACE(0); in pr_ip6opt() 1883 (unsigned int)(extlen / 8 - 1), in pr_ip6opt() 1889 currentlen = inet6_opt_next(extbuf, extlen, currentlen, in pr_ip6opt()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_linker.c | 1765 int error, len, extlen, reclen, flags; in linker_lookup_file() local 1768 extlen = 0; in linker_lookup_file() 1771 if (len > extlen) in linker_lookup_file() 1772 extlen = len; in linker_lookup_file() 1774 extlen++; /* trailing '\0' */ in linker_lookup_file() 1777 reclen = pathlen + strlen(sep) + namelen + extlen + 1; in linker_lookup_file()
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_lha.c | 2673 int extlen; in lzh_make_huffman_table() local 2731 extlen = len - HTBL_BITS; in lzh_make_huffman_table() 2747 while (--extlen > 0) { in lzh_make_huffman_table() 2790 int extlen; in lzh_decode_huffman_tree() local 2793 extlen = hf->shift_bits; in lzh_decode_huffman_tree() 2796 if (extlen-- <= 0 || c >= hf->tree_used) in lzh_decode_huffman_tree() 2798 if (rbits & (1U << extlen)) in lzh_decode_huffman_tree()
|
| H A D | archive_write_set_format_iso9660.c | 6126 int extlen = (int)strlen(dot); in isoent_gen_iso9660_identifier() local 6134 if (extlen > 1 && xdoff < fnmax-1) { in isoent_gen_iso9660_identifier() 6137 if (extlen > ffmax) in isoent_gen_iso9660_identifier() 6138 extlen = ffmax; in isoent_gen_iso9660_identifier() 6139 off = ffmax - extlen; in isoent_gen_iso9660_identifier() 6145 extlen --; in isoent_gen_iso9660_identifier() 6147 memmove(p+off, dot, extlen); in isoent_gen_iso9660_identifier()
|
| /freebsd-12.1/crypto/openssl/ssl/statem/ |
| H A D | extensions_clnt.c | 338 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()
|
| /freebsd-12.1/sys/powerpc/mpc85xx/ |
| H A D | fsl_sata.c | 975 int i, j, len, extlen; in fsl_sata_dmasetprd() local 994 extlen = 0; in fsl_sata_dmasetprd() 1002 extlen += len; in fsl_sata_dmasetprd() 1007 htole32(FSL_SATA_PRD_SNOOP | FSL_SATA_PRD_EXT | extlen); in fsl_sata_dmasetprd()
|
| /freebsd-12.1/stand/libsa/ |
| H A D | cd9660.c | 110 char extlen [ISODCL( 2, 2)]; /* 711 */ member
|
| /freebsd-12.1/sys/compat/ndis/ |
| H A D | subr_ntoskrnl.c | 695 IoAllocateDriverObjectExtension(drv, clid, extlen, ext) argument 698 uint32_t extlen; 704 + extlen, 0);
|