1 /* 2 * Name mangling for public symbols is controlled by --with-mangling and 3 * --with-jemalloc-prefix. With default settings the je_ prefix is stripped by 4 * these macro definitions. 5 */ 6 #ifndef JEMALLOC_NO_RENAME 7 #if defined(__BIONIC__) 8 # define je_aligned_alloc je_aligned_alloc 9 # define je_calloc je_calloc 10 # define je_dallocx je_dallocx 11 # define je_free je_free 12 # define je_mallctl je_mallctl 13 # define je_mallctlbymib je_mallctlbymib 14 # define je_mallctlnametomib je_mallctlnametomib 15 # define je_malloc je_malloc 16 # define je_malloc_conf je_malloc_conf 17 # define je_malloc_message je_malloc_message 18 # define je_malloc_stats_print je_malloc_stats_print 19 # define je_malloc_usable_size je_malloc_usable_size 20 # define je_mallocx je_mallocx 21 # define je_nallocx je_nallocx 22 # define je_posix_memalign je_posix_memalign 23 # define je_rallocx je_rallocx 24 # define je_realloc je_realloc 25 # define je_sallocx je_sallocx 26 # define je_sdallocx je_sdallocx 27 # define je_xallocx je_xallocx 28 # define je_memalign je_memalign 29 # define je_valloc je_valloc 30 #else 31 # define je_aligned_alloc aligned_alloc 32 # define je_calloc calloc 33 # define je_dallocx dallocx 34 # define je_free free 35 # define je_mallctl mallctl 36 # define je_mallctlbymib mallctlbymib 37 # define je_mallctlnametomib mallctlnametomib 38 # define je_malloc malloc 39 # define je_malloc_conf malloc_conf 40 # define je_malloc_message malloc_message 41 # define je_malloc_stats_print malloc_stats_print 42 # define je_malloc_usable_size malloc_usable_size 43 # define je_mallocx mallocx 44 # define je_nallocx nallocx 45 # define je_posix_memalign posix_memalign 46 # define je_rallocx rallocx 47 # define je_realloc realloc 48 # define je_sallocx sallocx 49 # define je_sdallocx sdallocx 50 # define je_xallocx xallocx 51 # define je_memalign memalign 52 # define je_valloc valloc 53 #endif 54 #endif 55