Package org.lwjgl.system.rpmalloc
Class RPmalloc
java.lang.Object
org.lwjgl.system.rpmalloc.RPmalloc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
nrpaligned_alloc
(long alignment, long size) void * rpaligned_alloc(size_t alignment, size_t size)
static long
nrpaligned_calloc
(long alignment, long num, long size) void * rpaligned_calloc(size_t alignment, size_t num, size_t size)
static long
nrpaligned_realloc
(long ptr, long alignment, long size, long oldsize, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags)
static long
nrpcalloc
(long num, long size) void * rpcalloc(size_t num, size_t size)
static void
nrpfree
(long ptr) void rpfree(void * ptr)
static long
nrpmalloc
(long size) void * rpmalloc(size_t size)
static long
rpmalloc_config_t const * rpmalloc_config(void)
static long
nrpmalloc_get_heap_for_ptr
(long ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static void
nrpmalloc_global_statistics
(long stats) void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats)
static long
nrpmalloc_heap_aligned_alloc
(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size)
static long
nrpmalloc_heap_aligned_calloc
(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size)
static long
nrpmalloc_heap_aligned_realloc
(long heap, long ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags)
static long
nrpmalloc_heap_alloc
(long heap, long size) void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size)
static long
nrpmalloc_heap_calloc
(long heap, long num, long size) void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size)
static void
nrpmalloc_heap_free
(long heap, long ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
nrpmalloc_heap_free_all
(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap)
static long
nrpmalloc_heap_realloc
(long heap, long ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags)
static int
int rpmalloc_initialize(void)
static int
nrpmalloc_initialize_config
(long config) int rpmalloc_initialize_config(rpmalloc_config_t const * config)
static int
int rpmalloc_is_thread_initialized(void)
static void
nrpmalloc_thread_finalize
(int release_caches) void rpmalloc_thread_finalize(int release_caches)
static void
nrpmalloc_thread_statistics
(long stats) void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats)
static long
nrpmalloc_usable_size
(long ptr) size_t rpmalloc_usable_size(void * ptr)
static long
nrpmemalign
(long alignment, long size) void * rpmemalign(size_t alignment, size_t size)
static int
nrpposix_memalign
(long memptr, long alignment, long size) int rpposix_memalign(void ** memptr, size_t alignment, size_t size)
static long
nrprealloc
(long ptr, long size) void * rprealloc(void * ptr, size_t size)
static @Nullable ByteBuffer
rpaligned_alloc
(long alignment, long size) void * rpaligned_alloc(size_t alignment, size_t size)
static @Nullable ByteBuffer
rpaligned_calloc
(long alignment, long num, long size) void * rpaligned_calloc(size_t alignment, size_t num, size_t size)
static @Nullable ByteBuffer
rpaligned_realloc
(@Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags)
static @Nullable ByteBuffer
rpcalloc
(long num, long size) void * rpcalloc(size_t num, size_t size)
static void
rpfree
(@Nullable ByteBuffer ptr) void rpfree(void * ptr)
static void
rpfree
(@Nullable DoubleBuffer ptr) void rpfree(void * ptr)
static void
rpfree
(@Nullable FloatBuffer ptr) void rpfree(void * ptr)
static void
void rpfree(void * ptr)
static void
rpfree
(@Nullable LongBuffer ptr) void rpfree(void * ptr)
static void
rpfree
(@Nullable ShortBuffer ptr) void rpfree(void * ptr)
static void
rpfree
(@Nullable PointerBuffer ptr) void rpfree(void * ptr)
static @Nullable ByteBuffer
rpmalloc
(long size) void * rpmalloc(size_t size)
static RPMallocConfig
rpmalloc_config_t const * rpmalloc_config(void)
static void
void rpmalloc_finalize(void)
static long
rpmalloc_get_heap_for_ptr
(@Nullable ByteBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static long
rpmalloc_get_heap_for_ptr
(@Nullable DoubleBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static long
rpmalloc_get_heap_for_ptr
(@Nullable FloatBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static long
rpmalloc_get_heap_for_ptr
(@Nullable IntBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static long
rpmalloc_get_heap_for_ptr
(@Nullable LongBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static long
rpmalloc_get_heap_for_ptr
(@Nullable ShortBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static long
rpmalloc_get_heap_for_ptr
(@Nullable PointerBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
static void
void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats)
static long
rpmalloc_heap_t * rpmalloc_heap_acquire(void)
static @Nullable ByteBuffer
rpmalloc_heap_aligned_alloc
(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size)
static @Nullable ByteBuffer
rpmalloc_heap_aligned_calloc
(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size)
static @Nullable ByteBuffer
rpmalloc_heap_aligned_realloc
(long heap, @Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags)
static @Nullable ByteBuffer
rpmalloc_heap_alloc
(long heap, long size) void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size)
static @Nullable ByteBuffer
rpmalloc_heap_calloc
(long heap, long num, long size) void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size)
static void
rpmalloc_heap_free
(long heap, @Nullable ByteBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free
(long heap, @Nullable DoubleBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free
(long heap, @Nullable FloatBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free
(long heap, @Nullable IntBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free
(long heap, @Nullable LongBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free
(long heap, @Nullable ShortBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free
(long heap, @Nullable PointerBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
static void
rpmalloc_heap_free_all
(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap)
static @Nullable ByteBuffer
rpmalloc_heap_realloc
(long heap, @Nullable ByteBuffer ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags)
static void
rpmalloc_heap_release
(long heap) void rpmalloc_heap_release(rpmalloc_heap_t * heap)
static void
rpmalloc_heap_thread_set_current
(long heap) void rpmalloc_heap_thread_set_current(rpmalloc_heap_t * heap)
static boolean
int rpmalloc_initialize(void)
static boolean
rpmalloc_initialize_config
(@Nullable RPMallocConfig config) int rpmalloc_initialize_config(rpmalloc_config_t const * config)
static boolean
int rpmalloc_is_thread_initialized(void)
static void
void rpmalloc_thread_collect(void)
static void
rpmalloc_thread_finalize
(boolean release_caches) void rpmalloc_thread_finalize(int release_caches)
static void
void rpmalloc_thread_initialize(void)
static void
void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats)
static long
size_t rpmalloc_usable_size(void * ptr)
static long
size_t rpmalloc_usable_size(void * ptr)
static long
size_t rpmalloc_usable_size(void * ptr)
static long
size_t rpmalloc_usable_size(void * ptr)
static long
size_t rpmalloc_usable_size(void * ptr)
static long
size_t rpmalloc_usable_size(void * ptr)
static long
size_t rpmalloc_usable_size(void * ptr)
static @Nullable ByteBuffer
rpmemalign
(long alignment, long size) void * rpmemalign(size_t alignment, size_t size)
static int
rpposix_memalign
(PointerBuffer memptr, long alignment, long size) int rpposix_memalign(void ** memptr, size_t alignment, size_t size)
static @Nullable ByteBuffer
rprealloc
(@Nullable ByteBuffer ptr, long size) void * rprealloc(void * ptr, size_t size)
-
Field Details
-
Method Details
-
nrpmalloc_initialize
public static int nrpmalloc_initialize()int rpmalloc_initialize(void)
-
rpmalloc_initialize
public static boolean rpmalloc_initialize()int rpmalloc_initialize(void)
-
nrpmalloc_initialize_config
public static int nrpmalloc_initialize_config(long config) int rpmalloc_initialize_config(rpmalloc_config_t const * config)
-
rpmalloc_initialize_config
int rpmalloc_initialize_config(rpmalloc_config_t const * config)
-
nrpmalloc_config
public static long nrpmalloc_config()rpmalloc_config_t const * rpmalloc_config(void)
-
rpmalloc_config
rpmalloc_config_t const * rpmalloc_config(void)
-
rpmalloc_finalize
public static void rpmalloc_finalize()void rpmalloc_finalize(void)
-
rpmalloc_thread_initialize
public static void rpmalloc_thread_initialize()void rpmalloc_thread_initialize(void)
-
nrpmalloc_thread_finalize
public static void nrpmalloc_thread_finalize(int release_caches) void rpmalloc_thread_finalize(int release_caches)
-
rpmalloc_thread_finalize
public static void rpmalloc_thread_finalize(boolean release_caches) void rpmalloc_thread_finalize(int release_caches)
-
rpmalloc_thread_collect
public static void rpmalloc_thread_collect()void rpmalloc_thread_collect(void)
-
nrpmalloc_is_thread_initialized
public static int nrpmalloc_is_thread_initialized()int rpmalloc_is_thread_initialized(void)
-
rpmalloc_is_thread_initialized
public static boolean rpmalloc_is_thread_initialized()int rpmalloc_is_thread_initialized(void)
-
nrpmalloc_thread_statistics
public static void nrpmalloc_thread_statistics(long stats) void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats)
-
rpmalloc_thread_statistics
void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats)
-
nrpmalloc_global_statistics
public static void nrpmalloc_global_statistics(long stats) void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats)
-
rpmalloc_global_statistics
void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats)
-
nrpmalloc
public static long nrpmalloc(long size) void * rpmalloc(size_t size)
-
rpmalloc
void * rpmalloc(size_t size)
-
nrpfree
public static void nrpfree(long ptr) void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
rpfree
void rpfree(void * ptr)
-
nrpcalloc
public static long nrpcalloc(long num, long size) void * rpcalloc(size_t num, size_t size)
-
rpcalloc
void * rpcalloc(size_t num, size_t size)
-
nrprealloc
public static long nrprealloc(long ptr, long size) void * rprealloc(void * ptr, size_t size)
-
rprealloc
void * rprealloc(void * ptr, size_t size)
-
nrpaligned_realloc
public static long nrpaligned_realloc(long ptr, long alignment, long size, long oldsize, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags)
-
rpaligned_realloc
public static @Nullable ByteBuffer rpaligned_realloc(@Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags)
-
nrpaligned_alloc
public static long nrpaligned_alloc(long alignment, long size) void * rpaligned_alloc(size_t alignment, size_t size)
-
rpaligned_alloc
void * rpaligned_alloc(size_t alignment, size_t size)
-
nrpaligned_calloc
public static long nrpaligned_calloc(long alignment, long num, long size) void * rpaligned_calloc(size_t alignment, size_t num, size_t size)
-
rpaligned_calloc
void * rpaligned_calloc(size_t alignment, size_t num, size_t size)
-
nrpmemalign
public static long nrpmemalign(long alignment, long size) void * rpmemalign(size_t alignment, size_t size)
-
rpmemalign
void * rpmemalign(size_t alignment, size_t size)
-
nrpposix_memalign
public static int nrpposix_memalign(long memptr, long alignment, long size) int rpposix_memalign(void ** memptr, size_t alignment, size_t size)
-
rpposix_memalign
int rpposix_memalign(void ** memptr, size_t alignment, size_t size)
-
nrpmalloc_usable_size
public static long nrpmalloc_usable_size(long ptr) size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr)
-
rpmalloc_heap_acquire
public static long rpmalloc_heap_acquire()rpmalloc_heap_t * rpmalloc_heap_acquire(void)
-
rpmalloc_heap_release
public static void rpmalloc_heap_release(long heap) void rpmalloc_heap_release(rpmalloc_heap_t * heap)
-
nrpmalloc_heap_alloc
public static long nrpmalloc_heap_alloc(long heap, long size) void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size)
-
rpmalloc_heap_alloc
void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size)
-
nrpmalloc_heap_aligned_alloc
public static long nrpmalloc_heap_aligned_alloc(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size)
-
rpmalloc_heap_aligned_alloc
public static @Nullable ByteBuffer rpmalloc_heap_aligned_alloc(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size)
-
nrpmalloc_heap_calloc
public static long nrpmalloc_heap_calloc(long heap, long num, long size) void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size)
-
rpmalloc_heap_calloc
void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size)
-
nrpmalloc_heap_aligned_calloc
public static long nrpmalloc_heap_aligned_calloc(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size)
-
rpmalloc_heap_aligned_calloc
public static @Nullable ByteBuffer rpmalloc_heap_aligned_calloc(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size)
-
nrpmalloc_heap_realloc
public static long nrpmalloc_heap_realloc(long heap, long ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags)
-
rpmalloc_heap_realloc
public static @Nullable ByteBuffer rpmalloc_heap_realloc(long heap, @Nullable ByteBuffer ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags)
-
nrpmalloc_heap_aligned_realloc
public static long nrpmalloc_heap_aligned_realloc(long heap, long ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags)
-
rpmalloc_heap_aligned_realloc
public static @Nullable ByteBuffer rpmalloc_heap_aligned_realloc(long heap, @Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags)
-
nrpmalloc_heap_free
public static void nrpmalloc_heap_free(long heap, long ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)
-
nrpmalloc_heap_free_all
public static void nrpmalloc_heap_free_all(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap)
-
rpmalloc_heap_free_all
public static void rpmalloc_heap_free_all(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap)
-
rpmalloc_heap_thread_set_current
public static void rpmalloc_heap_thread_set_current(long heap) void rpmalloc_heap_thread_set_current(rpmalloc_heap_t * heap)
-
nrpmalloc_get_heap_for_ptr
public static long nrpmalloc_get_heap_for_ptr(long ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-