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.c71 #define JMEM_HEAP_GET_OFFSET_FROM_ADDR(p) ((uint32_t) (p)) macro
74 #define JMEM_HEAP_GET_OFFSET_FROM_ADDR(p) ((uint32_t) ((uint8_t *) (p) - JERRY_HEAP_CONTEXT (area))) macro
114 JERRY_HEAP_CONTEXT (first).next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (region_p); in jmem_heap_init()
199 JERRY_HEAP_CONTEXT (first).next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (remaining_p); in jmem_heap_alloc()
244 prev_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (remaining_p); in jmem_heap_alloc()
410 const uint32_t block_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (block_p); in jmem_heap_find_prev()
449 const uint32_t block_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (block_p); in jmem_heap_insert_block()
474 block_p->next_offset = JMEM_HEAP_GET_OFFSET_FROM_ADDR (next_p); in jmem_heap_insert_block()