Searched refs:nlen (Results 1 - 25 of 72) sorted by relevance

123

/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4dep.c56 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/lib/libcurses/screen/
H A Dprint.c238 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/cmd/mdb/common/modules/usba/
H A Dprtusb.c68 uint_t nlen; /* if it's an byte array, nlen += BYTE_OFFSET */ member in struct:usb_descr_item
504 static int prt_usb_ac_desc(uintptr_t paddr, uint_t nlen);
506 static int prt_usb_as_desc(uintptr_t paddr, uint_t nlen);
508 static int prt_usb_vc_desc(uintptr_t paddr, uint_t nlen);
510 static int prt_usb_vs_desc(uintptr_t paddr, uint_t nlen);
1026 uchar_t desc_type, nlen; local
1032 if (mdb_vread(&nlen, 1, paddr) == -1) {
1036 while ((paddr + nlen <= pend) && (nlen >
1190 prt_usb_ac_desc(uintptr_t addr, uint_t nlen) argument
1259 prt_usb_as_desc(uintptr_t addr, uint_t nlen) argument
1292 prt_usb_vc_desc(uintptr_t addr, uint_t nlen) argument
1349 prt_usb_vs_desc(uintptr_t addr, uint_t nlen) argument
1430 print_descr(uintptr_t addr, uint_t nlen, usb_descr_item_t *item, uint_t nitem) argument
1521 print_struct(uintptr_t addr, uint_t nlen, mdb_arg_t *arg) argument
1537 prt_usb_buf(uintptr_t addr, uint_t nlen) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_copy.c53 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/lib/libslp/javalib/com/sun/slp/
H A DOpaque.java91 int nlen = n / 3;
92 byte[] b = new byte[nlen];
114 if (len >= nlen) {
/illumos-gate/usr/src/common/net/dhcp/
H A Doctet.c53 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 Ddnssrv.c64 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/ldmad/
H A Dldma_device.c221 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/common/bignum/
H A Dmont_mulf.c238 * 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...]
H A Dbignumimpl.c1666 int i, j, nlen, needsubtract; local
1682 nlen = n->len;
1692 for (i = ret->len; i < 2 * nlen + 1; i++) {
1697 if ((big_cpu == BIG_CPU_INTEL) && (nlen <= BIGTMPSIZE)) {
1703 for (i = 0; i < nlen; i++) {
1706 carry[i] = BIG_MUL_ADD_VEC(rrplusi, nn, nlen, digit);
1708 for (i = 0; i < nlen; i++) {
1709 j = i + nlen;
1719 for (i = 0; i < nlen; i++) {
1722 c = BIG_MUL_ADD_VEC(rrplusi, nn, nlen, digi
2049 uint32_t bit, bitind, bitcount, nlen; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c485 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/uts/common/avs/ns/sdbc/
H A Dsd_pcu.c135 nsc_size_t nlen; local
149 nlen = min(len, CACHE_BLOCK_SIZE - src_off);
150 bcopy(&src->anon_data[src_off], dest, (size_t)nlen);
153 bcopy(src->anon_data, &dest[nlen], (size_t)CACHE_BLOCK_SIZE);
154 nlen += CACHE_BLOCK_SIZE;
157 if (nlen != len) {
158 bcopy(src->anon_data, &dest[nlen], (size_t)(len - nlen));
178 nsc_size_t nlen; local
192 nlen
[all...]
/illumos-gate/usr/src/uts/common/zmod/
H A Dinflate.h110 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
/illumos-gate/usr/src/boot/lib/libz/
H A Dinflate.h112 unsigned nlen; /* number of length code lengths */ member in struct:inflate_state
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c162 size_t nlen; local
208 sizeof (netname), &nlen);
209 if (nlen != 0) {
211 kmem_alloc(nlen, KM_SLEEP);
212 bcopy(netname, data->netname, nlen);
213 data->netnamelen = (int)nlen;
234 kmem_free(data->netname, nlen);
250 kmem_free(data->netname, nlen);
268 kmem_free(data->netname, nlen);
279 kmem_free(data->netname, nlen);
454 int nlen; local
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c391 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/uts/common/fs/bootfs/
H A Dbootfs_construct.c221 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/cmd/sgs/rtld/common/
H A Dpaths.c348 size_t olen = 0, nlen = 0, _len; local
357 while ((olen < *len) && (nlen < PATH_MAX)) {
381 if ((nlen += _len) < PATH_MAX) {
414 if ((nlen += _len) < PATH_MAX) {
450 nlen += scapset->sc_platsz;
451 if (nlen < PATH_MAX) {
487 nlen += scapset->sc_machsz;
488 if (nlen < PATH_MAX) {
516 if ((nlen += uts->uts_osnamesz) < PATH_MAX) {
544 if ((nlen
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c80 int nlen, plen, slen, lineno, fsize; local
112 plen = nlen = lineno = 0;
125 nlen = strlen(ptr) + 1; /* +1 terminator */
126 nlen += (plen + 1);
128 slen = snprintf(fbuf, nlen, "%s", ptr);
130 slen = snprintf(fbuf + plen, nlen - plen, ":%s", ptr);
1350 int len = 0, nlen = 0, plen = 0; local
1388 nlen = strlen(nbuf);
1389 plen = nlen;
1392 nlen
1742 int nlen, plen; local
1910 int nlen, plen, slen; local
[all...]
H A Dgetdaent.c504 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/uts/common/inet/ipf/netinet/
H A Dip_irc_pxy.c279 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/lib/efcode/engine/
H A Dproperties.c567 int nlen = (strlen((char *)data)+1); local
569 len -= nlen;
570 data += nlen;
624 int pcells, nlen; local
630 nlen = pcells*sizeof (uint32_t);
633 len -= nlen;
634 data += nlen;
676 int pcells, nlen; local
683 nlen = pcells*sizeof (uint32_t);
686 len -= nlen;
[all...]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_util.c415 size_t nlen; local
417 nlen = strlen(pname) + strlen(vname) + strlen(ARGEXT) + 3;
418 name = malloc(nlen);
423 (void) snprintf(name, nlen, "%s_%s_%s", locase(pname), vname, ARGEXT);
/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_pr.c46 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/isns/isnsd/
H A Disns_scn.h98 uint32_t nlen; member in struct:scn_registry

Completed in 161 milliseconds

123