/freebsd-current/contrib/bearssl/test/ |
H A D | test_x509.c | 406 size_t ptr, blen; local 408 blen = 1024; 409 buf = xmalloc(blen); 414 if (ptr == blen) { 417 blen <<= 1; 418 buf2 = xmalloc(blen); 423 rlen = fread(buf + ptr, 1, blen - ptr, f);
|
/freebsd-current/sys/netinet6/ |
H A D | icmp6.c | 1621 ni6_dnsmatch(const char *a, int alen, const char *b, int blen) argument 1627 if (alen == blen && bcmp(a, b, alen) == 0) 1634 if (alen < 2 || blen < 2) 1636 if (a0[alen - 1] != '\0' || b0[blen - 1] != '\0') 1639 blen--; 1641 while (a - a0 < alen && b - b0 < blen) { 1642 if (a - a0 + 1 > alen || b - b0 + 1 > blen) 1654 if (b[0] == 0 && b - b0 == blen - 1) 1662 if (a - a0 + 1 + l > alen || b - b0 + 1 + l > blen) 1671 if (a - a0 == alen && b - b0 == blen) [all...] |
H A D | in6.c | 1969 int dst_scope = in6_addrscope(dst), blen = -1, tlen; local 2004 if (blen == -1) 2005 blen = in6_matchlen(&besta->ia_addr.sin6_addr, dst); 2007 if (tlen > blen) { 2008 blen = tlen;
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_nmea.c | 282 int blen; /* buffer length */ member in struct:__anon34 1267 data->blen = dlen; 1284 data->blen--; 1391 cp = data->base + data->blen; 1392 if (data->blen >= 3 && cp[-3] == '*')
|
H A D | refclock_parse.c | 1634 size_t blen, 1644 if (blen < 4) 1647 endb = buffer + blen - sizeof(ellipsis); 1649 blen--; /* account for '\0' */ 1651 while (blen && srclen--) 1659 blen--; 1663 if (blen < 4) 1665 while (blen--) 1678 blen -= 2; 1683 snprintf(buffer, blen, "\\ 1632 mkreadable( char *buffer, size_t blen, const char *src, size_t srclen, int hex ) argument 1703 mkascii( char *buffer, long blen, const char *src, u_long srclen ) argument [all...] |
/freebsd-current/crypto/openssh/ |
H A D | ssh-keygen.c | 648 int r, blen, escaped = 0; local 660 while ((blen = get_line(fp, line, sizeof(line))) != -1) { 661 if (blen > 0 && line[blen - 1] == '\\') 2288 size_t blen = 0, linesize = 0; local 2376 hash_to_blob(cp, &blob, &blen, file, lnum); 2377 r = ssh_krl_revoke_key_sha256(krl, blob, blen); 2406 SSH_DIGEST_SHA1, &blob, &blen) != 0) { 2410 r = ssh_krl_revoke_key_sha1(krl, blob, blen); 2413 SSH_DIGEST_SHA256, &blob, &blen) ! [all...] |
H A D | serverloop.c | 687 size_t blen, slen; local 697 if ((r = sshpkt_get_string_direct(ssh, &blob, &blen)) != 0 || 698 (r = sshkey_from_blob(blob, blen, &key)) != 0) {
|
/freebsd-current/contrib/file/src/ |
H A D | file.h | 460 size_t blen; /* Length of buffer */ member in struct:magic_set::out 623 size_t blen; member in struct:__anon12
|
/freebsd-current/usr.bin/join/ |
H A D | join.c | 265 size_t blen = 0; local 311 if ((len = getline(&buf, &blen, F->fp)) < 0) {
|
/freebsd-current/sys/dev/axgbe/ |
H A D | xgbe-sysctl.c | 297 int blen = strlen(buf); local 302 for (i = 0; i < blen; i++) { 306 if (i >= blen) 317 if (i >= blen)
|
H A D | xgbe.h | 1132 unsigned int blen; member in struct:xgbe_prv_data
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_cscope.c | 155 size_t blen, len; local 175 GET_SPACE_RETC(sp, bp, blen, len); 184 FREE_SPACE(sp, bp, blen);
|
H A D | ex.c | 2210 size_t blen; local 2213 GET_SPACE_GOTOW(sp, bp, blen, len + 1); 2217 FREE_SPACEW(sp, bp, blen);
|
/freebsd-current/contrib/ncurses/form/ |
H A D | frm_driver.c | 379 | Function : static char *Get_Start_Of_Data(char * buf, int blen) 387 Get_Start_Of_Data(FIELD_CELL *buf, int blen) argument 390 FIELD_CELL *end = &buf[blen]; 392 assert(buf && blen >= 0); 400 | Function : static char *After_End_Of_Data(char * buf, int blen) 409 After_End_Of_Data(FIELD_CELL *buf, int blen) argument 411 FIELD_CELL *p = &buf[blen]; 413 assert(buf && blen >= 0); 422 | char * buf, int blen) 429 Get_First_Whitespace_Character(FIELD_CELL *buf, int blen) argument 451 After_Last_Whitespace_Character(FIELD_CELL *buf, int blen) argument [all...] |
/freebsd-current/crypto/openssl/test/ |
H A D | dhtest.c | 54 int i, alen, blen, clen, aout, bout, cout; local 214 blen = DH_size(b); 215 if (!TEST_ptr(bbuf = OPENSSL_malloc(blen)) 668 int i, alen, blen, aout, bout; local 700 blen = DH_size(b); 701 if (!TEST_int_gt(blen, 0) || !TEST_ptr(bbuf = OPENSSL_malloc(blen))
|
/freebsd-current/contrib/one-true-awk/ |
H A D | run.c | 479 size_t blen; local 485 blen = 0; 486 buf[blen] = '\0'; 494 size_t tlen = blen + slen + nsub; 500 memcpy(buf + blen, s, slen); 502 memcpy(buf + blen + slen, *SUBSEP, nsub); 505 blen = tlen;
|
/freebsd-current/contrib/sendmail/src/ |
H A D | queue.c | 6151 ** blen -- strlen(basedir). 6167 multiqueue_cache(basedir, blen, qg, qn, phash) 6169 int blen; 6232 if (strncmp(basedir, qpath, blen) != 0 && 6233 (strncmp(basedir, qpath, blen - 1) != 0 || len != blen - 1)) 6242 if (blen < len && SM_FIRST_DIR_DELIM(qg->qg_qdir + blen) != NULL) 6246 if (sm_strlcpy(prefix, qg->qg_qdir + blen, sizeof(prefix)) >= 6260 SM_ASSERT(len >= blen [all...] |
H A D | savemail.c | 1103 int blen; local 1109 while ((blen = sm_io_fgets(e->e_parent->e_xfp, SM_TIME_DEFAULT, 1116 if (!putxline(buf, blen, mci, PXLF_MAPFROM))
|
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_sge.c | 1754 int len, blen; local 1760 blen = rxb->size2 - fl->rx_offset; /* max possible in this buf */ 1761 len = min(remaining, blen); 1767 blen = len + pad; 1768 MPASS(fl->rx_offset + blen <= rxb->size2); 1771 blen = rxb->size1; 1772 len = min(remaining, blen); 1793 fl->rx_offset += blen; 1806 m_extaddref(m, payload, blen, &clm->refcount, rxb_free, clm, 1809 fl->rx_offset += blen; 1878 int len, blen; local [all...] |
/freebsd-current/contrib/unbound/util/data/ |
H A D | msgparse.c | 137 uint8_t win, blen, bits; local 144 blen = sldns_buffer_read_u8(pkt); 148 if(win == 0 && blen >= 1 && (bits & 0x02)) {
|
/freebsd-current/lib/libpmc/pmu-events/ |
H A D | jevents.c | 131 int blen = bt ? json_len(bt) : 0; local 134 out = realloc(*dst, len + olen + blen); 147 strncat(*dst, map + bt->start, blen);
|
/freebsd-current/sys/kern/ |
H A D | kern_linker.c | 2001 int error, ival, bestver, *intp, found, flags, clen, blen; local 2053 clen = blen = 0; 2079 blen = clen; 2093 result = linker_lookup_file(path, pathlen, best, blen, &mattr);
|
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cmd.c | 1100 size_t blen; local 1104 blen = size - min_t(size_t, sizeof(msg->first.data), size); 1105 n = howmany(blen, MLX5_CMD_DATA_BLOCK_SIZE);
|
/freebsd-current/lib/libfetch/ |
H A D | common.c | 732 size_t blen) 736 if (alen != blen) 731 fetch_ssl_hname_equal(const char *a, size_t alen, const char *b, size_t blen) argument
|
/freebsd-current/contrib/libxo/libxo/ |
H A D | libxo.c | 5271 ssize_t blen = abswidth - xop->xo_anchor_columns; local 5273 if (blen <= 0) /* Already over width */ 5283 char *buf = alloca(blen); 5284 memset(buf, ' ', blen); 5285 xo_format_content(xop, "padding", NULL, buf, blen, NULL, 0, 0); 5302 if (delta > blen) 6206 ssize_t blen = fend[max_fend] - base; local 6209 if (blen == 0) 6212 buf = xo_realloc(NULL, blen); 6216 memcpy(buf, xbp->xb_bufp + fstart[min_fstart], blen); /* Cop [all...] |