Searched defs:nsz (Results 1 - 4 of 4) sorted by relevance

/external/jemalloc/test/integration/
H A Dsdallocx.c15 size_t nsz, sz, alignment, total; local
30 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) |
34 total += nsz;
H A Dmallocx.c110 size_t nsz, rsz; local
112 nsz = nallocx(sz, 0);
113 assert_zu_ne(nsz, 0, "Unexpected nallocx() error");
118 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() size mismatch");
125 nsz = nallocx(sz, MALLOCX_ZERO);
126 assert_zu_ne(nsz, 0, "Unexpected nallocx() error");
130 assert_zu_eq(nsz, rsz, "nallocx()/sallocx() rsize mismatch");
141 size_t nsz, rsz, sz, alignment, total; local
156 nsz = nallocx(sz, MALLOCX_ALIGN(alignment) |
158 assert_zu_ne(nsz,
[all...]
H A Dxallocx.c413 size_t sz, nsz; local
438 for (sz = szmin; sz < szmax; sz = nsz) {
439 nsz = nallocx(sz+1, flags);
440 assert_zu_eq(xallocx(p, sz+1, 0, flags), nsz,
444 assert_false(validate_fill(p, 0x00, sz, nsz-sz),
445 "Memory not filled: sz=%zu, nsz-sz=%zu", sz, nsz-sz);
446 memset((void *)((uintptr_t)p + sz), FILL_BYTE, nsz-sz);
447 assert_false(validate_fill(p, FILL_BYTE, 0, nsz),
448 "Memory not filled: nsz
[all...]
/external/jemalloc/test/unit/
H A Dprof_reset.c256 size_t sz, nsz; local
274 nsz = nallocx(sz+1, 0);
275 assert_zu_eq(xallocx(p, nsz, 0, 0), sz,

Completed in 95 milliseconds