Searched refs:nsz (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/third_party/ulib/jemalloc/test/integration/ |
H A D | mallocx.c | 131 size_t nsz, rsz; local 133 nsz = nallocx(sz, 0); 134 assert_zu_ne(nsz, 0, "Unexpected nallocx() error"); 140 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch"); 148 nsz = nallocx(sz, MALLOCX_ZERO); 149 assert_zu_ne(nsz, 0, "Unexpected nallocx() error"); 153 nsz); 155 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch"); 167 size_t nsz, rsz, sz, alignment, total; local 182 nsz [all...] |
H A D | sdallocx.c | 15 size_t nsz, sz, alignment, total; local 30 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | 34 total += nsz;
|
H A D | xallocx.c | 336 size_t sz, nsz; local 363 for (sz = szmin; sz < szmax; sz = nsz) { 364 nsz = nallocx(sz+1, flags); 365 if (xallocx(p, sz+1, 0, flags) != nsz) { 371 assert_false(validate_fill(p, 0x00, sz, nsz-sz), 372 "Memory not filled: sz=%zu, nsz-sz=%zu", sz, nsz-sz); 373 memset((void *)((uintptr_t)p + sz), FILL_BYTE, nsz-sz); 374 assert_false(validate_fill(p, FILL_BYTE, 0, nsz), 375 "Memory not filled: nsz [all...] |
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/ |
H A D | prof_reset.c | 256 size_t sz, nsz; local 274 nsz = nallocx(sz+1, 0); 275 assert_zu_eq(xallocx(p, nsz, 0, 0), sz,
|
/fuchsia/zircon/system/ulib/driver-info/ |
H A D | driver-info.c | 28 uint32_t nsz = (hdr->n_namesz + 3) & (~3); local 29 if (nsz > (size - sizeof(notehdr))) { 32 size_t hsz = sizeof(notehdr) + nsz;
|
Completed in 94 milliseconds