ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-alloc.cc File Reference
#include "dce-stdlib.h"
#include "dce-unistd.h"
#include "utils.h"
#include "process.h"
#include "kingsley-alloc.h"
#include "ns3/log.h"
#include <string.h>
+ Include dependency graph for dce-alloc.cc:

Go to the source code of this file.

Functions

void * dce_calloc (size_t nmemb, size_t size)
void dce_free (void *ptr)
int dce_getpagesize (void)
void * dce_malloc (size_t size)
void * dce_realloc (void *ptr, size_t size)
void * dce_sbrk (intptr_t increment)
 NS_LOG_COMPONENT_DEFINE ("SimuAlloc")

Function Documentation

void* dce_calloc ( size_t  nmemb,
size_t  size 
)

Definition at line 13 of file dce-alloc.cc.

References dce_malloc(), and GET_CURRENT.

Referenced by dce_sbrk().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dce_free ( void *  ptr)

Definition at line 30 of file dce-alloc.cc.

References GET_CURRENT.

Referenced by dce_execl(), dce_execle(), dce_execlp(), dce_freeaddrinfo(), and netlink_request().

+ Here is the caller graph for this function:

int dce_getpagesize ( void  )

Definition at line 76 of file dce-alloc.cc.

void* dce_malloc ( size_t  size)

Definition at line 20 of file dce-alloc.cc.

References GET_CURRENT.

Referenced by dce_calloc(), dce_execl(), dce_execle(), dce_execlp(), dce_getaddrinfo(), dce_getcwd(), dce_realloc(), dce_scandir(), dce_strdup(), dce_strndup(), dce_vasprintf(), and netlink_request().

+ Here is the caller graph for this function:

void* dce_realloc ( void *  ptr,
size_t  size 
)

Definition at line 43 of file dce-alloc.cc.

References dce_malloc(), and GET_CURRENT.

+ Here is the call graph for this function:

void* dce_sbrk ( intptr_t  increment)

Definition at line 68 of file dce-alloc.cc.

References dce_calloc().

+ Here is the call graph for this function:

NS_LOG_COMPONENT_DEFINE ( "SimuAlloc"  )