Home
last modified time | relevance | path

Searched refs:blen (Results 26 – 50 of 72) sorted by relevance

123

/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_scan.c291 size_t blen; in get_token() local
295 blen = strlen(buf); in get_token()
296 p = buf + blen; in get_token()
298 (void) snprintf(p, sizeof (buf) - blen, in get_token()
301 (void) snprintf(p, sizeof (buf) - blen, in get_token()
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c89 int blen, pos; in get_ldap_bindDN() local
106 blen = strlen(bindDN); in get_ldap_bindDN()
109 if ((blen > 0) && (bindDN[blen - 1] == '\n')) { in get_ldap_bindDN()
110 bindDN[blen - 1] = '\0'; in get_ldap_bindDN()
111 blen -= 1; in get_ldap_bindDN()
115 if (blen > 0) { in get_ldap_bindDN()
116 for (pos = blen - 1; pos >= 0; pos--) { in get_ldap_bindDN()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfvwrite.c134 size_t blen = fp->f_p - fp->f_bf.smb_base; variable
143 } while ((size_t) tsize < blen + len);
154 fp->f_p = tbase + blen;
/illumos-gate/usr/src/cmd/bhyve/
H A Dusb_emul.h101 int blen; /* in:len(buf), out:len(remaining) */ member
160 void *buf, int blen, void *hci_data, int ccs);
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c329 size_t blen; in rngprov_getbytes_nblk() local
337 blen = 0; in rngprov_getbytes_nblk()
388 blen = min(MINEXTRACTBYTES, len); in rngprov_getbytes_nblk()
389 bcopy(rndbuf, ptr, blen); in rngprov_getbytes_nblk()
393 ptr += blen; in rngprov_getbytes_nblk()
394 len -= blen; in rngprov_getbytes_nblk()
395 total_bytes += blen; in rngprov_getbytes_nblk()
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c1036 blen = bb->len; in big_div_pos()
1041 while ((blen > 1) && (b[blen - 1] == 0)) { in big_div_pos()
1042 blen = blen - 1; in big_div_pos()
1044 bb->len = blen; in big_div_pos()
1083 highb = b[blen - 1]; in big_div_pos()
1577 blen = bb->len; in big_mul()
1582 while ((blen > 1) && (b[blen - 1] == 0)) { in big_mul()
1583 blen--; in big_mul()
1585 bb->len = blen; in big_mul()
1587 rsize = alen + blen; in big_mul()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c1599 blen -= len; in sumarg_open()
1603 blen -= len; in sumarg_open()
1607 blen -= len; in sumarg_open()
1611 blen -= len; in sumarg_open()
2455 blen -= len; in sumres_access()
2459 blen -= len; in sumres_access()
2463 blen -= len; in sumres_access()
2467 blen -= len; in sumres_access()
2715 blen -= len; in sumres_open()
2720 blen -= len; in sumres_open()
[all …]
/illumos-gate/usr/src/cmd/sed/
H A Dprocess.c697 if (sp->len + (reqlen) + 1 >= sp->blen) { \ in regsub()
698 sp->blen += (reqlen) + 1024; \ in regsub()
699 if ((sp->back = realloc(sp->back, sp->blen)) == NULL) \ in regsub()
743 if (tlen > sp->blen) { in cspace()
744 sp->blen = tlen + 1024; in cspace()
745 if ((sp->space = sp->back = realloc(sp->back, sp->blen)) == in cspace()
H A Ddefs.h147 size_t blen; /* Backing memory length. */ member
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dcryptoutil.h197 extern void tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen);
199 size_t *blen);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c722 static void print_natlog(log, buf, blen) in print_natlog() argument
725 int blen;
808 int blen;
925 int logtype, blen;
931 while (blen > 0) {
936 bp = (char *)malloc(blen);
941 bcopy((char *)ipl, bp, blen);
951 if (psize > blen)
972 blen -= psize;
981 static void print_ipflog(log, buf, blen) in print_ipflog() argument
[all …]
/illumos-gate/usr/src/cmd/oawk/
H A Drun.c1095 size_t blen, newlen, sslen, orslen, ofslen, oslen; in print() local
1101 blen = 0; in print()
1118 newlen = blen + sslen + oslen; in print()
1131 (void) wmemcpy(bp, oldbp, blen); in print()
1133 (void) wmemcpy(bp + blen, ss, sslen); in print()
1134 (void) wmemcpy(bp + blen + sslen, os, oslen); in print()
1136 blen = newlen; in print()
1137 bp[blen] = '\0'; in print()
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.c170 int blen = slen(base); in appendBase() local
171 new = am(myself, len + blen + 1); in appendBase()
174 (void) memcpy(&new[len], base, blen); in appendBase()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_common.c1579 size_t len, blen; in nss_pack_dbd() local
1585 blen = bufsize - off; in nss_pack_dbd()
1609 if ((len + n + nc + dc) >= blen) { in nss_pack_dbd()
1652 size_t blen, len, off = 0; in nss_pack() local
1697 blen = bufsize - off; in nss_pack()
1706 ret = nss_default_key2str(bptr, blen, in, dbn, in nss_pack()
1712 ret = nss_default_key2str(bptr, blen, in, dbn, in nss_pack()
1715 ret = (*in->key2str)(bptr, blen, &in->key, &len); in nss_pack()
1757 size_t blen, len = 0, off = 0; in nss_pack_ent() local
1790 blen = bufsize - off; in nss_pack_ent()
[all …]
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c692 int blen; in _nss_mdns_gethost_withttl() local
737 blen = strlen(qdata.buffer); in _nss_mdns_gethost_withttl()
738 len = ROUND_UP(blen, sizeof (nssuint_t)); in _nss_mdns_gethost_withttl()
748 pbuf->data_len = blen; in _nss_mdns_gethost_withttl()
/illumos-gate/usr/src/uts/common/io/
H A Dtimod.c690 size_t blen; in timodrproc() local
747 blen = MBLKL(mp); in timodrproc()
748 if (blen < sizeof (t_scalar_t)) { in timodrproc()
807 if (blen < sizeof (pptr->ok_ack)) { in timodrproc()
894 if (blen < sizeof (*ackp)) { in timodrproc()
979 if (blen < sizeof (*tia)) { in timodrproc()
1087 deficit = expected_ack_size - blen; in timodrproc()
1113 tmp->b_wptr += blen; in timodrproc()
1189 if (blen >= sizeof (*tcip) && in timodrproc()
1230 if (blen < sizeof (*disp)) { in timodrproc()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dencode.c287 ber_len_t blen /* in bits */, ber_tag_t tag ) in ber_put_bitstring() argument
298 len = ( blen + 7 ) / 8; in ber_put_bitstring()
299 unusedbits = (unsigned char) (len * 8 - blen); in ber_put_bitstring()
/illumos-gate/usr/src/cmd/dis/
H A Ddis_target.c161 size_t blen; in sym_compare() local
234 blen = strlen(symb->se_name); in sym_compare()
236 if (alen < blen) in sym_compare()
238 else if (alen > blen) in sym_compare()
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dencode.c345 ber_len_t blen /* in bits */, ber_tag_t tag) in kmfber_put_bitstring() argument
356 len = (blen + 7) / 8; in kmfber_put_bitstring()
357 unusedbits = (unsigned char) (len * 8 - blen); in kmfber_put_bitstring()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c153 unsigned dlen, blen; in nsldapi_sasl_read() local
202 blen = 4; in nsldapi_sasl_read()
229 blen += ret; in nsldapi_sasl_read()
235 sb->sb_sasl_ibuf, blen, in nsldapi_sasl_read()
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c988 int blen; /* bytes of length */ in asn1length() local
992 blen = **astream & 0x7f; in asn1length()
993 if (blen > 3) { in asn1length()
996 for (++*astream, length = 0; blen; ++*astream, blen--) { in asn1length()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dstreams.c1233 uint64_t blen = ~0UL; in mblk_prt() local
1265 'b', MDB_OPT_UINT64, &blen, in mblk_prt()
1276 (llen != ~0UL) || (blen != ~0UL) || (dbaddr != 0)) in mblk_prt()
1355 if ((blen != ~0UL) && (blen != (dblk.db_lim - dblk.db_base))) in mblk_prt()
/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386_asm.S61 big_mul_vec_sse2(uint32_t *r, uint32_t *a, int alen, uint32_t *b, int blen)
755 / big_mul_vec_sse2(uint32_t *r, uint32_t *a, int alen, uint32_t *b, int blen)
760 / for (i = 1; i < blen; ++i)
846 movl 24(%ebp), %eax / blen
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h351 char *buf, size_t blen);
406 static int s_readlink(const char *link, char *buf, size_t blen);
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxencons.c771 int len, space, blen; in xcasync_start() local
838 blen = bp->b_wptr - bp->b_rptr; in xcasync_start()
839 cc = min(blen, space); in xcasync_start()
842 if (cc == blen) { in xcasync_start()

123