Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/base/
Decma-literal-storage.c484 … 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()
Decma-gc.c872 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/
Dre-compiler.c143 const uint32_t final_size = JERRY_ALIGNUP (re_ctx.bytecode_size, JMEM_ALIGNMENT); in re_compile_bytecode()
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c216 … 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()
Djerry.c3501 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/
Djrt.h136 #define JERRY_ALIGNUP(value, alignment) (((value) + ((alignment) - 1)) & ~((alignment) - 1)) macro
/third_party/jerryscript/jerry-core/vm/
Dopcodes.c597 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/
Djs-parser.c1218 total_size = JERRY_ALIGNUP (total_size, JMEM_ALIGNMENT); in parser_post_processing()