Home
last modified time | relevance | path

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

/freebsd-12-stable/bin/pax/
Dcpio.c182 rd_nm(ARCHD *arcn, int nsz) in rd_nm() argument
187 if ((nsz == 0) || (nsz > (int)sizeof(arcn->name))) { in rd_nm()
188 paxwarn(1, "Cpio file name length %d is out of range", nsz); in rd_nm()
195 if ((rd_wrbuf(arcn->name,nsz) != nsz) || (arcn->name[nsz-1] != '\0') || in rd_nm()
282 int nsz; in cpio_rd() local
325 if ((nsz = (int)asc_ul(hd->c_namesize,sizeof(hd->c_namesize),OCT)) < 2) in cpio_rd()
327 arcn->nlen = nsz - 1; in cpio_rd()
328 if (rd_nm(arcn, nsz) < 0) in cpio_rd()
392 int nsz; local
402 nsz = arcn->nlen + 1;
[all …]
/freebsd-12-stable/contrib/mandoc/
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()
/freebsd-12-stable/share/examples/ipfilter/samples/
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) {
/freebsd-12-stable/contrib/elftoolchain/libelf/
Dlibelf_ar.c210 size_t nsz, sz; in _libelf_ar_open_member() local
269 LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE, 10, &nsz) == 0) { in _libelf_ar_open_member()
274 member = (char *) (arh + 1) + nsz; in _libelf_ar_open_member()
275 sz -= nsz; in _libelf_ar_open_member()
/freebsd-12-stable/contrib/one-true-awk/
Dtran.c275 int i, nh, nsz; in rehash() local
278 nsz = GROWTAB * tp->size; in rehash()
279 np = (Cell **) calloc(nsz, sizeof(*np)); in rehash()
285 nh = hash(cp->nval, nsz); in rehash()
292 tp->size = nsz; in rehash()
/freebsd-12-stable/contrib/file/src/
Dcompress.c252 size_t i, nsz; in file_zmagic() local
289 nsz = nbytes; in file_zmagic()
290 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic()
292 (char *)newbuf, nsz); in file_zmagic()
300 prv = file_buffer(ms, -1, NULL, name, newbuf, nsz); in file_zmagic()
/freebsd-12-stable/sys/gnu/dts/arm/
Dberlin2-sony-nsz-gs7.dts14 compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin";
/freebsd-12-stable/contrib/bmake/
Darch.c449 size_t sz = MAXPATHLEN, nsz; in Arch_ParseArchive() local
455 nsz = strlen(libName) + strlen(member) + 3; in Arch_ParseArchive()
456 if (sz > nsz) in Arch_ParseArchive()
457 nameBuf = bmake_realloc(nameBuf, sz = nsz * 2); in Arch_ParseArchive()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/
DLLLexer.cpp559 KEYWORD(nsz); in LexIdentifier()
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
Ddtrace.c10599 int i, oldsvars, osz, nsz, otlocals, ntlocals; local
10626 nsz = ntlocals * sizeof (dtrace_difv_t);
10628 tlocals = kmem_zalloc(nsz, KM_SLEEP);