/illumos-gate/usr/src/common/bignum/amd64/ |
H A D | bignum_amd64.c | 48 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 D | export_sec_context.c | 42 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 D | tohexstr.c | 35 * 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/oamuser/lib/ |
H A D | vprojname.c | 43 valid_projname(char *project, struct project *pptr, void *buf, size_t blen, argument 69 if ((t_pptr = getprojbyname(project, pptr, buf, blen)) != NULL)
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fvwrite.c | 136 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 D | import_sec_context.c | 91 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/lib/libc/port/gen/ |
H A D | getgrnam.c | 64 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 D | read.c | 131 int blen; member in struct:__anon1876 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 D | octet.c | 46 * 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 D | nb_name.c | 141 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 D | mult.c | 80 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 D | bignum_i386.c | 85 (*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 D | arp.c | 93 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 D | snoop_rip.c | 316 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 D | blok.c | 324 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/tools/ctf/dwarf/common/ |
H A D | pro_macinfo.c | 77 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 D | decode.c | 398 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 D | rpc_scan.c | 291 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 D | ldap_attr.c | 170 int blen = slen(base); local 171 new = am(myself, len + blen + 1); 174 (void) memcpy(&new[len], base, blen);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tab.c | 446 size_t blen; local 449 blen = 0; 451 blen = strlen(mcp->mtc_base); 452 return (mcp->mtc_match + blen);
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | defs.h | 147 size_t blen; /* Backing memory length. */ member in struct:__anon1347
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | filehdr.c | 90 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/nsswitch/dns/common/ |
H A D | dns_common.c | 401 size_t bsize, blen; local 448 blen = 0; 631 while (ancount-- > 0 && cp < eom && blen < bsize) { 727 if (blen + len > bsize) { 731 (void) strlcpy(bptr, np, bsize - blen); 732 blen += iplen; 735 blen++; 736 (void) strlcpy(bptr, host, bsize - blen); 737 blen += hlen; 741 blen [all...] |
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 694 int blen; local 739 blen = strlen(qdata.buffer); 740 len = ROUND_UP(blen, sizeof (nssuint_t)); 750 pbuf->data_len = blen;
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 982 int b, blen, plen, i; local 984 if ((blen = (*cp & 0xff)) == 0) 985 blen = 256; 986 plen = (blen + 3) / 4; 987 plen += sizeof("\\[x/]") + (blen > 99 ? 3 : (blen > 9) ? 2 : 1); 996 for (b = blen; b > 7; b -= 8, cp++) { 1016 i = SPRINTF((dn, "/%d]", blen)); 1035 int value = 0, count = 0, tbcount = 0, blen = 0; local 1055 blen [all...] |