Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_check.c291 size_t osz, nsz; in check_format() local
424 nsz = str_len * 2; in check_format()
425 str_norm = (char *)Xcalloc(1, nsz); in check_format()
426 str_fmt = extract_format(str_norm, msgstr, nsz); in check_format()
459 nsz = plural_len * 2; in check_format()
460 plural_norm = (char *)Xcalloc(1, nsz); in check_format()
461 plural_fmt = extract_format(plural_norm, plural, nsz); in check_format()
471 nsz = p->len * 2; in check_format()
472 pstr_norm[i] = (char *)Xcalloc(1, nsz); in check_format()
474 msgstr + p->off, nsz); in check_format()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_xr.c69 size_t ssz, nsz, tsz; in mandoc_xr_add() local
78 nsz = strlen(name) + 1; in mandoc_xr_add()
79 tsz = ssz + nsz; in mandoc_xr_add()
88 memcpy(xr->name, name, nsz); in mandoc_xr_add()
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c315 FILE_ELF_SIZE_T nsz, nmsz, dsz; in process_phdr() local
321 nsz = sizeof (Elf_Nhdr); in process_phdr()
342 if (pread64(EI->elffd, (void *)nhdr, nsz, offset) in process_phdr()
343 != nsz) in process_phdr()
354 offset += nsz + ((nmsz + 0x03) & ~0x3); in process_phdr()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c482 size_t osz, nsz; in check_format() local
511 nsz = strlen(new) * FORMAT_SIZE; in check_format()
512 nfmt = malloc(nsz); in check_format()
518 nlen = extract_format(new, nfmt, nsz, strict); in check_format()
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c325 size_t nsz; in lufs_alloc_from_logbuf() local
335 nsz = roundup(sz, PAGESIZE); in lufs_alloc_from_logbuf()
336 if (np + nsz > LOGBUF_BASEADDR + LOGBUF_MAXSIZE) { in lufs_alloc_from_logbuf()
340 np = resalloc(RES_CHILDVIRT, nsz, np, 0UL); in lufs_alloc_from_logbuf()
347 elogbuffer = logbuf_curptr + nsz; in lufs_alloc_from_logbuf()
/illumos-gate/usr/src/cmd/awk/
H A Dtran.c327 int i, nh, nsz; in rehash() local
330 nsz = GROWTAB * tp->size; in rehash()
331 np = (Cell **)calloc(nsz, sizeof (Cell *)); in rehash()
337 nh = hash(cp->nval, nsz); in rehash()
344 tp->size = nsz; in rehash()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c715 int nsz; in sendto() local
728 nsz = sizeof (we->we_utmp.out_name); in sendto()
730 nsz, in sendto()
731 nsz, in sendto()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsyms.c937 size_t nsz; in sym_add_bounds() local
941 nsz = snprintf(symn, sizeof (symn), "%s%s", in sym_add_bounds()
943 if (nsz >= sizeof (symn)) in sym_add_bounds()
947 nsz = snprintf(symn, sizeof (symn), "%s%s", in sym_add_bounds()
949 if (nsz >= sizeof (symn)) in sym_add_bounds()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c10120 int i, oldsvars, osz, nsz, otlocals, ntlocals; in dtrace_difo_init() local
10147 nsz = ntlocals * sizeof (dtrace_difv_t); in dtrace_difo_init()
10149 tlocals = kmem_zalloc(nsz, KM_SLEEP); in dtrace_difo_init()