| /src/external/bsd/jemalloc/dist/test/integration/ |
| sdallocx.c | 13 size_t nsz, sz, alignment, total; local 29 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | 33 total += nsz;
|
| mallocx.c | 166 size_t nsz, rsz; local 168 nsz = nallocx(sz, 0); 169 expect_zu_ne(nsz, 0, "Unexpected nallocx() error"); 175 expect_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch"); 183 nsz = nallocx(sz, MALLOCX_ZERO); 184 expect_zu_ne(nsz, 0, "Unexpected nallocx() error"); 188 nsz); 190 expect_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch"); 209 size_t nsz, rsz, alignment, total; local 225 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) [all...] |
| 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 expect_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 expect_false(validate_fill(p, FILL_BYTE, 0, nsz), 356 "Memory not filled: nsz=%zu", nsz) [all...] |
| smallocx.c | 191 size_t nsz, rsz, smz; local 193 nsz = nallocx(sz, 0); 194 expect_zu_ne(nsz, 0, "Unexpected nallocx() error"); 202 expect_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch"); 203 expect_zu_eq(nsz, smz, "nallocx()/smallocx() size mismatch"); 213 nsz = nallocx(sz, MALLOCX_ZERO); 214 expect_zu_ne(nsz, 0, "Unexpected nallocx() error"); 220 nsz); 222 expect_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch"); 223 expect_zu_eq(nsz, smz, "nallocx()/smallocx() size mismatch") 242 size_t nsz, rsz, smz, alignment, total; local [all...] |
| /src/external/bsd/jemalloc.old/dist/test/integration/ |
| sdallocx.c | 13 size_t nsz, sz, alignment, total; local 29 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | 33 total += nsz;
|
| 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 = nallocx(sz, MALLOCX_ALIGN(alignment) [all...] |
| 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=%zu", nsz) [all...] |
| /src/external/bsd/mdocml/dist/ |
| mandoc_xr.c | 69 size_t ssz, nsz, tsz; local 78 nsz = strlen(name) + 1; 79 tsz = ssz + nsz; 88 memcpy(xr->name, name, nsz);
|
| /src/bin/pax/ |
| cpio.c | 190 rd_nm(ARCHD *arcn, int nsz) 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 - 1 385 int nsz; local 561 int nsz; local 683 unsigned int nsz; local 865 int nsz; local 980 int nsz; local [all...] |
| /src/sys/kern/ |
| subr_specificdata.c | 185 size_t nsz; local 203 nsz = (sd->sd_nkey + 1) * sizeof(*newkeys); 205 newkeys = kmem_zalloc(nsz, KM_SLEEP);
|
| kern_sysctl.c | 727 int error, ni, at, nm, type, nsz, sz, flags, anum, v; local 821 nsz = 0; 822 while (nsz < SYSCTL_NAMELEN && nnode.sysctl_name[nsz] != '\0') { 823 if ((nnode.sysctl_name[nsz] >= '0' && 824 nnode.sysctl_name[nsz] <= '9') || 825 (nnode.sysctl_name[nsz] >= 'A' && 826 nnode.sysctl_name[nsz] <= 'Z') || 827 (nnode.sysctl_name[nsz] >= 'a' && 828 nnode.sysctl_name[nsz] <= 'z') | [all...] |
| subr_pool.c | 3149 size_t nsz; local 3183 nsz = roundup(pp->pr_size + redzsz, pp->pr_align); 3184 if (nsz <= (pp->pr_alloc->pa_pagesz / 2)) { 3186 pp->pr_size = nsz;
|
| /src/external/bsd/elftoolchain/dist/libelf/ |
| libelf_ar.c | 227 size_t nsz, sz; local 286 LIBELF_AR_BSD_EXTENDED_NAME_PREFIX_SIZE, 10, &nsz) == 0) { 291 member = (char *) (arh + 1) + nsz; 292 sz -= nsz;
|
| /src/external/bsd/ipf/dist/samples/ |
| 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) {
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| prof_reset.c | 222 size_t sz, nsz; local 240 nsz = nallocx(sz+1, 0); 241 expect_zu_eq(xallocx(p, nsz, 0, 0), sz,
|
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| 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,
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| memmgr.c | 122 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; local 123 for (chunksz = pgsz; chunksz < nsz; chunksz *= 2); 195 /* Allocate nsz = 2^idx >= sz bytes */ 197 unsigned nsz = 1 << idx; local 198 while (nsz < sz) 199 nsz = 1 << ++idx; 211 Tprintf (DBG_LT2, "memmgr: allocCSize %p sz %d (0x%x) req = 0x%x, from chain idx = %d\n", res, nsz, nsz, sz, idx); 225 if (chnk->lo + nsz < chnk->hi) 231 Tprintf (DBG_LT2, "__collector_allocCSize (%u) calling alloc_chunk(%u)\n", sz, nsz); 267 unsigned nsz = 1 << idx; local [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| memmgr.c | 122 unsigned nsz = ALIGN (sizeof (Chunk)) + sz; local 123 for (chunksz = pgsz; chunksz < nsz; chunksz *= 2); 195 /* Allocate nsz = 2^idx >= sz bytes */ 197 unsigned nsz = 1 << idx; local 198 while (nsz < sz) 199 nsz = 1 << ++idx; 211 Tprintf (DBG_LT2, "memmgr: allocCSize %p sz %d (0x%x) req = 0x%x, from chain idx = %d\n", res, nsz, nsz, sz, idx); 225 if (chnk->lo + nsz < chnk->hi) 231 Tprintf (DBG_LT2, "__collector_allocCSize (%u) calling alloc_chunk(%u)\n", sz, nsz); 267 unsigned nsz = 1 << idx; local [all...] |
| /src/sys/lib/libsa/ |
| minixfs3.c | 346 size_t block_size, nsz; local 384 nsz = (size_t)(fp->f_di.mdi_size - fp->f_seekp); 385 if (*size_p > nsz) 386 *size_p = nsz;
|
| /src/external/historical/nawk/dist/ |
| tran.c | 269 int i, nh, nsz; local 272 nsz = GROWTAB * tp->size; 273 np = (Cell **) calloc(nsz, sizeof(*np)); 279 nh = hash(cp->nval, nsz); 286 tp->size = nsz;
|
| /src/external/bsd/file/dist/src/ |
| 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);
|
| /src/external/mpl/bind/dist/bin/tests/system/rpz/testlib/ |
| dummylib.c | 1210 size_t nsz, osz; local 1224 nsz = count_labels(new->dname); 1228 if (nsz > osz) { 1230 } else if (nsz < osz) {
|
| /src/sbin/sysctl/ |
| 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 = sizeof(n) [all...] |
| /src/external/public-domain/sqlite/sqlite2mdoc/ |
| 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;
|
| /src/external/gpl3/gcc/dist/gcc/ |
| gimple-ssa-warn-access.cc | 1684 size_t nsz, dsz; local 1687 char *nts = cplus_demangle_print (0, pnc, 16, &nsz);
|