Home
last modified time | relevance | path

Searched refs:nsz (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/cmd/msgfmt/
H A Dgnu_check.c293 size_t osz, nsz; in check_format() local
426 nsz = str_len * 2; in check_format()
427 str_norm = (char *)Xcalloc(1, nsz); in check_format()
428 str_fmt = extract_format(str_norm, msgstr, nsz); in check_format()
461 nsz = plural_len * 2; in check_format()
462 plural_norm = (char *)Xcalloc(1, nsz); in check_format()
463 plural_fmt = extract_format(plural_norm, plural, nsz); in check_format()
473 nsz = p->len * 2; in check_format()
474 pstr_norm[i] = (char *)Xcalloc(1, nsz); in check_format()
476 msgstr + p->off, nsz); in check_format()
/titanic_44/usr/src/cmd/file/
H A Delf_read.c314 FILE_ELF_SIZE_T nsz, nmsz, dsz; in process_phdr() local
320 nsz = sizeof (Elf_Nhdr); in process_phdr()
341 if (pread64(EI->elffd, (void *)nhdr, nsz, offset) in process_phdr()
342 != nsz) in process_phdr()
353 offset += nsz + ((nmsz + 0x03) & ~0x3); in process_phdr()
/titanic_44/usr/src/cmd/mandoc/
H A Dpreconv.c315 size_t sz, phsz, nsz; in cue_enc() local
379 nsz = strlen(encs[i].name); in cue_enc()
380 if (phsz < nsz) in cue_enc()
382 if (strncasecmp(ln, encs[i].name, nsz)) in cue_enc()
H A Droff.c503 size_t nsz; /* size of the new buffer */ in roff_res() local
601 nsz = *szp + strlen(res) + 1; in roff_res()
602 nbuf = mandoc_malloc(nsz); in roff_res()
605 strlcat(nbuf, res, nsz); in roff_res()
606 strlcat(nbuf, cp + (maxl ? 0 : 1), nsz); in roff_res()
611 *szp = nsz; in roff_res()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c484 size_t osz, nsz; in check_format() local
513 nsz = strlen(new) * FORMAT_SIZE; in check_format()
514 nfmt = malloc(nsz); in check_format()
520 nlen = extract_format(new, nfmt, nsz, strict); in check_format()
/titanic_44/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c327 size_t nsz; in lufs_alloc_from_logbuf() local
337 nsz = roundup(sz, PAGESIZE); in lufs_alloc_from_logbuf()
338 if (np + nsz > LOGBUF_BASEADDR + LOGBUF_MAXSIZE) { in lufs_alloc_from_logbuf()
342 np = resalloc(RES_CHILDVIRT, nsz, np, 0UL); in lufs_alloc_from_logbuf()
349 elogbuffer = logbuf_curptr + nsz; in lufs_alloc_from_logbuf()
/titanic_44/usr/src/cmd/awk/
H A Dtran.c290 int i, nh, nsz; in rehash() local
293 nsz = GROWTAB * tp->size; in rehash()
294 np = (Cell **)calloc(nsz, sizeof (Cell *)); in rehash()
300 nh = hash(cp->nval, nsz); in rehash()
307 tp->size = nsz; in rehash()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c717 int nsz; in sendto() local
730 nsz = sizeof (we->we_utmp.out_name); in sendto()
732 nsz, in sendto()
733 nsz, in sendto()
/titanic_44/usr/src/lib/libscf/common/
H A Dscf_tmpl.c5924 int nsz = 0; /* err msg length */ in scf_tmpl_strerror() local
5936 nsz += ret; in scf_tmpl_strerror()
5938 buf = (sz > 0) ? s + nsz : NULL; in scf_tmpl_strerror()
5943 nsz += ret; in scf_tmpl_strerror()
5945 buf = (sz > 0) ? s + nsz : NULL; in scf_tmpl_strerror()
5954 nsz += ret; in scf_tmpl_strerror()
5956 buf = (sz > 0) ? s + nsz : NULL; in scf_tmpl_strerror()
5959 return (nsz); in scf_tmpl_strerror()
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_phys.c402 nwamd_set_key_name(const char *essid, const char *bssid, char *name, size_t nsz) in nwamd_set_key_name() argument
420 if (j == nsz - 1) in nwamd_set_key_name()
/titanic_44/usr/src/uts/common/dtrace/
H A Ddtrace.c9755 int i, oldsvars, osz, nsz, otlocals, ntlocals; in dtrace_difo_init() local
9782 nsz = ntlocals * sizeof (dtrace_difv_t); in dtrace_difo_init()
9784 tlocals = kmem_zalloc(nsz, KM_SLEEP); in dtrace_difo_init()