Home
last modified time | relevance | path

Searched refs:xallocx (Results 1 – 16 of 16) sorted by relevance

/external/jemalloc/test/integration/
Dxallocx.c35 tsz = xallocx(p, sz, 0, 0); in TEST_BEGIN()
51 tsz = xallocx(p, sz, sz-42, 0); in TEST_BEGIN()
67 tsz = xallocx(p, sz + 5, 0, 0); in TEST_BEGIN()
161 assert_zu_eq(xallocx(p, 1, 0, 0), small0, in TEST_BEGIN()
165 assert_zu_le(xallocx(p, hugemax, 0, 0), hugemax, in TEST_BEGIN()
169 assert_zu_le(xallocx(p, hugemax+1, 0, 0), hugemax, in TEST_BEGIN()
171 assert_zu_le(xallocx(p, SIZE_T_MAX, 0, 0), hugemax, in TEST_BEGIN()
191 assert_zu_le(xallocx(p, hugemax-1, 2, 0), hugemax, in TEST_BEGIN()
193 assert_zu_le(xallocx(p, hugemax, 1, 0), hugemax, in TEST_BEGIN()
197 assert_zu_le(xallocx(p, hugemax+1, 2, 0), hugemax, in TEST_BEGIN()
[all …]
Dchunk.c194 xallocx_success_a = (xallocx(p, huge0, 0, flags) == huge0); in TEST_BEGIN()
215 xallocx_success_b = (xallocx(p, huge0, 0, flags) == huge0); in TEST_BEGIN()
220 xallocx_success_c = (xallocx(p, huge0 * 2, 0, flags) == huge0 * 2); in TEST_BEGIN()
238 assert_zu_eq(xallocx(p, huge1, 0, flags), huge1, in TEST_BEGIN()
251 assert_zu_eq(xallocx(p, large0, 0, flags), large0, in TEST_BEGIN()
256 assert_zu_eq(xallocx(p, large1, 0, flags), large1, in TEST_BEGIN()
/external/jemalloc/include/jemalloc/internal/
Dpublic_symbols.txt11 xallocx:je_xallocx
Dpublic_namespace.h11 #define je_xallocx JEMALLOC_N(xallocx)
/external/jemalloc/test/unit/
Dprof_reset.c272 assert_zu_eq(xallocx(p, sz, 0, 0), sz, in TEST_BEGIN()
277 assert_zu_eq(xallocx(p, nsz, 0, 0), sz, in TEST_BEGIN()
Dzero.c37 if (xallocx(s, sz+1, 0, 0) == sz) { in test_zero()
Djunk.c108 if (xallocx(s, sz+1, 0, 0) == sz) { in test_junk()
Ddecay.c143 xallocx(p, sz, 0, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
/external/jemalloc/include/jemalloc/
Djemalloc_mangle.h22 # define xallocx je_xallocx macro
Djemalloc_mangle_jet.h22 # define xallocx jet_xallocx macro
Djemalloc_protos.h.in34 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@xallocx(void *ptr, size_t size,
Djemalloc.h341 # define xallocx je_xallocx macro
/external/jemalloc/
DChangeLog217 This bugfix release fixes another xallocx() regression. No other regressions
223 - Fix xallocx(..., MALLOCX_ZERO to zero the last full trailing page of large
229 This bugfix release continues the trend of xallocx() and heap profiling fixes.
232 - Fix xallocx(..., MALLOCX_ZERO) to zero all trailing bytes of large
234 - Fix xallocx(..., MALLOCX_ZERO) to zero trailing bytes of huge allocations
247 allocations. xallocx() is in general incapable of moving small allocations,
257 refactoring required to address deep xallocx() problems. As a side effect of
258 these fixes, xallocx() now tries harder to partially fulfill requests for
270 rallocx()/xallocx() functionality was combined as rallocm().
278 - Fix xallocx() bugs related to size+extra exceeding HUGE_MAXCLASS.
DAndroid.bp309 "test/integration/xallocx.c",
DMakefile.in205 $(srcroot)test/integration/xallocx.c \
Dconfigure.ac601 … malloc calloc posix_memalign aligned_alloc realloc free mallocx rallocx xallocx sallocx dallocx s…