Lines Matching refs:size_t
38 size_t opt_quarantine = ZU(0);
43 size_t opt_narenas = 0;
74 const size_t index2size_tab[NSIZES] = {
214 size_t s; /* Request size. */
306 a0ialloc(size_t size, bool zero, bool is_metadata) in a0ialloc()
323 a0malloc(size_t size) in a0malloc()
343 bootstrap_malloc(size_t size) in bootstrap_malloc()
353 bootstrap_calloc(size_t num, size_t size) in bootstrap_calloc()
355 size_t num_size; in bootstrap_calloc()
757 malloc_conf_next(char const **opts_p, char const **k_p, size_t *klen_p, in malloc_conf_next()
758 char const **v_p, size_t *vlen_p) in malloc_conf_next()
833 malloc_conf_error(const char *msg, const char *k, size_t klen, const char *v, in malloc_conf_error()
834 size_t vlen) in malloc_conf_error()
847 size_t klen, vlen; in malloc_conf_init()
1011 size_t cpylen = (vlen <= \ in malloc_conf_init()
1030 (sizeof(size_t) << 3) - 1, true) in malloc_conf_init()
1058 -1, (sizeof(size_t) << 3) - 1) in malloc_conf_init()
1112 (sizeof(size_t) << 3) - 1) in malloc_conf_init()
1358 imalloc_prof_sample(tsd_t *tsd, size_t usize, prof_tctx_t *tctx) in imalloc_prof_sample()
1376 imalloc_prof(tsd_t *tsd, size_t usize) in imalloc_prof()
1396 imalloc_body(size_t size, tsd_t **tsd, size_t *usize) in imalloc_body()
1418 je_malloc(size_t size) in JEMALLOC_ATTR()
1422 size_t usize JEMALLOC_CC_SILENCE_INIT(0); in JEMALLOC_ATTR()
1446 imemalign_prof_sample(tsd_t *tsd, size_t alignment, size_t usize, in imemalign_prof_sample()
1466 imemalign_prof(tsd_t *tsd, size_t alignment, size_t usize) in imemalign_prof()
1487 imemalign(void **memptr, size_t alignment, size_t size, size_t min_alignment) in imemalign()
1491 size_t usize; in imemalign()
1553 je_posix_memalign(void **memptr, size_t alignment, size_t size) in je_posix_memalign()
1564 je_aligned_alloc(size_t alignment, size_t size) in JEMALLOC_ATTR()
1579 icalloc_prof_sample(tsd_t *tsd, size_t usize, prof_tctx_t *tctx) in icalloc_prof_sample()
1597 icalloc_prof(tsd_t *tsd, size_t usize) in icalloc_prof()
1619 je_calloc(size_t num, size_t size) in JEMALLOC_ATTR()
1623 size_t num_size; in JEMALLOC_ATTR()
1624 size_t usize JEMALLOC_CC_SILENCE_INIT(0); in JEMALLOC_ATTR()
1646 } else if (unlikely(((num | size) & (SIZE_T_MAX << (sizeof(size_t) << in JEMALLOC_ATTR()
1685 irealloc_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize, in irealloc_prof_sample()
1704 irealloc_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t usize) in irealloc_prof()
1730 size_t usize; in ifree()
1731 UNUSED size_t rzsize JEMALLOC_CC_SILENCE_INIT(0); in ifree()
1750 isfree(tsd_t *tsd, void *ptr, size_t usize, tcache_t *tcache) in isfree()
1752 UNUSED size_t rzsize JEMALLOC_CC_SILENCE_INIT(0); in isfree()
1770 je_realloc(void *ptr, size_t size) in je_realloc()
1774 size_t usize JEMALLOC_CC_SILENCE_INIT(0); in je_realloc()
1775 size_t old_usize = 0; in je_realloc()
1776 UNUSED size_t old_rzsize JEMALLOC_CC_SILENCE_INIT(0); in je_realloc()
1855 je_memalign(size_t alignment, size_t size) in JEMALLOC_ATTR()
1869 je_valloc(size_t size) in JEMALLOC_ATTR()
1898 JEMALLOC_EXPORT void *(*__malloc_hook)(size_t size) = je_malloc;
1899 JEMALLOC_EXPORT void *(*__realloc_hook)(void *ptr, size_t size) = je_realloc;
1901 JEMALLOC_EXPORT void *(*__memalign_hook)(size_t alignment, size_t size) =
1915 imallocx_flags_decode_hard(tsd_t *tsd, size_t size, int flags, size_t *usize, in imallocx_flags_decode_hard()
1916 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena) in imallocx_flags_decode_hard()
1946 imallocx_flags_decode(tsd_t *tsd, size_t size, int flags, size_t *usize, in imallocx_flags_decode()
1947 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena) in imallocx_flags_decode()
1965 imallocx_flags(tsd_t *tsd, size_t usize, size_t alignment, bool zero, in imallocx_flags()
1977 imallocx_prof_sample(tsd_t *tsd, size_t usize, size_t alignment, bool zero, in imallocx_prof_sample()
1997 imallocx_prof(tsd_t *tsd, size_t size, int flags, size_t *usize) in imallocx_prof()
2000 size_t alignment; in imallocx_prof()
2028 imallocx_no_prof(tsd_t *tsd, size_t size, int flags, size_t *usize) in imallocx_no_prof()
2031 size_t alignment; in imallocx_no_prof()
2053 je_mallocx(size_t size, int flags) in JEMALLOC_ATTR()
2057 size_t usize; in JEMALLOC_ATTR()
2089 irallocx_prof_sample(tsd_t *tsd, void *old_ptr, size_t old_usize, in irallocx_prof_sample()
2090 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena, in irallocx_prof_sample()
2112 irallocx_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t size, in irallocx_prof()
2113 size_t alignment, size_t *usize, bool zero, tcache_t *tcache, in irallocx_prof()
2155 je_rallocx(void *ptr, size_t size, int flags) in je_rallocx()
2159 size_t usize; in je_rallocx()
2160 size_t old_usize; in je_rallocx()
2161 UNUSED size_t old_rzsize JEMALLOC_CC_SILENCE_INIT(0); in je_rallocx()
2162 size_t alignment = MALLOCX_ALIGN_GET(flags); in je_rallocx()
2227 JEMALLOC_ALWAYS_INLINE_C size_t
2228 ixallocx_helper(void *ptr, size_t old_usize, size_t size, size_t extra, in ixallocx_helper()
2229 size_t alignment, bool zero) in ixallocx_helper()
2231 size_t usize; in ixallocx_helper()
2240 static size_t
2241 ixallocx_prof_sample(void *ptr, size_t old_usize, size_t size, size_t extra, in ixallocx_prof_sample()
2242 size_t alignment, bool zero, prof_tctx_t *tctx) in ixallocx_prof_sample()
2244 size_t usize; in ixallocx_prof_sample()
2253 JEMALLOC_ALWAYS_INLINE_C size_t
2254 ixallocx_prof(tsd_t *tsd, void *ptr, size_t old_usize, size_t size, in ixallocx_prof()
2255 size_t extra, size_t alignment, bool zero) in ixallocx_prof()
2257 size_t usize_max, usize; in ixallocx_prof()
2290 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
2291 je_xallocx(void *ptr, size_t size, size_t extra, int flags) in je_xallocx()
2294 size_t usize, old_usize; in je_xallocx()
2295 UNUSED size_t old_rzsize JEMALLOC_CC_SILENCE_INIT(0); in je_xallocx()
2296 size_t alignment = MALLOCX_ALIGN_GET(flags); in je_xallocx()
2342 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
2346 size_t usize; in JEMALLOC_ATTR()
2381 JEMALLOC_ALWAYS_INLINE_C size_t
2382 inallocx(size_t size, int flags) in inallocx()
2384 size_t usize; in inallocx()
2395 je_sdallocx(void *ptr, size_t size, int flags) in je_sdallocx()
2399 size_t usize; in je_sdallocx()
2419 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
2421 je_nallocx(size_t size, int flags) in JEMALLOC_ATTR()
2433 je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, in je_mallctl()
2434 size_t newlen) in je_mallctl()
2444 je_mallctlnametomib(const char *name, size_t *mibp, size_t *miblenp) in je_mallctlnametomib()
2454 je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, in je_mallctlbymib()
2455 void *newp, size_t newlen) in je_mallctlbymib()
2472 JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW
2475 size_t ret; in je_malloc_usable_size()