/titanic_44/usr/src/cmd/msgfmt/ |
H A D | gnu_check.c | 293 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 D | elf_read.c | 314 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 D | preconv.c | 315 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 D | roff.c | 503 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 D | nlspath_checks.c | 484 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 D | lufsboot.c | 327 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 D | tran.c | 290 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 D | in.rwhod.c | 717 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 D | scf_tmpl.c | 5924 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 D | ncu_phys.c | 402 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 D | dtrace.c | 9755 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()
|