Searched defs:blen (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64.c48 BIG_CHUNK_TYPE *b, int blen)
53 for (i = 1; i < blen; ++i)
47 big_mul_vec(BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int alen, BIG_CHUNK_TYPE *b, int blen) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dexport_sec_context.c42 size_t bufsize, blen; local
76 blen = bufsize;
79 (krb5_pointer) ctx, &obp, &blen)))
83 interprocess_token->length = bufsize - blen;
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c35 * blen
36 * hexlen should be 2 * blen + 1
41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) argument
46 for (i = 0; i < blen; i++) {
52 hexstr[2 * blen] = '\0';
67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) argument
74 *blen = 0;
84 *blen = (hexlen / 2);
86 b = malloc(*blen);
88 *blen
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfvwrite.c136 size_t blen = fp->f_p - fp->f_bf.smb_base; local
145 } while ((size_t) tsize < blen + len);
156 fp->f_p = tbase + blen;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dimport_sec_context.c91 size_t blen; local
119 blen = (size_t) interprocess_token->length;
120 kret = kg_ctx_internalize(context, (krb5_pointer *) &ctx, &ibp, &blen);
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvprojname.c41 valid_projname(char *project, struct project *pptr, void *buf, size_t blen, argument
67 if ((t_pptr = getprojbyname(project, pptr, buf, blen)) != NULL)
/illumos-gate/usr/src/cmd/bhyve/
H A Dusb_emul.c60 usb_data_xfer_append(struct usb_data_xfer *xfer, void *buf, int blen, argument
70 xb->blen = blen;
H A Dusb_emul.h96 * On input into the device handler, blen is set to the lenght of buf.
97 * The device handler is to update blen to reflect on the residual size
102 int blen; /* in:len(buf), out:len(remaining) */ member in struct:usb_data_xfer_block
161 void *buf, int blen, void *hci_data, int ccs);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetgrnam.c64 size_t blen; local
69 blen = _nss_get_bufsizes(0); /* default size */
71 blen = sysconf(_SC_GETGR_R_SIZE_MAX); /* max size */
73 if ((*buffer)->buflen >= blen) /* existing size fits */
77 b = NSS_XbyY_ALLOC(buffer, sizeof (struct group), blen);
/illumos-gate/usr/src/cmd/tail/
H A Dread.c131 int blen; member in struct:__anon1918
137 int blen, cnt, recno, wrap; local
143 blen = cnt = recno = wrap = 0;
147 if (++cnt > blen) {
148 if ((sp = realloc(sp, blen += 1024)) == NULL)
154 if ((int)llines[recno].blen < cnt) {
155 llines[recno].blen = cnt + 256;
157 llines[recno].blen)) == NULL)
/illumos-gate/usr/src/common/net/dhcp/
H A Doctet.c46 * NULL-terminated, and the length recorded in blen does *not* include the
53 octet_to_hexascii(const void *nump, uint_t nlen, char *bufp, uint_t *blen) argument
60 if (nump == NULL || bufp == NULL || blen == NULL)
63 if ((nlen * 2) >= *blen) {
64 *blen = 0;
72 *blen = i * 2;
82 hexascii_to_octet(const char *asp, uint_t alen, void *bufp, uint_t *blen) argument
88 if (asp == NULL || bufp == NULL || blen == NULL)
91 if (alen > (*blen * 2))
108 *blen
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb_name.c141 int len, blen; local
148 blen = *cp;
149 if (blen++ == 0)
151 len += blen;
152 cp += blen;
/illumos-gate/usr/src/lib/libmp/common/
H A Dmult.c80 int blen; local
87 blen = b->len;
89 c->len = alen + blen;
111 for (j = blen - 1; j > 0; j--) {
/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386.c85 (*big_mul_vec_impl)(uint32_t *r, uint32_t *a, int alen, uint32_t *b, int blen)
106 big_mul_vec_init(uint32_t *r, uint32_t *a, int alen, uint32_t *b, int blen) argument
109 (*big_mul_vec_impl)(r, a, alen, b, blen);
136 big_mul_vec_umul(uint32_t *r, uint32_t *a, int alen, uint32_t *b, int blen) argument
141 for (i = 1; i < blen; ++i)
/illumos-gate/usr/src/cmd/mdb/common/modules/arp/
H A Darp.c93 size_t blen; local
153 blen = 2 * (arp.arh.arh_hlen + arp.arh.arh_plen);
154 if (mdb_vread(&arp.addrs, blen, addr + sizeof (arp.arh)) == -1) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rip.c316 int blen, num; local
323 blen = get_line_remain();
324 (void) snprintf(cp, blen, "%-16s ",
327 blen -= 17;
331 (void) snprintf(cp, blen, "metric=%d",
333 blen -= strlen(cp);
342 (void) snprintf(cp, blen,
349 blen);
352 blen -= strlen(cp);
354 (void) snprintf(cp, blen,
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dblok.c324 size_t blen; local
331 blen = blklen(pp);
333 if (blen < nbytes) { /* need to grow */
335 memcpy(q, pp, blen);
338 } else if (blen == nbytes) { /* do nothing */
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_macinfo.c77 size_t blen = BASE_MACINFO_MALLOC_LEN; local
79 if (blen < maxlen) {
80 blen = 2 * maxlen;
82 len = sizeof(struct dw_macinfo_block_s) + blen;
91 newb->mb_avail_len = blen;
93 newb->mb_macinfo_data_space_len = blen;
102 size_t blen = local
104 if (blen < maxlen) {
105 blen = 2 * maxlen;
107 len = sizeof(struct dw_macinfo_block_s) + blen;
[all...]
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c398 kmfber_get_bitstringa(BerElement *ber, char **buf, ber_len_t *blen) argument
422 *blen = datalen * 8 - unusedbits;
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_scan.c291 size_t blen; local
295 blen = strlen(buf);
296 p = buf + blen;
298 (void) snprintf(p, sizeof (buf) - blen,
301 (void) snprintf(p, sizeof (buf) - blen,
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.c170 int blen = slen(base); local
171 new = am(myself, len + blen + 1);
174 (void) memcpy(&new[len], base, blen);
/illumos-gate/usr/src/cmd/sed/
H A Ddefs.h147 size_t blen; /* Backing memory length. */ member in struct:__anon1392
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dfilehdr.c90 unsigned blen; local
94 blen = HEADER_BUFFER + (infop ? ilen : 0) + 4;
95 blen = ROUND_DBL(blen);
97 if (!(buf = (unsigned char *)calloc(1, blen))) {
103 err = audio_encode_au(hdrp, infop, ilen, buf, &blen);
106 err = audio_encode_wav(hdrp, buf, &blen);
109 err = audio_encode_aiff(hdrp, buf, &blen);
120 err = write(fd, (char *)buf, (int)blen);
123 if (err != blen)
895 audio_encode_aiff(Audio_hdr *hdrp, unsigned char *buf, unsigned int *blen) argument
971 audio_encode_au(Audio_hdr *hdrp, char *infop, unsigned int ilen, unsigned char *buf, unsigned int *blen) argument
1130 audio_encode_wav(Audio_hdr *hdrp, unsigned char *buf, unsigned int *blen) argument
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsasl.c153 unsigned dlen, blen; local
202 blen = 4;
229 blen += ret;
235 sb->sb_sasl_ibuf, blen,
/illumos-gate/usr/src/cmd/sdiff/
H A Dsdiff.c822 static int blen = 0; local
830 blen = BUFSIZ;
834 if (fgets(bp, blen, fp) == NULL)
840 while ((sl = strlen(bp)) == blen-1 && *(bp+blen-2) != '\n') {
842 blen *= 2;
843 bp = (char *)realloc(bp, blen);
847 (void) fgets(bp+sl, blen-sl, fp);

Completed in 97 milliseconds

123