Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
Macros | |
#define | DUK__VOLUNTARY_PERIODIC_GC(heap) |
Functions | |
DUK_LOCAL void | duk__run_voluntary_gc (duk_heap *heap) |
DUK_INTERNAL void * | duk_heap_mem_alloc (duk_heap *heap, duk_size_t size) |
DUK_INTERNAL void * | duk_heap_mem_alloc_zeroed (duk_heap *heap, duk_size_t size) |
DUK_INTERNAL void * | duk_heap_mem_realloc (duk_heap *heap, void *ptr, duk_size_t newsize) |
DUK_INTERNAL void * | duk_heap_mem_realloc_indirect (duk_heap *heap, duk_mem_getptr cb, void *ud, duk_size_t newsize) |
DUK_INTERNAL void | duk_heap_mem_free (duk_heap *heap, void *ptr) |
#define DUK__VOLUNTARY_PERIODIC_GC | ( | heap | ) |
Definition at line 16 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
Referenced by duk_heap_mem_alloc(), duk_heap_mem_realloc(), and duk_heap_mem_realloc_indirect().
Definition at line 23 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
References DUK_D, DUK_DD, DUK_DDPRINT, DUK_DPRINT, DUK_HEAP_HAS_MARKANDSWEEP_RUNNING, duk_heap_mark_and_sweep(), and DUK_UNREF.
DUK_INTERNAL void * duk_heap_mem_alloc | ( | duk_heap * | heap, |
duk_size_t | size ) |
Definition at line 45 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
References duk_heap::alloc_func, DUK__VOLUNTARY_PERIODIC_GC, DUK_ASSERT, DUK_ASSERT_DISABLE, DUK_D, DUK_DDD, DUK_DDDPRINT, DUK_DPRINT, DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_EMERGENCY_LIMIT, DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_LIMIT, DUK_HEAP_HAS_MARKANDSWEEP_RUNNING, duk_heap_mark_and_sweep(), DUK_MS_FLAG_EMERGENCY, DUK_UNREF, duk_heap::heap_udata, and NULL.
DUK_INTERNAL void * duk_heap_mem_alloc_zeroed | ( | duk_heap * | heap, |
duk_size_t | size ) |
Definition at line 135 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
References DUK_ALLOC, DUK_ASSERT, DUK_ASSERT_DISABLE, DUK_MEMZERO, and NULL.
DUK_INTERNAL void duk_heap_mem_free | ( | duk_heap * | heap, |
void * | ptr ) |
Definition at line 355 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
References DUK_ASSERT, duk_heap::free_func, duk_heap::heap_udata, duk_heap::mark_and_sweep_trigger_counter, and NULL.
DUK_INTERNAL void * duk_heap_mem_realloc | ( | duk_heap * | heap, |
void * | ptr, | ||
duk_size_t | newsize ) |
Definition at line 154 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
References DUK__VOLUNTARY_PERIODIC_GC, DUK_ASSERT, DUK_ASSERT_DISABLE, DUK_D, DUK_DDD, DUK_DDDPRINT, DUK_DPRINT, DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_EMERGENCY_LIMIT, DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_LIMIT, DUK_HEAP_HAS_MARKANDSWEEP_RUNNING, duk_heap_mark_and_sweep(), DUK_MS_FLAG_EMERGENCY, DUK_UNREF, duk_heap::heap_udata, NULL, and duk_heap::realloc_func.
DUK_INTERNAL void * duk_heap_mem_realloc_indirect | ( | duk_heap * | heap, |
duk_mem_getptr | cb, | ||
void * | ud, | ||
duk_size_t | newsize ) |
Definition at line 248 of file duktape-1.5.2/src-separate/duk_heap_memory.c.
References DUK__VOLUNTARY_PERIODIC_GC, DUK_ASSERT, DUK_ASSERT_DISABLE, DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DPRINT, DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_EMERGENCY_LIMIT, DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_LIMIT, DUK_HEAP_HAS_MARKANDSWEEP_RUNNING, duk_heap_mark_and_sweep(), DUK_MS_FLAG_EMERGENCY, DUK_UNREF, duk_heap::heap_udata, NULL, and duk_heap::realloc_func.