Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c517 const size_t aligned_old_size = (old_size + JMEM_ALIGNMENT - 1) / JMEM_ALIGNMENT * JMEM_ALIGNMENT; in jmem_heap_realloc_block() local
519 if (aligned_old_size == aligned_new_size) in jmem_heap_realloc_block()
527 if (aligned_new_size < aligned_old_size) in jmem_heap_realloc_block()
534 aligned_old_size - aligned_new_size); in jmem_heap_realloc_block()
536 JERRY_CONTEXT (jmem_heap_allocated_size) -= (aligned_old_size - aligned_new_size); in jmem_heap_realloc_block()
546 const size_t required_size = aligned_new_size - aligned_old_size; in jmem_heap_realloc_block()
560 if (((jmem_heap_free_t *) ((uint8_t *) block_p + aligned_old_size)) == next_p) in jmem_heap_realloc_block()
648 JERRY_CONTEXT (jmem_heap_allocated_size) -= aligned_old_size; in jmem_heap_realloc_block()
656 jmem_heap_insert_block (block_p, prev_p, aligned_old_size); in jmem_heap_realloc_block()