Home
last modified time | relevance | path

Searched refs:JERRY_HEAP_CONTEXT (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c63 #define JMEM_HEAP_GET_OFFSET_FROM_ADDR(p) ((uint32_t) ((uint8_t *) (p) - JERRY_HEAP_CONTEXT (area)))
64 #define JMEM_HEAP_GET_ADDR_FROM_OFFSET(u) ((jmem_heap_free_t *) (JERRY_HEAP_CONTEXT (area) + (u)))
93 JERRY_ASSERT ((uintptr_t) JERRY_HEAP_CONTEXT (area) % JMEM_ALIGNMENT == 0); in jmem_heap_init()
97 jmem_heap_free_t *const region_p = (jmem_heap_free_t *) JERRY_HEAP_CONTEXT (area); in jmem_heap_init()
102 JERRY_HEAP_CONTEXT (first).size = 0; in jmem_heap_init()
103 JERRY_HEAP_CONTEXT (first).next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (region_p); in jmem_heap_init()
105 JERRY_CONTEXT (jmem_heap_list_skip_p) = &JERRY_HEAP_CONTEXT (first); in jmem_heap_init()
107 JMEM_VALGRIND_NOACCESS_SPACE (&JERRY_HEAP_CONTEXT (first), sizeof (jmem_heap_free_t)); in jmem_heap_init()
108 JMEM_VALGRIND_NOACCESS_SPACE (JERRY_HEAP_CONTEXT (area), JMEM_HEAP_SIZE); in jmem_heap_init()
122 JMEM_VALGRIND_NOACCESS_SPACE (&JERRY_HEAP_CONTEXT (first), JMEM_HEAP_SIZE); in jmem_heap_finalize()
[all …]
Djmem-allocator.c191 const uintptr_t heap_start = (uintptr_t) &JERRY_HEAP_CONTEXT (first); in jmem_compress_pointer()
224 const uintptr_t heap_start = (uintptr_t) &JERRY_HEAP_CONTEXT (first); in jmem_decompress_pointer()
/third_party/jerryscript/jerry-core/ext/
Dtracker.h46 #define ECMA_OBJECT_TO_STORAGE_KEY(x) (size_t)((uintptr_t)x - (uintptr_t)&JERRY_HEAP_CONTEXT(first))
47 …A_OBJECT_FROM_STORAGE_KEY(x) (ecma_object_t*)((uintptr_t)x + (uintptr_t)&JERRY_HEAP_CONTEXT(first))
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.h270 #define JERRY_HEAP_CONTEXT(field) (JERRY_CONTEXT (heap_p)->field) macro
321 #define JERRY_HEAP_CONTEXT(field) (jerry_global_heap.field) macro