Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c60 #define JMEM_HEAP_GET_OFFSET_FROM_ADDR(p) ((uint32_t) (p)) macro
63 #define JMEM_HEAP_GET_OFFSET_FROM_ADDR(p) ((uint32_t) ((uint8_t *) (p) - JERRY_HEAP_CONTEXT (area))) macro
103 JERRY_HEAP_CONTEXT (first).next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (region_p); in jmem_heap_init()
176 JERRY_HEAP_CONTEXT (first).next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (remaining_p); in jmem_heap_alloc()
221 prev_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (remaining_p); in jmem_heap_alloc()
387 const uint32_t block_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (block_p); in jmem_heap_find_prev()
426 const uint32_t block_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (block_p); in jmem_heap_insert_block()
451 block_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (next_p); in jmem_heap_insert_block()
578 prev_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (new_next_p); in jmem_heap_realloc_block()
605 prev_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (next_p); in jmem_heap_realloc_block()