/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | memmgr.c | 129 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; local 130 for (chunksz = pgsz; chunksz < nsz; chunksz *= 2); 202 /* Allocate nsz = 2^idx >= sz bytes */ 204 unsigned nsz = 1 << idx; local 205 while (nsz < sz) 206 nsz = 1 << ++idx; 218 Tprintf (DBG_LT2, "memmgr: allocCSize %p sz %d (0x%x) req = 0x%x, from chain idx = %d\n", res, nsz, nsz, sz, idx); 232 if (chnk->lo + nsz < chnk->hi) 238 Tprintf (DBG_LT2, "__collector_allocCSize (%u) calling alloc_chunk(%u)\n", sz, nsz); 274 unsigned nsz = 1 << idx; local [all...] |
/netbsd-current/external/bsd/jemalloc/dist/test/integration/ |
H A D | mallocx.c | 121 size_t nsz, rsz; local 123 nsz = nallocx(sz, 0); 124 assert_zu_ne(nsz, 0, "Unexpected nallocx() error"); 130 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch"); 138 nsz = nallocx(sz, MALLOCX_ZERO); 139 assert_zu_ne(nsz, 0, "Unexpected nallocx() error"); 143 nsz); 145 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch"); 164 size_t nsz, rsz, alignment, total; local 180 nsz [all...] |
H A D | sdallocx.c | 13 size_t nsz, sz, alignment, total; local 29 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | 33 total += nsz;
|
H A D | xallocx.c | 317 size_t sz, nsz; local 344 for (sz = szmin; sz < szmax; sz = nsz) { 345 nsz = nallocx(sz+1, flags); 346 if (xallocx(p, sz+1, 0, flags) != nsz) { 352 assert_false(validate_fill(p, 0x00, sz, nsz-sz), 353 "Memory not filled: sz=%zu, nsz-sz=%zu", sz, nsz-sz); 354 memset((void *)((uintptr_t)p + sz), FILL_BYTE, nsz-sz); 355 assert_false(validate_fill(p, FILL_BYTE, 0, nsz), 356 "Memory not filled: nsz [all...] |
/netbsd-current/bin/pax/ |
H A D | cpio.c | 190 rd_nm(ARCHD *arcn, int nsz) argument 195 if ((nsz <= 0) || (nsz > (int)sizeof(arcn->name))) { 196 tty_warn(1, "Cpio file name length %d is out of range", nsz); 203 if ((rd_wrbuf(arcn->name,nsz) != nsz) || (arcn->name[nsz-1] != '\0') || 285 int nsz; local 318 if ((nsz = (int)asc_u32(hd->c_namesize,sizeof(hd->c_namesize),OCT)) < 2) 320 arcn->nlen = nsz 385 int nsz; local 561 int nsz; local 683 unsigned int nsz; local 865 int nsz; local 980 int nsz; local [all...] |
/netbsd-current/external/bsd/mdocml/dist/ |
H A D | mandoc_xr.c | 67 size_t ssz, nsz, tsz; local 76 nsz = strlen(name) + 1; 77 tsz = ssz + nsz; 86 memcpy(xr->name, name, nsz);
|
/netbsd-current/external/bsd/ipf/dist/samples/ |
H A D | proxy.c | 235 size_t nsz, osz; local 248 nsz = sizeof(netbuf); 262 if (nsz < sizeof(netbuf)) 273 nsz -= i; 304 nsz += i; 305 if (nsz == sizeof(netbuf) || nwptr == nrptr) {
|
/netbsd-current/external/bsd/elftoolchain/dist/libelf/ |
H A D | libelf_ar.c | 219 size_t nsz, sz; local 278 LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE, 10, &nsz) == 0) { 283 member = (char *) (arh + 1) + nsz; 284 sz -= nsz;
|
/netbsd-current/external/bsd/jemalloc/dist/test/unit/ |
H A D | prof_reset.c | 242 size_t sz, nsz; local 260 nsz = nallocx(sz+1, 0); 261 assert_zu_eq(xallocx(p, nsz, 0, 0), sz,
|
/netbsd-current/sys/kern/ |
H A D | subr_specificdata.c | 185 size_t nsz; local 203 nsz = (sd->sd_nkey + 1) * sizeof(*newkeys); 205 newkeys = kmem_zalloc(nsz, KM_SLEEP);
|
H A D | kern_sysctl.c | 716 int error, ni, at, nm, type, nsz, sz, flags, anum, v; local 810 nsz = 0; 811 while (nsz < SYSCTL_NAMELEN && nnode.sysctl_name[nsz] != '\0') { 812 if ((nnode.sysctl_name[nsz] >= '0' && 813 nnode.sysctl_name[nsz] <= '9') || 814 (nnode.sysctl_name[nsz] >= 'A' && 815 nnode.sysctl_name[nsz] <= 'Z') || 816 (nnode.sysctl_name[nsz] >= 'a' && 817 nnode.sysctl_name[nsz] < [all...] |
H A D | subr_pool.c | 3153 size_t nsz; local 3187 nsz = roundup(pp->pr_size + redzsz, pp->pr_align); 3188 if (nsz <= (pp->pr_alloc->pa_pagesz / 2)) { 3190 pp->pr_size = nsz;
|
/netbsd-current/external/historical/nawk/dist/ |
H A D | tran.c | 276 int i, nh, nsz; local 279 nsz = GROWTAB * tp->size; 280 np = calloc(nsz, sizeof(*np)); 286 nh = hash(cp->nval, nsz); 293 tp->size = nsz;
|
/netbsd-current/sys/lib/libsa/ |
H A D | minixfs3.c | 345 size_t block_size, nsz; local 383 nsz = (size_t)(fp->f_di.mdi_size - fp->f_seekp); 384 if (*size_p > nsz) 385 *size_p = nsz;
|
/netbsd-current/external/bsd/file/dist/src/ |
H A D | compress.c | 278 size_t i, nsz; local 315 nsz = nbytes; 318 (ms->flags & MAGIC_NO_COMPRESS_FORK), buf, &newbuf, &nsz); 320 (char *)newbuf, nsz); 329 nsz);
|
/netbsd-current/sbin/sysctl/ |
H A D | sysctl.c | 2513 size_t osz, nsz; local 2522 nsz = sizeof(nlim); 2537 nsz = 0; 2541 rc = prog_sysctl(name, namelen, &olim, &osz, newp, nsz); 2632 size_t osz, nsz; local 2646 nsz = sizeof(m); 2673 nsz = 0; 2677 rc = prog_sysctl(name, namelen, &o, &osz, newp, nsz); 2763 size_t osz, nsz; local 2773 nsz [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/utils/vim/syntax/ |
H A D | llvm.vim | 32 syn keyword llvmStatement mul nand ne ninf nnan nsw nsz nuw oeq oge ogt ole
|
/netbsd-current/crypto/external/bsd/heimdal/dist/tests/kdc/ |
H A D | check-iprop.in | 172 read nsz < tmp 174 dd bs=1 if=current.log skip=$sz of=current.log.tmp.saved-record count=`expr $nsz - $sz` 2>/dev/null
|
/netbsd-current/external/public-domain/sqlite/sqlite2mdoc/ |
H A D | main.c | 631 size_t nsz; local 687 nsz = len == 0 ? 1 : len; 690 d->desc = calloc(1, nsz + 1); 694 d->desc = realloc(d->desc, d->descsz + nsz + 1); 699 d->descsz += nsz;
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 560 KEYWORD(nsz);
|
/netbsd-current/usr.bin/xlint/lint1/ |
H A D | tree.c | 3812 convert_constant_check_range_bitor(size_t nsz, size_t osz, const val_t *v, argument 3815 if (nsz < osz && (v->u.integer & xmask) != 0) 3821 convert_constant_check_range_bitand(size_t nsz, size_t osz, argument 3826 if (nsz > osz && 3832 } else if (nsz < osz &&
|
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | gimple-ssa-warn-access.cc | 1670 size_t nsz, dsz; local 1673 char *nts = cplus_demangle_print (0, pnc, 16, &nsz);
|
/netbsd-current/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | Makefile | 164 berlin2-sony-nsz-gs7.dtb \
|
/netbsd-current/external/cddl/osnet/dist/uts/common/dtrace/ |
H A D | dtrace.c | 10863 int i, oldsvars, osz, nsz, otlocals, ntlocals; 10890 nsz = ntlocals * sizeof (dtrace_difv_t); 10892 tlocals = kmem_zalloc(nsz, KM_SLEEP);
|