MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / rpmalloc

Function rpmalloc

vm/ByteCodeTranslator/src/rpmalloc.c:1609–1618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1607// Extern interface
1608
1609void*
1610rpmalloc(size_t size) {
1611#if ENABLE_VALIDATE_ARGS
1612 if (size >= MAX_ALLOC_SIZE) {
1613 errno = EINVAL;
1614 return 0;
1615 }
1616#endif
1617 return _memory_allocate(size);
1618}
1619
1620void
1621rpfree(void* ptr) {

Callers 5

pthread_create_proxyFunction · 0.85
pthread_createFunction · 0.85
mallocFunction · 0.85
vallocFunction · 0.85
rpaligned_allocFunction · 0.85

Calls 1

_memory_allocateFunction · 0.85

Tested by

no test coverage detected