Searched refs:JERRY_ALIGNUP (Results 1 – 8 of 8) sorted by relevance
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-literal-storage.c | 484 … lit_table_size += (uint32_t) JERRY_ALIGNUP (sizeof (uint16_t) + ecma_string_get_size (string_p), in ecma_save_literals_for_snapshot() 528 length = JERRY_ALIGNUP (sizeof (ecma_number_t), JERRY_SNAPSHOT_LITERAL_ALIGNMENT); in ecma_save_literals_for_snapshot() 539 length = JERRY_ALIGNUP (sizeof (uint16_t) + length, JERRY_SNAPSHOT_LITERAL_ALIGNMENT); in ecma_save_literals_for_snapshot()
|
D | ecma-gc.c | 872 size = JERRY_ALIGNUP (sizeof (vm_executable_object_t) + size, sizeof (uintptr_t)); in ecma_gc_free_executable_object()
|
/third_party/jerryscript/jerry-core/parser/regexp/ |
D | re-compiler.c | 143 const uint32_t final_size = JERRY_ALIGNUP (re_ctx.bytecode_size, JMEM_ALIGNMENT); in re_compile_bytecode()
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry-snapshot.c | 216 … globals_p->snapshot_buffer_write_offset = JERRY_ALIGNUP (globals_p->snapshot_buffer_write_offset, in snapshot_add_compiled_code() 636 new_code_size = JERRY_ALIGNUP (new_code_size, JMEM_ALIGNMENT); in snapshot_load_compiled_code() 753 const uint32_t aligned_header_size = JERRY_ALIGNUP (sizeof (jerry_snapshot_header_t), in jerry_generate_snapshot_with_args() 1280 functions_size += JERRY_ALIGNUP ((number_of_funcs - 1) * sizeof (uint32_t), JMEM_ALIGNMENT); in jerry_merge_snapshots() 1313 dst_p += JERRY_ALIGNUP ((number_of_funcs - 1) * sizeof (uint32_t), JMEM_ALIGNMENT); in jerry_merge_snapshots()
|
D | jerry.c | 3501 heap_size = JERRY_ALIGNUP (heap_size, JMEM_ALIGNMENT); in jerry_create_context() 3512 total_size = JERRY_ALIGNUP (total_size, JMEM_ALIGNMENT); in jerry_create_context() 3524 context_ptr = JERRY_ALIGNUP (context_ptr, (uintptr_t) JMEM_ALIGNMENT); in jerry_create_context()
|
/third_party/jerryscript/jerry-core/jrt/ |
D | jrt.h | 136 #define JERRY_ALIGNUP(value, alignment) (((value) + ((alignment) - 1)) & ~((alignment) - 1)) macro
|
/third_party/jerryscript/jerry-core/vm/ |
D | opcodes.c | 597 size_t total_size = JERRY_ALIGNUP (sizeof (vm_executable_object_t) + size, sizeof (uintptr_t)); in opfunc_create_executable_object()
|
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-parser.c | 1218 total_size = JERRY_ALIGNUP (total_size, JMEM_ALIGNMENT); in parser_post_processing()
|