Home
last modified time | relevance | path

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

/netbsd-src/bin/pax/
H A Dcpio.c190 rd_nm(ARCHD *arcn, int nsz) in rd_nm() argument
195 if ((nsz <= 0) || (nsz > (int)sizeof(arcn->name))) { in rd_nm()
196 tty_warn(1, "Cpio file name length %d is out of range", nsz); in rd_nm()
203 if ((rd_wrbuf(arcn->name,nsz) != nsz) || (arcn->name[nsz-1] != '\0') || in rd_nm()
285 int nsz; in cpio_rd() local
318 if ((nsz = (int)asc_u32(hd->c_namesize,sizeof(hd->c_namesize),OCT)) < 2) in cpio_rd()
320 arcn->nlen = nsz - 1; in cpio_rd()
321 if (rd_nm(arcn, nsz) < 0) in cpio_rd()
385 int nsz; in cpio_wr() local
395 nsz = arcn->nlen + 1; in cpio_wr()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dmemmgr.c129 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; in alloc_chunk() local
130 for (chunksz = pgsz; chunksz < nsz; chunksz *= 2); in alloc_chunk()
204 unsigned nsz = 1 << idx; in __collector_allocCSize() local
205 while (nsz < sz) in __collector_allocCSize()
206 nsz = 1 << ++idx; in __collector_allocCSize()
218 …2, "memmgr: allocCSize %p sz %d (0x%x) req = 0x%x, from chain idx = %d\n", res, nsz, nsz, sz, idx); in __collector_allocCSize()
232 if (chnk->lo + nsz < chnk->hi) in __collector_allocCSize()
238 Tprintf (DBG_LT2, "__collector_allocCSize (%u) calling alloc_chunk(%u)\n", sz, nsz); in __collector_allocCSize()
239 chnk = alloc_chunk (nsz, 1); in __collector_allocCSize()
251 chnk->hi -= nsz; in __collector_allocCSize()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dmemmgr.c129 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; in alloc_chunk() local
130 for (chunksz = pgsz; chunksz < nsz; chunksz *= 2); in alloc_chunk()
204 unsigned nsz = 1 << idx; in __collector_allocCSize() local
205 while (nsz < sz) in __collector_allocCSize()
206 nsz = 1 << ++idx; in __collector_allocCSize()
218 …2, "memmgr: allocCSize %p sz %d (0x%x) req = 0x%x, from chain idx = %d\n", res, nsz, nsz, sz, idx); in __collector_allocCSize()
232 if (chnk->lo + nsz < chnk->hi) in __collector_allocCSize()
238 Tprintf (DBG_LT2, "__collector_allocCSize (%u) calling alloc_chunk(%u)\n", sz, nsz); in __collector_allocCSize()
239 chnk = alloc_chunk (nsz, 1); in __collector_allocCSize()
251 chnk->hi -= nsz; in __collector_allocCSize()
[all …]
/netbsd-src/external/bsd/mdocml/dist/
H A Dmandoc_xr.c67 size_t ssz, nsz, tsz; in mandoc_xr_add() local
76 nsz = strlen(name) + 1; in mandoc_xr_add()
77 tsz = ssz + nsz; in mandoc_xr_add()
86 memcpy(xr->name, name, nsz); in mandoc_xr_add()
/netbsd-src/external/bsd/jemalloc/dist/test/integration/
H A Dsdallocx.c13 size_t nsz, sz, alignment, total; in TEST_BEGIN() local
29 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | in TEST_BEGIN()
33 total += nsz; in TEST_BEGIN()
/netbsd-src/external/bsd/ipf/dist/samples/
H A Dproxy.c235 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-src/external/bsd/elftoolchain/dist/libelf/
H A Dlibelf_ar.c219 size_t nsz, sz; in _libelf_ar_open_member() local
278 LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE, 10, &nsz) == 0) { in _libelf_ar_open_member()
283 member = (char *) (arh + 1) + nsz; in _libelf_ar_open_member()
284 sz -= nsz; in _libelf_ar_open_member()
/netbsd-src/sys/kern/
H A Dsubr_specificdata.c185 size_t nsz; in specificdata_key_create() local
203 nsz = (sd->sd_nkey + 1) * sizeof(*newkeys); in specificdata_key_create()
205 newkeys = kmem_zalloc(nsz, KM_SLEEP); in specificdata_key_create()
H A Dkern_sysctl.c716 int error, ni, at, nm, type, nsz, sz, flags, anum, v; in _sysctl_create() local
810 nsz = 0; in _sysctl_create()
811 while (nsz < SYSCTL_NAMELEN && nnode.sysctl_name[nsz] != '\0') { in _sysctl_create()
812 if ((nnode.sysctl_name[nsz] >= '0' && in _sysctl_create()
813 nnode.sysctl_name[nsz] <= '9') || in _sysctl_create()
814 (nnode.sysctl_name[nsz] >= 'A' && in _sysctl_create()
815 nnode.sysctl_name[nsz] <= 'Z') || in _sysctl_create()
816 (nnode.sysctl_name[nsz] >= 'a' && in _sysctl_create()
817 nnode.sysctl_name[nsz] < in _sysctl_create()
[all...]
H A Dsubr_pool.c3157 size_t nsz; in pool_redzone_init()
3191 nsz = roundup(pp->pr_size + redzsz, pp->pr_align); in pool_redzone_init()
3192 if (nsz <= (pp->pr_alloc->pa_pagesz / 2)) { in pool_redzone_init()
3194 pp->pr_size = nsz; in pool_redzone_init()
3153 size_t nsz; pool_redzone_init() local
/netbsd-src/sys/lib/libsa/
H A Dminixfs3.c345 size_t block_size, nsz; in buf_read_file() local
383 nsz = (size_t)(fp->f_di.mdi_size - fp->f_seekp); in buf_read_file()
384 if (*size_p > nsz) in buf_read_file()
385 *size_p = nsz; in buf_read_file()
/netbsd-src/sbin/sysctl/
H A Dsysctl.c2513 size_t osz, nsz; in proc_limit() local
2522 nsz = sizeof(nlim); in proc_limit()
2537 nsz = 0; in proc_limit()
2541 rc = prog_sysctl(name, namelen, &olim, &osz, newp, nsz); in proc_limit()
2632 size_t osz, nsz; in mode_bits() local
2646 nsz = sizeof(m); in mode_bits()
2673 nsz = 0; in mode_bits()
2677 rc = prog_sysctl(name, namelen, &o, &osz, newp, nsz); in mode_bits()
2763 size_t osz, nsz; in reserve() local
2773 nsz = sizeof(n); in reserve()
[all …]
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dberlin2-sony-nsz-gs7.dts14 compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin";
H A DMakefile164 berlin2-sony-nsz-gs7.dtb \
/netbsd-src/external/bsd/file/dist/src/
H A Dcompress.c278 size_t i, nsz; in file_zmagic() local
315 nsz = nbytes; in file_zmagic()
318 (ms->flags & MAGIC_NO_COMPRESS_FORK), buf, &newbuf, &nsz); in file_zmagic()
320 (char *)newbuf, nsz); in file_zmagic()
329 nsz); in file_zmagic()
/netbsd-src/external/public-domain/sqlite/sqlite2mdoc/
H A Dmain.c631 size_t nsz; in desc() local
687 nsz = len == 0 ? 1 : len; in desc()
690 d->desc = calloc(1, nsz + 1); in desc()
694 d->desc = realloc(d->desc, d->descsz + nsz + 1); in desc()
699 d->descsz += nsz; in desc()
/netbsd-src/crypto/external/bsd/heimdal/dist/tests/kdc/
H A Dcheck-iprop.in172 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-src/external/apache2/llvm/dist/llvm/utils/vim/syntax/
H A Dllvm.vim32 syn keyword llvmStatement mul nand ne ninf nnan nsw nsz nuw oeq oge ogt ole
/netbsd-src/usr.bin/xlint/lint1/
H A Dtree.c4052 convert_constant_check_range_bitor(size_t nsz, size_t osz, const val_t *v,
4055 if (nsz < osz && (v->u.integer & xmask) != 0) in type_size_in_bits()
4061 convert_constant_check_range_bitand(size_t nsz, size_t osz, in type_size_in_bits()
4066 if (nsz > osz && in type_size_in_bits()
4072 } else if (nsz < osz && in type_size_in_bits()
3821 convert_constant_check_range_bitor(size_t nsz,size_t osz,const val_t * v,uint64_t xmask,op_t op) convert_constant_check_range_bitor() argument
3830 convert_constant_check_range_bitand(size_t nsz,size_t osz,uint64_t xmask,const val_t * nv,tspec_t ot,const val_t * v,const type_t * tp,op_t op) convert_constant_check_range_bitand() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLLexer.cpp560 KEYWORD(nsz); in LexIdentifier()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple-ssa-warn-access.cc1670 size_t nsz, dsz; in new_delete_mismatch_p() local
1673 char *nts = cplus_demangle_print (0, pnc, 16, &nsz); in new_delete_mismatch_p()
/netbsd-src/external/cddl/osnet/dist/uts/common/dtrace/
H A Ddtrace.c10863 int i, oldsvars, osz, nsz, otlocals, ntlocals; local
10890 nsz = ntlocals * sizeof (dtrace_difv_t);
10892 tlocals = kmem_zalloc(nsz, KM_SLEEP);
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DLangRef.rst3017 ``nsz``