Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c223 copied_code_p->size = (uint16_t) ((pattern_size + JMEM_ALIGNMENT - 1) >> JMEM_ALIGNMENT_LOG); in snapshot_add_compiled_code()
237 ((size_t) compiled_code_p->size) << JMEM_ALIGNMENT_LOG)) in snapshot_add_compiled_code()
360 ((size_t) compiled_code_p->size) << JMEM_ALIGNMENT_LOG)) in static_snapshot_add_compiled_code()
429 buffer_p += ((size_t) compiled_code_p->size) << JMEM_ALIGNMENT_LOG; in static_snapshot_add_compiled_code()
458 uint32_t code_size = ((uint32_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in jerry_snapshot_set_offsets()
502 byte_p += ((size_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in jerry_snapshot_set_offsets()
557 uint32_t code_size = ((uint32_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in snapshot_load_compiled_code()
646 bytecode_p->size = (uint16_t) (new_code_size >> JMEM_ALIGNMENT_LOG); in snapshot_load_compiled_code()
1070 uint32_t code_size = ((uint32_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in scan_snapshot_functions()
1108 byte_p += ((size_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG; in scan_snapshot_functions()
[all …]
/third_party/jerryscript/jerry-core/jmem/
Djmem-allocator.c194 uint_ptr >>= JMEM_ALIGNMENT_LOG; in jmem_compress_pointer()
226 uint_ptr <<= JMEM_ALIGNMENT_LOG; in jmem_decompress_pointer()
Djmem.h31 #define JMEM_ALIGNMENT_LOG 3 macro
41 #define JMEM_ALIGNMENT (1u << JMEM_ALIGNMENT_LOG)
Djmem-heap.c91 JERRY_ASSERT (((UINT16_MAX + 1) << JMEM_ALIGNMENT_LOG) >= JMEM_HEAP_SIZE); in jmem_heap_init()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-limits.h84 #define PARSER_MAXIMUM_CODE_SIZE (65535 << (JMEM_ALIGNMENT_LOG))
Djs-parser.c1235 compiled_code_p->size = (uint16_t) (total_size >> JMEM_ALIGNMENT_LOG); in parser_post_processing()
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-compiler.c150 re_compiled_code_p->header.size = (uint16_t) (final_size >> JMEM_ALIGNMENT_LOG); in re_compile_bytecode()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-lcache.c35 #define ECMA_LCACHE_HASH_BITSHIFT_INDEX (2 * JMEM_ALIGNMENT_LOG)
Decma-helpers.c1454 jmem_stats_free_byte_code_bytes (((size_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG); in ecma_bytecode_deref()
1467 ((size_t) bytecode_p->size) << JMEM_ALIGNMENT_LOG); in ecma_bytecode_deref()
1483 byte_p += ((size_t) bytecode_header_p->size) << JMEM_ALIGNMENT_LOG; in ecma_compiled_code_get_tagged_template_collection()
Decma-literal-storage.c395 byte_p += ((size_t) compiled_code_p->size) << JMEM_ALIGNMENT_LOG; in ecma_save_literals_add_compiled_code()
Decma-helpers-value.c33 JERRY_STATIC_ASSERT (ECMA_VALUE_SHIFT <= JMEM_ALIGNMENT_LOG,
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-objects-arguments.c92 byte_p += ((size_t) bytecode_data_p->size) << JMEM_ALIGNMENT_LOG; in ecma_op_create_arguments_object()
Decma-function-object.c50 byte_p += ((size_t) bytecode_header_p->size) << JMEM_ALIGNMENT_LOG; in ecma_op_resource_name()
/third_party/jerryscript/jerry-core/debugger/
Ddebugger.c87 ((size_t) byte_code_free_p->size) << JMEM_ALIGNMENT_LOG); in jerry_debugger_free_unreferenced_byte_code()
816 jmem_stats_free_byte_code_bytes (((size_t) byte_code_free_p->size) << JMEM_ALIGNMENT_LOG); in jerry_debugger_process_message()
820 ((size_t) byte_code_free_p->size) << JMEM_ALIGNMENT_LOG); in jerry_debugger_process_message()