| /illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
| H A D | sun4dep.c | 56 int nlen, clen, i; local 58 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 || 59 nlen > sizeof (cpubuf) || 63 /* nlen includes the terminating null character */ 75 if ((clen + nlen) > sizeof (cpubuf)) 79 &cpubuf[nlen]) != clen) 81 clen += nlen; /* total length */
|
| /illumos-gate/usr/src/common/net/dhcp/ |
| H A D | octet.c | 53 octet_to_hexascii(const void *nump, uint_t nlen, char *bufp, uint_t *blen) argument 63 if ((nlen * 2) >= *blen) { 67 for (i = 0, bp = bufp, np = (const uchar_t *)nump; i < nlen; i++) {
|
| /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| H A D | dnssrv.c | 64 int size, ret, rdlen, nlen; local 126 nlen = krb5int_dns_expand(ds, p, host, sizeof(host)); 127 if (nlen < 0 || !INCR_OK(base, rdlen, p, nlen))
|
| /illumos-gate/usr/src/cmd/sendmail/db/mp/ |
| H A D | mp_pr.c | 46 size_t len, nlen; local 104 nlen = strlen(name); 105 len = sizeof(DB_MPOOL_FSTAT) + nlen + 1; 111 memcpy((*tfsp)->file_name, name, nlen + 1);
|
| /illumos-gate/usr/src/cmd/ldmad/ |
| H A D | ldma_device.c | 221 uint32_t nlen, reply_dlen; local 223 nlen = request->msg_info; 224 if (nlen == 0 || nlen > MAXPATHLEN || nlen > request_dlen) { 229 nic = malloc(nlen + 1); 235 (void) strncpy(nic, LDMA_HDR2DATA(request), nlen); 236 nic[nlen] = '\0';
|
| /illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
| H A D | ofw_copy.c | 53 size_t nlen; local 57 nlen = len; 72 nlen -= (last_dest + last_len) - dest; 83 if ((nlen + resid) < PAGE_SIZE*MAPMEM_PAGE_INC) { 86 dlen = roundup(nlen + resid, PAGE_SIZE);
|
| /illumos-gate/usr/src/cmd/isns/isnsd/ |
| H A D | isns_scn.h | 98 uint32_t nlen; member in struct:scn_registry
|
| /illumos-gate/usr/src/lib/rpcsec_gss/ |
| H A D | rpcsec_gss_utils.c | 151 int nlen = 0, slen = 0, plen; local 168 nlen = strlen(node); 171 if (nlen > 0) {
|
| /illumos-gate/usr/src/lib/libcurses/screen/ |
| H A D | print.c | 238 size_t nlen; local 271 case (int)pr_terminfo: nlen = strlen(infoname); 273 case (int)pr_cap: nlen = strlen(capname); 276 nlen = strlen(fullname); 280 if ((printed > 0) && (printed + nlen + vlen + 1 > width)) { 323 printed += nlen + 2; 327 printed += nlen + 1; 328 caplen += nlen + 1; 332 printed += nlen + 2; 338 printed += nlen 394 size_t nlen; local 544 size_t nlen, vlen; local [all...] |
| /illumos-gate/usr/src/lib/libnisdb/ |
| H A D | db_index_entry.cc | 38 db_index_entry::db_index_entry(char* name, int nlen, entryp ep) argument 40 if ((key = new item(name, nlen)) == NULL)
|
| /illumos-gate/usr/src/lib/libbsm/common/ |
| H A D | getdaent.c | 504 int i = 0, nlen = 0; local 510 nlen = 2; /* minlabel, maxlabel */ 512 nlen += kvap->length; 514 nlen++; 516 nlen++; 524 nkvap = _new_kva(nlen);
|
| /illumos-gate/usr/src/lib/libc/port/gen/ |
| H A D | nlspath_checks.c | 485 int olen, nlen; local 520 nlen = extract_format(new, nfmt, nsz, strict); 522 if (nlen == -1) { 532 if (strict && (olen != nlen || olen == -1)) { 542 if (strict && memcmp(ofmt, nfmt, nlen * FORMAT_SIZE) == 0) { 550 nlen *= FORMAT_SIZE; 552 for (n = nfmt; n = memchr(n, 'n', nfmt + nlen - n);
|
| /illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
| H A D | pem_encode.c | 204 int nlen, n, i, j, outl; local 223 nlen = strlen(name); 233 (void) memcpy(p, name, nlen); 234 p += nlen; 255 (void) memcpy(p, name, nlen); 256 p += nlen; 261 *outlen = i+outl+nlen*2+11+6+9+6;
|
| /illumos-gate/usr/src/common/bignum/ |
| H A D | mont_mulf.c | 238 * result[nlen+1], dm1[nlen], dm2[2*nlen+1], dt[4*nlen+2], dn[nlen], nint[nlen] 244 int nlen, double dn0) 253 pdm2[2 * nlen] = Zero; 255 if (nlen != 16) { 256 for (i = 0; i < 4 * nlen 241 mont_mulf_noconv(uint32_t *result, double *dm1, double *dm2, double *dt, double *dn, uint32_t *nint, int nlen, double dn0) argument [all...] |
| /illumos-gate/usr/src/common/crypto/rsa/ |
| H A D | rsa_impl.c | 112 int plen, qlen, nlen; local 116 nlen = plen + qlen; 122 if ((err = big_init(&(key->n), nlen)) != BIG_OK) 124 if ((err = big_init(&(key->d), nlen)) != BIG_OK) 126 if ((err = big_init(&(key->e), nlen)) != BIG_OK) 138 if ((err = big_init(&(key->n_rr), nlen)) != BIG_OK)
|
| /illumos-gate/usr/src/cmd/allocate/ |
| H A D | add_allocatable.c | 391 int nlen; local 440 nlen = strlen(DAOPT_MINLABEL) + strlen(KV_ASSIGN) + 444 if (nopts = (char *)malloc(nlen)) { 445 (void) snprintf(nopts, nlen, "%s%s%s%s%s%s%s", 456 nlen = strlen(devinfo->devopts) + 460 if (nopts = (char *)malloc(nlen)) { 461 (void) snprintf(nopts, nlen, 472 nlen = strlen(devinfo->devopts) + 476 if (nopts = (char *)malloc(nlen)) { 477 (void) snprintf(nopts, nlen, [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
| H A D | chap.c | 941 int clen, nlen; local 967 nlen = len - clen - 1; 974 print_string((char *)p, nlen, printer, arg);
|
| /illumos-gate/usr/src/cmd/ipf/tools/ |
| H A D | ipfs.c | 113 int fd, olen, nlen, rw; local 122 nlen = strlen(s); 124 if (nlen >= sizeof(ips.ips_is.is_ifname) || 168 int fd, olen, nlen, rw; local 178 nlen = strlen(s); 181 if (nlen >= sizeof(nat->nat_ifnames[0]) ||
|
| /illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
| H A D | smbfs_xattr.c | 248 int error, nlen; local 277 nlen = xnp->n_rplen - pnp->n_rplen; 282 error = smbfs_smb_lookup(pnp, &name, &nlen, fap, scrp); 284 smbfs_name_free(name, nlen);
|
| /illumos-gate/usr/src/uts/common/inet/ipf/ |
| H A D | ip_proxy.c | 728 int sel, ch = 0, out, nlen; local 738 nlen = ip->ip_len; 739 nlen -= (IP_HL(ip) << 2) + (TCP_OFF(tcp) << 2); 769 aps->aps_seqmin[sel] = seq1 + nlen - 1; 821 aps->aps_ackmin[!sel] = seq1 + nlen - 1;
|
| /illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
| H A D | ip_irc_pxy.c | 279 size_t nlen = 0, olen; local 340 nlen = strlen(newbuf); 341 inc = nlen - olen; 353 nm = allocb(nlen, BPRI_MED); 357 nm->b_wptr += nlen; 377 COPYBACK(m, off, nlen, newbuf);
|
| /illumos-gate/usr/src/uts/common/zmod/ |
| H A D | inflate.h | 110 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
|
| /illumos-gate/usr/src/uts/common/fs/bootfs/ |
| H A D | bootfs_construct.c | 221 size_t nlen; local 243 nlen = (ptrdiff_t)sp - (ptrdiff_t)p; 244 if (strncmp(p, ".", nlen) == 0) { 249 if (strncmp(p, "..", nlen) == 0) { 255 VERIFY(bootfs_mknode(bfs, bnp, &nbnp, p, nlen, 261 nlen = strlen(p); 262 ret = bootfs_mknode(bfs, bnp, &nbnp, p, nlen, &bootfs_vattr_reg,
|
| /illumos-gate/usr/src/uts/sun4/os/ |
| H A D | mlsetup.c | 332 int nlen, clen, i; local 339 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 || 340 nlen > sizeof (cpubuf) || 344 /* nlen includes the terminating null character */ 359 if ((clen + nlen) > sizeof (cpubuf)) 363 &cpubuf[nlen]) != clen) 365 clen += nlen; /* total length */
|
| /illumos-gate/usr/src/lib/libsmbfs/smb/ |
| H A D | ntlm.c | 570 int nlen; local 575 nlen = unicode_strlen(ucs); 577 nlen = 0; 579 nlen <<= 1; /* length in bytes, without null. */ 582 mb_put_uint16le(mbp, nlen); 583 mb_put_mem(mbp, (char *)ucs, nlen, MB_MSYSTEM);
|