Home
last modified time | relevance | path

Searched refs:jmem_heap_free_t (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c61 #define JMEM_HEAP_GET_ADDR_FROM_OFFSET(u) ((jmem_heap_free_t *) (u))
64 #define JMEM_HEAP_GET_ADDR_FROM_OFFSET(u) ((jmem_heap_free_t *) (JERRY_HEAP_CONTEXT (area) + (u)))
75 static inline jmem_heap_free_t * JERRY_ATTR_ALWAYS_INLINE JERRY_ATTR_PURE
76 jmem_heap_get_region_end (jmem_heap_free_t *curr_p) /**< current region */ in jmem_heap_get_region_end()
78 return (jmem_heap_free_t *) ((uint8_t *) curr_p + curr_p->size); in jmem_heap_get_region_end()
97 jmem_heap_free_t *const region_p = (jmem_heap_free_t *) JERRY_HEAP_CONTEXT (area); in jmem_heap_init()
107 JMEM_VALGRIND_NOACCESS_SPACE (&JERRY_HEAP_CONTEXT (first), sizeof (jmem_heap_free_t)); in jmem_heap_init()
141 jmem_heap_free_t *data_space_p = NULL; in jmem_heap_alloc()
143 JMEM_VALGRIND_DEFINED_SPACE (&JERRY_HEAP_CONTEXT (first), sizeof (jmem_heap_free_t)); in jmem_heap_alloc()
152 JMEM_VALGRIND_DEFINED_SPACE (data_space_p, sizeof (jmem_heap_free_t)); in jmem_heap_alloc()
[all …]
Djmem.h140 } jmem_heap_free_t; typedef
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.h136 jmem_heap_free_t *jmem_heap_list_skip_p; /**< This is used to speed up deallocation. */
266 jmem_heap_free_t first; /**< first node in free region list */
309 jmem_heap_free_t first; /**< first node in free region list */